Open t-pohl opened 1 year ago
Hi,
Are there any errors in the logs?
Can you please enable DEBUG logs then retry to see if something helpful is printed?
Couldn't find any errors In the case I described the logs just end with
wud | 10:52:07.392 DEBUG whats-up-docker/trigger.dockercompose.traefik-update: Run trigger batch
which should then pull the container and update the image but does not. It's the last log.
I debugged a little more and it seems to me that it might be a permission problem on the volume which handles the compose file. If I mount it with permissions 664 I encountered the problem that changes to the compose file on the host (aka swaping the image file) which were made on the host were not reflected inside the container which seems like a problem for wud. Mounting it with 666 (so also +w for all) seems to solve this problem so the files are now in sync.
I do not know if this is really the cause for my problem but I'm going to run the container a little bit longer with these settings + DEBUG logs to see if it fixes the problem. If you have other ideas / want more logs feel free to reach out :D
I also noticed that the files inside volume are owned by node
. Could it be that the wud processes do not have the permissions to write these files because they run under a different user?
@fmartinou I have the same problem. If I specify WUD_WATCHER_LOCAL_CRON, than no check for new versions is done. If I comment out this parameter, than everything is working
Hey, I'm running WUD via docker-compose against docker-compose with one local watcher and multiple triggers for different compose files. Problem now is that containers are only auto updated if I restart WUD via
docker-compose down
anddocker-compose up -d
again but not if the watcher is invoked via cron. I see the invocation of the watcher in the WUD container logs asbut no update is triggered afterwards (2 of them should be ignored by threshold but 1 should run as it is only a patch upgrade). If I now just reboot WUD the patch upgrade will be performed.
Here my WUD configuration:
Am I missing something here?