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 CLI login command results in an HTTP 404 error with "Cannot POST /api/v1/developer/login" message

Cloudron CLI login command results in an HTTP 404 error with "Cannot POST /api/v1/developer/login" message

Scheduled Pinned Locked Moved Solved Support
cli
5 Posts 3 Posters 855 Views 3 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.
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by girish
    #1

    Hello,

    I'm curious... I'm trying to run the Cloudron CLI (per recommendation in a previous post) and I'm getting the following when trying to login. I've used this before many months ago, but suddenly it's not working anymore.

    <computerName> ~ % cloudron login my.<domain.tld>    
    Username: <username>
    Password: ********************************
    Login failed: Status code: 404 message: <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Error</title>
    </head>
    <body>
    <pre>Cannot POST /api/v1/developer/login</pre>
    </body>
    </html>
    

    Any ideas why this would be happening? Is this something not working on Cloudron 7.0.4?

    --
    Dustin Dauncey
    www.d19.ca

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      You probably have to update the cli tool, since the /api/v1/developer/login route was long deprecated and finally removed from the server side.

      d19dotcaD 2 Replies Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        For reference, the latest CLI version is 4.12.8 (Use cloudron --version to see current version)

        1 Reply Last reply
        1
        • nebulonN nebulon

          You probably have to update the cli tool, since the /api/v1/developer/login route was long deprecated and finally removed from the server side.

          d19dotcaD Offline
          d19dotcaD Offline
          d19dotca
          wrote on last edited by
          #4

          @nebulon Very strange, as it showed me an update existed and the command to update it which I ran and it didn’t seem to fail or anything. I’ll check the version again soon and confirm.

          --
          Dustin Dauncey
          www.d19.ca

          1 Reply Last reply
          0
          • nebulonN nebulon

            You probably have to update the cli tool, since the /api/v1/developer/login route was long deprecated and finally removed from the server side.

            d19dotcaD Offline
            d19dotcaD Offline
            d19dotca
            wrote on last edited by
            #5

            @nebulon said in Cloudron CLI login command results in an HTTP 404 error with "Cannot POST /api/v1/developer/login" message:

            You probably have to update the cli tool, since the /api/v1/developer/login route was long deprecated and finally removed from the server side.

            @girish said in Cloudron CLI login command results in an HTTP 404 error with "Cannot POST /api/v1/developer/login" message:

            For reference, the latest CLI version is 4.12.8 (Use cloudron --version to see current version)

            So I checked the version of Cloudron CLI finally and it seems I am indeed running 4.12.8...

            <username>@<computerName> ~ % cloudron --version
            4.12.8
            

            However, I ran the command cloudron login again and now it suddenly works. So I'm not sure, maybe I had ran the update (I know I did for a fact) but perhaps it wasn't recognized until my computer had restarted over the holidays here. Something strange, but it's all good now it seems. 🙂

            --
            Dustin Dauncey
            www.d19.ca

            1 Reply Last reply
            0

            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