@Tom-Elliott seems good to go. Did you delete all the files in the /var/www/html/fog/lib with your script or move them?
NM, had to refresh the directory.
@Tom-Elliott seems good to go. Did you delete all the files in the /var/www/html/fog/lib with your script or move them?
NM, had to refresh the directory.
A Permissions Error. In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0775 (-rwxr-xr-x).
Maybe?
@Tom-Elliott Sam error here Tom. Just updated and ran again. Still bombs on backing up database.
@Wayne-Workman Stops at the same location. Backing up Database. Does not continue. (sad face)
@EAHarvey Of course this is simply a shot in the dark. My PHP is non existent. Looks like a naming issue in the code. $
$filename should be $null? Or some other name it’s trying to call?
Ok I’m done. lol.
Looks like it’s trying to call something named “mode” that may have been referenced wrong earlier in the file or maybe a syntax error? I’m thinking this is a PHP5 thing. So it’s trying to call the DB backup and it errors out because of the spelling ?
Just had the same thing here. So its not updated and basically stops the server. I think I can SVN to the earlier version so I can get it back up?
If your running Ubuntu you should have some type of file editor installed already. I would assume that it has that loaded.
When you open your terminal you will be a local prompt, if your paths arent set you will not be able to access the file directly.
you will need to
cd /
cd etc
cd network
sudo vi interfaces
It will bring up the file in the VI text editor. Hit the insert key and then arrow down to the last line and enter
auto (the name of the NIC you are using. You can use IFCONFIG to view the NICS in the machine) in my case its
auto p4p1
iface p4p1 inet static
address (your server address)
netmask(Your server netmask)
gateway(Your server gateway)
It should be some form of this. Hope this helps.
@Wayne-Workman Roger that. I was thinking he might would have re-upload but wasn’t sure. Thank you sir.
I would be willing to bet that it has a lot to do with your compression level. Check under FOG Configuration>FOG Settings>FOG Boot Settings>FOG_PIGZ_COMP. Set this to 2 or 3 and see if that makes a big difference. You may need to redo your image that your pushing but I don’t think you will. This may help[ with the speed issue.
@arnaudrigole When i was having tftp timeouts this is what I changed to make it work. The iPXE is the open source PXE boot environement that FOG uses. Let me see exactly what the difference is between kpxe vs kkpxe. @Senior-Developers may be able to shed a bit more light. I would love to know exactly also.
So it times out on the TFTP part? Change from undionly.kpxe to undionly.kkpxe
When I updated mine it seemed to revert the DHCP Boot file back to the default of unidonly.kpxe. I had to set it back to undionly.kkpxe to fix the issue. Seems like on any updates through SVN, it resets the file. This may not be happening, but kinda seems like it is. I am not sure about the other ways for updating. Just what I have noticed.
I should do a better job of explaining things. I just reread what i put and it was pretty vague. TY @Wayne-Workman for being much better at this than me.
When I did mine, I just copied the images into the new images folder on your server. Make the permissions are all set 777 on the folder. Then when you add an image through your FOG interface, make sure the name is exactly the same is the image name. I know there is a forum post on this. I’ll see if I can find it.