End of range (24) above maximum (23): 24 #1742
Answered
by
piksel
ItsNik-yaml
asked this question in
Q&A
-
Hi there so i am fairly new to watchtower and i just got this error while i was trying to connect it to "HomePage" via the http API. Those are the logs from the docker container: And here is my docker-compose watchtower:
network_mode: host
image: containrrr/watchtower
container_name: watchtower
environment:
TZ: Europe/Berlin
WATCHTOWER_HTTP_API_METRICS: "true"
WATCHTOWER_HTTP_API_TOKEN: "xxx"
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_NOTIFICATIONS_HOSTNAME: "Raspberry - Pi"
WATCHTOWER_SCHEDULE: "0 0 24 * * *"
WATCHTOWER_ROLLING_RESTART: "true"
WATCHTOWER_NOTIFICATION_REPORT: "true"
WATCHTOWER_NOTIFICATION_URL: >
discord://xxx@xxx
WATCHTOWER_NOTIFICATION_TEMPLATE: |
{{- if .Report -}}
{{- with .Report -}}
{{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed
{{- range .Updated}}
- {{.Name}} ({{.ImageName}}): {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}}
{{- end -}}
{{- range .Fresh}}
- {{.Name}} ({{.ImageName}}): {{.State}}
{{- end -}}
{{- range .Skipped}}
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}
{{- end -}}
{{- range .Failed}}
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}
{{- end -}}
{{- end -}}
{{- else -}}
{{range .Entries -}}{{.Message}}{{"\n"}}{{- end -}}
{{- end -}}
volumes:
- /var/run/docker.sock:/var/run/docker.sock |
Beta Was this translation helpful? Give feedback.
Answered by
piksel
Aug 24, 2023
Replies: 1 comment
-
I think it's referring to the schedule hour: WATCHTOWER_SCHEDULE: "0 0 24 * * *" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ItsNik-yaml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it's referring to the schedule hour: