Today I decided to bite the bullet and upgrade my server from 2.0 to 2.2 and boy, what a disaster!
I had cleaned up everything prior to the upgrade and we run backups everyday (including configuration).
We don't run many services, so I thought it should be pretty straightforward.
I couldn't be any more wrong.
Downloaded the migration tool and run it.
At some point it claimed some dependency problems related to squid were preventing it from completing.
I promptly uninstalled the squid package on another session, but eventually I had to terminate the original script.
These are some of the last lines:
No apport report written because MaxReports is reached already
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
zentyal-core
zentyal-objects
zentyal-services
zentyal-network
zentyal-firewall
zentyal-antivirus
zentyal-ca
zentyal-dhcp
zentyal-dns
zentyal-ebackup
zentyal-users
zentyal-ftp
zentyal-monitor
zentyal-openvpn
zentyal-samba
zentyal-software
zentyal-squid
E: Sub-process /usr/bin/dpkg returned an error code (1)
Command FAILED! Please check your internet connectivity
Press return to continue or Control+C to abort...
After that, I cleaned up and everything was properly installed.
However, the system was left unconfigured.
Backup configuration, FTP configuration, Users, etc. everything is lost.
Trying to recover from the 2.0 configuration backup does not work, because, you know, who would ever need it? right? Sorry about my rant but at this point I'm really pissed off at how poorly handled the migration process is.
I haven't found many migration-related posts, so either I'm in a situation of really bad luck, or I just don't know.
Does anyone have a quick solution for this? or will I have to actually go and recreate all my certificates and users from scratch?
2012-02-21 --Update--
In the end I had to remove all ebox and zentyal packages and start from scratch.
I have managed to salvage data from the configuration backup and I have been able to restore users and groups information directly into the LDAP database.
I also have been able to rebuild all my shares and their permissions by carefully reading the Redis files.
No luck with certificates, I didn't have any more time for this. I will re-issue new certificates to everyone.
Too bad that something that could be accomplished in under 1 hour ended up taking 12 in a small organization.