Migration Tool¶
Overview¶
Watchtower includes a notify-upgrade command to help convert legacy notification configurations to Shoutrrr URLs for use with the NOTIFICATION URL.
It parses legacy Watchtower notification configurations and outputs Shoutrrr URLs to a temporary file inside the Watchtower container.
Settings the file leaves out
The file holds only the notification URL. It leaves out two legacy email settings, which are not part of a Shoutrrr URL. Watchtower applies both while your legacy settings are in place. When you switch to the generated URL, set their replacements yourself:
notification-email-delayis replaced bynotifications-delay.notification-email-subjecttagis replaced bynotification-title-tag.
Usage¶
The notify-upgrade command converts legacy Watchtower notification configurations into Shoutrrr URLs and writes them to a temporary file inside the container.
Running the Command¶
The notify-upgrade can be run either against a Watchtower container that is already running or as a single-run instance that allows you to convert a Docker Compose configuration or Docker CLI flag / environment variable configuration.
Existing Deployment¶
If Watchtower is already deployed and running with your legacy notification configuration, you can execute notify-upgrade directly inside the container:
This works because the Watchtower binary is installed at /watchtower and notify-upgrade is a built-in subcommand.
The common mistake is running docker exec watchtower notify-upgrade, which fails because notify-upgrade is not a standalone executable in $PATH.
Note
Running notify-upgrade inside an existing container does not stop or restart the main Watchtower process.
docker exec runs a separate, short-lived process.
The only side effect is that the notify-upgrade process will stay alive for up to 5 minutes while waiting for you to retrieve the temporary file, after which it cleans up and exits.
Single-Use Run¶
If you have not yet deployed Watchtower or if you want to run notify-upgrade as a one-off command without starting the persistent Watchtower update loop, then run a temporary container configured with notify-upgrade as the command.
services:
watchtower:
image: nickfedor/watchtower:latest
command: notify-upgrade
environment:
WATCHTOWER_NOTIFICATIONS: email
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: smtp.example.com
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 587
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: USERNAME
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: 'PASSWORD'
WATCHTOWER_NOTIFICATION_EMAIL_FROM: [email protected]
WATCHTOWER_NOTIFICATION_EMAIL_TO: [email protected]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
docker run --rm \
--name watchtower-notify-upgrade \
-v /var/run/docker.sock:/var/run/docker.sock \
-e WATCHTOWER_NOTIFICATIONS=email \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.example.com \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=USERNAME \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD='PASSWORD' \
-e WATCHTOWER_NOTIFICATION_EMAIL_FROM=[email protected] \
-e WATCHTOWER_NOTIFICATION_EMAIL_TO=[email protected] \
nickfedor/watchtower \
notify-upgrade
docker run --rm \
--name watchtower-notify-upgrade \
-v /var/run/docker.sock:/var/run/docker.sock \
nickfedor/watchtower \
notify-upgrade \
--notifications email \
--notification-email-server smtp.example.com \
--notification-email-server-port 587 \
--notification-email-server-user USERNAME \
--notification-email-server-password 'PASSWORD' \
--notification-email-from [email protected] \
--notification-email-to [email protected]
Replace the following:
USERNAME: the user name for your SMTP server.notify-upgradewrites an@in it as%40.PASSWORD: the password for your SMTP server, inside the single quotes. In a Compose file, write each'in it as''and each$as$$. In a shell command, write each'as'\''.
Use your SMTP server's host name in place of smtp.example.com and your own addresses in place of [email protected] and [email protected].
services:
watchtower:
image: nickfedor/watchtower:latest
command: notify-upgrade
environment:
WATCHTOWER_NOTIFICATIONS: gotify
WATCHTOWER_NOTIFICATION_GOTIFY_URL: "https://gotify.example.com/"
WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN: "TOKEN"
WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
docker run --rm \
--name watchtower-notify-upgrade \
-v /var/run/docker.sock:/var/run/docker.sock \
-e WATCHTOWER_NOTIFICATIONS=gotify \
-e WATCHTOWER_NOTIFICATION_GOTIFY_URL="https://gotify.example.com/" \
-e WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN="TOKEN" \
-e WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY=true \
nickfedor/watchtower \
notify-upgrade
Replace TOKEN with the application token from your Gotify server and gotify.example.com with your server's host name.
services:
watchtower:
image: nickfedor/watchtower:latest
command: notify-upgrade
environment:
WATCHTOWER_NOTIFICATIONS: slack
WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL: "https://hooks.slack.com/services/WORKSPACE_ID/WEBHOOK_ID/WEBHOOK_TOKEN"
WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER: watchtower-server-1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
docker run --rm \
--name watchtower-notify-upgrade \
-v /var/run/docker.sock:/var/run/docker.sock \
-e WATCHTOWER_NOTIFICATIONS=slack \
-e WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL="https://hooks.slack.com/services/WORKSPACE_ID/WEBHOOK_ID/WEBHOOK_TOKEN" \
-e WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER=watchtower-server-1 \
nickfedor/watchtower \
notify-upgrade
docker run --rm \
--name watchtower-notify-upgrade \
-v /var/run/docker.sock:/var/run/docker.sock \
nickfedor/watchtower \
notify-upgrade \
--notifications slack \
--notification-slack-hook-url "https://hooks.slack.com/services/WORKSPACE_ID/WEBHOOK_ID/WEBHOOK_TOKEN" \
--notification-slack-identifier watchtower-server-1
Replace the following with the parts of your Slack webhook URL:
WORKSPACE_ID: the workspace ID, which starts withTWEBHOOK_ID: the webhook ID, which starts withBWEBHOOK_TOKEN: the webhook token
services:
watchtower:
image: nickfedor/watchtower:latest
command: notify-upgrade
environment:
WATCHTOWER_NOTIFICATIONS: msteams
WATCHTOWER_NOTIFICATION_MSTEAMS_HOOK_URL: "https://ENVIRONMENT.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/WORKFLOW_ID/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=SIGNATURE"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
docker run --rm \
--name watchtower-notify-upgrade \
-v /var/run/docker.sock:/var/run/docker.sock \
-e WATCHTOWER_NOTIFICATIONS=msteams \
-e WATCHTOWER_NOTIFICATION_MSTEAMS_HOOK_URL="https://ENVIRONMENT.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/WORKFLOW_ID/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=SIGNATURE" \
nickfedor/watchtower \
notify-upgrade
docker run --rm \
--name watchtower-notify-upgrade \
-v /var/run/docker.sock:/var/run/docker.sock \
nickfedor/watchtower \
notify-upgrade \
--notifications msteams \
--notification-msteams-hook "https://ENVIRONMENT.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/WORKFLOW_ID/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=SIGNATURE"
Replace the following with the parts of the webhook URL that your workflow's trigger shows:
ENVIRONMENT: the Power Platform environmentWORKFLOW_ID: the workflow IDSIGNATURE: the value of thesigparameter
An Azure Logic Apps workflow's URL has a different form. Use the whole URL that its trigger shows.
Important
Replace the example environment variables with your own legacy notification configuration.
The notify-upgrade command inspects the container's current configuration, so it must be started with your legacy notification settings.
Retrieving the Generated File¶
After running notify-upgrade, the converted Shoutrrr URL is written to a temporary file in the container's working directory. Its name starts with watchtower-notif-urls- and ends in a random number.
The command logs a copy command with the container and the file name:
INFO To get the environment file, use: docker cp CONTAINER_ID:FILE_NAME ./watchtower-notifications.env
This output includes the following values:
CONTAINER_ID: the ID of the container that rannotify-upgrade. Whennotify-upgradecannot find its own container ID, the line shows<CONTAINER>instead. Replace it with the container's name or ID before you run the command, because a shell reads<and>as redirections.FILE_NAME: the name of the temporary file, such aswatchtower-notif-urls-1234567890
Run that command to copy the file to your local machine:
The temporary file is automatically removed after 5 minutes or when the container stops, so copy it promptly after generation.
If you are running notify-upgrade as a one-off command (docker run --rm ...), the process will wait up to 5 minutes before exiting.
Before it writes the file, notify-upgrade checks every URL with Shoutrrr, as Watchtower does at startup. If Shoutrrr rejects a URL, such as a Discord webhook whose ID is not a number, notify-upgrade writes no file. Its error never contains the URL. It usually names the service. It cannot when the URL has no scheme or does not parse. The same holds for a URL that ends in an empty # fragment. The error gives a notification URL's position, counting from 1. For a URL converted from a legacy notification type, it names that type instead. Shoutrrr's warnings about a URL, such as a deprecated key, appear in the log.
When the conversion fails, notify-upgrade logs the error and exits with code 1. It removes any file it started to write. If it logs "Failed to remove temporary file" instead, delete the file named in that warning yourself, because it can hold your notification credentials.
Migration Walkthrough¶
Select the tab that matches your legacy notification service.
-
Run the following Docker Compose configuration / Docker CLI command:
services: watchtower: image: nickfedor/watchtower:latest environment: WATCHTOWER_NOTIFICATIONS: email WATCHTOWER_NOTIFICATION_EMAIL_SERVER: smtp.example.com WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 587 WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: USERNAME WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: 'PASSWORD' WATCHTOWER_NOTIFICATION_EMAIL_FROM: [email protected] WATCHTOWER_NOTIFICATION_EMAIL_TO: [email protected] WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 10 WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG: Watchtower volumes: - /var/run/docker.sock:/var/run/docker.sockdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ -e WATCHTOWER_NOTIFICATIONS=email \ -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.example.com \ -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 \ -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=USERNAME \ -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD='PASSWORD' \ -e WATCHTOWER_NOTIFICATION_EMAIL_FROM=[email protected] \ -e WATCHTOWER_NOTIFICATION_EMAIL_TO=[email protected] \ -e WATCHTOWER_NOTIFICATION_EMAIL_DELAY=10 \ -e WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=Watchtower \ nickfedor/watchtowerdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ nickfedor/watchtower \ --notifications email \ --notification-email-server smtp.example.com \ --notification-email-server-port 587 \ --notification-email-server-user USERNAME \ --notification-email-server-password 'PASSWORD' \ --notification-email-from [email protected] \ --notification-email-to [email protected] \ --notification-email-delay 10 \ --notification-email-subjecttag WatchtowerReplace the following:
USERNAME: the user name for your SMTP server.notify-upgradewrites an@in it as%40.PASSWORD: the password for your SMTP server, inside the single quotes. In a Compose file, write each'in it as''and each$as$$. In a shell command, write each'as'\''.
Use your SMTP server's host name in place of
smtp.example.comand your own addresses in place of[email protected]and[email protected]. -
With the container running, execute the
notify-upgradecommand:Then copy the resulting file out of the container with the command that
notify-upgradelogs: -
The following converted Shoutrrr URL should be produced:
smtp://USERNAME:[email protected]:587/?auth=Plain&clienthost=localhost&encryption=Auto&fromaddress=sender%40example.com&fromname=Watchtower&subject=&toaddresses=recipient%40example.com&usehtml=No&usestarttls=Yes&timeout=10s -
Replace the deprecated configuration with the converted Shoutrrr URL. The URL does not carry the email delay or the subject tag. Set the notifications delay and the title tag in their place:
services: watchtower: image: nickfedor/watchtower:latest environment: WATCHTOWER_NOTIFICATION_URL: 'smtp://USERNAME:[email protected]:587/?auth=Plain&clienthost=localhost&encryption=Auto&fromaddress=sender%40example.com&fromname=Watchtower&subject=&toaddresses=recipient%40example.com&usehtml=No&usestarttls=Yes&timeout=10s' WATCHTOWER_NOTIFICATIONS_DELAY: "10" WATCHTOWER_NOTIFICATION_TITLE_TAG: Watchtower volumes: - /var/run/docker.sock:/var/run/docker.sockdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ -e 'WATCHTOWER_NOTIFICATION_URL=smtp://USERNAME:[email protected]:587/?auth=Plain&clienthost=localhost&encryption=Auto&fromaddress=sender%40example.com&fromname=Watchtower&subject=&toaddresses=recipient%40example.com&usehtml=No&usestarttls=Yes&timeout=10s' \ -e WATCHTOWER_NOTIFICATIONS_DELAY=10 \ -e WATCHTOWER_NOTIFICATION_TITLE_TAG=Watchtower \ nickfedor/watchtowerdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ nickfedor/watchtower \ --notification-url 'smtp://USERNAME:[email protected]:587/?auth=Plain&clienthost=localhost&encryption=Auto&fromaddress=sender%40example.com&fromname=Watchtower&subject=&toaddresses=recipient%40example.com&usehtml=No&usestarttls=Yes&timeout=10s' \ --notifications-delay 10 \ --notification-title-tag WatchtowerThe single quotes keep YAML and the shell from changing the URL.
notify-upgradewrites a'in the password as%27but leaves a$as it is. In a Compose file, write each$in the URL as$$.
Note
- Avoid using unrecognized flags like
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_SSL, as they are ignored and may cause confusion. - Use the
encryptionandusestarttlsURL parameters in thesmtp://URL to control TLS behavior rather than deprecated flags.
-
Run the following Docker Compose configuration / Docker CLI command:
services: watchtower: image: nickfedor/watchtower:latest environment: WATCHTOWER_NOTIFICATIONS: gotify WATCHTOWER_NOTIFICATION_GOTIFY_URL: "https://gotify.example.com/" WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN: "TOKEN" WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY: true volumes: - /var/run/docker.sock:/var/run/docker.sockdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ -e WATCHTOWER_NOTIFICATIONS=gotify \ -e WATCHTOWER_NOTIFICATION_GOTIFY_URL="https://gotify.example.com/" \ -e WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN="TOKEN" \ -e WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY=true \ nickfedor/watchtowerReplace
TOKENwith the application token from your Gotify server andgotify.example.comwith your server's host name. -
With the container running, execute the
notify-upgradecommand:Then copy the resulting file out of the container with the command that
notify-upgradelogs: -
The following converted Shoutrrr URL should be produced:
-
Replace the deprecated configuration with the converted Shoutrrr URL:
-
Run the following Docker Compose configuration / Docker CLI command:
services: watchtower: image: nickfedor/watchtower:latest environment: WATCHTOWER_NOTIFICATIONS: slack WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL: "https://hooks.slack.com/services/WORKSPACE_ID/WEBHOOK_ID/WEBHOOK_TOKEN" WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER: watchtower-server-1 volumes: - /var/run/docker.sock:/var/run/docker.sockdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ -e WATCHTOWER_NOTIFICATIONS=slack \ -e WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL="https://hooks.slack.com/services/WORKSPACE_ID/WEBHOOK_ID/WEBHOOK_TOKEN" \ -e WATCHTOWER_NOTIFICATION_SLACK_IDENTIFIER=watchtower-server-1 \ nickfedor/watchtowerReplace the following with the parts of your Slack webhook URL:
WORKSPACE_ID: the workspace ID, which starts withTWEBHOOK_ID: the webhook ID, which starts withBWEBHOOK_TOKEN: the webhook token
-
With the container running, execute the
notify-upgradecommand:Then copy the resulting file out of the container with the command that
notify-upgradelogs: -
The following converted Shoutrrr URL should be produced:
-
Replace the deprecated configuration with the converted Shoutrrr URL:
-
Run the following Docker Compose configuration / Docker CLI command:
services: watchtower: image: nickfedor/watchtower:latest environment: WATCHTOWER_NOTIFICATIONS: msteams WATCHTOWER_NOTIFICATION_MSTEAMS_HOOK_URL: "https://ENVIRONMENT.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/WORKFLOW_ID/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=SIGNATURE" volumes: - /var/run/docker.sock:/var/run/docker.sockdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ -e WATCHTOWER_NOTIFICATIONS=msteams \ -e WATCHTOWER_NOTIFICATION_MSTEAMS_HOOK_URL="https://ENVIRONMENT.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/WORKFLOW_ID/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=SIGNATURE" \ nickfedor/watchtowerdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ nickfedor/watchtower \ --notifications msteams \ --notification-msteams-hook "https://ENVIRONMENT.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/WORKFLOW_ID/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=SIGNATURE"Replace the following with the parts of the webhook URL that your workflow's trigger shows:
ENVIRONMENT: the Power Platform environmentWORKFLOW_ID: the workflow IDSIGNATURE: the value of thesigparameter
An Azure Logic Apps workflow's URL has a different form. Use the whole URL that its trigger shows.
-
With the container running, execute the
notify-upgradecommand:Then copy the resulting file out of the container with the command that
notify-upgradelogs: -
The following converted Shoutrrr URL should be produced:
-
Replace the deprecated configuration with the converted Shoutrrr URL:
services: watchtower: image: nickfedor/watchtower:latest environment: WATCHTOWER_NOTIFICATION_URL: "teams:?color=%23406170&host=https%3A%2F%2FENVIRONMENT.environment.api.powerplatform.com%3A443%2Fpowerautomate%2Fautomations%2Fdirect%2Fworkflows%2FWORKFLOW_ID%2Ftriggers%2Fmanual%2Fpaths%2Finvoke%3Fapi-version%3D1%26sp%3D%252Ftriggers%252Fmanual%252Frun%26sv%3D1.0%26sig%3DSIGNATURE" volumes: - /var/run/docker.sock:/var/run/docker.sockdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ -e WATCHTOWER_NOTIFICATION_URL="teams:?color=%23406170&host=https%3A%2F%2FENVIRONMENT.environment.api.powerplatform.com%3A443%2Fpowerautomate%2Fautomations%2Fdirect%2Fworkflows%2FWORKFLOW_ID%2Ftriggers%2Fmanual%2Fpaths%2Finvoke%3Fapi-version%3D1%26sp%3D%252Ftriggers%252Fmanual%252Frun%26sv%3D1.0%26sig%3DSIGNATURE" \ nickfedor/watchtowerdocker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ nickfedor/watchtower \ --notification-url "teams:?color=%23406170&host=https%3A%2F%2FENVIRONMENT.environment.api.powerplatform.com%3A443%2Fpowerautomate%2Fautomations%2Fdirect%2Fworkflows%2FWORKFLOW_ID%2Ftriggers%2Fmanual%2Fpaths%2Finvoke%3Fapi-version%3D1%26sp%3D%252Ftriggers%252Fmanual%252Frun%26sv%3D1.0%26sig%3DSIGNATURE"
Automated Migration Script¶
If you have a docker-compose.yaml with a watchtower service configured for legacy notifications, you can use the script below to run the entire migration process end-to-end. It starts the container, executes notify-upgrade, extracts the generated file, prints its contents, and cleans up.
#!/usr/bin/env bash
set -euo pipefail
SERVICE="${1:-watchtower}"
OUTPUT="${2:-./watchtower-notifications.env}"
CONTAINER=$(docker compose run -d "${SERVICE}" notify-upgrade)
trap 'docker rm -f "${CONTAINER}" >/dev/null 2>&1 || true' EXIT
if ! docker ps -q --filter "id=${CONTAINER}" | grep -q .; then
echo "notify-upgrade container exited before producing output. Logs:" >&2
docker logs "${CONTAINER}" >&2 || true
exit 1
fi
FILE=""
TIMEOUT=300
INTERVAL=2
ELAPSED=0
while [[ ${ELAPSED} -lt ${TIMEOUT} ]]; do
FILE=$(docker logs "${CONTAINER}" 2>&1 | grep -oE 'watchtower-notif-urls-[^ ]+' | tail -1 || true)
if [[ -n "${FILE}" ]]; then
break
fi
sleep "${INTERVAL}"
ELAPSED=$((ELAPSED + INTERVAL))
done
if [[ -z "${FILE}" ]]; then
echo "Timed out waiting for notify-upgrade output. Logs:" >&2
docker logs "${CONTAINER}" >/dev/null 2>&1 || true
exit 1
fi
docker cp "${CONTAINER}:${FILE}" "${OUTPUT}"
echo "=== Generated Shoutrrr URL ==="
cat "${OUTPUT}"
Important
- The service must already be defined in
docker-compose.yamlwith your legacy notification environment variables. The script assumes the service name defaults towatchtower. - The command will self-cleanup after 5 minutes or when the script exits.
notify-upgradekeeps a Slack channel only when it is a Slack channel ID, such asC0123456789. A channel name such as#opsor a user such as@danacannot be carried into the Shoutrrr URL, so the generated URL uses the webhook's own channel andnotify-upgradelogs a warning. Webhooks created by a Slack app always post to their own channel.