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. Cloudron Error Cannot read property 'endsWith' of null

Cloudron Error Cannot read property 'endsWith' of null

Scheduled Pinned Locked Moved Solved Support
5 Posts 2 Posters 1.3k 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.
  • H Offline
    H Offline
    hamann
    wrote on last edited by
    #1

    When I want to create a redirection, I cannot save it and get the error "Cloudron Error
    Cannot read property 'endsWith' of null "

    However, it was still possible with another app before the last update. With the other app, however, I can no longer adjust the forwarding either.

    nebulonN 1 Reply Last reply
    0
    • H hamann

      I removed and reinstalled one of the two WordPress apps today. Same DNS settings and everything worked as it should. But the other app still has the problem. Is there a connection between plugins, themes or changing the WordPress language which is causing the problem?

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #5

      @hamann ah actually this bug is already fixed with https://git.cloudron.io/cloudron/box/-/commit/cefbe7064f4c7b31fb93bbf7ed85bf916aa5cf39 but pending a release.

      For the meantime you could tweak the file manually at /home/yellowtent/box/src/apps.js and then systemctl restart box or enable the mailbox for that app temporarily.

      1 Reply Last reply
      1
      • H hamann

        When I want to create a redirection, I cannot save it and get the error "Cloudron Error
        Cannot read property 'endsWith' of null "

        However, it was still possible with another app before the last update. With the other app, however, I can no longer adjust the forwarding either.

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @hamann is there any more context from the app task logs? Maybe some callstack or so? Also which DNS provider are you using for that domain?

        H 1 Reply Last reply
        0
        • nebulonN nebulon

          @hamann is there any more context from the app task logs? Maybe some callstack or so? Also which DNS provider are you using for that domain?

          H Offline
          H Offline
          hamann
          wrote on last edited by
          #3

          @nebulon

          we use 1and1

          Cannot read property 'endsWith' of null
          at Function.BoxError.toHttpError (/home/yellowtent/box/src/boxerror.js:107:16)
          at setLocation (/home/yellowtent/box/src/routes/apps.js:413:37)
          at processTicksAndRejections (internal/process/task_queues.js:95:5) {
          status: 500,
          internalError: TypeError: Cannot read property 'endsWith' of null
          at Object.setLocation (/home/yellowtent/box/src/apps.js:1658:58)
          at setLocation (/home/yellowtent/box/src/routes/apps.js:412:45)
          at Layer.handle [as handle_request] (/home/yellowtent/box/node_modules/express/lib/router/layer.js:95:5)
          at next (/home/yellowtent/box/node_modules/express/lib/router/route.js:137:13)
          at /home/yellowtent/box/src/routes/accesscontrol.js:90:9
          at Layer.handle [as handle_request] (/home/yellowtent/box/node_modules/express/lib/router/layer.js:95:5)
          at next (/home/yellowtent/box/node_modules/express/lib/router/route.js:137:13)
          at load (/home/yellowtent/box/src/routes/apps.js:79:5)
          at processTicksAndRejections (internal/process/task_queues.js:95:5),
          details: null
          POST /api/v1/apps/da7d45ad-11a3-482a-ab9f-91e5d7b87aa7/configure/location 500 Internal Server Error Cannot read property 'endsWith' of null 17.855 ms - 95
          
          1 Reply Last reply
          0
          • H Offline
            H Offline
            hamann
            wrote on last edited by
            #4

            I removed and reinstalled one of the two WordPress apps today. Same DNS settings and everything worked as it should. But the other app still has the problem. Is there a connection between plugins, themes or changing the WordPress language which is causing the problem?

            nebulonN 1 Reply Last reply
            0
            • H hamann

              I removed and reinstalled one of the two WordPress apps today. Same DNS settings and everything worked as it should. But the other app still has the problem. Is there a connection between plugins, themes or changing the WordPress language which is causing the problem?

              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #5

              @hamann ah actually this bug is already fixed with https://git.cloudron.io/cloudron/box/-/commit/cefbe7064f4c7b31fb93bbf7ed85bf916aa5cf39 but pending a release.

              For the meantime you could tweak the file manually at /home/yellowtent/box/src/apps.js and then systemctl restart box or enable the mailbox for that app temporarily.

              1 Reply Last reply
              1

              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