I performed a test upgrade using this approach tonight and it ended up being successful in the end, but took way too long to get there. I am moving from an existing Scalix 10.0.5 install on a FC4 server to a new server running FC5. I made sure the scalix username/group had the same id number on the new server as the old server and used scp to move /var/opt/scalix to the new server.
When I ran the installer, it gave me only the option to install and it did not seem to know how to handle the message store I copied from the old server. After the installer installed all of the components, it asked me if I wanted to remove and create a new mailstore and I answered no. Then the installer proceeded to ask me the usual questions for a new Scalix install (mailnode name, domain name, username format, sxadmin password, etc). After entering the same values as were used on the old server, the installer immediately fails. I think the issue is related to the mailnode name since the wrong mailnode name was in the error message in the installer's logfile, the tail of the logfile is below:
Code: Select all
2007-01-01 22:37:56,577 INFO Checking if any deprecated packages are installed.
2007-01-01 22:37:56,897 INFO Install end
2007-01-01 22:37:58,406 INFO Mailnode name derived from FQDN: mars
2007-01-01 22:38:04,342 INFO Mailnode is mars,blueslate
2007-01-01 22:38:28,986 INFO Domain is blueslate.net
2007-01-01 22:38:28,987 INFO Display name format is Firstname Lastname
2007-01-01 22:38:28,987 INFO Email addr format is Use display name format
2007-01-01 22:38:36,414 INFO Creating Scalix instance...(please wait -- this might take several minutes)
2007-01-01 22:38:36,538 CRITICAL Failed calling command '/opt/scalix/bin/ommakeom' with exit code 1 msg ['ommakeom: "mars" is already in the global configuration file']
2007-01-01 22:38:36,539 CRITICAL Operation failed: config-server function create_scalix_instance failed: Msg: Failed calling command '/opt/scalix/bin/ommakeom' with exit code 1 msg ['ommakeom: "mars" is already in the global configuration file']
2007-01-01 22:38:36,539 ERROR Operation failed: Aborting server configuration
2007-01-01 22:38:38,325 INFO Ending Scalix Installer - Msg: Failed to configure server
I tried uninstalling and reinstalling several times, experiencing the problem each time. I looking around a bit and noticed that /opt/scalix/bin/ommakeom is getting the mailnode value 'mars' from /etc/opt/scalix/instance.cfg (which did not exist on the old system, but does on the new system after the installer exited). I tried changing the mailnode name in instance.cfg from 'mars' to 'mars,blueslate' and was able to run ommakeom, but I was not able to start scalix afterwards:
Code: Select all
Starting Scalix services (mars,blueslate): omshowmn : [OM 6623] No mailnodes currently configured
[ OK ]
At this point, I tried running the installer again to uninstall/reinstall scalix. The installer seemed to recognize the mailstore correctly this time. I was not asked for any of the mailnode information I was asked for before and the installer ran to completion without any errors. Afterward, I was able to log into webmail and sac without any issues.
Since this was only a dry run of the migration from the old FC4 server to the new FC5 server, I will have to do this again next weekend with a fresh copy of the Scalix 10.0.5 mailstore before decommisioning the old server. Is there any way to avoid the issues with the mailnode name 'mars,blueslate' that I ran into during this upgrade attempt? Ideally, I would like to be able to perform this upgrade with only the Scalix installer after I copy the /var/opt/scalix directory to the new server. Is there anything else that I need to copy in order for the installer to detect a Scalix 10.0.5 message store correctly?
Please let me know if there is any information that I can provide from either system that would be helpful.
Thanks,
Steve