i guess there is the answer, ok, let me work on this
this actually seesm to be a new feature in version 5.5 of podman
I installed joplin 1.0.5 and thereâs no bad gateway but podman version is 5.4.0.
add-module ghcr.io/geniusdynamics/joplin:1.0.5
But postgres is still not working, sqlite is used, from the logs:
2025-07-30T11:37:23+02:00 [1:joplin1:joplin-server] 09:37:23 0|app | client: 'sqlite3',
You need to set following variable for joplin-server to make joplin use postgres:
DB_CLIENT=pg
EDIT:
It should be enough to add the following to postal-server service file:
--env DB_CLIENT=pg \
Just curious, what OS details pls?
Rocky 9.6
So far for the only âRocky 9.6 setupaâ are effected by âbad gatewayâ then?
so @LayLow you have faced bad gateway for both joplinserver as well as postalserver on your server, running rocklinux, is the podman version 5.4
Just to clarify:
Joplin is working here on Rocky 9.6 using podman 5.4.
Yes it is
I see an update available to 1.0.6; does this address the email issue? Only change in the release notes is to the database.
This has been set in in joplin.env
i have set this hopefully it will work
@danb35 can you test and let me know if this fixes the issue
Well, updating lost all the users, again. Not OK.
Email isnât sent on user creation, though I donât know if itâs the same problem. Hereâs what I get looking for âmailâ in the joplin2 logs over the past several minutes:
2025-07-30T14:30:27-04:00 [1:joplin2:joplin-server] 18:30:27 0|app | 2025-07-30 18:30:27: [error] App: 403: POST /api/sessions: 172.70.82.208: Invalid username or password: {"email":"dan@familybrown.org"}
2025-07-30T14:30:28-04:00 [1:joplin2:joplin-server] 18:30:28 0|app | 2025-07-30 18:30:28: [error] App: 403: POST /api/sessions: 162.158.79.80: Invalid username or password: {"email":"dan@familybrown.org"}
2025-07-30T14:30:28-04:00 [1:joplin2:joplin-server] 18:30:28 0|app | 2025-07-30 18:30:28: [error] App: 403: POST /api/sessions: 172.70.83.34: Invalid username or password: {"email":"dan@familybrown.org"}
2025-07-30T14:30:29-04:00 [1:joplin2:joplin-server] 18:30:29 0|app | 2025-07-30 18:30:29: [error] App: 403: POST /api/sessions: 172.68.186.25: Invalid username or password: {"email":"dan@familybrown.org"}
2025-07-30T14:30:29-04:00 [1:joplin2:joplin-server] 18:30:29 0|app | 2025-07-30 18:30:29: [error] App: 403: POST /api/sessions: 172.70.82.33: Invalid username or password: {"email":"dan@familybrown.org"}
2025-07-30T14:30:30-04:00 [1:joplin2:joplin-server] 18:30:30 0|app | 2025-07-30 18:30:30: [error] App: 403: POST /api/sessions: 172.70.82.4: Invalid username or password: {"email":"dan@familybrown.org"}
2025-07-30T14:31:00-04:00 [1:joplin2:joplin-server] 18:31:00 0|app | 2025-07-30 18:31:00: TaskService: Running #12 (Process emails) (scheduled)...
2025-07-30T14:31:00-04:00 [1:joplin2:joplin-server] 18:31:00 0|app | 2025-07-30 18:31:00: TaskService: Completed #12 (Process emails) in 12ms
2025-07-30T14:32:00-04:00 [1:joplin2:joplin-server] 18:32:00 0|app | 2025-07-30 18:32:00: TaskService: Running #12 (Process emails) (scheduled)...
2025-07-30T14:32:00-04:00 [1:joplin2:joplin-server] 18:32:00 0|app | 2025-07-30 18:32:00: TaskService: Completed #12 (Process emails) in 8ms
2025-07-30T14:32:18-04:00 [1:joplin2:joplin-server] 18:32:18 0|app | 2025-07-30 18:32:18: App: GET /admin/emails (200) (15ms)
2025-07-30T14:32:30-04:00 [1:joplin2:joplin-server] 18:32:30 0|app | 2025-07-30 18:32:30: App: GET /admin/emails/1 (200) (6ms)
2025-07-30T14:33:00-04:00 [1:joplin2:joplin-server] 18:33:00 0|app | 2025-07-30 18:33:00: TaskService: Running #12 (Process emails) (scheduled)...
2025-07-30T14:33:00-04:00 [1:joplin2:joplin-server] 18:33:00 0|app | 2025-07-30 18:33:00: TaskService: Completed #12 (Process emails) in 9ms
Will check on this
Am not sure about this allow me to investigate further
I think the âinvalid username or passwordâ may result from the fact that I still have clients that are periodically trying to sync. I donât see any errors in the log directly about sending mail, but logged or not, no mail is sent (and it also isnât in my Junk folder).
Not exactly. This is set:
âŚbut this is needed to use postgres:
EDIT:
Sorry, itâs already here and it works in 1.0.6.
@mrmarkuz have you tested joplin to see if it works
Can we settle on the naming convention here please?
Either Joplin or Joplin Server/Joplin-Server
TIA
Yes, it works, postgres is used as database in 1.0.6.
@danb35 this is the reason. the database was switched to pgsql, the other users should still be present in the inbuilt sqlite database, but the system is using pgsql now isntead of sqlite internal db