@Wayne-Workman
Totally if I had worked out where it was then I would of changed it in the web interface as per your note here!
Anyway thanks for your help!
@Wayne-Workman
Totally if I had worked out where it was then I would of changed it in the web interface as per your note here!
Anyway thanks for your help!
@Wayne-Workman
Great, any chance you could direct me as to where that is just for future reference…
@Tom-Elliott
I updated that manually and away we go!
Not sure this will come in handy for anyone but in the interest of keeping all this together
After changing my fogserver IP from 192.168.168.3 to 10.10.10.20 I got this error when attempting to deploy an image to a host;
Failed to create deployment tasking for the following hosts
Type: 8, File: /var/www/html/fog/lib/fog/fogmanagercontroller.class.php, Line: 59, Message: Undefined variable: whereArray, Host: 192.168.168.3, Username: fog
I ran this in terminal of my fog server;
sudo mysql -u root -p
use fog
UPDATE nfsGroupMembers
SET ngmHostname = '10.10.10.20'
WHERE ngmID = 1;
And that has fixed it.
@Tom-Elliott Ah great yes I can see that IP in the table, is there a way to edit that entry in the table via the web-gui or is that something I need to change via mysql? thanks for your help!
@Tom-Elliott
Ok thanks for the info. Is it possible to clarify in the context of this, what do you mean by ‘node’ ?
I have queried the DB with;
'use fog; SELECT * FROM globalSettings;' | grep HOST
which returned;
1 FOG_TFTP_HOST Hostname or IP address of the TFTP Server. 10.10.10.20 TFTP Server
19 FOG_WEB_HOST This setting defines the hostname or ip address of the web server used with fog. 10.10.10.20 Web Server
I have also ensured that the server has been updated with the correct IP address (this is supplied via a DHCP reservation)
ifconfig
eth0 Link encap:Ethernet HWaddr **:**:**:**:**:**
inet addr:10.10.10.20 Bcast:10.10.10.255 Mask:255.255.255.0
Is there somewhere else to check to ensure that I have updated every where I need to?
@Tom-Elliott Sure, Running Version: 7923 - same error
@Tom-Elliott I am running Trunk via Git - Running Version: 7853
Thanks for the reply, that is the old IP address, the new one which I have configured is 10.10.10.20
Sorry that Apache logs function doesn’t appear to work for me.
I have however attempted to start a new deploy task (which fails) and can’t see anything logged in here;
/var/log/apache2/access.log (ubuntu)
Sorry I should note too that the old IP is 192.168.168.3
Hi there,
I am on the trunk release and have updated the servers IP address via following the instructions on the wiki, including a pull of the latest version.
https://wiki.fogproject.org/wiki/index.php/Change_FOG_Server_IP_Address
Post the successful re-install, I am able to set a task to capture however when I set a deploy task I get an error. Any chance I have missed something on the instructions or is the host IP hardcoded somewhere outside of the instructions?
I have also attempted to run the installer with the -C & -K tags in order to generate new certs as I saw a ticket that suggested that might be the issue.
Anyway, here is the error;
Failed to create deployment tasking for the following hosts
Type: 8, File: /var/www/html/fog/lib/fog/fogmanagercontroller.class.php, Line: 59, Message: Undefined variable: whereArray, Host: 192.168.168.3, Username: fog
Any additional thoughts/help would be greatly appreciated…
Thanks!!!