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. /system/reboot no such route

/system/reboot no such route

Scheduled Pinned Locked Moved Solved Support
apireboot
6 Posts 3 Posters 2.0k 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.
  • LanhildL Offline
    LanhildL Offline
    Lanhild
    App Dev
    wrote on last edited by girish
    #1

    Trying to programatically check if my Cloudron needs a reboot.

    Getting the following2024-03-02_12-40-49.png

    1 Reply Last reply
    1
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      @Lanhild you must make a POST request . Generally, POST === do some action. (otherwise, please report it here and we will fix our API) . GET === only fetch something

      1 Reply Last reply
      0
      • girishG girish marked this topic as a question on
      • BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #3

        @girish he does not wish to reboot the system with his call, he wants to get the information IF the system needs a reboot.
        There was an API route https://docs.cloudron.io/api.html#tag/System/operation/isRebootRequired which does not work anymore.

        Like my work? Consider donating a drink. Cheers!

        LanhildL 1 Reply Last reply
        2
        • BrutalBirdieB BrutalBirdie

          @girish he does not wish to reboot the system with his call, he wants to get the information IF the system needs a reboot.
          There was an API route https://docs.cloudron.io/api.html#tag/System/operation/isRebootRequired which does not work anymore.

          LanhildL Offline
          LanhildL Offline
          Lanhild
          App Dev
          wrote on last edited by
          #4

          @BrutalBirdie exactly

          1 Reply Last reply
          1
          • girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #5

            Whoops, my bad.

            @Lanhild GET /api/v1/system/info has it now. It contains:

                    sysVendor
                    productName
                    uptimeSecs
                    rebootRequired
                    activationTime
            
            LanhildL 1 Reply Last reply
            1
            • girishG girish

              Whoops, my bad.

              @Lanhild GET /api/v1/system/info has it now. It contains:

                      sysVendor
                      productName
                      uptimeSecs
                      rebootRequired
                      activationTime
              
              LanhildL Offline
              LanhildL Offline
              Lanhild
              App Dev
              wrote on last edited by
              #6

              @girish Thanks, that was it.

              1 Reply Last reply
              0
              • nebulonN nebulon has marked this topic as solved on

              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