Best way to update to Fog.33b?
-
I would start fresh, re-install Ubuntu then run the installer for 0.33b.
I would also check your /var/www folder and verify there are contents
“File does not exist: /var/www/assets, referer:[url]http://10.5.96.220/fog/management/index.php?node=home[/url]”
Is pretty self explanatory, the file doesn’t exist.
I can only assume the installation did not complete correctly. I also see you have errors when trying to run the php scripts.
A wipe and fresh install will get you back on track. If you still have issues we can move forward from there. re-installing won’t solve your issues, FOG already thinks FOG is installed, you need to remove the old before installing new. You can spend your time manually removing the content or you can spend 10 minutes to rebuild a Ubuntu 12.04 set up and install again to rid the headache.
-
Ok, I assume that uninstalling FOG following the steps on the wiki won’t completely remove Fog and that’s why I should start fresh?
-
It will remove all of fog.
[code]mysql -u root -p’<IFYOUSETPASSWORDENTERHERE>’
drop database fog;
exit
sudo rm -rf {/var/www/fog,/tftpboot,/opt/fog}
sudo userdel fog
[/code]If you need to delete images run:
[code]sudo rm -rf /images[/code] -
Ok, much appreciated. I will try it out, if it doesn’t work I will let you know.
-
[quote=“Joseph Waldfogel, post: 26406, member: 23569”]Ok, much appreciated. I will try it out, if it doesn’t work I will let you know.[/quote]
Good luck, if you have any complications just let us know, we will try our best to get you sorted.
-
Just make sure you back up your DB…
-
Thanks again for the help with my update. I ended up starting fresh after fully deleting fog also failed. It resolved most of the issues, but the fog management page is still blank for me. I think I’m messing something up during the install. When the install finishes do I need to go directly to the fog management page (x.x.x.x/fog/management) to do the update for the schema or can that be done at say the fog main page? I have been going to the main page (x.x.x.x/fog) and doing the update. As far as I can tell that would be the only time I have done something different. I should also note that I haven’t re-added my database or images at this point either. I plan on wiping it again and starting fresh in the morning. When I do, I will try it as directed. If any one has anything to add, it would be appreciated.
-
It doesn’t matter where you navigate to, if you get prompted to update the schema then you have gone to the right place. As for the fog main page being blank, that’s very odd. Is Apache still throwing tons of errors? Have you ‘apt-get update’, ‘apt-get upgrade -f’ lately?
-
I did the “apt-get update” before I started the install; however, “apt-get upgrade” is news to me. I will try it when I get to the FOG install. Thanks for the help! Apache is throwing the same “file does not exist” error that I posted above; the others are gone.
-
apt-get upgrade actually tells your linux server to upgrade any modules it found updates/upgrades for from the aptitude lists.
EDIT: “apt-get upgrade -f” should also tell your system to check for and attempt to repair broken dependencies.
-
Well, my adventure continues. I tried the “upgrade -f” and the “update” prior to install, and then after I seen that the management page wasn’t there; neither worked. I went back to the Apache log and found an error i didn’t see before. Says a few times that Apache can’t determine the FQDN and assigns the local add. as the name. I assume this means that fog is not communicating with the DNS server to resolve the FQDN. I probably typed the add. for the DNS server wrong. At any rate, I uploaded the Apache log from this last install if any one would like to have a look. I also noticed this time around that there are more php pages it’s looking for and can’t find, and not just the Fog management page.
[url=“/_imported_xf_attachments/0/721_error.txt?:”]error.txt[/url]
-
Still no successful install… can’t figure out why Apache keeps putting 127.0.1.1 as the DNS server. Should I try pointing it to my router and see what happens?
-
Okay, got rid of the 127.0.1.1 issue. Still get the blank management page. However I found a new error after I updated my schema… Hopefully this one will have some useful information (the 10.5.96.220 ip is my fog server):
[Thu May 15 13:50:04 2014] [error] [client 10.101.114.9] script ‘/var/www/fog/service/servicemodule-active.php’ not found or unable to stat
[Thu May 15 13:55:02 2014] [error] [client 10.5.96.220] File does not exist: /var/www/favicon.ico
[Thu May 15 13:55:02 2014] [error] [client 10.5.96.220] File does not exist: /var/www/favicon.ico
[Thu May 15 13:55:11 2014] [error] [client 10.5.96.220] PHP Warning: mysql_close(): 13 is not a valid MySQL-Link resource in /var/www/fog/lib/db/MySQL.class.php on line 45, referer: [url]http://10.5.96.220/fog/commons/schemaupdater/index.php?redir=1[/url]
[Thu May 15 13:55:11 2014] [error] [client 10.5.96.220] PHP Fatal error: Call to a member function debug() on a non-object in /var/www/fog/lib/db/MySQL.class.php on line 50, referer: [url]http://10.5.96.220/fog/commons/schemaupdater/index.php?redir=1[/url]
[Thu May 15 13:55:14 2014] [error] [client 10.5.96.220] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30, referer: [url]http://10.5.96.220/fog/commons/schemaupdater/index.php?redir=1[/url]
[Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/[/url]
[Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/[/url]
[Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets
[Thu May 15 13:55:15 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets
[Thu May 15 13:55:28 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
[Thu May 15 13:55:28 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
[Thu May 15 13:55:28 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
[Thu May 15 13:55:29 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
[Thu May 15 13:55:43 2014] [error] [client 10.5.96.220] PHP Warning: array_merge(): Argument #1 is not an array in /var/www/fog/lib/pages/ReportManagementPage.class.php on line 949, referer: [url]http://10.5.96.220/fog/management/index.php?node=report&sub=user-track[/url]
[Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
[Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/assets, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
[Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
[Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url] -
Today I updated my Fog database from my back-up just for giggles. The fog man page is still missing. I seem to be going around in circles; wipe, install, wipe, install and not making any more progress. What else could be going on with my system that could be causing my installs to not finish properly? I haven’t seen any thing new in my apache error logs, and mySQL logs are all empty. When I do the install I also don’t notice anything wrong.
-
Are you accessing the fog UI from the same subnet as the server?
-
Once I get the msg to update the schema from the install I am opening up Firefox (from the server), updating the schema, logging in and finally going to the fog management page so I can configure it but it is not there.
-
What specifically is not there?
-
Everything, it is a blank page. The Apache log gives me this error: [Thu May 15 13:55:54 2014] [error] [client 10.5.96.220] File does not exist: /var/www/access, referer: [url]http://10.5.96.220/fog/management/index.php?node=about[/url]
-
Ok, I thought it was the fog management page that was messed up because of what it said in the error log. It is not; it’s the fog configuration page that is blank. All the other pages are there and I have also been able to ping existing clients after re-loading my database from backup, it also shows my snap-ins and images. I tried installing fog on my network at home and had no issues, it was gravy. After that I tried to install it on a laptop here at work completely fresh, and I still get the blank config page. Since having a successful install outside of my network, and none inside, I’m now thinking that the issue is with my network. But from what I understand from the forums, the only thing I need to change from my previous version is setting up the DCHP server rules 66 & 67 (which I have already done). Is there anything that I could be missing as far as my network setup is concerned?
-
No… I’m really not sure what is happening to you. Do you maybe have some sort of different firewall or weird AV that may be stripping out some of the FOG files?