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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Cannot uninstall custom app

Scheduled Pinned Locked Moved Solved Support
uninstallcustom-apps
7 Posts 2 Posters 359 Views
    • 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.
  • kingb2019K Offline
    kingb2019K Offline
    kingb2019
    wrote on last edited by girish
    #1

    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,

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to kingb2019 on last edited by
    #0

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

    kingb2019K 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to kingb2019 on last edited by
    #2

    @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

    kingb2019K 1 Reply Last reply
    0
  • kingb2019K Offline
    kingb2019K Offline
    kingb2019
    replied to girish on last edited by
    #3

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

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

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

    kingb2019K 1 Reply Last reply
    1
  • kingb2019K Offline
    kingb2019K Offline
    kingb2019
    replied to girish on last edited by
    #5

    @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

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to kingb2019 on last edited by
    #6

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

    kingb2019K 1 Reply Last reply
    0
  • kingb2019K Offline
    kingb2019K Offline
    kingb2019
    replied to girish on last edited by
    #7

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

    1 Reply Last reply
    0
  • girishG girish marked this topic as a question on
  • girishG girish has marked this topic as solved on

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.