In relation to this: Joplin Server Edition - Feature - NethServer Community
I have implemented a Joplin Server Module for NS8.
here: compgeniuses/ns8-joplinserver: This is a NEthserver 8 Module for Joplin Server Edition, (github.com)
its still a work in progress
I have gotten all the images to install, configuration works as expected, no erros.
Unfortunately, while trying to access the module on the defined URL, i am getting bad gateway error.
multi node instalalation
I have 2 nodes, one connected to the main node.
the module is installed on the second node,
the A records are pointing to the second server, where the module is installed.
While i have not doen any multi node module installation before, I am unsure if it could be course for the problem.
logs
Below are the logs,
I need help making sense out of them, and also to figure out why i am getting bad gateway error on the said module, while everything seems to have been setup correctly
2024-01-28T09:56:18+03:00 [3:joplin1:agent@joplin1] Copying config sha256:75b7bff7c3ad1ae4468a2107724459061dc87d2176f8f02747a360c32b8c58b9
2024-01-28T09:56:18+03:00 [3:joplin1:agent@joplin1] Writing manifest to image destination
2024-01-28T09:56:18+03:00 [3:joplin1:agent@joplin1] 75b7bff7c3ad1ae4468a2107724459061dc87d2176f8f02747a360c32b8c58b9
2024-01-28T09:56:18+03:00 [3:joplin1:agent@joplin1] Trying to pull docker.io/joplin/server:latest...
2024-01-28T09:56:41+03:00 [3:joplin1:agent@joplin1] Getting image source signatures
2024-01-28T09:56:41+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:cb6272ee862205f8a6aa63667bf3435f60b9b04d340d0f9c23954bec58cae292
2024-01-28T09:56:41+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:aa4f69f52658590bdb870f59c33e3241781f994da01cff6410ae73773ada1748
2024-01-28T09:56:41+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:a87ff11e9f776899422dc231d42f6812732ec3c5816de2cbd60ec10cbb1346d9
2024-01-28T09:56:41+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:8f959d1ffe034b03aee0793c1b84273556c67ea3de32407817b9247f0cf1c986
2024-01-28T09:56:41+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:219350a3e24cdf4a5d9cc777bd44dc7cd35410272e36bfa8397c220e048b329b
2024-01-28T09:56:41+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:0e0969fcaa8240e1eeb53f9f5d4ddd1bf89a2c9971c9cbe455eba0e66eeefb53
2024-01-28T09:56:47+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:187020032da2906e478156d6cecd3f81d7c335d5acf4be4f676b4871d1de53f3
2024-01-28T09:56:50+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:bda57adaf85990048a1d745479915083143d4157461239757a7dc7d1a5df2eae
2024-01-28T09:56:50+03:00 [3:joplin1:agent@joplin1] Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
2024-01-28T09:57:34+03:00 [3:joplin1:agent@joplin1] Copying config sha256:36484cda8bf46fd7a83a6f8ef9d41d704a49fe8455177d198180dd68217cef5d
2024-01-28T09:57:34+03:00 [3:joplin1:agent@joplin1] Writing manifest to image destination
2024-01-28T09:57:34+03:00 [3:joplin1:agent@joplin1] 36484cda8bf46fd7a83a6f8ef9d41d704a49fe8455177d198180dd68217cef5d
2024-01-28T09:57:35+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/7863806f-c247-40cd-be7c-d2f02023ea64: create-module/10selfadm_role is starting
2024-01-28T09:57:36+03:00 [3:joplin1:agent@joplin1] 1
2024-01-28T09:57:36+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/7863806f-c247-40cd-be7c-d2f02023ea64: action "create-module" status is "completed" (0) at step 10selfadm_role
2024-01-28T09:58:10+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/6178ad3c-6a42-4368-8501-7956f60e6854: get-name/50get_name is starting
2024-01-28T09:58:10+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/1562855d-dad0-43de-910e-a4b3795607bc: get-configuration/20read is starting
2024-01-28T09:58:11+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/1562855d-dad0-43de-910e-a4b3795607bc: action "get-configuration" status is "completed" (0) at step validate-output.json
2024-01-28T09:58:11+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/6178ad3c-6a42-4368-8501-7956f60e6854: action "get-name" status is "completed" (0) at step 50get_name
2024-01-28T09:58:24+03:00 [3:joplin1:systemd] Starting Mark boot as successful...
2024-01-28T09:58:24+03:00 [3:joplin1:systemd] Finished Mark boot as successful.
2024-01-28T10:00:20+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/6748e687-9f0b-4474-8c4d-ba0c65141b34: get-name/50get_name is starting
2024-01-28T10:00:20+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/c3864381-ce08-4cb9-884b-53d7cc95db47: get-status/20read is starting
2024-01-28T10:00:21+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/6748e687-9f0b-4474-8c4d-ba0c65141b34: action "get-name" status is "completed" (0) at step 50get_name
2024-01-28T10:00:22+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/c3864381-ce08-4cb9-884b-53d7cc95db47: action "get-status" status is "completed" (0) at step validate-output.json
2024-01-28T10:01:24+03:00 [3:joplin1:systemd] Created slice User Background Tasks Slice.
2024-01-28T10:01:24+03:00 [3:joplin1:systemd] Starting Cleanup of User's Temporary Files and Directories...
2024-01-28T10:01:24+03:00 [3:joplin1:systemd] Finished Cleanup of User's Temporary Files and Directories.
2024-01-28T10:03:48+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/44fc66ac-b111-4d32-be8c-d72acf14453c: configure-module/01Hostname_validation is starting
2024-01-28T10:03:48+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/44fc66ac-b111-4d32-be8c-d72acf14453c: configure-module/10configure_environment_vars is starting
2024-01-28T10:03:48+03:00 [3:joplin1:agent@joplin1] dump_env() is deprecated and implemented as a no-op
2024-01-28T10:03:48+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/44fc66ac-b111-4d32-be8c-d72acf14453c: configure-module/20configure_traefik is starting
2024-01-28T10:03:49+03:00 [3:joplin1:agent@joplin1] dump_env() is deprecated and implemented as a no-op
2024-01-28T10:03:51+03:00 [3:joplin1:agent@joplin1] _acontrol_task request attempt failed (WS reached EOF while waiting for module/traefik2/task/f11498e0-b678-4b90-919b-a5deaeb07626). Retrying...
2024-01-28T10:03:53+03:00 [3:joplin1:agent@joplin1] _acontrol_task request recovered successfully at attempt 2
2024-01-28T10:03:53+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/44fc66ac-b111-4d32-be8c-d72acf14453c: configure-module/80start_services is starting
2024-01-28T10:03:53+03:00 [3:joplin1:agent@joplin1] Created symlink /home/joplin1/.config/systemd/user/default.target.wants/joplin.service β /home/joplin1/.config/systemd/user/joplin.service.
2024-01-28T10:03:53+03:00 [3:joplin1:systemd] Reloading.
2024-01-28T10:03:53+03:00 [3:joplin1:systemd] Starting Podman joplin.service...
2024-01-28T10:03:53+03:00 [3:joplin1:podman] 0faa93741ede37b0264534fab60f5ced1a69f2dfc8d6fb3f62a4b528d7aa303d
2024-01-28T10:03:53+03:00 [3:joplin1:systemd] Started libcrun container.
2024-01-28T10:03:53+03:00 [3:joplin1:podman] 0faa93741ede37b0264534fab60f5ced1a69f2dfc8d6fb3f62a4b528d7aa303d
2024-01-28T10:03:53+03:00 [3:joplin1:systemd] Started Podman joplin.service.
2024-01-28T10:03:54+03:00 [3:joplin1:agent@joplin1] task/module/joplin1/44fc66ac-b111-4d32-be8c-d72acf14453c: action "configure-module" status is "completed" (0) at step 80start_services
2024-01-28T10:03:54+03:00 [3:joplin1:systemd] Started libcrun container.
2024-01-28T10:03:54+03:00 [3:joplin1:systemd] Started Podman joplin server.
2024-01-28T10:03:54+03:00 [3:joplin1:systemd] Starting Podman joplin-pgsql.service...
2024-01-28T10:03:55+03:00 [3:joplin1:joplin1] cb7faa6ce3ea9c92c29a1faf7953971c86ffa07433529f8d22a49da6c2085b72
2024-01-28T10:03:55+03:00 [3:joplin1:joplin-server] _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____
2024-01-28T10:03:55+03:00 [3:joplin1:joplin-server] _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________
2024-01-28T10:03:55+03:00 [3:joplin1:joplin-server] $ pm2 monitor
2024-01-28T10:03:55+03:00 [3:joplin1:joplin-pgsql] creating configuration files ... ok
2024-01-28T10:03:56+03:00 [3:joplin1:joplin-server] [PM2] [v] PM2 Daemon Stopped
2024-01-28T10:03:56+03:00 [3:joplin1:joplin-pgsql] performing post-bootstrap initialization ... ok
2024-01-28T10:03:56+03:00 [3:joplin1:joplin-pgsql] syncing data to disk ... ok
2024-01-28T10:03:56+03:00 [3:joplin1:joplin-pgsql] 2024-01-28 07:03:56.773 UTC [43] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-01-28T10:03:56+03:00 [3:joplin1:joplin-pgsql] server started
2024-01-28T10:03:57+03:00 [3:joplin1:joplin-pgsql] waiting for server to shut down...2024-01-28 07:03:57.040 UTC [43] LOG: received fast shutdown request
2024-01-28T10:03:57+03:00 [3:joplin1:joplin-pgsql] .2024-01-28 07:03:57.047 UTC [43] LOG: aborting any active transactions
2024-01-28T10:04:04+03:00 [3:joplin1:joplin-server] 2024-01-28T07:04:04: PM2 log: Launching in no daemon mode
2024-01-28T10:04:04+03:00 [3:joplin1:joplin-server] 2024-01-28T07:04:04: PM2 log: App [app:0] starting in -fork mode-
2024-01-28T10:04:04+03:00 [3:joplin1:joplin-server] 2024-01-28T07:04:04: PM2 log: App [app:0] online
2024-01-28T10:04:04+03:00 [3:joplin1:joplin-server] 2024-01-28T07:04:04: PM2 log: [PM2] Done.
2024-01-28T10:04:04+03:00 [3:joplin1:joplin-server] ββββββΌβββββββββΌββββββββββββββΌββββββββββΌββββββββββΌβββββββββββΌβββββββββΌβββββββΌββββββββββββΌβββββββββββΌβββββββββββΌβββββββββββΌβββββββββββ€
2024-01-28T10:04:04+03:00 [3:joplin1:joplin-server] β 0 β app β default β 2.14.2 β fork β 57 β 0s β 0 β online β 0% β 35.9mb β joplin β disabled β
2024-01-28T10:04:07+03:00 [3:joplin1:joplin-server] 07:04:07 0|app | 2024-01-28 07:04:07: App: Starting server v2.14.2 (prod) on port 22300 and PID 57...
2024-01-28T10:04:07+03:00 [3:joplin1:joplin-server] 07:04:07 0|app | 2024-01-28 07:04:07: App: Checking for time drift using NTP server: pool.ntp.org:123
2024-01-28T10:04:15+03:00 [3:joplin1:joplin-server] 07:04:15 0|app | 2024-01-28 07:04:15: App: NTP time offset: -7ms
2024-01-28T10:04:15+03:00 [3:joplin1:joplin-server] 07:04:15 0|app | 2024-01-28 07:04:15: App: User content base URL: http://localhost:22300
2024-01-28T10:04:15+03:00 [3:joplin1:joplin-server] 07:04:15 0|app | autoMigration: true,
2024-01-28T10:04:15+03:00 [3:joplin1:joplin-server] 07:04:15 0|app | 2024-01-28 07:04:15: App: Mailer Config: {
2024-01-28T10:04:15+03:00 [3:joplin1:joplin-server] 07:04:15 0|app | authUser: '',
2024-01-28T10:04:15+03:00 [3:joplin1:joplin-server] 07:04:15 0|app | 2024-01-28 07:04:15: App: Connection check: { latestMigration: null, isCreated: false, error: null }
2024-01-28T10:04:16+03:00 [3:joplin1:joplin-server] 07:04:16 0|app | 2024-01-28 07:04:16: App: Performing main storage check...
2024-01-28T10:04:16+03:00 [3:joplin1:joplin-server] 07:04:16 0|app | 2024-01-28 07:04:16: App: Starting services...
2024-01-28T10:04:16+03:00 [3:joplin1:joplin-server] 07:04:16 0|app | 2024-01-28 07:04:16: TaskService: Scheduling #1 (Delete expired tokens): 0 */6 * * *
2024-01-28T10:04:16+03:00 [3:joplin1:joplin-server] 07:04:16 0|app | 2024-01-28 07:04:16: TaskService: Scheduling #3 (Process oversized accounts): 30 */2 * * *
2024-01-28T10:04:16+03:00 [3:joplin1:joplin-server] 07:04:16 0|app | 2024-01-28 07:04:16: TaskService: Scheduling #6 (Delete expired sessions): 0 */6 * * *
2024-01-28T10:04:16+03:00 [3:joplin1:joplin-server] 07:04:16 0|app | 2024-01-28 07:04:16: TaskService: Scheduling #10 (Process orphaned items): 15 * * * *
2024-01-28T10:04:26+03:00 [3:joplin1:joplin-server] 07:04:26 0|app | 2024-01-28 07:04:26: TaskService: Running #11 (Process shared items) (scheduled)...
2024-01-28T10:04:26+03:00 [3:joplin1:joplin-server] 07:04:26 0|app | 2024-01-28 07:04:26: TaskService: Completed #11 (Process shared items) in 30ms
2024-01-28T10:04:36+03:00 [3:joplin1:joplin-server] 07:04:36 0|app | 2024-01-28 07:04:36: TaskService: Running #11 (Process shared items) (scheduled)...
2024-01-28T10:04:36+03:00 [3:joplin1:joplin-server] 07:04:36 0|app | 2024-01-28 07:04:36: TaskService: Completed #11 (Process shared items) in 51ms
2024-01-28T10:04:46+03:00 [3:joplin1:joplin-server] 07:04:46 0|app | 2024-01-28 07:04:46: TaskService: Running #11 (Process shared items) (scheduled)...
2024-01-28T10:04:46+03:00 [3:joplin1:joplin-server] 07:04:46 0|app | 2024-01-28 07:04:46: TaskService: Completed #11 (Process shared items) in 28ms
2024-01-28T10:04:56+03:00 [3:joplin1:joplin-server] 07:04:56 0|app | 2024-01-28 07:04:56: TaskService: Running #11 (Process shared items) (scheduled)...
2024-01-28T10:04:56+03:00 [3:joplin1:joplin-server] 07:04:56 0|app | 2024-01-28 07:04:56: TaskService: Completed #11 (Process shared items) in 33ms
2024-01-28T10:05:00+03:00 [3:joplin1:joplin-server] 07:05:00 0|app | 2024-01-28 07:05:00: TaskService: Running #12 (Process emails) (scheduled)...
2024-01-28T10:05:00+03:00 [3:joplin1:joplin-server] 07:05:00 0|app | 2024-01-28 07:05:00: TaskService: Completed #12 (Process emails) in 25ms
2024-01-28T10:05:06+03:00 [3:joplin1:joplin-server] 07:05:06 0|app | 2024-01-28 07:05:06: TaskService: Running #11 (Process shared items) (scheduled)...
2024-01-28T10:05:06+03:00 [3:joplin1:joplin-server] 07:05:06 0|app | 2024-01-28 07:05:06: TaskService: Completed #11 (Process shared items) in 35ms
2024-01-28T10:05:16+03:00 [3:joplin1:joplin-server] 07:05:16 0|app | 2024-01-28 07:05:16: TaskService: Running #11 (Process shared items) (scheduled)...
2024-01-28T10:05:16+03:00 [3:joplin1:joplin-server] 07:05:16 0|app | 2024-01-28 07:05:16: TaskService: Completed #11 (Process shared items) in 34ms
2024-01-28T10:05:26+03:00 [3:joplin1:joplin-server] 07:05:26 0|app | 2024-01-28 07:05:26: TaskService: Running #11 (Process shared items) (scheduled)...
2024-01-28T10:05:26+03:00 [3:joplin1:joplin-server] 07:05:26 0|app | 2024-01-28 07:05:26: TaskService: Completed #11 (Process shared items) in 29ms