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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. NodeBB
  3. When setting Email From Name in NodeBB app, app fails to start

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

Scheduled Pinned Locked Moved NodeBB
4 Posts 2 Posters 650 Views 2 Watching
  • 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.
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by d19dotca
      #1

      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
      1
      • d19dotcaD Offline
        d19dotcaD Offline
        d19dotca
        wrote on last edited by
        #2

        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
        3
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

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

          1 Reply Last reply
          3
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            This is fixed in the latest package.

            1 Reply Last reply
            2
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search