Hostname Changer failed
-
@Tom-Elliott
OK then now i have to only use git ?Thanks
-
@plegrand To install the RC’s yes.
-
Also, it can be used for “official” releases as well so yes. A single point.
-
@Tom-Elliott
last question …now, each time i want to upgrade i have to use this commands :
git clone https://github.com/FOGProject/fogproject.git /home/svn/fogproject cd /home/svn/fogproject git checkout dev-branch cd bin ./installfog.sh
Thanks again for your help
-
@plegrand That link already has all the information.
For initial pull you need the clone.
After that you do not need to continually clone or checkout.
When you need to update you would:
cd /home/svn/fogproject git checkout dev-branch git pull cd bin ./installfog.sh -y
The -y will run the update without your input (no need to go to update db or anything.)
If you are already on the dev-branch, then you don’t need the
git checkout dev-branch
portion. -
@Tom-Elliott
Then i upgraded.
Mon Feb 13, 2017 17:06 pm
Running Version 1.3.5-RC-5
SVN Revision: 6066But now i’ve got this error : {“error”:“null”}
-
Can you post the whole log?
-
In fact, pc are well renamed but not put into samba domain
14/02/2017 06:58 Bus Registering ParseBus in channel Power 14/02/2017 06:58 Bus Became bus client 14/02/2017 06:58 Bus Registering OnNotification in channel Notification 14/02/2017 06:58 Bus Registering OnUpdate in channel Update ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 14/02/2017 06:59 Client-Info Version: 0.9.12 14/02/2017 06:59 ClientUpdater Running... 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1 14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"} ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 14/02/2017 06:59 Client-Info Version: 0.9.12 14/02/2017 06:59 TaskReboot Running... 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=taskreboot&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1 14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"} ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 14/02/2017 06:59 Client-Info Version: 0.9.12 14/02/2017 06:59 HostnameChanger Running... 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1 14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"} ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 14/02/2017 06:59 Client-Info Version: 0.9.12 14/02/2017 06:59 SnapinClient Running... 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1 14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"} ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 14/02/2017 06:59 Client-Info Version: 0.9.12 14/02/2017 06:59 PrinterManager Running... 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=printermanager&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1 14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"} ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -----------------------------------GreenFOG----------------------------------- ------------------------------------------------------------------------------ 14/02/2017 06:59 Client-Info Version: 0.9.12 14/02/2017 06:59 GreenFOG Running... 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=greenfog&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1 14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"} ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 14/02/2017 06:59 Client-Info Version: 0.9.12 14/02/2017 06:59 UserTracker Running... 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=usertracker&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1 14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"} ------------------------------------------------------------------------------ 14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/management/index.php?node=client&sub=configure&newService=1 14/02/2017 06:59 Middleware::Communication Response: Success 14/02/2017 06:59 Service Sleeping for 78 seconds
-
The problem was the client version. (old version: 0.9.12)
I had to install the new one on each computer (0.11.9), then reboot each computer.
Then “reset encrypted data” on the group
Now it works fine.
I thought that once there was a new version on the server the client updated “alone”. -
@plegrand Thank you for providing the solution that you have found, I am certain that someone else will benefit from this information!
Glad you got it all sorted!
-
@Jaymes-Driver
Just for information, may be i should start an other thread but when i launch a deploy task for a group I’ve got this message :Note “Array”
Is it normal ? -
@plegrand looks like it listed the word “array” instead of the array of machines that are suppose to be there, if you go to the tasks page, do you see the task and your machine name?
-
@Jaymes-Driver
Yes -
@plegrand Did the task start? If so this might be a minor issue, and I sure Tom will fix it
I was hoping nothing was broken
-
@Jaymes-Driver
Yes everything works fine, it’s just as you said a very minor issue.
It was for information only.
Thanks for your help -
@plegrand Hey no problem!
Thanks for reporting the issues you find. It helps to make FOG better!
-
@Jaymes-Driver
It’s already the best !!!