Author Topic: Upgrade from 5.0.8 to 5.0.9 Fails  (Read 2806 times)

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Upgrade from 5.0.8 to 5.0.9 Fails
« on: September 18, 2017, 01:55:36 am »
Hi Team & Community,

Today I was notified in the Web Interface that there was an upgrade from 5.0.8 to 5.0.9, so I clicked on that link and it directed me to the Wiki (Which is how to install from scratch not upgrade).

So I proceeded to follow the instructions, but now it is just stuck on the following:

Setting up zentyal-dns (5.0.3) ...

It wont move from that and has been stuck on that for hours, now when I go to do anything everything just goes to crap.

The whole system wont recover from this and I am not sure what to do now to get it up and going.

I am thinking it might be time to move onto Zimbra as this just happens on every single upgrade, I thought going to 5 was supposed to make things better or easier as it did not use modified systems, but it would seem that it does still and following the procedure as outlined in the Wiki just breaks it.

Has anyone hit this problem and resolved it?

Also I note that since upgrading to 5.0.8 from the last version of stable 4.X.X, Spamassin no longer works proper and lets in more than double the amount of spam.

I would appreciate any help you have on this.

Cheers,

David.

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #1 on: September 18, 2017, 02:02:34 am »
Further info:

I am not getting this  :'(
Err:1 http://au.archive.ubuntu.com/ubuntu xenial InRelease
  Temporary failure resolving 'au.archive.ubuntu.com'
Err:2 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Temporary failure resolving 'au.archive.ubuntu.com'
Err:3 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Temporary failure resolving 'au.archive.ubuntu.com'
Err:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Err:5 http://archive.zentyal.org/zentyal 5.0 InRelease
  Temporary failure resolving 'archive.zentyal.org'
Reading package lists... Done
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'au.archive.ubuntu.com'
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Temporary failure resolving 'au.archive.ubuntu.com'
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Temporary failure resolving 'au.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.zentyal.org/zentyal/dists/5.0/InRelease  Temporary failure resolving 'archive.zentyal.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@zentyal:/home/itadmin# apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root@zentyal:/home/itadmin# sudo dpkg --configure -a
Setting up zentyal-dns (5.0.3) ...

I have tried to also repair and that appears to not have worked either.


Cheers,

David.

julio

  • Guest
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #2 on: September 18, 2017, 09:59:15 am »
please post your installed kernel versions:
Code: [Select]
dpkg -l | grep linux-image

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #3 on: September 18, 2017, 10:12:35 am »
Hi Julio,

ii  linux-image-3.16.0-51-generic         3.16.0-51.69~14.04.1                       amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-51-generic   3.16.0-51.69~14.04.1                       amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP

Hope that helps, I am working on a different mail server right now so I am concerned about this happening more, but if I can recover from this then I have some recourse.

Cheers,

David.

julio

  • Guest
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #4 on: September 18, 2017, 11:36:32 am »
add temporary the google dns to the /etc/resolv.conf:
nameserver 8.8.8.8

run the apt update:
sudo apt update

reinstall the zentyal dns module:
sudo apt install --reinstall zentyal-dns

make full upgrade:
sudo apt dist-upgrade

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #5 on: September 18, 2017, 02:14:00 pm »
Hi Julio,

So this is what happens when I try to do as you suggest  :'(

root@zentyal:/home/itadmin# sudo apt install --reinstall zentyal-dns
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

julio

  • Guest
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #6 on: September 18, 2017, 02:27:29 pm »
try with:
Code: [Select]
cd /tmp
sudo wget http://archive.zentyal.org/zentyal/pool/main/z/zentyal-dns/zentyal-dns_5.0.3_all.deb
sudo dpkg -i zentyal-dns_5.0.3_all.deb
sudo apt install -f

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #7 on: September 18, 2017, 03:01:08 pm »
Hi Julio,

Thanks for the advice, I get this error message.

root@zentyal:/tmp# dpkg -i zentyal-dns_5.0.3_all.deb
Selecting previously unselected package zentyal-dns.
(Reading database ... 78189 files and directories currently installed.)
Preparing to unpack zentyal-dns_5.0.3_all.deb ...
Unpacking zentyal-dns (5.0.3) over (5.0.3) ...
dpkg: dependency problems prevent configuration of zentyal-dns:
 zentyal-dns depends on zentyal-core (>= 5.0); however:
  Package zentyal-core is not configured yet.
 zentyal-dns depends on zentyal-core (<< 5.1); however:
  Package zentyal-core is not configured yet.

dpkg: error processing package zentyal-dns (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zentyal-dns

I think it is totally stuffed, I should have not done the update and should have left things as they were :(

julio

  • Guest
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #8 on: September 18, 2017, 03:12:38 pm »
please post the result of:
sudo apt install -f

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #9 on: September 18, 2017, 03:15:08 pm »
Hi Julio,

root@zentyal:/tmp# apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up zentyal-core (5.0.9) ...


It just gets stuck there and doesn't move, and  I cannot repair the package either for some reason, it just wont work.

julio

  • Guest
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #10 on: September 18, 2017, 03:24:08 pm »
please install the core module manually:
cd /tmp
sudo wget http://archive.zentyal.org/zentyal/pool/main/z/zentyal-core/zentyal-core_5.0.9_all.deb
sudo dpkg -i zentyal-core_5.0.9_all.deb
sudo dpkg -i zentyal-dns_5.0.3_all.deb

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #11 on: September 18, 2017, 03:51:04 pm »
Hi Julio,

Tried as you suggested, sorry it just gets stuck on the same thing...

root@zentyal:/tmp# sudo dpkg -i zentyal-core_5.0.9_all.deb
(Reading database ... 78189 files and directories currently installed.)
Preparing to unpack zentyal-core_5.0.9_all.deb ...
Unpacking zentyal-core (5.0.9) over (5.0.9) ...
Setting up zentyal-core (5.0.9) ...

It wont progress past that.

julio

  • Guest
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #12 on: September 18, 2017, 03:53:06 pm »
sudo dpkg --configure -a

davidt

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #13 on: September 18, 2017, 03:59:10 pm »
Hi Julio,

I appreciate all your help that you have provided, sadly it wont progress no matter, I have to put it down to everything is lost.

I have decided I will do a fresh install and work it out from there, I have been trying other systems whilst trying to resolve this tonight and will work out what I am going to do tomorrow.

Been trying to resolve this now for 14 hours, there comes a time when one has to cut their losses.

Thanks for your help  it was appreciated.

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Upgrade from 5.0.8 to 5.0.9 Fails
« Reply #14 on: September 19, 2017, 11:36:25 am »
Hi similar error in my Net...

I have two Zentyal boxes (one acting as DC, DNS; the other primary as mail).
The DC updated without issues.
The Mailserver did update, but afterwards it looses the connection to the Samba LDAP (I tries to revert and start over, but the issue is reproducible).

BTW: the update process is very slow (like a network connection with ~256kbit), if this leads to any hint

Any hint for this?

Kind Regards

Thomas