Stuck on 0 percent upgrading to 1.22

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
dv8
Posts: 7
Joined: Sun Mar 17, 2019 6:15 pm

Stuck on 0 percent upgrading to 1.22

Post by dv8 »

Hi,

I've upgraded from 1.1.8 to 1.2.2 and have appeared to have met the bug issue#2304 that was resolved in 1.2.1- my install loops around stuck at 0 percent for an infinite period.

My install logs show PHP spawning multiple background processes, but not much after that.

Has anyone encountered this issue with 1.2.2?

Thanks,
Chris
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Stuck on 0 percent upgrading to 1.22

Post by netniV »

Can you run the following at the command line:

Code: Select all

sudo -u <website user> php -q install/cli_check.php extensions
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
dv8
Posts: 7
Joined: Sun Mar 17, 2019 6:15 pm

Re: Stuck on 0 percent upgrading to 1.22

Post by dv8 »

Hi.

Following output

Code: Select all

{"ctype":{"cli":true,"web":false},"PDO":{"cli":true,"web":false},"zlib":{"cli":true,"web":false},"xml":{"cli":true,"web":false},"standard":{"cli":true,"web":false},"spl":{"cli":true,"web":false},"sockets":{"cli":true,"web":false},"simplexml":{"cli":true,"web":false},"session":{"cli":true,"web":false},"pdo_mysql":{"cli":true,"web":false},"pcre":{"cli":true,"web":false},"date":{"cli":true,"web":false},"openssl":{"cli":true,"web":false},"mbstring":{"cli":true,"web":false},"ldap":{"cli":true,"web":false},"json":{"cli":true,"web":false},"hash":{"cli":true,"web":false},"gmp":{"cli":true,"web":false},"gd":{"cli":true,"web":false},"gettext":{"cli":true,"web":false},"filter":{"cli":true,"web":false},"posix":{"cli":true,"web":false}}
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Stuck on 0 percent upgrading to 1.22

Post by netniV »

OK, so the CLI doesn't show any immediate issues. Can you try setting the log_install option to 3 and then sending me the log/install-complete.log once you have got to the point where it loops to developers@cacti.net

Code: Select all

replace into settings values ('log_install','3');
Once we have finished with the diagnosis you can remove that setting using:

Code: Select all

delete from settings where name = 'log_install';
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
dv8
Posts: 7
Joined: Sun Mar 17, 2019 6:15 pm

Re: Stuck on 0 percent upgrading to 1.22

Post by dv8 »

Thanks netniV. Have sent the partial log off to you as per your instructions
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Stuck on 0 percent upgrading to 1.22

Post by netniV »

OK, can you up the number to 5 for me, there was so little in that, but I did wonder about the language code it was trying to use.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
dv8
Posts: 7
Joined: Sun Mar 17, 2019 6:15 pm

Re: Stuck on 0 percent upgrading to 1.22

Post by dv8 »

Attached debug level 5.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Stuck on 0 percent upgrading to 1.22

Post by netniV »

Your logs seems very clean for debug level 5... are you cutting it down at all?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
dv8
Posts: 7
Joined: Sun Mar 17, 2019 6:15 pm

Re: Stuck on 0 percent upgrading to 1.22

Post by dv8 »

No, they're the logs on a debug level 5. I've emailed a screengrab of the process I'm stuck on and the debug was what you received.

Chris
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Stuck on 0 percent upgrading to 1.22

Post by netniV »

DO you have your apache/ngix error logs?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests