Author Topic: Upgrade zentyal 3.4 to 3.5  (Read 1632 times)

sotero

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Upgrade zentyal 3.4 to 3.5
« on: September 03, 2014, 11:23:27 pm »
Hi, I'm trying to upgrade zentyal community edition from 3.4.8 to 3.5, It's working on  a 12.04LTS, and the upgrade will put it on a 14.04, but everytime I try to upgrade it breaks my mail, users and webmail modules (and a few others), obviously it doesn't work for me, as all my users and their mailboxes are lost!!

Anyone encountered this problem?

Thanks

ferthelet

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Upgrade zentyal 3.4 to 3.5
« Reply #1 on: September 05, 2014, 03:17:50 am »
... I don't have any help for you but a question, I would like to know what do you mean by "upgrading"? do you install in place? do you re-install and then copy data files?

I have a Zentyal 3.2 domain with two servers (PDC/BDC). The other day I installed a new Zentyal server, v3.5 but I couldn't make them talk, v3.5 refused to join to the v3.2 domain, is this part of the "upgrade" problem??

Good luck!
--
Fer

stevew

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Upgrade zentyal 3.4 to 3.5
« Reply #2 on: September 05, 2014, 11:15:31 am »
I upgraded a server from 3.4 to 3.5 last night. Although I haven't lost email and shares/files, I have lost all web services including the administration console.

I've been trawling the forum for answers for hours now, without much success.

I believe there is an answer to the missing emails, as I've seem that posted several times in as many weeks. I believe the problem is that the mail directory has changed.

sotero

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Re: Upgrade zentyal 3.4 to 3.5
« Reply #3 on: September 05, 2014, 12:20:23 pm »
@ferthelet By upgrading I mean clicking on the "upgrade" button on zentyal admin, or on terminal sudo /usr/share/zentyal/release-upgrade, tryed both ways, both uninstall mail module, and I lose everything

@stevew When upgrading a few modules get removed, mail is one of them, I lose e-mails and users, and every other configuration I had. I'll check for that answer you mentioned.


sgtp

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Upgrade zentyal 3.4 to 3.5
« Reply #4 on: September 07, 2014, 03:57:57 pm »
I'm having similar issues, I upgraded to 3.4 smoothly, and then immediately upgraded to 3.5. I don't use the mail module, but I have lost samba.

I removed it completely along with printer, ipsec, webserver, and jabber modules, and then reinstalled them all. Samba will not start (CLI or webadmin).

This is the error I get in webadmin

Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: samba The following modules failed while saving their changes, their state is unknown: samba at The following modules failed while saving their changes, their state is unknown: samba at /usr/share/perl5/EBox/GlobalImpl.pm line 742 EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0xacca3e0)', 'progress', 'EBox::ProgressIndicator=HASH(0x9ad4d3c)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0xacc9f1c)', 'progress', 'EBox::ProgressIndicator=HASH(0x9ad4d3c)') called at /usr/share/zentyal/global-action line 32 eval {...} at /usr/share/zentyal/global-action line 30


« Last Edit: September 07, 2014, 04:03:34 pm by sgtp »

sgtp

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Upgrade zentyal 3.4 to 3.5
« Reply #5 on: September 07, 2014, 08:15:22 pm »
I uninstalled, VPN, IPSec, Radius, and any other module that relied on samba and just reinstalled Samba. I am able to start samba now, however, when I save changes I get the following error. still working through....

Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/

Missing argument: module's name Missing argument: module's name at Missing argument: module's name at /usr/share/perl5/EBox/GlobalImpl.pm line 822 EBox::GlobalImpl::modInstance('EBox::GlobalImpl=HASH(0xac71480)', undef, undef) called at /usr/share/perl5/EBox/Global.pm line 92 EBox::Global::AUTOLOAD('EBox::Global=HASH(0xccc6bb0)', undef) called at /usr/share/perl5/EBox/Logs/Model/ConfigureLogs.pm line 251 EBox::Logs::Model::ConfigureLogs::filterDomain('EBox::Types::Text=HASH(0xccc6b24)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 229 EBox::Types::Abstract::filter('EBox::Types::Text=HASH(0xccc6b24)') called at /usr/share/perl5/EBox/Types/Abstract.pm line 214 EBox::Types::Abstract::printableValue('EBox::Types::Text=HASH(0xccc6b24)') called at /usr/share/perl5/EBox/Types/Text.pm line 68 EBox::Types::Text::printableValue('EBox::Types::Text=HASH(0xccc6b24)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 3194 EBox::Model::DataTable::_find('EBox::Logs::Model::ConfigureLogs=HASH(0xcc608d8)', 'HASH(0xccc3c20)', undef, 'printableValue', 1) called at /usr/share/perl5/EBox/Model/DataTable.pm line 3226 EBox::Model::DataTable::_checkFieldIsUnique('EBox::Logs::Model::ConfigureLogs=HASH(0xcc608d8)', 'EBox::Types::Text=HASH(0xccc375c)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 763 eval {...} at /usr/share/perl5/EBox/Model/DataTable.pm line 748 EBox::Model::DataTable::addTypedRow('EBox::Logs::Model::ConfigureLogs=HASH(0xcc608d8)', 'HASH(0xccc3590)', 'readOnly', undef, 'disabled', undef, 'id', undef) called at /usr/share/perl5/EBox/Model/DataTable.pm line 695 EBox::Model::DataTable::addRow('EBox::Logs::Model::ConfigureLogs=HASH(0xcc608d8)', 'domain', 'dhcp', 'enabled', 1, 'lifeTime', 168) called at /usr/share/perl5/EBox/Logs/Model/ConfigureLogs.pm line 146 EBox::Logs::Model::ConfigureLogs::syncRows('EBox::Logs::Model::ConfigureLogs=HASH(0xcc608d8)', 'ARRAY(0xcc2a37c)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1463 eval {...} at /usr/share/perl5/EBox/Model/DataTable.pm line 1459 EBox::Model::DataTable::ids('EBox::Logs::Model::ConfigureLogs=HASH(0xcc608d8)') called at /usr/share/perl5/EBox/Logs/Model/ConfigureLogs.pm line 84 EBox::Logs::Model::ConfigureLogs::enabledLogs('EBox::Logs::Model::ConfigureLogs=HASH(0xcc608d8)') called at /usr/share/perl5/EBox/Logs.pm line 729 EBox::Logs::_saveEnabledLogsModules('EBox::Logs=HASH(0xc6bc148)') called at /usr/share/perl5/EBox/Logs.pm line 192 EBox::Logs::_setConf('EBox::Logs=HASH(0xc6bc148)') called at /usr/share/perl5/EBox/Module/Base.pm line 994 EBox::Module::Base::_regenConfig('EBox::Logs=HASH(0xc6bc148)') called at /usr/share/perl5/EBox/Module/Service.pm line 972 EBox::Module::Service::_regenConfig('EBox::Logs=HASH(0xc6bc148)') called at /usr/share/perl5/EBox/Module/Base.pm line 234 eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233 EBox::Module::Base::save('EBox::Logs=HASH(0xc6bc148)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 658 eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 657 EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0xac71480)', 'progress', 'EBox::ProgressIndicator=HASH(0x9a7c104)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0xac70fa8)', 'progress', 'EBox::ProgressIndicator=HASH(0x9a7c104)') called at /usr/share/zentyal/global-action line 32 eval {...} at /usr/share/zentyal/global-action line 30