Good morning,
I encounter a problem on openmediavault 7.0.4
I installed docker and the swag application configured with duckdns it works very well here is the code:
version: "2.1"
services:
swag:
image: lscr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=996
- PGID=100
- TZ=Europe/Paris
- URL=isell.duckdns.org
- SUBDOMAINS=wildcard
- VALIDATION=duckdns
- DUCKDNSTOKEN=xxxxxxxxxx
# - DNSPLUGIN=infomaniak
# - CERTPROVIDER=infomaniak
- STAGING=false
- EMAIL=xxxxxxx
volumes:
- /appdata/duckdns/config:/config
ports:
- 443:443
# - 80:80 #optional
# - 81:81
restart: unless-stopped
Alles anzeigen
Having purchased a domain name "isell.fr" I configured swag with it, but it does not work however the certificate is created correctly I do not even have the swag page at https://isell. fr, docker code compose:
---
version: "2.1"
services:
swag:
image: lscr.io/linuxserver/swag
container_name: swag
# network_mode: : swag_default
cap_add:
- NET_ADMIN
environment:
- PUID=996
- PGID=100
- TZ=Europe/Paris
- URL=isell.fr
- SUBDOMAINS=wildcard
- VALIDATION=dns
- DNSPLUGIN=infomaniak
- EMAIL=xxxxxx@isell.fr
- DOCKER_MODS=linuxserver/mods:universal-package-install
# - INSTALL_PACKAGES=swag-dashboard
- INSTALL_PIP_PACKAGES:certbot-dns-infomaniak
volumes:
- /appdata/swag/config:/config
ports:
- 443:443
# - 80:80 #optional
- 81:81
restart: unless-stopped
Alles anzeigen
it doesn't work on pge https://isell.fr, I get "Hmm, we can't find this site."
voici la sortie log docker logs swag:
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
Certbot: https://supporters.eff.org/donate/support-work-on-certbot
To support LSIO projects visit:
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 996
User GID: 100
───────────────────────────────────────
using keys found in /config/keys
Variables set:
PUID=996
PGID=100
TZ=Europe/Paris
URL=isell.fr
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=dns
CERTPROVIDER=
DNSPLUGIN=infomaniak
EMAIL=
STAGING=
Different validation parameters entered than what was used before. Revoking and deleting existing certificate, and an updated one will be created
Saving debug log to /var/log/letsencrypt/letsencrypt.log
No match found for cert-path /config/etc/letsencrypt/live/isell.fr/fullchain.pem!
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.
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Wildcard cert for isell.fr will be requested
E-mail address entered:
dns validation via infomaniak plugin is selected
Generating new certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Account registered.
Requesting a certificate for isell.fr and *.isell.fr
Unsafe permissions on credentials configuration file: /config/dns-conf/infomaniak.ini
Waiting 120 seconds for DNS changes to propagate
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/isell.fr/fullchain.pem
Key is saved at: /etc/letsencrypt/live/isell.fr/privkey.pem
This certificate expires on 2024-06-30.
These files will be updated when the certificate renews.
NEXT STEPS:
- The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See https://certbot.org/renewal-setup for instructions.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
New certificate generated; starting nginx
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
**** The following site-confs have extensions other than .conf ****
**** This may be due to user customization. ****
**** You should review the files and rename them to use the .conf extension or remove them. ****
**** nginx.conf will only include site-confs with the .conf extension. ****
/config/nginx/site-confs/.default.conf.swp
**** No packages to install ****
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Server ready
Thanks for your help