Page 1 of 1

upgrade howto

Posted: Wed Jan 09, 2008 4:22 pm
by fb
hello everybody,

I have searched through the forum but I haven't found a good step-by-step howto for upgrades of scalix.

is there anyone who'd like to contribute a brief howto for the wiki?

for example, I have no clue how scalix upgrades will affect spamassassin, amavis oder clamav integration or files like /etc/mail/linux.mc....

also I have no idea what commands I'll have to run on the command line before or after the upgrade routine finished.....

I have currently 11.1 running, could I upgrade directly to 11.3 now?

Posted: Wed Jan 09, 2008 5:00 pm
by techsharp
fb -

Just run the installer and it basically walks you through the upgrade process. There is really not much to it.

The upgrade does not affect spamassassin or clamav - I have both running and no changes have been made since I have been doing upgrades.

Watch out when upgrading from 11.1 as 11.2->11.3 support different OS's -

Check here for supported OS for 11.2-11.3:
http://downloads.scalix.com/.community/ ... #supported

What are you currently running as your OS?

Posted: Thu Jan 10, 2008 2:04 pm
by Clemens
When upgrading, what is the procedure for installing stunnel? Config etc?

I've never used stunnel before...

Thanks,

Clemens

Posted: Thu Jan 10, 2008 3:09 pm
by kanderson
Do the upgrade, then when everything is working correctly, worry about stunnel.

When you're working on stunnel, let us know the distro you're using. Some have packages to make installation easier, some don't. Once it's installed and starting correctly when the server starts up, configuration is easy. and that configuration can happen while the server is running, so that you can change users over as time allows.

Kev.

Posted: Fri Jan 11, 2008 1:44 pm
by hxtechnologies
kanderson wrote:Do the upgrade, then when everything is working correctly, worry about stunnel.

When you're working on stunnel, let us know the distro you're using. Some have packages to make installation easier, some don't. Once it's installed and starting correctly when the server starts up, configuration is easy. and that configuration can happen while the server is running, so that you can change users over as time allows.

Kev.


A couple of things that gave me trouble when upgrading are listed below. I hope these tips can help others who are planning to upgrade.

1. You need to open port 5767 for the new outlook connector to work
2. My sendmail configuration file was overwritten and i needed to add the spam assassin rules back into the new sendmail.cf
3. The custom webmail login page i created was deleted.
4. The webmail spell checker has stopped working. I haven't been able to fix this yet...
5. I needed to remove and recreate 2 users imap cache before their accounts would work again. If you run into a problem with a user there is a nice shell script in the wiki that removes the cache and creates a new one. http://www.scalix.com/wiki/index.php?title=HowTos/AdminScripts
6. The server's load average was spiked for several hours while it re-indexed the messages for the search feature. This caused the server to slow down and for mail to start caching etc. until the indexing had finished.

I would recommend backing up your sendmail.cf file & any custom login pages you have, opening port 5767 before starting the upgrade, & running the upgrade during a time of day when the server isn't being used, after working hours, to avoid complaints while it runs the indexing service.

Also for anyone who is interested I am running this on Oracle Unbreakable Linux without any problems.

Mark

Posted: Fri Jan 11, 2008 5:37 pm
by hxtechnologies
hxtechnologies wrote:
kanderson wrote:Do the upgrade, then when everything is working correctly, worry about stunnel.

When you're working on stunnel, let us know the distro you're using. Some have packages to make installation easier, some don't. Once it's installed and starting correctly when the server starts up, configuration is easy. and that configuration can happen while the server is running, so that you can change users over as time allows.

Kev.


A couple of things that gave me trouble when upgrading are listed below. I hope these tips can help others who are planning to upgrade.

1. You need to open port 5767 for the new outlook connector to work
2. My sendmail configuration file was overwritten and i needed to add the spam assassin rules back into the new sendmail.cf
3. The custom webmail login page i created was deleted.
4. The webmail spell checker has stopped working. I haven't been able to fix this yet...
5. I needed to remove and recreate 2 users imap cache before their accounts would work again. If you run into a problem with a user there is a nice shell script in the wiki that removes the cache and creates a new one. http://www.scalix.com/wiki/index.php?title=HowTos/AdminScripts
6. The server's load average was spiked for several hours while it re-indexed the messages for the search feature. This caused the server to slow down and for mail to start caching etc. until the indexing had finished.

I would recommend backing up your sendmail.cf file & any custom login pages you have, opening port 5767 before starting the upgrade, & running the upgrade during a time of day when the server isn't being used, after working hours, to avoid complaints while it runs the indexing service.

Also for anyone who is interested I am running this on Oracle Unbreakable Linux without any problems.

Mark



If anyone could send me the file: /var/opt/scalix/XX/tomcat/webapps/webmail/WEB-INF/classes/com/scalix/swa/jsp/mailwindowloader_jsp.class from their server i would appreciate it. Mine has been corrupted. I tried to change the logo specs in it and it no longer loads. It is giving me a "root cause
java.lang.ClassFormatError: Extra bytes at the end of class file com/scalix/swa/jsp/mailwindowloader_jsp" error.

Posted: Fri Jan 11, 2008 7:06 pm
by kanderson
Just reinstall webmail, and it should be replaced.

Kev.

Posted: Tue Jan 15, 2008 10:22 am
by hxtechnologies
kanderson wrote:Just reinstall webmail, and it should be replaced.

Kev.

Thanks, Re-installing fixed the problem.

mark

Posted: Tue Jan 15, 2008 4:38 pm
by Clemens
kanderson wrote:Do the upgrade, then when everything is working correctly, worry about stunnel.

When you're working on stunnel, let us know the distro you're using. Some have packages to make installation easier, some don't. Once it's installed and starting correctly when the server starts up, configuration is easy. and that configuration can happen while the server is running, so that you can change users over as time allows.

Kev.



Right, upgraded to 11.3 without any problems, everything seems to work so far. Now I would like to set up the 11.3 connector with stunnel and have absolutely no idea where to start - does anyone have any pointers? I'm on CentOS 5.0.

Thanks,

Clemens