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. Webadmin error on manual update of self-hosting free-plan

Webadmin error on manual update of self-hosting free-plan

Scheduled Pinned Locked Moved Solved Support
update
15 Posts 5 Posters 3.4k Views 5 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #2

    The webadmin repo got renamed to dashboard. Please remove the webadmin folder (which should be on the same level as the box repo folder), and in-place clone https://git.cloudron.io/cloudron/dashboard then hotfixing your Cloudron should work again.

    C 1 Reply Last reply
    0
    • nebulonN nebulon

      The webadmin repo got renamed to dashboard. Please remove the webadmin folder (which should be on the same level as the box repo folder), and in-place clone https://git.cloudron.io/cloudron/dashboard then hotfixing your Cloudron should work again.

      C Offline
      C Offline
      CarbonBee
      wrote on last edited by
      #3

      @nebulon Well, in the createReleaseTarball script, line 32, it searches for the webadmin directory. So I renamed my dashboard directory into webadmin.
      I hotfix my Cloudron, and it gives me the error :

      /home/yellowtent/box/setup/start.sh: line 218: /home/yellowtent/box/webadmin/dist/config.json: No such file or directory
      

      And now my Cloudron is down. I rename box/dashboard into box/webadmin, I copy the old webadmin/dist/config.json into it, then I call again box/setup/start.sh. But now my config/cloudron.conf is a bit empty, so I replace it by a backup. I restart with systemctl restart box, and at last, my Cloudron is up again. I can access to all my apps! But the cloudron page itself is no more available because of an Unknown OAuth client.
      So is the current state of my 2.0.1 Cloudron.

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

        Oh I see, I was referring to both repo's master branches. So for that particular release, it was still webadmin indeed, so you have to make sure to checkout the correct release version tags for both of them. Having said that, we don't actively test hotfixing for releases, as the name indicates, it is intended as a developer tool.

        C 1 Reply Last reply
        0
        • nebulonN nebulon

          Oh I see, I was referring to both repo's master branches. So for that particular release, it was still webadmin indeed, so you have to make sure to checkout the correct release version tags for both of them. Having said that, we don't actively test hotfixing for releases, as the name indicates, it is intended as a developer tool.

          C Offline
          C Offline
          CarbonBee
          wrote on last edited by
          #5

          @nebulon Well, if I understand correctly, either I update my cloudron to the master branch, or I wait for the next release that, I hope, will correct that issue. Is there another option, isn't it possible to fix it?

          C 1 Reply Last reply
          0
          • C CarbonBee

            @nebulon Well, if I understand correctly, either I update my cloudron to the master branch, or I wait for the next release that, I hope, will correct that issue. Is there another option, isn't it possible to fix it?

            C Offline
            C Offline
            CarbonBee
            wrote on last edited by
            #6

            @carbonbee What I don't understand is why, during the build on the server with the hotfix methode, a dashboard directory is created, instead of a webadmin? Because almost everything seems to relies on this webadmin directory.

            1 Reply Last reply
            0
            • darkbenD Offline
              darkbenD Offline
              darkben
              wrote on last edited by
              #7

              @carbonbee. I have 3 pro plans and i have 2 test servers with free plans for testing and i use hotfix cli method to update them. With few adjustments it works.

              1. on the cli machine clone box and dashboard with git
                For the dashboard i clone the code in webadmin directory : git clone https://git.cloudron.io/cloudron/dashboard.git webadmin
                In the webadmin directory and the box directory checkout the version you want

              2. Hotfix command

              3. On the cloudron machine you need to change version in cloudron.conf

              4. In the box directory, rename dashboard directory in webadmin

              5. go to box/webadmin/dist and create config.json within :
                {
                "webServerOrigin": "https://cloudron.io"
                }

              6. Reboot your server and cross your fingers.

              Everything works for me with this this non academic method.

              C 1 Reply Last reply
              0
              • C Offline
                C Offline
                CarbonBee
                wrote on last edited by
                #8

                Ok, thanks to a fellow cloudron user on the chat (many thanks robi !), I just made my admin page up again. I just copied my webadmin directory on my server to a dashboard directory on the same level, and yay! the OAuth error just disapeared!

                1 Reply Last reply
                0
                • darkbenD darkben

                  @carbonbee. I have 3 pro plans and i have 2 test servers with free plans for testing and i use hotfix cli method to update them. With few adjustments it works.

                  1. on the cli machine clone box and dashboard with git
                    For the dashboard i clone the code in webadmin directory : git clone https://git.cloudron.io/cloudron/dashboard.git webadmin
                    In the webadmin directory and the box directory checkout the version you want

                  2. Hotfix command

                  3. On the cloudron machine you need to change version in cloudron.conf

                  4. In the box directory, rename dashboard directory in webadmin

                  5. go to box/webadmin/dist and create config.json within :
                    {
                    "webServerOrigin": "https://cloudron.io"
                    }

                  6. Reboot your server and cross your fingers.

                  Everything works for me with this this non academic method.

                  C Offline
                  C Offline
                  CarbonBee
                  wrote on last edited by CarbonBee
                  #9

                  @darkben Well, that's exactly what I did, but it ends with the OAuth error. I just fixed it (see my last answer 🙂 ).

                  1 Reply Last reply
                  0
                  • darkbenD Offline
                    darkbenD Offline
                    darkben
                    wrote on last edited by darkben
                    #10

                    ok @CarbonBee i don't notice this Oauth error on my server but i keep an eye on this post.
                    PS : i totally reboot the server and not only Cloudron...
                    Thanks !

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #11

                      Did you guys figure this out? Sorry for the confusion with all those moving directories.

                      1 Reply Last reply
                      0
                      • x1tanX Offline
                        x1tanX Offline
                        x1tan
                        wrote on last edited by x1tan
                        #12

                        I have the same error "Unknown OAuth client" if I try to login at my.<domain>.<tld>. I tried the fix from darkben/CarbonBee without any luck.

                        Btw. Where can I find the current documentation for manual updates since the wiki page on the box repo is gone.

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #13

                          I guess you are looking for https://git.cloudron.io/cloudron/box/wikis ?

                          x1tanX 1 Reply Last reply
                          0
                          • girishG girish

                            I guess you are looking for https://git.cloudron.io/cloudron/box/wikis ?

                            x1tanX Offline
                            x1tanX Offline
                            x1tan
                            wrote on last edited by
                            #14

                            @girish Yes thats where the wiki was accessible before. Currently I get "The page could not be found or you don't have permission to view it.".

                            And any ideass concerning the OAuth Error?

                            nebulonN 1 Reply Last reply
                            0
                            • x1tanX x1tan

                              @girish Yes thats where the wiki was accessible before. Currently I get "The page could not be found or you don't have permission to view it.".

                              And any ideass concerning the OAuth Error?

                              nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #15

                              @x1tan I have made the page publicly accessible now. For some reason it had a wrong setting there.

                              1 Reply Last reply
                              0
                              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