Site refusing to connect
-
-
-
This is not a stupid question at all - it's stupid person - ME, because I have BOTH runcloud and cloudron in my AWS setup. What I did was email runcloud, what I did was relay cloudron to my developer, who instructed me remotely on what to do as he was unavailable.
And yes, another rookie mistake - those apparent blank things are nothing but me putting two > > next to my comment. Gosh it's been a long day and I am sorry I didn't make myself clearer.
-
Servers do look very similar on SSH, so such things can happen
Given the likely unknown state of the system, I would suggest to simply restore the whole from a backup https://docs.cloudron.io/backups/#restore-cloudron this would likely be safest to avoid unexpected side-effects.
-
@nebulon Ok so I obviously have made another rookie mistake - backing up only the apps on the server, and I have an instance from 30/8/2024 when I expanded the hdd, but none apart from that.
I used to download some of the instances, but this was setup for me, and I thought I was doing the right thing backing up the apps daily, and little did I know that it was not correct, given that I also backup pretty much everything.
Is there a way I can use ssh to get to the folders where the backups are held on the drive to download the latest backup files, spin up another instance and then reinstall from that?
Thanks for replying. -
@nebulon Thank you - I will research how to get to that folder because all I can see in ssh is the amazon one and the lxd folder. Then there are a couple of other folders but I can't work out how to navigate to that folder. Yeah I'm not an ssh expert because although I'm familiar with working with a dos interface, there are obviously some subtle differences in the navigation of a linux / ssh instance.
-
@nebulon I used Chatgpt to find out how to safely ssh into my cloudron server and download what I thought could have been a backup file but it must have been the master file backup when it was installed in 2022.
I then asked chatgpt to help me search the server for any tar.gz files after December 1, and there was only one backup file there which I thought was confusing, and then I remembered, I had them all setup on cloudflare to backup and I FOUND MY BACKUP FILES.
I'm not sure how to approach this now - should I spin up a new cloudron snapshot and install from backups? I had issues in the past whereby I couldn't install snapshots because they were different versions to the installs to restore over, so I guess my next question would be -
IS THERE ANY WAY TO RESTOR A SNAPSHOT without having to install the app - eg, invoice ninja and then tryh to restore an older version? I know this sounds convuluted - but is there a way to simply restore a snapshot minus the initial install?
I have learnt so much today. .. One being - Yes I have backups, and yes although it's inconvenient, I won't have lost data. I don't know whether to laugh or cry.
Thanks
-
@berryd If I understand this right, you are using Runcloud on a AWS whatever in order to run Cloudron... right? If so, you've misunderstood deeply. Cloudron REPLACES Runcloud. Cloudron IS essentially Runcloud. Whatever Runcloud says it does, Clourdon ALREADY DOES IT without the need for anything else. Are you really running Cloudron as an app within Runcloud?? This is the main reason then for your confusion, as the two are essentially the same thing. Both manage servers and run web apps. CLoudron is not just a webapp, and trying to install it on a server that already has something, almost anything else, will cause problems. Remove RunCloud, and cancel that subscriptoin. Then go back to https://www.cloudron.io/get.html and https://docs.cloudron.io/installation/ and reinstall ONLY Cloudron on a fresh server. Then, enjoy!
-
@scooke I use cloudron and runcloud - I have lightspeed and ec2 instances. I made the mistake of when I discussed with my developer I used the word 'runcloud' instaead of 'cloudron'.
I run both - I am running cloudron on an ubuntu ec2 build. This is the one with the issue.
I have located my backups on cloudflare.
I just keep having a brainfart between the words 'runcloud' and 'cloudron'.The reason I ended up using cloudron was because of issues with laravelle and invoiceninja where due to how runcloud works, it was not possible to get working, so my dev walked me through spinning up an ec2 instance and connecting to cloudron and using the app to build it. It's absolutely fantastic.
I don't know why I keep on getting it mixed up... It must be my left and my other left, but I definitely know what I have built.
Thanks for replying.
-
I solved the problem -
Purchased another hosting plan from a provider who supports runcloud
Creating a new instance
Imported in all the data from the backups
Redirected the IP addresses after connecting to cloudflare
Works like a charm
Used ChatGPt to walk me through some of the ssh setup
... I learnt one thing... If you are ever doing this, leave things alone for at least 20 minutes before changing something. It was like a perpetual loop of not working and when I left it, came back an hour later, put the same strings in to connect to the cloudflare r2 buckets, it worked like a charm.I will be honest, I am quite happy I learnt a few more things. A fresh instance of Cloudron was the answer, I don't know why it happened in the first place, given nothing had been changed and one day it was broken after running without issue since Sept 2022, but now I have confidence in fixing things should it occur again.
Backups were really important. Thank you
-