umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

OS Compatibility

Open Sainan opened this issue 2 years ago • 8 comments

I've ran curl -L https://umbrel.sh | bash on a variety of Debian & Ubuntu versions. The results:

  • Debian 11.0: Fail (docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown.)
  • Debian 10.0: Fail (docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/exec: no such file or directory: unknown.)
  • Debian 9.0: Skipped
  • Ubuntu 22.04: Success
  • Ubuntu 20.04: Success
  • Ubuntu 18.04: Fail (ERROR: Cannot install docker-compose==1.10.0, [...] and docker-compose==1.29.2 because these package versions have conflicting dependencies.)
  • Ubuntu 16.04: Skipped
  • Ubuntu 14.04: Fail (SSL Cert for umbrel.sh not supported, and if bypassed, fswatch package not found)

These were fresh installs only running apt update, apt upgrade, apt install curl sudo or similar commands before curl -L https://umbrel.sh | bash.

Notably, on Debian I've also tried to install apparmor, but it did not seem to change the fact that Umbrel failed to install.

Sainan avatar Feb 15 '23 17:02 Sainan

Wow, thanks for the testing it out and for the report, @Sainan. Looking into it on priority.

mayankchhabra avatar Feb 16 '23 08:02 mayankchhabra

I managed to replicate the issue. Installing apparmor and restarting the system solves the problem, but we'll need to look at what we can be done to improve the install script.

nevets963 avatar Feb 17 '23 00:02 nevets963

what about installing on any other distro like arch linux ? I would love to see install script for non-debian distros as well. 🙏

dcrystalj avatar Feb 18 '23 12:02 dcrystalj

FWIW, I got it set up on Debian 11.0 without issue (desktop spin, netinstall, not barebones/server)

AngusP avatar Mar 06 '23 23:03 AngusP

I have given up and will test the waters with MyNode since umbrel keeps failing to install on an external drive. Here's the logs FWIW:

https://termbin.com/vru1q

justingoldberg avatar May 19 '23 16:05 justingoldberg

failing to install on an external drive

Doesn't look like log file is loading but this is currently the method on Ubuntu and Debian for installing on an external drive,

You can use a different directory other than root to install Umbrel on Linux via this method,

For the intention of installing on only an external drive we can run the following command to specify path:

curl -L https://umbrel.sh | bash -s -- --install-path path/to/external/drive

And replacing "path/to/external/drive" to the path of the different directory for the Umbrel to go in on the external drive

jimbrend avatar Aug 12 '23 00:08 jimbrend

Maybe we can run a check at some point

lsb_release -a
docker -v
docker-compose -v
python3 -V

to let user know in terminal on untested distros if someone runs on Mint or Arch etc.

jimbrend avatar Aug 12 '23 01:08 jimbrend

arch linux

what about installing on any other distro like arch linux ? I would love to see install script for non-debian distros as well. 🙏

Try this! https://github.com/fr4nsys/umbrel-arch/

fr4nsys avatar Feb 10 '24 18:02 fr4nsys