Pangolin Docker Container permanently restarting #1716

Closed
opened 2026-04-05 19:40:14 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @TheRealSaeba on 3/12/2025

Ubuntu 24.02. on VPS
After running the installation script, the installation finishes with "container unhealthy".

After restarting the VPS, executing "docker ps" command shows that the pangolin container is permanently restarting.

After executing "docker logs pangolin" command, I get hundreds of similar entries like this:

> @fosrl/pangolin@0.0.0 start
> NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'

Running migrations...
Migrations completed successfully.
/app/server/lib/config.ts:170
                    throw new Error(
                          ^


Error: Error loading configuration file: unknown escape sequence (49:40)

 46 |  ...
 47 |  ... r_admin:
 48 |  ... mail: "admin@XXXXXX.site"   <---- Mail obfuscated by me
 49 |  ... assword: "*****************AF\,~*****************************"  <--- Pasword obfuscated by me
-----------------------------------------^
 50 |  ...
 51 |  ...
    at loadConfig (/app/server/lib/config.ts:170:27)
    at Config.loadConfig (/app/server/lib/config.ts:180:27)
    at new Config (/app/server/lib/config.ts:159:14)
    at <anonymous> (/app/server/lib/config.ts:256:23)

Node.js v20.18.3

It seems like the password I entered during installation contained characters ( the backslash?) which are not correctly handled or interpreted as escape sequence and not as the character itself.

The installation guide states that at least one "special character" should be used for the password. It does not exclude certain characters.

I will try deinstalling all docker containers and running the installation script with a password that does not contain the backslash.

*Originally created by @TheRealSaeba on 3/12/2025* Ubuntu 24.02. on VPS After running the installation script, the installation finishes with "container unhealthy". After restarting the VPS, executing "docker ps" command shows that the pangolin container is permanently restarting. After executing "docker logs pangolin" command, I get hundreds of similar entries like this: ``` > @fosrl/pangolin@0.0.0 start > NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs' Running migrations... Migrations completed successfully. /app/server/lib/config.ts:170 throw new Error( ^ Error: Error loading configuration file: unknown escape sequence (49:40) 46 | ... 47 | ... r_admin: 48 | ... mail: "admin@XXXXXX.site" <---- Mail obfuscated by me 49 | ... assword: "*****************AF\,~*****************************" <--- Pasword obfuscated by me -----------------------------------------^ 50 | ... 51 | ... at loadConfig (/app/server/lib/config.ts:170:27) at Config.loadConfig (/app/server/lib/config.ts:180:27) at new Config (/app/server/lib/config.ts:159:14) at <anonymous> (/app/server/lib/config.ts:256:23) Node.js v20.18.3 ``` It seems like the password I entered during installation contained characters ( the backslash?) which are not correctly handled or interpreted as escape sequence and not as the character itself. The installation guide states that at least one "special character" should be used for the password. It does not exclude certain characters. I will try deinstalling all docker containers and running the installation script with a password that does not contain the backslash.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1716