Author Topic: Uograde Zentyal 1.4 to release 2.2  (Read 3374 times)

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 296
  • Karma: +10/-1
    • View Profile
    • Familie site
Re: Uograde Zentyal 1.4 to release 2.2
« Reply #15 on: October 25, 2011, 11:18:17 am »
Hello,

Thanks for the posts.

As already told the major problem by updating or upgrading from Zentyal 1.4 to Zentyal 2.2 ( different OS 8.04 and 10.4 ),
is to backup and restore the server configuration ( install the new serever software and backup the data from the 1.4 server and restore the data to the new 2.2 server is no problem ).

In the past a have done several times an upgrade from 1.2 to 1.4 with no problems, but the release 2.0 and also release 2.2 has a different structure in the home map for the user accounts so 1.2 is not complete compatible with 2.2.

I have tested an upgrade from 1.2 to 2.0 :

On the 1.2 server backup the data and configuration ( configuration backup in the zentyal gui )
Install the new ubuntu software 10.04 LTS and the Zentyal communications and office module of Zentyal, activate the zentyal modules and restore the data and the configuration ( configuration in zentyal gui ).

It works but is not 100% ok, so it is not possible to add new windows client computers  to the domain, unless in command mode on the server adduser computername$ is executed then the new windows client could be added to the domain in the zentyal admin gui.

So upgrade is possible but not realy ok.
Is there any documentation of howto export the ldap users computeraccounts etc to a file and then import the file in the new server ?
The devloppers of Zentyal have made the backup-restore script ( that script export acconts an import them ) could that script not be adapted to backup the 1.4 configuration and restore the file in the correct form to a new 2.2 server configuration ?

Upgrade Zentyal on the same operating system was no problem in the past ( 1.2 to 1.4 ), is it not possible to upgrade from 2.0 to 2.2 by adapting the sources.list file to the new repository of the release 2.2 and the commands apt-get update and apt-get dist-upgrade ?

As already told there must be an easy way to upgrade to a new system without to have manually configure the whole domain with computer accounts accounts shares etc.

Thaks and best regards,
Ian

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Uograde Zentyal 1.4 to release 2.2
« Reply #16 on: October 26, 2011, 12:23:41 am »
Upgrade Zentyal on the same operating system was no problem in the past ( 1.2 to 1.4 ), is it not possible to upgrade from 2.0 to 2.2 by adapting the sources.list file to the new repository of the release 2.2 and the commands apt-get update and apt-get dist-upgrade ?

As already told there must be an easy way to upgrade to a new system without to have manually configure the whole domain with computer accounts accounts shares etc.

Let me try to explain this, the changes between 2.0 and 2.2 are very different to the ones between 1.2 and 1.4, all packages have been renamed from ebox-* to zentyal-* as well as some critical stuff like /var/lib/ebox to /var/lib/zentyal, where the configuration is stored (the configuration backend was also rewritten to improve the performance, so a conversion process is required). That's the main reason to provide a separate tool to do the migration. We have also introduced changes in the framework to allow easier migrations in the future, so from now on we hope to make the dist-upgrade work when upgrading to the next versions.
Zentyal Server Lead Developer

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 296
  • Karma: +10/-1
    • View Profile
    • Familie site
Re: Uograde Zentyal 1.4 to release 2.2
« Reply #17 on: October 26, 2011, 10:32:38 am »
Hello javier,

Thanks for the explanation.

Best regards,
Ian

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 296
  • Karma: +10/-1
    • View Profile
    • Familie site
Re: Uograde Zentyal 1.4 to release 2.2
« Reply #18 on: October 26, 2011, 11:34:45 am »
Hello,

Thanks for the posts sofar, but i still have the problem of how to export user accounts computer accounts etc of the release 1.4 and import them in the new release 2.2.

Is there more info about export and import the accmounts from the opne LDAp database ?

A solution for this problem could be a great help to upgrade my operational system 1.4 to 2.2 ( more tha 50 computer accounts and more than 100 user accounts.

Zentyal is a fantastic product, but scripts or tools to upgrade a LTS stable system with an Zentyal release to a newer LTS os and a new Zentyal relase wil be welcome.

Thanks and best regards,
ian