Fog Upgrade from 0.3.2 to Fog - 1.0.1 - PHP Errors - CentOS 6.5
-
Hi Guys,
Just wondering if the following are a result of me upgrading Fog version 0.32 to 1.0.1
I am receiving the following errors in httpd errors:script ‘/var/www/html/fog/management/ajax/dashboard.bandwidth.php’ not found or unable to stat, referer: [url]http://10.254.14.66/fog/management/index.php[/url] - When logging into the fog webUI - As a consequence the badwidth monitor is blank and doesn’t show data.
script ‘/var/www/html/fog/management/ajax/host.search.php’ not found or unable to stat, referer: [url]http://10.254.14.66/fog/management/index.php?node=host[/url] - When trying to search for a known Desktop the WebUI says Error in search and shows this in http error logs.
PHP Fatal error: Call to a member function get() on a non-object in /var/www/html/fog/lib/pages/ImageManagementPage.class.php on line 119, referer: [url]http://10.0.0.1/fog/management/index.php?node=images[/url]
- When trying to List all existing images in management webUI
Also when selecting a host and clicking on basic task nothing seems to happen.
I can’t get it to generate an extra log in httpd error log so I’m not sure if I’m missing something.I haven’t done a fresh install and tried importing my old images and hosts yet. Would that be a preferable option?
Thanks again, Love the project.
Cheers,
-
Is CentOS up to date?
-
Hi Tom,
Yep, I updated it just before I did the upgrade.
I’m not sure it was something I did as the reference files from the error log i.e. /var/www/html/fog/management/ajax/host.search.php doesn’t exist in the fog directory.
I ran the installer from the 1.0.1 tarball
Cheers,
Adam -
It’s just odd, to me, that it’s throwing those kinds of errors for you. FOG requires the use of 5.3.0 or higher now.
That said it shouldn’t be trying to load files like that:
ajax/host.search.php, ajax/dashboard.bandwidth.php are no more and haven’t been.This leads me to think there was an issue during install, quite possibly with the installation of the web folders.
I’m assuming you already updated your schema to that of 1.0.1, but that alone isn’t the main of the changes.
-
Yep, I went through the Schema upgrade for 1.0.1 via the web interface and it all seemed to report everything was fine.
It has the new interface and everything looks nice and fresh. Should I run through the installer again?Cheers,
-
just removed the /var/www/html/fog/ directory and re-ran the install script which reinstalled the /var/www/html/fog/ but I still seem to have the same errors.
As it is a virtual machine I can always roll back and start from my previous 0.32 install.
and if it is recommended I can do a manual migration as the fog install is quite a few years old now. -
[quote=“RipAU, post: 28944, member: 24459”]just removed the /var/www/html/fog/ directory and re-ran the install script which reinstalled the /var/www/html/fog/ but I still seem to have the same errors.
As it is a virtual machine I can always roll back and start from my previous 0.32 install.
and if it is recommended I can do a manual migration as the fog install is quite a few years old now.[/quote]A manual migration attempt would not hurt!
I like to keep my old fog server working and set up a new one when I want to use the newest version (That way I have something working to fall back on!) even after I install the new system I leave the old one set up, yet turned off. I realize some people do not have this luxury, but it has saved LOTS of headache I assure you.
-
in case you decide you need it [url]http://www.fogproject.org/wiki/index.php/Manual_Migration_Upgrade_from_0.32_to1.0[/url]
-
Thanks for that, I’ll roll back our current server with VMware and create a fresh install.
I couldn’t find much info on it but does the previous version of Fog Service work with 1.0.1 and haven’t had time to check yet.
Will do this later this afternoon I hope.Cheers,
-
the fog service software has not changed. if the ip in the the clients are set to check in with does not change, they will work seamlessly with the new server
-
Ahh thanks for that, I have another question but I’ll create a new thread for that