Seite 2 von 2
Re: opsiclientd on_demand: No JSON object could be decoded
Verfasst: 05 Jul 2016, 07:21
von danielc
OK i did this.
As i don't know how to restart the service i restarted the machine
Now the timeout problem has disapeared, but the JSON one is still there. Even after having saved again and again, all reloaded all, restarting opsi-server...
Re: opsiclientd on_demand: No JSON object could be decoded
Verfasst: 05 Jul 2016, 13:31
von n.wenselowski
Hi,
if the service is not stopped it may override the changed config.
Use service.msc for stopping the opsiclientd and then try again, please!
-Niko
Re: opsiclientd on_demand: No JSON object could be decoded
Verfasst: 05 Jul 2016, 17:20
von danielc
Hi,
n.wenselowski hat geschrieben:
Use service.msc for stopping the opsiclientd and then try again, please!
OK I did it, reloaded opsi config editor, just in case, but still the same problem. Really sorry to make you spend so much time for helping me...
Re: opsiclientd on_demand: No JSON object could be decoded
Verfasst: 06 Jul 2016, 11:19
von n.wenselowski
Hi,
just to be sure: do the keys now match?
If you don't want to debug you could try to just redeploy the client.
Kind regards
Niko
Re: opsiclientd on_demand: No JSON object could be decoded
Verfasst: 06 Jul 2016, 16:22
von danielc
Yes they match.
About redeploying, i was thinking to do this, but because maybe the problem is that i tried several time to deploy it with the opsi-deploy-client-agent method that obviously doesn't work (i would like to find something that will work all the time, on all machines, without compiling some code).
Then i tried service_setup.cmd and it worked, but maybe some information were still on the client and it wreckled the mess.
So can you tell me the correct way to uninstall and reinstall the client (or the part of the doc where it is explained). I don't find anything about this on the web...
Re: opsiclientd on_demand: No JSON object could be decoded
Verfasst: 07 Jul 2016, 16:32
von ueluekmen
Hi,
there is no clean way to uninstall the client, thats why we recommend to deactivate the agent. If you only want to redeploy it, the easiest way is to call service_setup.cmd again on the client without uninstall or deactivating the agent.