Operating system
Linux
Joplin version
3.5.2
Desktop version info
NA
Sync target
Joplin Server
Editor
Rich Text Editor
What issue do you have?
This is an issue with hosting joplin on premise
I am runing podman on debian 13
my quadlet is
[Unit]
Description=Joplin Server Container
After=network.target postgresql.service
[Service]
Restart=always
RestartSec=10
Ensures any hanging container from a previous failed start is cleared
ExecStartPre=-/usr/bin/podman rm -f joplin-server
--pull=missing: Stops the service from re-downloading the image on every start
--net=host: Required for your LXC environment to communicate with local Postgres
ExecStart=/usr/bin/podman run --name joplin-server
--net=host
--pull=missing
-e APP_PORT='2230'
-e APP_BASE_URL=':///joplin'
-e API_BASE_URL=':///joplin'
-e ALLOWED_ORIGINS='://'
-e SAML_ENABLED='true'
-e SAML_IDP_METADATA_URL='/application/saml/joplin/metadata/'
-e SAML_ENTITY_ID='joplin'
-e DELETE_EXPIRED_SESSIONS_SCHEDULE=''
-e DB_CLIENT='pg'
-e POSTGRES_PASSWORD='j'
-e POSTGRES_DATABASE='j'
-e POSTGRES_USER='j'
-e POSTGRES_HOST='localhost'
docker.io/joplin/server:latest
ExecStop=/usr/bin/podman stop joplin-server
[Install]
WantedBy=multi-user.target
NOTE - the urls are h t t p s : //www.s.com/ As newbe i can only post 2 urls
my nginx config
location /joplin/ {
proxy_pass h t t p ://joplin.s.com:2230/;
This seems to be working fine, except the saml login button goes to /login/sso-saml
it should be /joplin/sso-saml
but when i go to /joplin/sso-saml it gives me an error diretory not found
Also from my observations i notice that even if i set the APP url to include a path I have to strip that path in nginx
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /login/sso-saml (500) (1ms)
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /login/sso-saml (500) (1ms)
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | 2026-03-18 05:46:27: [error] App: ::ffff:192.168.11.31: [Error: ENOENT: no such file or directory, open ''] {
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | errno: -2,
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | code: 'ENOENT',
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | syscall: 'open',
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | path: ''
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | }
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | 2026-03-18 05:46:27: [error] App: ::ffff:192.168.11.31: [Error: ENOENT: no such file or directory, open ''] {
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | errno: -2,
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | code: 'ENOENT',
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | syscall: 'open',
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | path: ''
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | }
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /css/bulma.min.css (200) (3ms)
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /css/bulma.min.css (200) (3ms)
Mar 18 05:46:27 joplin joplin-server[84095]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /css/fontawesome/css/all.min.css (200) (22ms)
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /css/fontawesome/css/all.min.css (200) (22ms)
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /js/jquery.min.js (200) (22ms)
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /css/main.css (200) (23ms)
Mar 18 05:46:27 joplin podman[84084]: 05:46:27 1|app | 2026-03-18 05:46:27: App: ::ffff:192.168.11.31: GET /js/main.js (200) (22ms)
I have got a bit further seems like the ENV variables i used where wrong - went back to the files one
so its linking into authentik this time
but still the issue with the button on the login page its not use the baseurl that is configured
so instead of
https://something/joplin/login/sso-saml it goes to h t t p s : //something/login/sso-saml