Network time issue causing Joplin server error after unexpected shutdown

Hello,
I have a Synology DS220+ and had set up a Joplin server through Docker with image joplin/server:2.6.11-beta. This was working fine until my toddler pulled the power plug causing sudden power loss. Since restarting the Synology NAS, the Postgres DB is running fine, but the Joplin server app is continually restarting, apparently due to an error with establishing network time? I tried clearing out the stack and rebuilding with 2.6.14, but I get the same problem.

joplin/server@2.6.14 start,
node dist/app.js,
,
2021-12-15 02:12:01: App: Starting server v2.6.14 (prod) on port 22300 and PID 21...,
Error: Cannot retrieve the network time: Timeout waiting for NTP response.,
at Timeout._onTimeout (/home/joplin/packages/lib/vendor/ntp-client.js:79:22),
at listOnTimeout (node:internal/timers:557:17),
at processTimers (node:internal/timers:500:7),

Sometimes I will get a slightly different:

joplin/server@2.6.14 start,
node dist/app.js,
,
2021-12-15 02:10:04: App: Starting server v2.6.14 (prod) on port 22300 and PID 20...,
Error: Cannot retrieve the network time: getaddrinfo EAI_AGAIN pool.ntp(dot)org,
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {,
errno: -3001,,
code: 'EAI_AGAIN',,
syscall: 'getaddrinfo',,
hostname: 'pool.ntp(dot)org',
},

Does anyone have an idea about how to get the Joplin app to be able to pull the network time?

The server needs access to pool.ntp.org

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.