Webadmin error on manual update of self-hosting free-plan
-
The
webadmin
repo got renamed todashboard
. Please remove the webadmin folder (which should be on the same level as thebox
repo folder), and in-place clone https://git.cloudron.io/cloudron/dashboard then hotfixing your Cloudron should work again. -
@nebulon Well, in the
createReleaseTarball
script, line 32, it searches for thewebadmin
directory. So I renamed mydashboard
directory intowebadmin
.
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
intobox/webadmin
, I copy the oldwebadmin/dist/config.json
into it, then I call againbox/setup/start.sh
. But now myconfig/cloudron.conf
is a bit empty, so I replace it by a backup. I restart withsystemctl 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 anUnknown OAuth client
.
So is the current state of my 2.0.1 Cloudron. -
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. -
@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.
-
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 -
Hotfix command
-
On the cloudron machine you need to change version in cloudron.conf
-
In the box directory, rename dashboard directory in webadmin
-
go to box/webadmin/dist and create config.json within :
{
"webServerOrigin": "https://cloudron.io"
} -
Reboot your server and cross your fingers.
Everything works for me with this this non academic method.
-
-
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 ! -
Did you guys figure this out? Sorry for the confusion with all those moving directories.
-
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.
-
I guess you are looking for https://git.cloudron.io/cloudron/box/wikis ?