Issues, cannot delete host, cannot add image to host
Not sure what is going on here. I create a new image. That works properly. I create new host, and associate new image with host. That works properly. When I try to edit the host, the image information is gone, and I get the following error message:
"[CENTER]Upload task failed to create for[/CENTER][CENTER] [/CENTER][CENTER]with image[/CENTER]
[CENTER]You need to assign an image to the host"[/CENTER]
[LEFT]Now I am stuck. I can delete the image entry, but I cannot delete the host. On the server itself, there is no file for this host. HELP!!![/LEFT]
Been there - done that!
Tom’s reply worked perfectly! After months of playing with this thing, I finally have a working FOG server! Yea!
Sorry I got dumped full of house work in the evening.
Open a terminal.
Type: If you set blank mysql password at install remove all of the -p stuff.
mysql -u root -p'YOURPASSWORDHERE' fog
Once logged in to mysql you should see a prompt like:
In there type:
DELETE FROM hosts WHERE hostID='0';
Yup! Going to need some help on this one.
Unfortunately you may need to dive into mysql and delete this host. If you need some help I can assist.