Auto updates are not performed

Thank you for the great tool urbackup, which works flawlessly in the most cases.

So, server 2.5.31, set of clients (Windows and Linux). Clients are 2.5.23. I’ve set auto-updates to on. And silent auto-updates are also on now. Nothing happened. All clients remained at old versions. I’ve restarted server and some of the clients.

In server logs I can see the following:

2024-06-15 00:02:11: Successfully downloaded update file.
2024-06-15 00:02:11: Downloading server version info...
2024-06-15 00:07:42: Downloading version file...
2024-06-15 00:07:42: Downloading signature...
2024-06-15 00:07:42: Downloading old signature...
2024-06-15 00:07:42: Getting update file URL...
2024-06-15 00:07:42: Downloading update file...
2024-06-15 00:08:27: Downloading version file...
2024-06-15 00:08:27: Downloading signature...
2024-06-15 00:08:27: Getting update file URL...
2024-06-15 00:08:27: Downloading update file...
2024-06-15 00:08:39: Successfully downloaded update file.
2024-06-15 00:08:39: Downloading server version info...

Not sure if all is good, but files in server directory got updated and no error messages whatsoever.

However, important, and perhaps unexpected setup is that server has also client running on it. As result, my version* files in /usr/local/var/urbackup are root owned and contain old version 288 (vs 290 on update server).

Currently none of the clients has updated and it’s been weeks. I can, of course, work it around by manual installs, but wanted to help with the issue, since I’m stepping on it not for the first time and each time had to perform manual updates.

Let’s debug and pin it down.

Maybe chown them to urbackup, stop the client, then restart the server. That would narrow this down to this being the cause.

That kind of helped. That triggerred update for Windows clients, however Linux clients remain unupdated, including local to the server.

Versions file contents:

./version_linux.txt:291
./version_new.txt:288
./version_osx.txt:288
./version.txt:290

Update: it seems it has taken few days to propagate, i.e. now all online clients got their updates. Solution is to make sure that on the server version* files are owned by urbackup user. Then those settings work.

Thank you @uroni !