Huh..

Correct upgrade procedure, see here: http://www.observium.org/wiki/Upgrading#Upgrade_to_latest_Major_release
cd /opt
mv observium observium_old
wget http://www.observium.org/observium-community-latest.tar.gz
tar zxvf observium-community-latest.tar.gz
mv /opt/observium_old/rrd observium/
mv /opt/observium_old/*log* observium/
mv /opt/observium_old/config.php observium/

On 08.06.15 13:43, Einar Storeng wrote:
Thank you for you answer.
I can't give you this information because it seems my config is lost.
Somehow the config files is missing, probably to a fault somewhere.

I tried the upgrade twice due to a "to quick" decision so the backup is lost also.
My fault, my regret.

Than you for you help anyways.

Best regards
Einar


On Mon, Jun 8, 2015 at 12:13 PM, Mike Stupalov <mike@observium.org> wrote:
Hi.

By first, pls show your versions:
./discovery.php -VV

Second show your config options (hide pass from output):
cat config.php | grep db

Also check permissions to files.
ls -l /opt/observium/config.php


On 08.06.15 12:58, Einar Storeng wrote:
Hi.
After trying to upgrade to Community Edition version 0.15.6 i cant update the database.

root@observium /# /opt/observium/discovery.php -h all
MySQL Error: Access denied for user 'root'@'localhost' (using password: NO)

Have done this regularly, but it seems it lost its config on root permisions on the DB

I have different passwords on my root and root for MySQL

I have no problem logging in to the web admin for PHPMyAdmin with my Mysql password for root.

Any clues?

Is there a scipt for roolback?

Best regards
Einar


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


-- 
Mike Stupalov
http://observium.org

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


-- 
Mike Stupalov
http://observium.org