Author Topic: Stuck Upgrading from 5.1.3 to 6.0  (Read 1139 times)

fmoreira86

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +2/-0
    • View Profile
Stuck Upgrading from 5.1.3 to 6.0
« on: November 25, 2018, 02:32:55 am »
Hi,

I'm getting stuck here:

2018/11/25 00:50:47 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: dns
2018/11/25 00:50:48 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile


Any hint?

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 862
  • Karma: +57/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #1 on: November 26, 2018, 01:09:34 am »
Is it possible to kill the blocking thread to let the install continue?

fmoreira86

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +2/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #2 on: November 26, 2018, 10:44:53 am »
You mean stop DNS?

I tried it and it kept stuck.

fmoreira86

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +2/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #3 on: November 30, 2018, 09:43:10 pm »
nothing?

BerT666

  • Zen Warrior
  • ***
  • Posts: 215
  • Karma: +6/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #4 on: December 03, 2018, 12:44:54 pm »
is there anything in the syslog / DNS (Bind) Log?

Regards

BerT

jrtaylor

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +2/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #5 on: December 05, 2018, 07:29:13 pm »
I had something like this happen when upgrading from 5.0 to 6.01. Do a "ps -ef" or "ps -aux" and find the stuck process. In my case zentyal-core package would not finish running "dpkg --configure -a" so I kill the last process in the chain and the upgrade started to finish. I did have to do this several times to get it to finish. After it said the upgrade was done I rebooted the server and ran "sudo dpkg --configure -a" to make sure all the zentyal packages finished.

fmoreira86

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +2/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #6 on: December 08, 2018, 10:57:17 pm »
Hi!

Tried that and kill some process at time.

The machine upgraded sucessfully.

I've other machine that is stuck on:

Setting up zentyal-core (6.0.1) ...
Installing new version of config file /etc/cron.daily/zentyal ...


any idea? :(

SamE

  • Zen Apprentice
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #7 on: February 11, 2019, 08:35:16 pm »
I am having the same problem. Did you ever figure out what was causing this error?

I see this in the Zentyal.log file:

2019/02/11 13:23:13 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $action in string eq at /usr/share/perl5/EBox/CGI/ReleaseUpgrade.pm line 44.
2019/02/11 13:23:13 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $action in string eq at /usr/share/perl5/EBox/CGI/ReleaseUpgrade.pm line 49.
« Last Edit: February 11, 2019, 08:37:08 pm by SamE »

maladrill

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Stuck Upgrading from 5.1.3 to 6.0
« Reply #8 on: June 24, 2019, 01:49:06 pm »
Setting up zentyal-core (6.0.1) ...
Installing new version of config file /etc/cron.daily/zentyal ...


Did you find a solution to this problem?