Author Topic: Latest core update on 2.2 thows an error  (Read 2068 times)

EddieA

  • Zen Monk
  • **
  • Posts: 70
  • Karma: +3/-0
    • View Profile
Latest core update on 2.2 thows an error
« on: April 12, 2013, 03:23:47 am »
Just tried updating to the latest version of core package on my 2.2 system, when notified that there was a new version available.
Code: [Select]
Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/
directory /etc/zentyal/pre-save does not exist.
Hopefully everything is still OK, as there isn't any option to re-try the update.

Cheers.

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Latest core update on 2.2 thows an error
« Reply #1 on: April 12, 2013, 09:49:41 am »
Hello,

probably you can workaround this error creating the directory /etc/zentyal/pre-save and /etc/zentyal/post-save

For that execute this  commands:

Code: [Select]
sudo mkdir -p   /etc/zentyal/pre-save
sudo mkdir -p   /etc/zentyal/post-save
« Last Edit: April 12, 2013, 10:03:26 am by Javier Amor Garcia »

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Latest core update on 2.2 thows an error
« Reply #2 on: April 12, 2013, 10:03:47 am »
Edited previous post to add post-save directory to the manual fix

EddieA

  • Zen Monk
  • **
  • Posts: 70
  • Karma: +3/-0
    • View Profile
Re: Latest core update on 2.2 thows an error
« Reply #3 on: April 12, 2013, 10:08:10 am »
I did create the directories to stop any errors in the future, but there's no way, I could see, to re-apply the update in the event that it wasn't done correctly the first time.

Cheers.

christian

  • Guest
Re: Latest core update on 2.2 thows an error
« Reply #4 on: April 12, 2013, 10:11:02 am »
Something weird worth to report:

before applying this update, I looked at /etc/zentyal content.
indeed /etc/zentya:.pre-save directory was missing.
So I did create one as per your advice.
Notice that /etc/zentyal/post-save was there already.

So far so good, I launched the update through Zentyal GUI and got this error.
Looking again at /etc/zentyal content, both pre- and post-save directories were missing  :o
I created it again, went back to GUI and reapplied changes.

Hopefully it worked but this is somewhat strange isn't it?  ???

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Latest core update on 2.2 thows an error
« Reply #5 on: April 12, 2013, 03:15:31 pm »
We have a pull request for this, we will update you when the new zentyal-core is ready

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Latest core update on 2.2 thows an error
« Reply #6 on: April 12, 2013, 05:48:46 pm »
zentyal-core 2.2.9 has been released, it includes a fix for this problem

robb

  • Guest
Re: Latest core update on 2.2 thows an error
« Reply #7 on: April 12, 2013, 08:08:22 pm »
Thnx Javier for the very quick response and solution!

Sam Graf

  • Guest
Re: Latest core update on 2.2 thows an error
« Reply #8 on: April 12, 2013, 08:58:06 pm »
Thnx Javier for the very quick response and solution!

+1