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. Latest cloudron cli doesn't accept --server and --token anymore

Latest cloudron cli doesn't accept --server and --token anymore

Scheduled Pinned Locked Moved Solved Support
clipipelineexec
5 Posts 4 Posters 36 Views 4 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.
  • M Offline
    M Offline
    msbt
    App Dev
    wrote last edited by
    #1

    My build pipeline crashed because cloudron exec wouldn't accept --server and --token anymore on the latest CLI version. Is that by design or a regression?

    cloudron exec --app example.com --server my.example.com --token $CLOUDRON_TOKEN -- rm -rf /app/data/trash/* comes back with error: unknown option '--server'. I downgraded from v8.2.3 to v8.0.0 and it's working again. If something changed, what would be the right way to make this work again?

    Happy Hosting & Web Development

    LanhildL 1 Reply Last reply
    0
    • J Online
      J Online
      joseph
      Staff
      wrote last edited by joseph
      #3

      Pass the global args in the front.

      cloudron --server xx --token yy exec <args>

      The global args go in the front now because of a change in how the args are processed.

      1 Reply Last reply
      2
      • M msbt

        My build pipeline crashed because cloudron exec wouldn't accept --server and --token anymore on the latest CLI version. Is that by design or a regression?

        cloudron exec --app example.com --server my.example.com --token $CLOUDRON_TOKEN -- rm -rf /app/data/trash/* comes back with error: unknown option '--server'. I downgraded from v8.2.3 to v8.0.0 and it's working again. If something changed, what would be the right way to make this work again?

        LanhildL Online
        LanhildL Online
        Lanhild
        App Dev
        wrote last edited by
        #2

        @msbt I'm using 8.2.0 just fine with these options. The regression most certainly comes from a minor in between that version and 8.2.3

        1 Reply Last reply
        1
        • J Online
          J Online
          joseph
          Staff
          wrote last edited by joseph
          #3

          Pass the global args in the front.

          cloudron --server xx --token yy exec <args>

          The global args go in the front now because of a change in how the args are processed.

          1 Reply Last reply
          2
          • M Offline
            M Offline
            msbt
            App Dev
            wrote last edited by
            #4

            ah thanks @joseph, haven't tried that! https://docs.cloudron.io/packaging/cli/#cicd needs an update then 😉

            Happy Hosting & Web Development

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

              Hello @msbt
              Documentation updated.

              1 Reply Last reply
              2
              • M msbt has marked this topic as solved

              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