Next cloud swag certification error

Hi everyone, I have an issue with swag certification and i have an error message and i don’t know what to do. So does anyone can help me ?

code

version: “2”
services:
nextcloud:
image: Package nextcloud · GitHub
container_name: nextcloud
environment:
- PUID=998 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=Europe/Paris #change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/nextcloud/config:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/nextcloud/data:/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
depends_on:
- mariadb

ports: # uncomment this and the next line if you want to bypass the proxy

- 450:443

restart: unless-stopped

mariadb:
image: ghcr.io/linuxserver/mariadb
container_name: nextclouddb
environment:
- PUID=998 #change PUID if needed
- PGID=100 #change PGID if needed
- MYSQL_ROOT_PASSWORD=QNQaMAcsSMJyY6Jm #change password
- TZ=Europe/Paris #Change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/nextclouddb:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
restart: unless-stopped
swag:
image: linuxserver/swag #swag is the replacement for letsencrypt (see link below)
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=998 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=Europe/Paris # change Time Zone if needed
- URL=misteratunas.duckdns.org #insert your domain name - yourdomain.url
- SUBDOMAINS=www,
- VALIDATION=http
- EMAIL=misteratu8@gmail.com # define email; required to renew certificate
volumes:
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/swag:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
ports:
- 441:443
- 81:80
restart: unless-stopped

Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:

Domain: misteratunas.duckdns.org

Type: unauthorized

Detail: Invalid response from http://misteratunas.duckdns.org/.well-known/acme-challenge/SwhwQxxV_u0mvb-MnxDiWb-2WIc-kRzk3_7PAm-6At0 [90.90.123.131]: "\n\n\t\n\t\topenmediavault - HTTP 404 error\n\t\t<meta charset=“UTF-8”>\n\t\t<meta http-equiv=“X-U”

Domain: www.misteratunas.duckdns.org

Type: unauthorized

Detail: Invalid response from http://www.misteratunas.duckdns.org/.well-known/acme-challenge/AYgEcd63USpydcUJ_xltYFdmZSqL2KDeVCGGPHHLVjk [90.90.123.131]: "\n\n\t\n\t\topenmediavault - HTTP 404 error\n\t\t<meta charset=“UTF-8”>\n\t\t<meta http-equiv=“X-U”

Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.

Some challenges have failed.

Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

And that is the error

1 Like