Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    When setting Email From Name in NodeBB app, app fails to start

    NodeBB
    2
    4
    63
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d19dotca
      d19dotca last edited by d19dotca

      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
      

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply Reply Quote 1
      • d19dotca
        d19dotca last edited by

        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.

        --
        Dustin Dauncey
        www.d19.ca

        1 Reply Last reply Reply Quote 3
        • girish
          girish Staff last edited by

          @d19dotca Good catch. This is a bug in our shell scripting. Fix coming.

          1 Reply Last reply Reply Quote 3
          • girish
            girish Staff last edited by

            This is fixed in the latest package.

            1 Reply Last reply Reply Quote 2
            • First post
              Last post
            Powered by NodeBB