Missing menu under Basic Task
-
Fog_1.2.0 and a fresh new install of Ubuntu Server
-
@Bigredcherokee re-run the installer and see if it comes back.
-
@Wayne-Workman I did and it didn’t come back. It see the old install and states it wants to upgrade. Everything goes smooth.
-
@Bigredcherokee any apache errors?
-
do any tasks show up when you click “advanced” ?
-
-
@Junkhacker None show up at all.
-
What is happening?
-
@Tom-Elliott Missing the menu under Basic Task. Built new server reinstalled and processed upgrade. I copied over the image folder, Mysql db and Fog folder on to the new server and reran the installer.
-
It doesn’t appear that it’s “missing”, rather it’s not even installed. What version of fog did you “upgrade” from?
-
@Tom-Elliott Tim I had 1.2.0 on the old server and ran the same package on this server.
-
I’m not Tim, that’s my dad and I’m not much a fan of him. Not that you did anything wrong.
Can you hit me up on chat and maybe we can teamviewer? I can fix this issue relatively easily for you.
-
I’m solving this thread.
For future readers.
@Bigredcherokee copied old data from another fog server. The database was copied from the /var/lib/mysql folder. My guess is this was copied over before mysql got copied. the ib_files were not matching what existed for the actual database status. So while simple commands showed things, actually reading data was impossible. To fix, if for some reason you must get the data from an old server in such a fashion.
Start mysql let it do it’s thing.
Install fog like you normally would.
After install completes. Shutdown the mysql server.
sudo service mysql stop
Copy the old contents
sudo cp -r /old/var/lib/mysql /var/lib/mysql
Change the permissions on the mysql to be that of your mysql user:
sudo chown -R mysql:mysql /var/lib/mysql
Restart Mysql:
sudo service mysql start
-
@Tom-Elliott For future readers, I’ll add that if you HAVE to do an export in this fashion - you probably have much larger issues…
FOG has a built in DB export tool; this is how you get to it:
FOG Configuration -> Configuration Save -> Export
That copies everything from the DB - literally everything.The Import tool is in the same spot and it does work.
If for some reason the FOG front-end is broke and you can’t use it to import/export - you can do the same thing manually. Examples are here in the WiKi: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL