hi, i was trying the whole day to install traefik but it just wouldn't work. this is how far i came:
time="2023-07-05T14:03:31Z" level=info msg="Configuration loaded from file: /traefik.yml"
time="2023-07-05T14:03:31Z" level=error msg="The ACME resolver "letsencrypt" is skipped from the resolvers list because: unable to get ACME account: unexpected end of JSON input"
i have traefik.yml and acme.json in /etc/traefik and my ports set to 7080 and 7443 as somehow 80 and 443 can't be used. of course i allowed them through UFW (i am running ubuntu server 22.04)
here is my traefik.yml
global:
checkNewVersion: true
sendAnonymousUsage: false
api:
dashboard: true
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
entryPoints:
web:
address: ":7080"
web-secure:
address: ":7443"
http:
routers:
acme-http:
rule: "Host(xxx.com
)"
entryPoints:
- web
middlewares:
- redirect-http
service: noop
mealie:
rule: "Host(`xxx.com`)"
service: mealie
entryPoints:
- web-secure
tls:
certResolver: letsencrypt
middlewares:
redirect-http:
redirectScheme:
scheme: https
permanent: true
services:
mealie:
loadBalancer:
servers:
- url: "http://192.168.50.50:9925"
certificatesResolvers:
letsencrypt:
acme:
email: "myemail@himum.com"
storage: "acme.json"
httpChallenge: {}
my acme.json is empty btw. it never got populated ever and i was never able to see the dashboard. always got "unable to reach" in the browser. i've use npm before but uninstalled it completely and now i am hard stuck with... nothing basically. lol wish i could access my vaultwarden installation now...
would it be better to scrap the server and install everything anew with priority to docker and traefik?