[Bug]: Fresh install leads to https://login #629

Closed
opened 2026-02-04 20:37:05 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @mfedatto on GitHub (Jan 15, 2025).

Where is the problem occurring?

I encountered the problem while using the application (Frontend)

What browsers are you seeing the problem on?

Microsoft Edge

Current behaviour

When browsing https://planka.my-domain.tld/ it leads me to https://login. No log.

image

image

Desired behaviour

A successful response to a login, landing page or setup screen.

Steps to reproduce

I've used the setup docs for Docker Compose, run docker compose up -d, then the current behaviour.

name: '***********-planka'

services:

  ***********-planka-db:
    extends:
      file: 'docker-compose.***********.yaml'
      service: '_service'
    image: 'postgres:16-alpine'
    container_name: '***********-planka-db'
    hostname: '***********-planka-db'
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
      interval: '10s'
      timeout: '5s'
      retries: '5'
    environment:
      POSTGRES_DB: '${POSTGRES_DB}'
      POSTGRES_USER: '${POSTGRES_USER}'
      POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
    volumes:
      - ${DFLT_DKR_VOL_BASE}/var/***********-planka-db/data:/var/lib/postgresql/data
    networks:
      ***********-planka-net:

  ***********-planka-app:
    extends:
      file: 'docker-compose.***********.yaml'
      service: '_service'
    image: ghcr.io/plankanban/planka:latest
    container_name: '***********-planka-app'
    hostname: '***********-planka-app'
    environment:
      BASE_URL: '${BASE_URL}'
      DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@***********-planka-db/${POSTGRES_DB}'
      SECRET_KEY: '${SECRET_KEY}'
      TOKEN_EXPIRES_IN: '${TOKEN_EXPIRES_IN}'
      DEFAULT_ADMIN_EMAIL: '${DEFAULT_ADMIN_EMAIL}'
      DEFAULT_ADMIN_PASSWORD: '${DEFAULT_ADMIN_PASSWORD}'
      DEFAULT_ADMIN_NAME: '${DEFAULT_ADMIN_NAME}'
      DEFAULT_ADMIN_USERNAME: '${DEFAULT_ADMIN_USERNAME}'
      ALLOW_ALL_TO_CREATE_PROJECTS: '${ALLOW_ALL_TO_CREATE_PROJECTS}'
      SMTP_HOST: '${SMTP_HOST}'
      SMTP_PORT: '${SMTP_PORT}'
      SMTP_NAME: '${SMTP_NAME}'
      SMTP_SECURE: '${SMTP_SECURE}'
      SMTP_USER: '${SMTP_USER}'
      SMTP_PASSWORD: '${SMTP_PASSWORD}'
      SMTP_FROM: '${SMTP_FROM}'
      SMTP_TLS_REJECT_UNAUTHORIZED: '${SMTP_TLS_REJECT_UNAUTHORIZED}'
    volumes:
      - ${DFLT_DKR_VOL_BASE}/var/***********-planka-app/public/user-avatars:/app/public/user-avatars
      - ${DFLT_DKR_VOL_BASE}/var/***********-planka-app/public/project-background-images:/app/public/project-background-images
      - ${DFLT_DKR_VOL_BASE}/var/***********-planka-app/private/attachments:/app/private/attachments
    networks:
      ***********-planka-net:
    depends_on:
      ***********-planka-db:
        condition: service_healthy

  ***********-planka-vpc:
    extends:
      file: 'docker-compose.***********.yaml'
      service: '_service'
    image: 'cloudflare/cloudflared:latest'
    container_name: '***********-planka-vpc'
    hostname: '***********-planka-vpc'
    command: 'tunnel --no-autoupdate run --token ${CF_TUNNEL_TOKEN}'
    networks:
      ***********-planka-net:
    depends_on:
      - ***********-planka-app

networks:
  ***********-planka-net:
    driver: 'bridge'

Other information

No response

Originally created by @mfedatto on GitHub (Jan 15, 2025). ### Where is the problem occurring? I encountered the problem while using the application (Frontend) ### What browsers are you seeing the problem on? Microsoft Edge ### Current behaviour When browsing https://planka.my-domain.tld/ it leads me to https://login. No log. ![image](https://github.com/user-attachments/assets/74a460bb-4d43-4420-922b-2ba5c3a354a3) ![image](https://github.com/user-attachments/assets/b6a12ac9-810d-4e50-9105-c11551909382) ### Desired behaviour A successful response to a login, landing page or setup screen. ### Steps to reproduce I've used the setup docs for Docker Compose, run docker compose up -d, then the current behaviour. ```yaml name: '***********-planka' services: ***********-planka-db: extends: file: 'docker-compose.***********.yaml' service: '_service' image: 'postgres:16-alpine' container_name: '***********-planka-db' hostname: '***********-planka-db' healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d planka"] interval: '10s' timeout: '5s' retries: '5' environment: POSTGRES_DB: '${POSTGRES_DB}' POSTGRES_USER: '${POSTGRES_USER}' POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}' volumes: - ${DFLT_DKR_VOL_BASE}/var/***********-planka-db/data:/var/lib/postgresql/data networks: ***********-planka-net: ***********-planka-app: extends: file: 'docker-compose.***********.yaml' service: '_service' image: ghcr.io/plankanban/planka:latest container_name: '***********-planka-app' hostname: '***********-planka-app' environment: BASE_URL: '${BASE_URL}' DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@***********-planka-db/${POSTGRES_DB}' SECRET_KEY: '${SECRET_KEY}' TOKEN_EXPIRES_IN: '${TOKEN_EXPIRES_IN}' DEFAULT_ADMIN_EMAIL: '${DEFAULT_ADMIN_EMAIL}' DEFAULT_ADMIN_PASSWORD: '${DEFAULT_ADMIN_PASSWORD}' DEFAULT_ADMIN_NAME: '${DEFAULT_ADMIN_NAME}' DEFAULT_ADMIN_USERNAME: '${DEFAULT_ADMIN_USERNAME}' ALLOW_ALL_TO_CREATE_PROJECTS: '${ALLOW_ALL_TO_CREATE_PROJECTS}' SMTP_HOST: '${SMTP_HOST}' SMTP_PORT: '${SMTP_PORT}' SMTP_NAME: '${SMTP_NAME}' SMTP_SECURE: '${SMTP_SECURE}' SMTP_USER: '${SMTP_USER}' SMTP_PASSWORD: '${SMTP_PASSWORD}' SMTP_FROM: '${SMTP_FROM}' SMTP_TLS_REJECT_UNAUTHORIZED: '${SMTP_TLS_REJECT_UNAUTHORIZED}' volumes: - ${DFLT_DKR_VOL_BASE}/var/***********-planka-app/public/user-avatars:/app/public/user-avatars - ${DFLT_DKR_VOL_BASE}/var/***********-planka-app/public/project-background-images:/app/public/project-background-images - ${DFLT_DKR_VOL_BASE}/var/***********-planka-app/private/attachments:/app/private/attachments networks: ***********-planka-net: depends_on: ***********-planka-db: condition: service_healthy ***********-planka-vpc: extends: file: 'docker-compose.***********.yaml' service: '_service' image: 'cloudflare/cloudflared:latest' container_name: '***********-planka-vpc' hostname: '***********-planka-vpc' command: 'tunnel --no-autoupdate run --token ${CF_TUNNEL_TOKEN}' networks: ***********-planka-net: depends_on: - ***********-planka-app networks: ***********-planka-net: driver: 'bridge' ``` ### Other information _No response_
Author
Owner

@mfedatto commented on GitHub (Jan 15, 2025):

Well, it was caused by a trailing slash at the value of BASE_URL variable. No erro message, empty log.

@mfedatto commented on GitHub (Jan 15, 2025): Well, it was caused by a trailing slash at the value of `BASE_URL` variable. No erro message, empty log.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#629