J’ai constaté que la mise à jour manuelle échoue en raison d’un bug dans l’image Watchtower de containrrr. Il est corrigé dans ce fork.
Mon instance Watchtower était également hors service.
Voici l’erreur dans Gladys.
Starting Watchtower 1.7.1
Checking all containers (except explicitly disabled with label)
Running a one time update.
Error response from daemon: client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x589ee4]
goroutine 1 [running]:
Cgithub.com/containrrr/watchtower/pkg/metrics.NewMetric({0x0, 0x0})
I/home/runner/work/watchtower/watchtower/pkg/metrics/metrics.go:31 +0x24
Ogithub.com/containrrr/watchtower/cmd.runUpdatesWithNotifications(0x40002b38e0)
@/home/runner/work/watchtower/watchtower/cmd/root.go:377 +0x18c
Ugithub.com/containrrr/watchtower/cmd.Run(0x40002da300?, {0x40002d63f0?, 0x3?, 0x3?})
@/home/runner/work/watchtower/watchtower/cmd/root.go:168 +0x608
Rgithub.com/spf13/cobra.(*Command).execute(0x40002da300, {0x4000124050, 0x3, 0x3})
M/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987 +0x808
9github.com/spf13/cobra.(*Command).ExecuteC(0x40002da300)
N/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x38c
/github.com/spf13/cobra.(*Command).Execute(...)
G/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
/github.com/containrrr/watchtower/cmd.Execute()
/home/runner/work/watchtower/watchtower/cmd/root.go:75 +0x5c
ain.main()
:/home/runner/work/watchtower/watchtower/main.go:13 +0x20