Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jun 16, 2019 2:21 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Stuck on 0 percent upgrading to 1.22
PostPosted: Sun Mar 17, 2019 6:21 pm 
Offline

Joined: Sun Mar 17, 2019 6:15 pm
Posts: 7
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


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Sun Mar 17, 2019 6:48 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
Can you run the following at the command line:
Code:
sudo -u <website user> php -q install/cli_check.php extensions

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Sun Mar 17, 2019 6:54 pm 
Offline

Joined: Sun Mar 17, 2019 6:15 pm
Posts: 7
Hi.

Following output

Code:
{"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}}


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Mon Mar 18, 2019 5:05 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
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 [email protected]

Code:
replace into settings values ('log_install','3');


Once we have finished with the diagnosis you can remove that setting using:

Code:
delete from settings where name = 'log_install';

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Mon Mar 18, 2019 4:32 pm 
Offline

Joined: Sun Mar 17, 2019 6:15 pm
Posts: 7
Thanks netniV. Have sent the partial log off to you as per your instructions


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Mon Mar 18, 2019 9:03 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
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.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Mon Mar 18, 2019 9:19 pm 
Offline

Joined: Sun Mar 17, 2019 6:15 pm
Posts: 7
Attached debug level 5.


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Tue Mar 19, 2019 6:01 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
Your logs seems very clean for debug level 5... are you cutting it down at all?

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Tue Mar 19, 2019 8:34 pm 
Offline

Joined: Sun Mar 17, 2019 6:15 pm
Posts: 7
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


Top
 Profile  
 
 Post subject: Re: Stuck on 0 percent upgrading to 1.22
PostPosted: Wed Mar 20, 2019 3:51 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
DO you have your apache/ngix error logs?

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group