[Bug]: Planka >v2.0 https://example.com/planka #715

Open
opened 2026-02-04 21:04:30 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Raychan87 on GitHub (May 28, 2025).

I hope you can help me, my problem is that with the new Planka v2 version the Nginx config does not work anymore.

I have tested a lot and I assume that it is a bug in the new Planka version 2.0 and higher.

Namely, if the “BASE_URL=http://example.de/planka” is specified in the Docker container, then the links for

http://example.de/assets/*
and
http://example.de/api/*

are not set to http://example.de/planka/assets/*
and
http://example.de/planka/api/*
changed.

However, this works perfectly in Planka v1. Something has changed or there is a new environment ?

Image

Originally created by @Raychan87 on GitHub (May 28, 2025). I hope you can help me, my problem is that with the new Planka v2 version the Nginx config does not work anymore. I have tested a lot and I assume that it is a bug in the new Planka version 2.0 and higher. Namely, if the “BASE_URL=http://example.de/planka” is specified in the Docker container, then the links for http://example.de/assets/* and http://example.de/api/* are not set to http://example.de/planka/assets/* and http://example.de/planka/api/* changed. However, this works perfectly in Planka v1. Something has changed or there is a new environment ? ![Image](https://github.com/user-attachments/assets/48e2efb7-f114-4b8b-8bb5-9e7b8cdb4ad7)
OVERLORD added the enhancementhelp wanted labels 2026-02-04 21:04:30 +03:00
Author
Owner

@meltyshev commented on GitHub (Jun 5, 2025):

Hi! Thanks for reporting this.

In v1, it was possible to set the BASE_URL with a path like /planka, but this feature was removed during the migration to Vite, as it requires a different handling approach - and we haven't had time to implement it properly yet.

I'll try to look into it when I have some time. Alternatively, if someone familiar with it and would like to contribute, a PR to help implement this would be very welcome.

@meltyshev commented on GitHub (Jun 5, 2025): Hi! Thanks for reporting this. In v1, it was possible to set the `BASE_URL` with a path like `/planka`, but this feature was removed during the migration to Vite, as it requires a different handling approach - and we haven't had time to implement it properly yet. I'll try to look into it when I have some time. Alternatively, if someone familiar with it and would like to contribute, a PR to help implement this would be very welcome.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#715