You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
BASE_PATH is not defined and is blank in docker container. Using a reverse proxy to proxy connection to Maintainerr. When browsing the root https://maintainer.example.com, I get a 404 error on the main page.
If I click on any of the pages/tabs, the URL adds "PATH_PREFIX" after the domain (see screenshot). Pages load, but I don't think this is the indented behavior.
Also happens connecting directly to the web interface (not thorugh reverse proxy).
To Reproduce
Steps to reproduce the behavior:
Go to root page.
See 404 error
Click on any tab on the left
Page loads and URL shows PATH PREFIX
Expected behavior
URL path should not have PATH PREFIX in it. Should just load the root domain.
Screenshots
See above.
Device (please complete the following information):
OS: Ubuntu running docker container
Version 2.6.0
Additional context
Add any other context about the problem here. Recently updated to latest version.
The text was updated successfully, but these errors were encountered:
__PATH_PREFIX__ is supposed to be replaced on startup.
Could you share your docker run / compose? Are there any errors in your Docker logs on startup?
Your screenshot is showing a really old GIT_SHA (Feb 11, 2024), are these the latest env vars? EDIT: Ah, this is likely the cause of that: portainer/portainer#8835 - Could you try re-creating the container from scratch using your existing volume and see if the problem still exists?
The entrypoint on the container had something weird. When recreating the container it defaulted back to '/opt/app/start.sh'
And now it's working properly. Must have been something that stuck around from an older image version.
Describe the bug
BASE_PATH is not defined and is blank in docker container. Using a reverse proxy to proxy connection to Maintainerr. When browsing the root https://maintainer.example.com, I get a 404 error on the main page.
If I click on any of the pages/tabs, the URL adds "PATH_PREFIX" after the domain (see screenshot). Pages load, but I don't think this is the indented behavior.
Also happens connecting directly to the web interface (not thorugh reverse proxy).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
URL path should not have PATH PREFIX in it. Should just load the root domain.
Screenshots
See above.
Device (please complete the following information):
Additional context
Add any other context about the problem here. Recently updated to latest version.
The text was updated successfully, but these errors were encountered: