crazy-max / docker-nextcloud

Nextcloud Docker image
MIT License
245 stars 47 forks source link

404 on latest (15.2) #11

Closed da3dsoul closed 5 years ago

da3dsoul commented 5 years ago

I don't know what the issue is. The logs say it's up, but it gives the traefik 404 message. It worked before I docker-compose up -d'd

I don't know what other info might help, so let me know. It's on ubuntu 16.04

crazy-max commented 5 years ago

Maybe linked to this ?

da3dsoul commented 5 years ago

I literally just noticed that before coming back here.

traefik:
    image: traefik:1.6-alpine
    command:
      - "--logLevel=INFO"
      - "--defaultentrypoints=http,https"
      - "--entryPoints=Name:http Address::80 Redirect.EntryPoint:https"
      - "--entryPoints=Name:https Address::443 TLS"
      - "--docker"
      - "--docker.exposedbydefault=false"
      - "--docker.domain=somedomainsthataremine+localhost"
      - "--acme=false"
      - "--acme.acmelogging=true"
      - "--acme.email=redacted"
      - "--acme.storage=acme.json"
      - "--acme.entryPoint=https"
      - "--acme.onhostrule=true"
      - "--acme.httpchallenge=true"
      - "--acme.httpchallenge.entrypoint=http"
    ports:
      - target: 8000
        published: 80
        protocol: tcp
      - target: 443
        published: 443
        protocol: tcp

Would that be the proper way to go about fixing it? Because I tried it, and nothin...

crazy-max commented 5 years ago

No, traefik is the reverse proxy. It's this line.

da3dsoul commented 5 years ago

Ok thanks. Hopefully, this issue will help others. I'll post back if it's working

da3dsoul commented 5 years ago

Yes it works with changing

labels:
      - "traefik.enable=true"
      - "traefik.backend=nextcloud"
      - "traefik.port=80"

to

labels:
      - "traefik.enable=true"
      - "traefik.backend=nextcloud"
      - "traefik.port=8000"