When setting Email From Name in NodeBB app, app fails to start
-
I tried recently setting a From Name in the Email section of the Cloudron Dashboard for the NodeBB app, and it refuses to start afterwards working in a loop (logs below). Any suggestions what may be the issue here? Seems like a database syntax issue when Cloudron tries to save into the MongoDB, no?
Oct 31 00:04:28 => Creating directories Oct 31 00:04:28 => Moving node_modules Healtheck error: Error: connect ECONNREFUSED 172.18.19.143:45672022-10-31T07:04:32.000Z => Ensure fixed jquery version for webpack Oct 31 00:04:32 Setting up email Oct 31 00:04:33 MongoDB shell version v4.4.10 Oct 31 00:04:33 connecting to: mongodb://mongodb:27017/492b4264-fea8-4d52-bbe6-1f15ce72c53a?compressors=disabled&gssapiServiceName=mongodb Oct 31 00:04:33 Implicit session: session { "id" : UUID("0d2cfe60-2240-41b8-89d3-b500f0bf5ba4") } Oct 31 00:04:33 MongoDB server version: 4.4.10 Oct 31 00:04:33 uncaught exception: SyntaxError: missing } after property list : Oct 31 00:04:33 @(shell eval):1:480 Oct 31 00:04:33 exiting with code -4 Oct 31 00:04:40 => Creating directories Oct 31 00:04:40 => Moving node_modules Healtheck error: Error: connect ECONNREFUSED 172.18.19.143:45672022-10-31T07:04:44.000Z => Ensure fixed jquery version for webpack Oct 31 00:04:44 Setting up email Oct 31 00:04:44 MongoDB shell version v4.4.10 Oct 31 00:04:44 connecting to: mongodb://mongodb:27017/492b4264-fea8-4d52-bbe6-1f15ce72c53a?compressors=disabled&gssapiServiceName=mongodb Oct 31 00:04:44 Implicit session: session { "id" : UUID("1ac6a436-1eb3-4f64-be84-264e9ef23713") } Oct 31 00:04:44 MongoDB server version: 4.4.10 Oct 31 00:04:44 uncaught exception: SyntaxError: missing } after property list : Oct 31 00:04:44 @(shell eval):1:480 Oct 31 00:04:44 exiting with code -4 Oct 31 00:04:58 => Creating directories Oct 31 00:04:58 => Moving node_modules Healtheck error: Error: connect ECONNREFUSED 172.18.19.143:45672022-10-31T07:05:04.000Z => Ensure fixed jquery version for webpack Oct 31 00:05:04 Setting up email Oct 31 00:05:04 MongoDB shell version v4.4.10 Oct 31 00:05:04 connecting to: mongodb://mongodb:27017/492b4264-fea8-4d52-bbe6-1f15ce72c53a?compressors=disabled&gssapiServiceName=mongodb Oct 31 00:05:04 Implicit session: session { "id" : UUID("511e3163-7c55-4267-9c28-60706acff892") } Oct 31 00:05:04 MongoDB server version: 4.4.10 Oct 31 00:05:04 uncaught exception: SyntaxError: missing } after property list : Oct 31 00:05:04 @(shell eval):1:480 Oct 31 00:05:04 exiting with code -4 -
Think I figured it out... seems like a defect @staff. I can reproduce the issue if I set the From Name on the Email tab for the NodeBB app to be a value with an apostrophe, such as "St. Paul's", for example. If I remove the apostrophe, it seems to then work fine. Seems Cloudron may ned to escape these characters to ensure they're safe for database storage? Just guessing though.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login