Blinking Blue light

Your mount for the auth service is missing the auth subdirectory, you are mounting the whole brewblox dir.

Thanks Elco, I updated the mapping path to /mnt/user/appdata/brewblox/auth and it created the users.passwords file but I am still getting the same 404 and error message.

Is there another file that should be created and but not being auto generated, if there is what is the file and I can try and get it added.

Thank you,

Are all services up? What is in the docker log for traefik?

Here is the only info in log for traefik.


time="2024-08-29T09:00:55-05:00" level=info msg="Configuration loaded from file: /config/traefik.yml"
time="2024-08-29T09:00:56-05:00" level=error msg="middleware \"auth@file\" does not exist" entryPointName=web routerName=web-to-websecure@internal
time="2024-08-29T09:00:56-05:00" level=error msg="middleware \"auth@file\" does not exist" entryPointName=web routerName=web-to-websecure@internal

The Services that are currently running are:

  • ui
  • redis
  • eventbus
  • traefik
  • sparkone
  • victoria
  • history
  • auth

Do you have this file and the files it refers to?

location: brewblox/traefik/dynamic/brewblox-provider.yml

# DO NOT EDIT: THIS FILE WILL BE RESET DURING UPDATES
#
# This file contains dynamic configuration for the Traefik proxy.
# If you need to add or extend the dynamic configuration,
# You can add another .yml file in the same directory.
#
# For more information, see: https://doc.traefik.io/traefik/providers/file/

http:
  routers:
    api:
      rule: PathPrefix(`/api`) || PathPrefix(`/dashboard`)
      service: api@internal
  middlewares:
    prefix-strip:
      stripPrefixRegex:
        regex:
          - "/[^/]+"
    auth:
      forwardAuth:
        address: http://auth:5000/auth/verify
    cors:
      headers:
        accessControlAllowCredentials: true
        accessControlAllowOriginListRegex:
          - .*
        accessControlAllowMethods:
          - CONNECT
          - HEAD
          - GET
          - DELETE
          - OPTIONS
          - PATCH
          - POST
          - PUT
          - TRACE
        accessControlAllowHeaders:
          - Origin
          - X-Requested-With
          - Content-Type
          - Accept
tls:
  stores:
    default:
      defaultCertificate:
        certFile: /config/brew.blox/cert.pem
        keyFile: /config/brew.blox/key.pem

serversTransport:
  rootCAs:
    - /config/minica.pem

Here is where we generate the certificates:

It is quite a hassle to not use brewblox-ctl!

I do not have those files. I’ll get those added.

I would prefer to use brewblox-ctl but I am using Unraid and I couldn’t get it to run. Unraid wants to run docker and terminal as root but I kept getting a message with breblox-ctl that it couldn’t be run as root.

If there is a better way to do this on Unraid, I’m all for it or if I need to be a tester I can do that as well.

These lines in your static config haven’t been resolved yet.

Assuming default config, these lines should be:

providers:
  docker:
    constraints: "LabelRegex(`com.docker.compose.project`, `brewblox`)"
    defaultRule: 'PathPrefix(`/{{ index .Labels "com.docker.compose.service" }}`)'