Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 19, 2019 1:53 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Upgrade 1.2.4. stuck spawning background process
PostPosted: Tue Jun 11, 2019 11:12 am 
Offline

Joined: Tue Jun 11, 2019 10:55 am
Posts: 7
Hello,

my webgui upgrade of cacti v1.2.0 to v1.2.4 stuck at this:

Code:
Installing Cacti Server v1.2.4
Your Cacti Server is now installing

Refresh in       ProgressLast updated: 17:46:50
   
0 %
11.06.2019 17:46:50 - INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php' 1560268010.0849
11.06.2019 17:21:49 - INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php' 1560266509.8817
11.06.2019 16:40:36 - INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php' 1560264036.2562
11.06.2019 16:11:47 - INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php' 1560262307.8949
11.06.2019 15:46:46 - INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php' 1560260806.935
11.06.2019 15:21:45 - INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php' 1560259305.2364


Machine:
Linux 4.9.0-9-686-pae #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) i686 GNU/Linux

PHP:
PHP 7.0.33-0+deb9u3

MySQL:
Server version: 10.1.38-MariaDB-0+deb9u1 Debian 9.8

Until this, everythink worked fine.
Can anyone help me?
Many thanks!


Top
 Profile  
 
 Post subject: Re: Upgrade 1.2.4. stuck spawning background process
PostPosted: Thu Jun 13, 2019 3:48 pm 
Offline

Joined: Thu Jun 09, 2016 2:11 am
Posts: 8
I have the same issue with 1.2.4 on debian, even if I start again from the beginning by create again /usr/share/cacti/site/
it starts from the same error:
Code:
INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php'

Why installation progress is remember even if I create new cacti site? how to start from scratch?


Top
 Profile  
 
 Post subject: Re: Upgrade 1.2.4. stuck spawning background process
PostPosted: Fri Jun 14, 2019 9:30 am 
Offline

Joined: Tue Jun 11, 2019 10:55 am
Posts: 7
zuku wrote:
I have the same issue with 1.2.4 on debian, even if I start again from the beginning by create again /usr/share/cacti/site/
it starts from the same error:
Code:
INSTALL: always: Spawning background process: /usr/bin/php '/usr/share/cacti/site/install/background.php'

Why installation progress is remember even if I create new cacti site? how to start from scratch?



Hello Zuku,

are you upgrading or installing cacti? If upgrading from what version?


Top
 Profile  
 
 Post subject: Re: Upgrade 1.2.4. stuck spawning background process
PostPosted: Fri Jun 14, 2019 10:36 am 
Offline

Joined: Thu Jun 09, 2016 2:11 am
Posts: 8
upgrade from 1.1.3


Top
 Profile  
 
 Post subject: Re: Upgrade 1.2.4. stuck spawning background process
PostPosted: Fri Jun 14, 2019 10:46 am 
Offline

Joined: Tue Jun 11, 2019 10:55 am
Posts: 7
zuku wrote:
upgrade from 1.1.3


Did you run this script?

sudo -u cacti php -q cli/upgrade_database.php --forcever=1.1.38


Quote:
IMPORTANT
When using source or by downloading the code directly from the repository, it is important to run the database upgrade script if you experience any errors referring to missing tables or columns in the database.

Changes to the database are committed to the cacti.sql file which is used for new installations and committed to the installer database upgrade for existing installations. Because the version number does not change until release in the develop branch, which will result in the database upgrade not running, it is important to either use the database upgrade script to force the current version or update the version in the database.

Running Database Upgrade Script
sudo -u cacti php -q cli/upgrade_database.php --forcever=`cat include/cacti_version`
Updating Cacti Version in Database
update version set cacti = '1.1.38';
Note: Change the above version to the correct version or risk the installer upgrading from a previous version.



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

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 8 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