Unable to install cloudron
-
I am trying to install cloudron on Oracle free tier. My server is having 1 gb ram but still the installation is showing that cloudron requires 1 gb physical ram. Also it required amd processor. Please help as soon as possible.
-
@chiragnahata What is the output of
free -m
anduname -nar
on the machine ? -
-
This is the error -
My system specifications -
-
-
@chiragnahata if you edit the
cloudron-setup
script, you will see (around line 34):if [[ "${physical_memory}" -lt "${MINIMUM_MEMORY}" ]]; then echo "Error: Cloudron requires atleast 1GB physical memory" exit 1 fi
You can just comment it out:
# if [[ "${physical_memory}" -lt "${MINIMUM_MEMORY}" ]]; then # echo "Error: Cloudron requires atleast 1GB physical memory" # exit 1 # fi
1GB really is very very small, so your mileage may vary.
-
@girish Where is the cloudron setup script ? I was installing via commands given in https://www.cloudron.io/get.html . I don't know about the script. Please help me.
-
@chiragnahata Also can I install Cloudron on Ampere A1 processor so that I can provide more ram
-
@chiragnahata said in Unable to install cloudron:
Where is the cloudron setup script ?
The cloudron setup script it the
cloudron-setup
file you downloaded as you described.You have to edit that file as girish explained.
Regarding the Ampere A1 processor, that is not supported.
https://docs.cloudron.io/installation/ -
File edited and the setup started but after few minutes the terminal got disconnected and the log was showing E: Setting in Stop via TCSAFLUSH for stdin failed! - tcsetattr (5: Input/output error. Please help as soon as possible
-
@chiragnahata
The most simple solution is, take a server with more ram. -
@BrutalBirdie I tried that but same error is coming
-
I had Cloudron installed on a storage VPS (alphavps) with 768MB of RAM. Just edited the script to avoid the setup to fail but with all its (for me unnecessary) services running, Cloudron wasnt a pleasure to use. Really recommending at least 1,5Gb RAM to be able to have a good user experience. If you just want to host a small LAMP app, 1GB would be sufficient.
-
@chiragnahata
Lets start from zero to hero.- What hosting provider do you use?
- What are the systems specifications - do they match the doc
- Is the system a fresh setup
When posting question its best to provide as many information as possible, with every question that needs to be asked back you increase the delay for a good solution.
I really suggest you should start with a fresh Ubuntu 20.04 LTS Server with minimum specs or better.
-
@BrutalBirdie I am using Oracle free tier and the specs are of the always free amd processor. It is a free Ubuntu 20.04 install. I edited the script as suggested by @girish also.
-
@chiragnahata If you edited the script like @girish told you, there is no way the same error will show up since you commented out the check + error message.
Please start from scratch on a fresh Ubuntu 20.04 upwards and a x86 processor. Download the script, uncomment the memory check and run the script afterwards.
-
I noticed today when creating a new EC2 image that t2 micro reports 967 MB.. So, I have fixed the script to check for 960MB now instead of 1GB. Please download the latest cloudron-setup script and that should fix the memory requirement atleast.
-
@subven The error is not coming. It got installed but terminal got disconnected and the log was showing E: Setting in Stop via TCSAFLUSH for stdin failed! - tcsetattr (5: Input/output error and now the ip is not showing any webpage
-
@chiragnahata
If you have unstable internet, installtmux
on the server and when connecting to the server viassh
the first command you should execute istmux
.Then do everything else inside the
tmux
session.tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.
(they keep running in the background)! that is the big win for unstable connections.
https://github.com/tmux/tmux/wiki
https://tmuxcheatsheet.com/I would advise you, do a clean sweep (again) and then first install
tmux
and run the cloudron installer intmux
. -