#1942·watchtower

Nextcloud 全能版无法更新, watchtover 发生 segfault 错误?

作者: lvets创建于 2024年3月9日更新于 2025年11月17日
标签Type: BugPriority: MediumStatus: Available

time="2024-03-03T22:07:00Z" level=debug msg="Sleeping for a second to ensure the Docker api client has been properly initialized." time="2024-03-03T22:07:01Z" level=debug msg="Making sure everything is sane before starting" time="2024-03-03T22:07:01Z" level=info msg="Watchtower 1.7.1" time="2024-03-03T22:07:01Z" level=info msg="Using no notifications" time="2024-03-03T22:07:01Z" level=info msg="Only checking containers which name matches \"nextcloud-aio-mastercontainer\"" time="2024-03-03T22:07:01Z" level=info msg="Running a one time update." time="2024-03-03T22:07:01Z" level=debug msg="Checking containers for updated images" time="2024-03-03T22:07:01Z" level=debug msg="Retrieving running containers" time="2024-03-03T22:07:01Z" level=error msg="Cannot connect to the Docker daemon at unix:///var/run/Docker.sock. Is the Docker daemon running?" panic: runtime error: invalid memory address or nil pointer dereference goroutine 1 [running]: GitHub.com/containrrr/watchtower/pkg/metrics.NewMetric({0x0, 0x0}) /home/runner/work/watchtower/watchtower/pkg/metrics/metrics.go:31 +0x22 GitHub.com/containrrr/watchtower/cmd.runUpdatesWithNotifications(0xc00031f490) /home/runner/work/watchtower/watchtower/cmd/root.go:377 +0x171 GitHub.com/containrrr/watchtower/cmd.Run(0xc00031a300?, {0xc000332080?, 0x4?, 0x4?}) /home/runner/work/watchtower/watchtower/cmd/root.go:168 +0x658 GitHub.com/spf13/cobra.(*Command).execute(0xc00031a300, {0xc000138010, 0x4, 0x4}) /home/runner/go/pkg/mod/GitHub.com/spf13/[email protected]/command.go:987 +0xaa7 GitHub.com/spf13/cobra.(*Command).ExecuteC(0xc00031a300) /home/runner/go/pkg/mod/GitHub.com/spf13/[email protected]/command.go:1115 +0x417 GitHub.com/spf13/cobra.(*Command).Execute(...) /home/runner/go/pkg/mod/GitHub.com/spf13/[email protected]/command.go:1039 GitHub.com/containrrr/watchtower/cmd.Execute() /home/runner/work/watchtower/watchtower/cmd/root.go:75 +0x52 main.main() /home/runner/work/watchtower/watchtower/main.go:13 +0x17

内容来源: containrrr/watchtower