headplane icon indicating copy to clipboard operation
headplane copied to clipboard

Issue with deployment - No route matches URL "/"

Open klinkeye opened this issue 1 year ago • 0 comments

Fresh first deployment, startup logs dont show anything of concern, but when I browse to http://:3000 I receive a 404 error and the following logs are seen:

dock02_headplane  | Error: No route matches URL "/"
dock02_headplane  |     at getInternalRouterError (/app/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:5400:5)
dock02_headplane  |     at Object.query (/app/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:3509:19)
dock02_headplane  |     at handleDocumentRequest (/app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/server.js:268:35)
dock02_headplane  |     at requestHandler (/app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/server.js:160:24)
dock02_headplane  |     at /app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@remix-run/express/dist/server.js:41:28
dock02_headplane  | GET / 404 - - 209.756 ms

Relevant config:

  headplane:
    container_name: dock02_headplane
    image: ghcr.io/tale/headplane:0.3.2
    restart: unless-stopped
    volumes:
      - /opt/stacks/headscale/data:/var/lib/headscale
      - /opt/stacks/headscale/config:/etc/headscale
      - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
      - npm-backend
    ports:
      - 3000:3000
    environment:
      # This is always required for Headplane to work
      COOKIE_SECRET: 'xxxx'

      HEADSCALE_INTEGRATION: 'docker'
      HEADSCALE_CONTAINER: 'dock02_headscale'
      DISABLE_API_KEY_LOGIN: 'false'
      HOST: '0.0.0.0'
      PORT: '3000'
      DEBUG: 'true'
      # Only set this to false if you aren't behind a reverse proxy
      COOKIE_SECURE: 'false'
      ROOT_API_KEY: 'xxxx'

klinkeye avatar Oct 13 '24 07:10 klinkeye