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 | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. cloudron cli uninstall not working ?

cloudron cli uninstall not working ?

Scheduled Pinned Locked Moved App Packaging & Development
5 Posts 2 Posters 36 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.
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote last edited by
    #1

    I persistently get :
    cloudron uninstall --app app.domain.tld
    Failed to uninstall app: 400 message: {"type":"Buffer","data":[105,110,99,111,114,114,101,99,116,32,109,105,109,101,32,116,121,112,101,46,32,101,120,112,101,99,116,105,110,103,32,97,112,112,108,105,99,97,116,105,111,110,47,106,115,111,110]}

    I have to uninstall through the UI.
    V9.0.15

    Something odd on my system or reproducible ?

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @timconsidine
      What is the version of the cloudron cli you are using?

      timconsidineT 1 Reply Last reply
      0
      • jamesJ james

        Hello @timconsidine
        What is the version of the cloudron cli you are using?

        timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote last edited by timconsidine
        #3

        @James weird, because I have run sudo npm install -g cloudron@6.0.0 half a dozen times in recent weeks
        But cloudron -V reports 5.14.7

        I will investigate why it is not upgrading

        % sudo npm install -g cloudron@6.0.0
        Password:
        
        changed 61 packages in 488ms
        
        13 packages are looking for funding
          run `npm fund` for details
        % cloudron -V
        5.14.7
        
        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @timconsidine
          Why are you running sudo npm install and not npm install?
          Can you please run the following command and provide the output?

          which cloudron
          

          and

          sudo which cloudron
          

          I suspect, because you have used sudo npm install there are two version of the cloudron cli installed on your system.
          One for root and one for your current user.

          timconsidineT 1 Reply Last reply
          0
          • jamesJ james

            Hello @timconsidine
            Why are you running sudo npm install and not npm install?
            Can you please run the following command and provide the output?

            which cloudron
            

            and

            sudo which cloudron
            

            I suspect, because you have used sudo npm install there are two version of the cloudron cli installed on your system.
            One for root and one for your current user.

            timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote last edited by
            #5

            @James I used sudo because system told me I don't have permissions

            which / sudo which both tell me I have /opt/homebrew/bin/cloudron

            I updated / upgraded brew but it's still 5.14.7
            No brew doctor errors.
            Tried to remove the brew version of cloudron but it is rejecting that.
            I will investigate
            Thank you for the pointers.

            1 Reply Last reply
            0
            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