2016-03-26 23:50:53 -06:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > Upgrade SOGo from v2 to v3< / title >
< link rel = "stylesheet" type = "text/css" href = "./css/markdown.css" / >
< / head >
< body >
< div id = "navigation" >
< a href = "/index.html" target = "_blank" > < img alt = "iRedMail web site" src = "images/logo-iredmail.png" style = "vertical-align: middle; height: 30px;" / > < span > iRedMail< / span > < / a >
// < a href = "./index.html" > Document Index< / a > < / div > < h1 id = "upgrade-sogo-from-v2-to-v3" > Upgrade SOGo from v2 to v3< / h1 >
2016-03-27 06:18:57 -06:00
< div class = "toc" >
< ul >
< li > < a href = "#upgrade-sogo-from-v2-to-v3" > Upgrade SOGo from v2 to v3< / a > < ul >
< li > < a href = "#upgrade-sogo-on-rhelcentos" > Upgrade SOGo On RHEL/CentOS< / a > < / li >
< li > < a href = "#upgrade-sogo-on-debianubuntu" > Upgrade SOGo On Debian/Ubuntu< / a > < / li >
< li > < a href = "#troubleshooting" > Troubleshooting< / a > < / li >
< / ul >
< / li >
< / ul >
< / div >
2016-03-26 23:50:53 -06:00
< p > SOGo-3.x has a shinny new web UI, you can try the online demo here:
< a href = "http://sogo.nu" > http://sogo.nu< / a > (search 'demo' on the page).< / p >
< p > SOGo team offers support for both SOGo v3 and v2, so it's totally fine if you
want to stick to SOGo-2.x. In case you want to try SOGo-3.x, please try steps
below.< / p >
2016-03-27 06:18:57 -06:00
< h2 id = "upgrade-sogo-on-rhelcentos" > Upgrade SOGo On RHEL/CentOS< / h2 >
2016-03-26 23:50:53 -06:00
< ul >
< li > Backup 2 config files first:< / li >
< / ul >
< pre > < code > cp /etc/sogo/sogo.conf /etc/sogo/sogo.conf.bak
cp /etc/sysconfig/sogo /etc/sysconfig/sogo.bak
< / code > < / pre >
< ul >
< li > Open file < code > /etc/yum.repos.d/sogo.repo< / code > , change the < code > baseurl=< / code > setting to:< / li >
< / ul >
< pre > < code > baseurl=http://inverse.ca/rhel-v3/$releasever/$basearch/
< / code > < / pre >
< ul >
< li > Remove < code > sope< / code > and < code > sogo< / code > packages first, then install SOGo again:< / li >
< / ul >
< pre > < code > yum remove " sope*" " sogo*"
yum install sogo sogo-ealarms-notify sogo-tool sogo-activesync sope49-gdl1-mysql sope49-gdl1-postgresql
< / code > < / pre >
< ul >
< li > Restore backup files:< / li >
< / ul >
< pre > < code > cp /etc/sogo/sogo.conf.bak /etc/sogo/sogo.conf
cp /etc/sysconfig/sogo.bak /etc/sysconfig/sogo
< / code > < / pre >
< ul >
< li > Restart SOGo service:< / li >
< / ul >
< pre > < code > service sogod restart
< / code > < / pre >
2016-03-27 06:18:57 -06:00
< h2 id = "upgrade-sogo-on-debianubuntu" > Upgrade SOGo On Debian/Ubuntu< / h2 >
2016-03-26 23:50:53 -06:00
< ul >
< li > Backup 2 config files first:< / li >
< / ul >
< pre > < code > cp /etc/sogo/sogo.conf /etc/sogo/sogo.conf.bak
cp /etc/default/sogo /etc/default/sogo.bak
< / code > < / pre >
< ul >
< li >
< p > Open file < code > /etc/apt/sources.list< / code > ,< / p >
< ul >
< li > On Debian, please replace URL < code > http://inverse.ca/downloads/SOGo/Debian/< / code > by: < code > http://inverse.ca/debian-v3/< / code > < / li >
< li > On Ubuntu, please replace URL < code > http://inverse.ca/downloads/SOGo/Ubuntu/< / code > by: < code > http://inverse.ca/ubuntu-v3/< / code > < / li >
< / ul >
< / li >
< li >
< p > Remove < code > sope< / code > and < code > sogo< / code > packages first, then install SOGo again:< / p >
< / li >
< / ul >
< pre > < code > apt-get remove " sope*" " sogo*"
apt-get update
apt-get install sogo sogo-activesync sope4.9-gdl1-mysql sope4.9-gdl1-postgresql
< / code > < / pre >
< ul >
< li > Restore backup files:< / li >
< / ul >
< pre > < code > cp /etc/sogo/sogo.conf.bak /etc/sogo/sogo.conf
cp /etc/default/sogo.bak /etc/default/sogo
< / code > < / pre >
< ul >
< li > Restart SOGo service:< / li >
< / ul >
< pre > < code > service sogo restart
< / code > < / pre >
< h2 id = "troubleshooting" > Troubleshooting< / h2 >
< p > If SOGo doesn't work as expected, please check its log file < code > /var/log/sogo/sogo.log< / code > . If you don't understand what the error message means, please extract related error message and post to our online support forum: < a href = "http://www.iredmail.org/forum/" > http://www.iredmail.org/forum/< / a > .< / p > < p style = "text-align: center; color: grey;" > All documents are available in < a href = "https://bitbucket.org/zhb/iredmail-docs/src" > BitBucket repository< / a > , and published under < a href = "http://creativecommons.org/licenses/by-nd/3.0/us/" target = "_blank" > Creative Commons< / a > license. If you found something wrong, please do < a href = "http://www.iredmail.org/contact.html" > contact us< / a > to fix it.< script >
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-3293801-21', 'auto');
ga('send', 'pageview');
< / script >
< / body > < / html >