FOG 1.20 on Ubuntu 16.04 web interface http 500 error on multiple servers
- FOG Version: 1.20
- OS: Ubuntu 16.04
- Service Version: 11.2
- OS: Windows 7 and Windows 10
I’m new to the FOG community and to Linux. I’ve built several FOG servers from scratch and moved the images, drivers, and scripts over from the FOG servers that I was replacing. My new servers were working fine at first but when I checked back on them a few weeks later the web interface was giving me a http 500 error. Attached a screenshot of the apache error log from one of them. I really appreciate your advise. Please keep in mind that I’m a complete novice and will need some hand holding through the troubleshooting process.
@jglessner So is this save to be marked as solved or do you still have that issue? Feel free to open a new thread in case you run into a new issue. Better to open a new one and not mix up things in one case.
I trunk updated 3 affected servers. Web interfaces are back up on all three! I haven’t tried to image anything with them yet but I’m further ahead now. Thanks for the advise.
Can I move images and drivers from ubuntu to centos with WinSCP?
Do I need to make a separate partition for drivers in centos?
If you have a lot of them (like GBs worth) and plan on having even more, I’d recommend a separate partition yes.
Thank you for the advise. I did use git to get the version that is currently installed. Think I’ll try to update first and if that doesn’t work I’ll try your lovely CentOS 7 guide. I think my old original servers are all still hanging around in some capacity so I could probably blow away the malfunctioning ubuntu 16 boxes if I’m starting over. Can I move images and drivers from ubuntu to centos with WinSCP? Do I need to make a separate partition for drivers in centos?
@jglessner You should be able to update - you’ll probably want to switch to git. General steps on git are here: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk
The only issues you might run into is the PHP 5 vs PHP 7 stuff. Either way, if the install explodes, you’re still able to migrate everything without issue - we have steps outlined here: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG
Thanks for your reply!
It will take me awhile to move all the images, drivers, and scripts again. Do you think I could just trunk update or do I have to start over?
While I also agree with the others you should update to take advantage of the enhancements like, deployment speed, nvme disks, gpt format, native win10, new hardware, and… and…
In your case since you have ubuntu and one day fog was working perfectly and the next day it was broken you might want to read over this post: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy This is something that should impact FOG 1.2.0 as well as the current release of fog.
Wayne is right. Just a quick hint for you. Those errors messages are usually caused by a mysql connection issue.
@jglessner Since you’re experienced at building fog boxes, I suggest wiping this box and installing the latest stable FOG version, which is currently 1.4.4.
We don’t test or work on fog 1.2 anymore, and don’t have time to support the older versions. If you want to stick to 1.2, you’ll be mostly on your own.