NS8-Joplin Server Dev

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
1 Like

i think i might have an idea,

the official docker image here: joplin/server - Docker Image | Docker Hub
joplin/packages/server at dev Β· laurent22/joplin (github.com)

Does not have 2 variable configurations

While all othr Docker versions have those 2 en variables

flosoft/docker-joplin-server: Joplin Server docker image (github.com)
florider89/joplin-server - Docker Image | Docker Hub

and
etechonomy/joplin-server (github.com)
etechonomy/joplin-server - Docker Image | Docker Hub

so i assume, for the two environemnts

I have to pass:
APP_BASE_URL=β€œhttps://”+host

for the port below, i am abit unsure
- APP_PORT=TCP_PORT or $TCP_PORT}

how do i implment the tcp port for th app on the configure env

IS THIS CORRECT?

joplin url settings


host = data.get("host", "")

TCP_PORT = data.get("TCP_PORT", "")

APP_BASE_URL = "https://"+host

APP_PORT = TCP_PORT
1 Like

HAve implemented app base url as well as app port, based on the tcp port, but it does not seem to be working as planned.

1 Like

so, i accessed the joplin module and got its environments

[joplin1@ns ~]$ runagent env
SHELL=/bin/bash
HISTCONTROL=ignoredups
HISTSIZE=1000
HOSTNAME=ns
PWD=/home/joplin1
LOGNAME=joplin1
XDG_SESSION_TYPE=tty
MOTD_SHOWN=pam
HOME=/home/joplin1
LANG=C.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:s          g=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31          :*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=          01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31          :*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zo          o=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01          ;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;          35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;3          5:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:          *.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=          01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;3          6:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.          opus=01;36:*.spx=01;36:*.xspf=01;36:
SSH_CONNECTION=::1 48418 ::1 22
XDG_SESSION_CLASS=user
SELINUX_ROLE_REQUESTED=
TERM=xterm
LESSOPEN=||/usr/bin/lesspipe.sh %s
USER=joplin1
SELINUX_USE_CURRENT_RANGE=
SHLVL=1
XDG_SESSION_ID=35
XDG_RUNTIME_DIR=/run/user/1004
SSH_CLIENT=::1 48418 22
DEBUGINFOD_URLS=https://debuginfod.centos.org/
which_declare=declare -f
PATH=/home/joplin1/.config/bin:/var/lib/nethserver/node/bin:/usr/local/agent/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/s          bin:/usr/bin:/usr/local/agent/bin
SELINUX_LEVEL_REQUESTED=
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1004/bus
MAIL=/var/spool/mail/joplin1
SSH_TTY=/dev/pts/1
BASH_FUNC_which%%=() {  ( alias;
 eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@
}
_=/usr/local/bin/runagent
REGISTRY_AUTH_FILE=/etc/nethserver/registry.json
AGENT_BASEACTIONS_DIR=/usr/local/agent/actions
REDIS_ADDRESS=cluster-leader:6379
REDIS_REPLICA_ADDRESS=127.0.0.1:6379
REDIS_USER=module/joplin1
REDIS_PASSWORD=fe4ac6f8-14bc-45f6-8538-6d77d118227f
PYTHONPATH=/home/joplin1/.config/pypkg
APP_BASE_URL=https://joplin.bybiz.link
APP_PORT=
IMAGE_DIGEST=sha256:2fb6b709067a6d3e0d4f0ae9439c5fac08bafaa771bd385dac2a04a9bd96ce04
IMAGE_ID=a70fda95164bcdf5a0de5b4e14ad860009563c0f23c3278273f477a566bb1c79
IMAGE_REOPODIGEST=ghcr.io/compgeniuses/joplin@sha256:2fb6b709067a6d3e0d4f0ae9439c5fac08bafaa771bd385dac2a04a9bd96ce04
IMAGE_URL=ghcr.io/compgeniuses/joplin:latest
MODULE_ID=joplin1
MODULE_UUID=b3655886-75a4-48e3-8406-f64b14bd7045
NODE_ID=3
POSTGRES_IMAGE=docker.io/postgres:16
PREV_IMAGE_DIGEST=sha256:7d5882f21a25c8c903ddec71faa85c4af746f3c312b2da8dd07d5ba465522b71
PREV_IMAGE_ID=0959446e4d104f2407ff913d1fdec4a370d0dda161a8a7143943cd770c59aa47
PREV_IMAGE_REOPODIGEST=ghcr.io/compgeniuses/joplin@sha256:7d5882f21a25c8c903ddec71faa85c4af746f3c312b2da8dd07d5ba465522b71
PREV_IMAGE_URL=ghcr.io/compgeniuses/joplin:latest
PREV_POSTGRES_IMAGE=docker.io/postgres:16
PREV_SERVER_IMAGE=docker.io/joplin/server:latest
SERVER_IMAGE=docker.io/joplin/server:latest
TCP_PORT=20008
TCP_PORTS=20008
TRAEFIK_HOST=joplin.bybiz.link
TRAEFIK_HTTP2HTTPS=True
TRAEFIK_LETS_ENCRYPT=True
AGENT_INSTALL_DIR=/home/joplin1/.config
AGENT_STATE_DIR=/home/joplin1/.config/state
AGENT_ID=module/joplin1

turns out the port was not being pulled.

I made some modifications on the port, then pushed

Now, for reasons i do not know yet, its now failing to publish

- Β· compgeniuses/ns8-joplinserver@11238c5 (github.com)

seen the culprit…

After resolving the other issue, now on visitng the url, the error being received is
invalid origin

image

Unfortunately it is relevant and specific to joplin

https://www.google.com/search?q=joplin%20server%20invalid%20url&ie=utf-8&oe=utf-8&client=firefox-b-m

You need to parse the joplin documentation I guess

1 Like

HAve been able to resolve the issue, and we have a module…

Working on some cosmetic imporvement then release for testing…

1 Like