Is there a full download?
-
@bcdodgeme
try to usesudo chmod +x ./cloudron-setup sudo ./cloudron-setup
-
@MooCloud_Matt by the looks of it already writing out the wget content runs into the issue, so he either needs to run that with sudo or (better) go into a directly the current user has write permissions.
-
@bcdodgeme if you struggle this early at the very basics, you should get yourself help, switch to managed Cloudron hosting (moocloud.ch, windcloud.de etc.) or hosters that have Cloudron bundled with 1-click Images. Check out the options --> Get Cloudron.
-
@bcdodgeme Cloudron requires a raw plain Ubuntu VPS or hardware server. Cloudways is already a platform on top of those VPS instances. In some way while focusing on different things, Cloudways and Cloudron are roughly on a similar level. So basically just use a VPS from some of the providers mentioned at https://www.cloudron.io/get.html directly.
-
I always had to use sudo and wondered why it wasn't written as such on the webpage. I also did the noob mistake of running all three commands as one. Fun times!
BTW, I misunderstood the topic title but it would be nice if we could download an entire backup to our local PC. I'm using Backblaze but having a manual download option (not just the configuration file) would be superb as a secondary backup option.
-
@humptydumpty don't most VPS drop you as root when you SSH in?
The only exception I know of is AWS. But there most people tend to use the AMI.
-
@girish I'm not sure. This experience is based mostly on my home server attempts. Ran into issues once and noticed having sudo fixed that.
Edit: The Ubuntu server .iso that I was using also had something different than what others are used to. I think it was storage related (LVM stuff).. it didn't select the entire available disk space so I had to manually edit the size or something like that.
-
@humptydumpty that's true... Ubuntu desktop creates a normal user in the setup UI.
But the script actually checks for root and warns as much. I wonder why that's not working. Here - https://git.cloudron.io/cloudron/box/-/blob/master/scripts/cloudron-support#L23
-
@girish
It depends, in the cloud image template ( + cloud init) we can select if the server will spawn with a regular user with sudo privileges or just the root user.
And normal user with sudo privileges is actually the best option because you can disable the root access over ssh and brute force is more challenging if you have to guess the username too. -
@MooCloud_Matt is there any harm in using sudo when installing cloudron with a user that has sudo permissions?
Let me elaborate. If a user already has sudo permissions and they try to install some code without sudo. If I use sudo, does that give the code extra (unnecessary) permissions than it should?
-
@humptydumpty
If I understand your question correctly:
if you use sudo with root, it works like if you would do it with your normal account with sudo privileges, but will not require a password because you are already root.Sudo = super user do // or substitute user (by default root) do
If you use sudo with an account that is not in the sudo group, it will print out an error message, because you don't have permission and the attempt will be logged.
-
I remember being at the stage you are. Hearing how wonderful the world of Linux is... just run some simple commands and voila! The World At Your Feet.
But it ain't working.
As long as you don't bother looking up the errors that pop up, none of this will ever make sense and you will continue asking for help when at least the initial problems are clear as day to others.
Cannot write to ‘cloudron-setup’ (Permission denied).
Start there. In what directory are you? (Whats a directory, you ask... ok, start there then.) What causes "Permission denied" errors? Fix it.You can do it! It's a rewarding adventure!
-
-