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. How to update an application from the Cloudron API?

How to update an application from the Cloudron API?

Scheduled Pinned Locked Moved Solved Support
api
5 Posts 2 Posters 913 Views 2 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.
    • martinkbsM Offline
      martinkbsM Offline
      martinkbs
      wrote on last edited by girish
      #1

      Hi guys,

      I am trying to launch an application update through the Cloudron API, and it returns the following error:

      {
          "status": "Bad Request",
          "message": "appStoreId or manifest is required"
      }
      

      Captura-de-pantalla-2022-06-16-114352.png

      How should the appStoreId be defined to generate the update?

      I have tried to launch individual backups of the application with the same API Token and it has worked without problems.

      girishG 1 Reply Last reply
      0
      • girishG girish

        @martinkbs POST request arguments have to be send in the body in our API and not as query parameters.

        martinkbsM Offline
        martinkbsM Offline
        martinkbs
        wrote on last edited by
        #5

        That was the piece of information I was missing. Now it works perfect.

        How much time am I going to save updating WordPress Developer applications...

        Thank you @girish 👍 😊

        1 Reply Last reply
        1
        • martinkbsM martinkbs

          Hi guys,

          I am trying to launch an application update through the Cloudron API, and it returns the following error:

          {
              "status": "Bad Request",
              "message": "appStoreId or manifest is required"
          }
          

          Captura-de-pantalla-2022-06-16-114352.png

          How should the appStoreId be defined to generate the update?

          I have tried to launch individual backups of the application with the same API Token and it has worked without problems.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #2

          @martinkbs said in How to update an application from the Cloudron API?:

          How should the appStoreId be defined to generate the update?

          For apps installed via the app store, you have to set appStoreId. For this, pass appStoreId of the form id@newversion. Internally, cloudron will download the manifest from appstore for the associated id and new version.

          For custom apps, you have to set the manifest. For the latter, just pass the new manifest in the manifest.

          martinkbsM 1 Reply Last reply
          0
          • girishG girish

            @martinkbs said in How to update an application from the Cloudron API?:

            How should the appStoreId be defined to generate the update?

            For apps installed via the app store, you have to set appStoreId. For this, pass appStoreId of the form id@newversion. Internally, cloudron will download the manifest from appstore for the associated id and new version.

            For custom apps, you have to set the manifest. For the latter, just pass the new manifest in the manifest.

            martinkbsM Offline
            martinkbsM Offline
            martinkbs
            wrote on last edited by
            #3

            Thanks @girish, but there must be something I'm forgetting.

            I have tried to push a pending update of the FreeScout application (to version 1.9.0), and I have tried to pass the appStoreId as you say and I get the same error.

            e18e0a37-e02a-4091-8060-5d86907d0316-image.png

            Captura de pantalla 2022-06-20 105229.png

            Captura de pantalla 2022-06-20 105301.png

            Is there any other parameter to take into account?

            girishG 1 Reply Last reply
            0
            • martinkbsM martinkbs

              Thanks @girish, but there must be something I'm forgetting.

              I have tried to push a pending update of the FreeScout application (to version 1.9.0), and I have tried to pass the appStoreId as you say and I get the same error.

              e18e0a37-e02a-4091-8060-5d86907d0316-image.png

              Captura de pantalla 2022-06-20 105229.png

              Captura de pantalla 2022-06-20 105301.png

              Is there any other parameter to take into account?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #4

              @martinkbs POST request arguments have to be send in the body in our API and not as query parameters.

              martinkbsM 1 Reply Last reply
              1
              • girishG girish

                @martinkbs POST request arguments have to be send in the body in our API and not as query parameters.

                martinkbsM Offline
                martinkbsM Offline
                martinkbs
                wrote on last edited by
                #5

                That was the piece of information I was missing. Now it works perfect.

                How much time am I going to save updating WordPress Developer applications...

                Thank you @girish 👍 😊

                1 Reply Last reply
                1
                • girishG girish marked this topic as a question on
                • girishG girish 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