Cant access management portal
-
@tom-elliott No luck
is it going to be easier to backup what I have and reinstall? I even have a working snapshot of the server, if I could ensure it using the newer up to date Db then I could roll back?
-
You could aire. Though Iād first see what the problem is. Whatās the output of
df -h
-
@tom-elliott That did not work for me. I even ran the installer after doing the mysql commands.
-
@tom-elliott said in Cant access management portal:
/var/www/fog/lib/fog/config.class.php
Thank you, that was the solution to my problem
-
@tom-elliott
Hi,
Have run df -h and have space on all partitions.Getting desperate now, need to image some machine for our new users. Any other ideas? What about exporting the Db and reinstalling?
Just need to find a way back to a working Fog install with my existing Db.
Thanks, -
This is my current apache2 log
-
@CoxM The message
... Uncaught Error: Call to a member function lastInsertId() ...
in the logs most certainly means that the database connection information set in/var/www/fog/lib/fog/config.class.php
is not correct and therefore the PHP web UI cannot connect to the database!Did you follow Tomās suggestions on altering/resetting the database passwords (
... mysql_native_password ...
) as well as comparing the username/password in the mentioned files? Your answer to that was āNo luckā. But what did you do and what happened. We canāt really help if we donāt know what exactly you tried and why it did not work from your point of view. -
@sebastian-roth
Hi,
Sorry for the lack of useful feedback!
Here are the shots of both files, its worth noting that originally the mysql password in the class.php file was blank. I have since edited.
-
@CoxM Check the line
snmysqlpass=...
in.fogsettings
. Thatās the mysql database password. If it is blank leave it like that and change it back to blank in theconfig.class.php
as well. -
@sebastian-roth @Tom-Elliott
Thank you both so much, through a combination of things I have it working. you guys ROCK!Thanks again!