Svn upgrade failed.
-
The fact that you’re presented with the login page tells me your mysql settings in /var/www/fog/lib/fog/Config.class.php are 100% correct.
My feeling is that your password to login to the FOG GUI is not correct.
Try:
username: fog
password: password -
You got your numbers mixed up.
- is blank and is very important…run mysql -u root -p cbefog fog
- Should be the terminal output
- should be a browser screen shot
- should be your dropbox link
-
Now that I have a better understanding of what possibly is happening.
How are you updating this?
Are you just going to the originally installed svn folder and re-running the installfog.sh file?
I ask this because the folder you downloaded when you first installed to SVN does not automatically update.
The process should be (lets assume your svn folder is currently located in the location /opt/fogsvn)
[code]sudo su -
cd /opt/fogsvn
svn up
cd bin
./installfog.sh[/code] -
been snowed under with other work, hope to get back to looking at this today.
ill relook at the questions list again.
-
[quote=“Wolfbane8653, post: 40602, member: 3362”]
[LIST=1]
[]When fog installed did you use a password for the database?
[]Can you login to the database using username root? --> mysql -u root fog
[]If yes to question 1, can you login to the database using --> mysql -u root -p <password you entered> fog
[]Do you have any errors in your mysql log?
[]Are there any errors on your screen when trying to login to the database?
[]What does show up when you go to your fog server URL? (picture required)
[*]Can you give use your apache error log file? (file upload required)
[/LIST]
Pictures and/or video work wonders![/quote]- cbefog
- NO, ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
- log in dropbox link
- log in dropxbox link
- No everything works fine
- see dropbox link
- see dropbox link
[url]https://www.dropbox.com/sh/28lsxa5p6o9jq0q/AAC81thnbPn2MrF2xhxVFUsea?dl=0[/url]
-
The code to sign into mysql should be:
[code]mysql -u root -p’cpefog’ fog[/code]
It should bring you to a prompt that looks like:
[code]mysql>[/code]If you get there, it means you’re logging into the Database fine.
For #5 (Are there any errors on your screen when trying to login to the database?), it still sounds, to me, like you’re not running the updater and are still at 2580. The SVN folder doesn’t automatically update to the latest or later revisions, you have to perform work.
For example, if your original SVN download folder was located in /opt/fog_trunk by running command:
[code]svn co https://svn.code.sf.net/p/freeghost/code/trunk /opt/fog_trunk[/code]
To update you would perform:
[code]cd /opt/fog_trunk
svn update
cd bin
sudo ./installfog.sh[/code]This would then perform the upgrade. As you state you’re able to to login and no database schema is being presented to you, it sounds, to me, like you’re not actually updated. SVN does not update automatically for you.
-
[quote=“Tom Elliott, post: 41001, member: 7271”]The code to sign into mysql should be:
[code]mysql -u root -p’cpefog’ fog[/code]
It should bring you to a prompt that looks like:
[code]mysql>[/code]If you get there, it means you’re logging into the Database fine.
For #5 (Are there any errors on your screen when trying to login to the database?), it still sounds, to me, like you’re not running the updater and are still at 2580. The SVN folder doesn’t automatically update to the latest or later revisions, you have to perform work.
For example, if your original SVN download folder was located in /opt/fog_trunk by running command:
[code]svn co https://svn.code.sf.net/p/freeghost/code/trunk /opt/fog_trunk[/code]
To update you would perform:
[code]cd /opt/fog_trunk
svn update
cd bin
sudo ./installfog.sh[/code]This would then perform the upgrade. As you state you’re able to to login and no database schema is being presented to you, it sounds, to me, like you’re not actually updated. SVN does not update automatically for you.[/quote]
sorry that command works fine i get the mssql prompt fine.
i been using this commands which i found on the wiki
cd ~
mkdir svn
cd svn
svn checkout [url]https://svn.code.sf.net/p/freeghost/code/trunk[/url][SIZE=4][B]Install It![/B][/SIZE]
cd ~/svn/trunk/bin
./installfog.shrunning your commands i get
root@MaynoothFogServer:~/svn/trunk/bin# cd ~/svn/trunk/bin
root@MaynoothFogServer:~/svn/trunk/bin# svn up
At revision 2914.
root@MaynoothFogServer:~/svn/trunk/bin# -
mysql prompt line
mysql>
-
You cannot be in bin to perform the update.
You have to be one level down:
so [code]root@MaynoothFogServer:~/svn/trunk/bin# cd ~/svn/trunk/bin[/code] should be:
[code]root@MaynoothFogServer:~/svn/trunk/bin# cd ~/svn/trunk; svn up; cd bin[/code] -
Finally!!
Thanks to TOM and everyone else on here who helped me out.
I wont be touching it again for a while.
Why cant be I be in bin directory while running svn?
-
Finally!!
Thanks to TOM and everyone else on here who helped me out.
I wont be touching it again for a while.
Why cant be I be in bin directory while running svn?[/quote]
because it’s only updating the files in the bin directory if you’re in the bin directory when you run the update, which is 2 files