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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Can't add domains on 5.6.1?

Can't add domains on 5.6.1?

Scheduled Pinned Locked Moved Solved Support
domainsnamecheap
6 Posts 3 Posters 2.3k Views 3 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by girish
    #1

    I am trying to add a new domain back into my cloudron (updated to 5.6.1) and receive the following incredibly cryptic error (yes, the HTML is in the error I see):

    <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" /> <title> Cloudron App Error </title> <!-- Use static style as we can't include local stylesheets --> <style> html { height: 100%; width: 100%; padding: 0; } body { background-color: white; padding: 0; margin: 0; height: 100%; width: 100%; text-align: center; font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 13px; line-height: 1.846; } .content { display: flex; width: 100%; height: 100%; flex-direction: column; justify-content: center; } footer { background-color: #EFEFEF; bottom: 0; width: 100%; color: #555; font-size: 12px; text-align: center; padding: 5px; z-index: 1000; position: fixed; opacity: .5; transition: all .25s; } footer:hover { opacity: 1; } a { color: #2196f3; text-decoration: none; background-color: transparent; } a:hover { color: #0a6ebd; text-decoration: underline; } </style> </head> <body> <div class="content"> <h1>🙁</h1> <h2>Something has gone wrong</h2> <p>This app is currently not responding. Try refreshing the page.</p> </div> <footer> <span class="text-muted"><a href="https://cloudron.io" target="_blank">Cloudron</a></span> </footer> </body> </html>

    FYI it is a namecheap domain so I am using an API key to add it, if that helps.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      To add to this, the logs thankfully show the stack trace

      TypeError: Cannot read property 'map' of undefined
      at /home/yellowtent/box/src/dns/namecheap.js:84:99
      at Parser.<anonymous> (/home/yellowtent/box/node_modules/xml2js/lib/parser.js:304:18)
      at Parser.emit (events.js:198:13)
      at SAXParser.onclosetag (/home/yellowtent/box/node_modules/xml2js/lib/parser.js:262:26)
      at emit (/home/yellowtent/box/node_modules/sax/lib/sax.js:640:35)
      at emitNode (/home/yellowtent/box/node_modules/sax/lib/sax.js:645:5)
      at closeTag (/home/yellowtent/box/node_modules/sax/lib/sax.js:905:7)
      at SAXParser.write (/home/yellowtent/box/node_modules/sax/lib/sax.js:1449:13)
      at Parser.exports.Parser.Parser.parseString (/home/yellowtent/box/node_modules/xml2js/lib/parser.js:323:31)
      at Parser.parseString (/home/yellowtent/box/node_modules/xml2js/lib/parser.js:5:59) [ /home/yellowtent/box/box.js:57:17 ]
      
      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #3

        @atrilahiji Thanks for reporting, looks like a bug in the namecheap backend.

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

          @atrilahiji I am able to add namecheap domains just fine here. Maybe there was a temporary issue with name cheap ?

          Regardless, there is a bug in Cloudron code that caused the crash and I have fixed it with https://git.cloudron.io/cloudron/box/-/commit/8c78889e88f18b628444478dd40ab2f38dc7fa36 . If you want to apply the patch the file is /home/yellowtent/box/src/dns/namecheap.js on the server.

          ? 1 Reply Last reply
          0
          • girishG girish

            @atrilahiji I am able to add namecheap domains just fine here. Maybe there was a temporary issue with name cheap ?

            Regardless, there is a bug in Cloudron code that caused the crash and I have fixed it with https://git.cloudron.io/cloudron/box/-/commit/8c78889e88f18b628444478dd40ab2f38dc7fa36 . If you want to apply the patch the file is /home/yellowtent/box/src/dns/namecheap.js on the server.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @girish Oh, thanks! I'll give that a shot. If I'm still having issues I'll check on the namecheap side of things.

            marcusquinnM 1 Reply Last reply
            0
            • ? A Former User

              @girish Oh, thanks! I'll give that a shot. If I'm still having issues I'll check on the namecheap side of things.

              marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #6

              @atrilahiji I use Namecheap too, decent service but equally the Cloudflare free DNS services is pretty solid and not had any trouble with that & Cloudon. Just mentioning in case you got stuck or hadn't compared that option.

              Web Design & Development: https://www.evergreen.je
              Technology & Apps: https://www.marcusquinn.com

              1 Reply Last reply
              0

              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
              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