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

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 338 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.
  • 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 Online
    nebulonN Online
    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 Do not disturb
    girishG Do not disturb
    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
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    replied to nebulon 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
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    replied to nebulon 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

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