Closed Berserkir-Wolf closed 1 year ago
Seems fine from logs:
2023-04-17 11:42:55.514 INFO 1 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '/komga'
Could be an issue with the packaging you are using.
I had a similar thought - truecharts appears to have lagged behind with updating their catalog build. Once I get a few minutes I intend to try docker direct and seeing if that works with the same variables set.
I've just gone through testing with bind mounts in a pure docker scenario, rather than via truecharts - and the baseurl works perfectly in the application.yml file. Doesn't seem to apply in the environment variable, but I wouldn't be surprised if that's just me.
Fault appears to be with the truecharts implementation, not with the application. Closing issue.
Steps to reproduce
Using either option 1 or 2, ensuring the other option is removed to prevent conflict.
Option 1:
application.yml
Option 2:
Expected behavior
I should be able to open the Komga UI on
http://IP.of.komga.host:10085/komga
or via my reverse proxy onhttps://media.server.site/komga
.Actual behavior
No UI loads if I connect directly.
Reverse proxy shows error 502 if I attempt to connect via that (cannot access proxied content, caused by the above issue).
Logs
Komga version
0.161.0 (Truecharts)
Operating system
TrueNAS-SCALE-22.12.2
Other details
Running this application with my reverse proxy setup has been fine for a while now, but something changed with the recent truecharts changes. What I can't find is why the same fault occurs regardless of configuration method - removing and recreating the application.yml file, and switching between yml and environment variables nets the same result.
Setting context-path to '/' in the configuration (yml/env) works perfectly - the issue only occurs when there's an actual value entered into the option.
Note that I cannot update the app to the latest - that release is on the truecharts team. I intend to test further with a direct docker container deployment on truenas, as I find time.
Acknowledgements