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

/system/reboot no such route

Scheduled Pinned Locked Moved Solved Support
apireboot
6 Posts 3 Posters 883 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 Offline
      girishG Offline
      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 Offline
            girishG Offline
            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
              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