[Update 4/2/2020 - We have issued micropatches #421 and #422 for this issue. If your agent is still unable to sync, please trigger a manual sync again, and the again if needed. This should get the micropatch applied and fix the problem.
Users with multiple 0patch Agents in their network can use this command on all affected computers to simulate a manual sync:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\0patch\CallbackKeys\SyncNow /v Counter /t REG_DWORD /d %random%%random% /f
This may also need to be done twice for the most stubbornly stuck agents to sync. If using PowerShell, use
$(Get-Random) instead of
We're aware of a bug in 0patch Agent version 184.108.40.20650 (current version) that causes a sync to fail due to improper encoding of special characters. As agent does its work, it records data on which applications get patched by which patches, and when it syncs, it sends that data to the server to collect statistical data. The problem occurs when a patched application has some special character in its name, because that name then gets improperly encoded and the server rejects the request. This patching statistics then gets deleted on the agent and starts getting collected anew (for the next sync), so a manual sync after a failed sync usually succeeds - but left to itself, and its scheduled once-per-hour syncing, special characters can find their way to the collected statistics within 60 minutes, leading to most automated syncs failing.
We expect this issue will affect more users now that we have issued some micropatches that get applied to many processes (some of which may have special characters in their names).
We have already fixed this bug in our source code but to avoid rushing with a release, we decided to issue a micropatch for this issue, which will patch 0patchService.exe and correct the issue until the new agent is released.
In the meantime, occasionally look at 0patch Console and if it says it hasn't been synced for over 24 hours, trigger a manual sync (and a second one if the first one fails).
Once we have this micropatch, we'll notify affected users via email to make sure they do a manual sync and receive the micropatch.
Apologies for the inconvenience.