Author Topic: [SOLVED] Migration error while upgrading packages to version 2.2  (Read 5778 times)

gandalfmagic

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: Migration error while upgrading packages to version 2.2
« Reply #30 on: December 12, 2011, 11:48:09 pm »
I'm sorry, but I've bad news. Last version of the script doesn't work for me.

I've extracted the list of active process at the moment of the error:
Code: [Select]
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ebox      4304  0.0  0.2  53772  2468 ?        S    23:38   0:00 imap
ebox      4306  0.0  0.2  54188  2808 ?        S    23:38   0:00 imap
ebox      4308  0.0  0.2  53424  2256 ?        S    23:38   0:00 imap
ebox      4311  0.0  0.2  53888  2516 ?        S    23:38   0:00 imap
ebox      4313  0.0  0.1  53424  1992 ?        S    23:38   0:00 imap

When I try to manually kill them, the continue to pop-up.

Also, If I successfully kill ALL the processes and continue the script, I obtain the error in LDAP master sync:
Code: [Select]
Copying old ebox dirs to zentyal...
Importing old configuration...
Upgrading objects to new schema...
Upgrading ldap attributes (quotas from mail and users)...
Cannot restore slave machine when master is down: xxx.xxx.xxx.xxx run-parts: ./post-upgrade/004_upgrade_ldap exited with return code 255
Adding quota objectclasses...
Creating new core tables...
Importing old quota config
Migrating fetchmail accounts
No fetchamil accounts to migrate
Resetting data_version for all modules...

But the master is UP and running.

And after the migration, if I go in users or groups list from web interface on the server I get this message:
Code: [Select]
Zentyal is configured as slave and there are no users at the moment. You may want to add some in the master.

Help :)

gandalfmagic

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: Migration error while upgrading packages to version 2.2
« Reply #31 on: April 01, 2012, 10:30:29 pm »
Finally, I've managed to solve 004_upgrade_ldap error:

http://forum.zentyal.org/index.php/topic,9162.msg42174.html#msg42174

This method worked for me, I hope it can help other people.
« Last Edit: April 01, 2012, 10:32:29 pm by gandalfmagic »