Best way to update to Fog.33b?
-
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?
-
Not that I know of. The cat who set this up before I started here was able to get it installed and working. Co-workers told me he did “something to trick it into working,” but none of them know what it was, and I have no way of contacting the guy. I think I am going to try and put the fog installer on a flash drive and copy it over to the server and install it. Bypassing my work network of course.
-
Still no luck, I downloaded Fog 1.0.1 at home threw it on a flash drive and brought it in. It still installs with a blank page. I have been thinking that it has to have something to do with my Ubuntu set up prior to installing Fog. Is there something on the wiki page or another forum post any one knows of that gives a list of packages or apps that I need to setup before installing Fog on Ubuntu 12.04 (other than the standard wiki installation page)?
-
nothing is required beyond the standard server installation and running updates before installing fog on ubuntu 12.04 server
-
Ok, Server you say… I was told by my co-workers to use the desktop version, might that have something do with me not having all of the required packages?
-
i’m sure you can get fog to work on the desktop version, but i prefer to use the low-overhead gui-less versions of linux for servers. there’s nothing about installing and configuring fog that you can’t do from the command line, or from the browser of another computer.
-
Right, when I set fog up on my home network it worked first try, and I am using 12.04 desktop at home. I have even brought my 12.04 from home and installed it on this system and ended up with the same results after installing fog. Has anyone ever posted about trouble installing fog on specific server models, if so I’ll check them out?
-
Ok… I tried something else. I went to the localhost and tried loading the fog config page and it worked, I am able to edit my config, and save changes. but when I navigate to the ip and try to check it, it still comes up blank. So…to me this indicates that Apache is setting everything up under the localhost and I need to change it in Apache to my static IP, sound about right?
-
[quote=“Joseph Waldfogel, post: 28633, member: 23569”]Ok… I tried something else. I went to the localhost and tried loading the fog config page and it worked, I am able to edit my config, and save changes. but when I navigate to the ip and try to check it, it still comes up blank. So…to me this indicates that Apache is setting everything up under the localhost and I need to change it in Apache to my static IP, sound about right?[/quote]
It sounds, more like, firewall isn’t allowing connection.
Localhost will work, but IP isn’t able to.
Try running [code]service iptables stop[/code] and try accessing the page by IP.
-
I get “iptables: unrecognized service.”