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

    Solved Cannot uninstall custom app

    Support
    uninstall custom-apps
    2
    7
    340
    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.
    • kingb2019
      kingb2019 last edited by girish

      Hello, I have working on custom apps and installed one as a test. Upon installation it errored so I attempted to uninstall. I keep getting an error and it will not uninstall. I've researched the topic and couldn't find anything that worked. I have the error details below. I do have a cloudron subscription if that helps at all.

      reason: 'Docker Error',
      details: {},
      nestedError: Error: (HTTP code 301) unexpected -
      at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:315:17
      at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:345:7)
      at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:314:5)
      at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:286:14)
      at IncomingMessage.emit (node:events:402:35)
      at endReadableNT (node:internal/streams/readable:1343:12)
      at processTicksAndRejections (node:internal/process/task_queues:83:21) {
      reason: undefined,

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @kingb2019 last edited by

        @kingb2019 Please try this one-liner - https://git.cloudron.io/cloudron/box/-/commit/144e98abab291140d807527540d101514707f9ae

        You have to edit /home/yellowtent/box/src/docker.js and then after making the change systemctl restart box. Uninstall should work afterwards.

        kingb2019 1 Reply Last reply Reply Quote 1
        • girish
          girish Staff @kingb2019 last edited by

          @kingb2019 this looks similar to https://forum.cloudron.io/topic/5076/unable-to-delete-custom-app-docker-error/ . The upstream issue is still not fixed - https://github.com/apocas/dockerode/issues/548

          The core of the issue is that the docker image name provided is wrong. What is the image name you provided ? You can get the "bad" image name by using cloudron inspect | grep dockerImage

          kingb2019 1 Reply Last reply Reply Quote 0
          • kingb2019
            kingb2019 @girish last edited by

            @girish Sorry for the slow reply. Something hit me like a ton of bricks and I've not been feeling well at all. The dockerImage stuck out like a sore thumb on the list /home/brinton/cloudron-homeassistant .

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @kingb2019 last edited by

              @kingb2019 Please try this one-liner - https://git.cloudron.io/cloudron/box/-/commit/144e98abab291140d807527540d101514707f9ae

              You have to edit /home/yellowtent/box/src/docker.js and then after making the change systemctl restart box. Uninstall should work afterwards.

              kingb2019 1 Reply Last reply Reply Quote 1
              • kingb2019
                kingb2019 @girish last edited by

                @girish I'm using putty to connect to the machine and edit. I'm getting the response that the directory does not exist. Should I be navigating to the directory via another method?

                5b4e9b0a-6bac-45a9-8e6a-28a144b505df-image.png

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @kingb2019 last edited by

                  @kingb2019 Can you write to us at support@cloudron.io ? We can help patch the server.

                  kingb2019 1 Reply Last reply Reply Quote 0
                  • kingb2019
                    kingb2019 @girish last edited by

                    @girish Just wrote in. Thank you for your help.

                    1 Reply Last reply Reply Quote 0
                    • Topic has been marked as a question  girish girish 
                    • Topic has been marked as solved  girish girish 
                    • First post
                      Last post
                    Powered by NodeBB