version error? tried to upgrade now I can't connect

27 views
Skip to first unread message

Benedict Harris

unread,
Jun 2, 2014, 9:23:44 PM6/2/14
to wpn...@googlegroups.com
Hi,

I installed 

WPNXM-0.7.0

and got it working, perfectly. Everything worked for the last week.


However, I only just noticed today, when I right-clicked the icon in the tray area, it says WPN-XM 0.6.1



Inline images 1




So I went to the website again, and saw 0.7.0, and decided to upgrade.....

I installed 0.7.0, thinking I was upgrading, but now it is still the same, still 0.6.1 !!   So that means I must of already had 0.7.0 installed the first time....

BUT now I it won't connect to my database!!! I am getting the "Error establishing a database connection" error - however if I look in phpmyadmin the databases are still there....and my actual wordpress folders have nothing changed in the config.....

so why am I getting this problem?

help appreciated 

Ben

WPN-XM

unread,
Jun 3, 2014, 5:38:34 AM6/3/14
to wpn...@googlegroups.com
Hey Ben,

thanks for pointing this issue out. The v0.7.0 installers contain "Server Control Panel v0.6.1". There were no changes to the SCP, so it wasn't recompiled and the version number was not increased for the release.
From now on, i will use the same version number on "webinterface", "scp" and "installation wizards" to avoid confusion.

I guess, the DB error is due to running the DB init script again, which resets the DB password and might reset the data folder also.
The following command is run during installation:

 // MariaDB - install with user ROOT and without password
... '\bin\mariadb\bin\mysql_install_db.exe --datadir="' + appPath + '\bin\mariadb\data" --default-user=root --password= ...
 
I never thought of using the installers as "upgraders".
At the moment they do not contain any detection logic for components.
If the installer detects an old version of itself, it would just "install on top".

Regards, Jens
Reply all
Reply to author
Forward
0 new messages