Code: Select all
install/upgrades/1_0_0.php: db_install_execute("ALTER TABLE user_auth MODIFY COLUMN password varchar(2048) NOT NULL default ''");
Moderators: Developers, Moderators
Code: Select all
install/upgrades/1_0_0.php: db_install_execute("ALTER TABLE user_auth MODIFY COLUMN password varchar(2048) NOT NULL default ''");
paulgevers wrote:Should have been part of the upgrade past 1.0.0:
Code: Select all
install/upgrades/1_0_0.php: db_install_execute("ALTER TABLE user_auth MODIFY COLUMN password varchar(2048) NOT NULL default ''");
Yes, I agree with Paul. Try running thispaulgevers wrote:Should have been part of the upgrade past 1.0.0:
Code: Select all
install/upgrades/1_0_0.php: db_install_execute("ALTER TABLE user_auth MODIFY COLUMN password varchar(2048) NOT NULL default ''");
Code: Select all
cd <cacti-path>/cli
php upgrade_database.php --forcever <previous-version>
Code: Select all
cd /usr/share/cacti/cli
php upgrade_database.php --forcever 0.8.8
markv wrote:Yes, I agree with Paul. Try running thispaulgevers wrote:Should have been part of the upgrade past 1.0.0:
Code: Select all
install/upgrades/1_0_0.php: db_install_execute("ALTER TABLE user_auth MODIFY COLUMN password varchar(2048) NOT NULL default ''");
eg.Code: Select all
cd <cacti-path>/cli php upgrade_database.php --forcever <previous-version>
This will update your database from version 0.8.8 to the current version.Code: Select all
cd /usr/share/cacti/cli php upgrade_database.php --forcever 0.8.8
Code: Select all
ERROR: Invalid Parameter 0.8.8
Cacti Database Upgrade Utility, Version 1.1.24, Copyright (C) 2004-2017 The Cacti Group
usage: upgrade_database.php [--debug] [--forcever=VERSION]
A command line version of the Cacti database upgrade tool. You must execute
this command as a super user, or someone who can write a PHP session file.
Typically, this user account will be apache, www-run, or root.
If you are running a beta or alpha version of Cacti and need to rerun
the upgrade script, simply set the forcever to the previous release.
--forcever - Force the starting version, say 1.1.24
--debug - Display verbose output during execution
Code: Select all
cd /usr/share/cacti/cli
php upgrade_database.php --forcever=0.8.8
markv wrote:My bad, I’m writing this on an iPad, there is an = missing.
Code: Select all
cd /usr/share/cacti/cli php upgrade_database.php --forcever=0.8.8
oooomarkv wrote:Use my last code block. It looks the same but it is not.
Code: Select all
cd /usr/local/share/cacti/cli
# php upgrade_database.php --forcever=0.8.8
Upgrading to 1.0.0
Upgrading to 1.0.1 no actions
Upgrading to 1.0.2 no actions
Upgrading to 1.0.3 no actions
Upgrading to 1.0.4
Upgrading to 1.0.5
Upgrading to 1.0.6 no actions
Upgrading to 1.1.0 no actions
Upgrading to 1.1.1 no actions
Upgrading to 1.1.2
Upgrading to 1.1.3 no actions
Upgrading to 1.1.4
Upgrading to 1.1.5 no actions
Upgrading to 1.1.6
Upgrading to 1.1.7
Upgrading to 1.1.8
Upgrading to 1.1.9 no actions
Upgrading to 1.1.10 no actions
Upgrading to 1.1.11
Upgrading to 1.1.12 no actions
Upgrading to 1.1.13 no actions
Upgrading to 1.1.14
Upgrading to 1.1.15 no actions
Upgrading to 1.1.16 no actions
Upgrading to 1.1.17
Upgrading to 1.1.18 no actions
Upgrading to 1.1.19 no actions
Upgrading to 1.1.20
Upgrading to 1.1.21 no actions
Upgrading to 1.1.22 no actions
Upgrading to 1.1.23 no actions
Upgrading to 1.1.24 no actions
Users browsing this forum: No registered users and 2 guests