Closed adocampo closed 6 months ago
When I wrote this script, the latest release was v0.5.4, and it has been tested with that version. I have modified the script to download the v0.5.4 release. As of now, the developers at Umbrel have released updates 1.0 and 1.1 for Umbrel Home and Raspberry Pi 4, which you can learn more about here: Umbrel Update Information. I am currently making tests to make the script work with the older version and then plan to test the upgrade process. Currently, with v0.5.4, I am encountering issues with Docker. I will continue to update the script as I am able to resolve these issues. If you are planning to conduct tests at this time, please do so in a lab environment. Thank you.
Thanks for your script!
Umbrel seems to be installing fine, but I have this error when trying to start it.
sed: couldn't edit ./templates/.env: not a regular file
I've created that folder on my
/root/
folder, but the error persists.Is there anything I can do?
Try the updated script, I have successfully installed the v0.5.4 version on my lab vanilla after a pacman -Syyu and reboot. If you have any problem don't doubt to tell me. When the update to v1 or v1.1 can be tested I will try it in my free time and I will modify the umbrel-arch-dev.sh script or add information about it in this repository..
Thanks.
it fails, both umbrel-arch.sh
and umbrel-arch-dev.sh
fails on the same ./templates/.env: not a regular file
error
./umbrel-arch.sh
WARNING: This script will install Docker, which may conflict with other Docker installations.
Updating the system...
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
Installing dependencies from official repositories...
warning: docker-1:26.1.0-1 is up to date -- reinstalling
warning: avahi-1:0.8+r194+g3f79789-1 is up to date -- reinstalling
warning: nss-mdns-0.15.1-1 is up to date -- reinstalling
warning: jq-1.7.1-1 is up to date -- reinstalling
warning: rsync-3.3.0-1 is up to date -- reinstalling
warning: curl-8.7.1-5 is up to date -- reinstalling
warning: git-2.44.0-1 is up to date -- reinstalling
warning: base-devel-1-1 is up to date -- reinstalling
warning: python-3.11.8-1 is up to date -- reinstalling
warning: inetutils-2.5-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (10) avahi-1:0.8+r194+g3f79789-1 base-devel-1-1 curl-8.7.1-5 docker-1:26.1.0-1 git-2.44.0-1 inetutils-2.5-1 jq-1.7.1-1 nss-mdns-0.15.1-1
python-3.11.8-1 rsync-3.3.0-1
Total Installed Size: 214.42 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(10/10) checking keys in keyring [#######################################################] 100%
(10/10) checking package integrity [#######################################################] 100%
(10/10) loading package files [#######################################################] 100%
(10/10) checking for file conflicts [#######################################################] 100%
(10/10) checking available disk space [#######################################################] 100%
:: Processing package changes...
( 1/10) reinstalling curl [#######################################################] 100%
( 2/10) reinstalling docker [#######################################################] 100%
( 3/10) reinstalling avahi [#######################################################] 100%
( 4/10) reinstalling nss-mdns [#######################################################] 100%
( 5/10) reinstalling jq [#######################################################] 100%
( 6/10) reinstalling rsync [#######################################################] 100%
( 7/10) reinstalling git [#######################################################] 100%
( 8/10) reinstalling base-devel [#######################################################] 100%
( 9/10) reinstalling python [#######################################################] 100%
(10/10) reinstalling inetutils [#######################################################] 100%
:: Running post-transaction hooks...
(1/6) Creating system user accounts...
(2/6) Reloading system manager configuration...
(3/6) Reloading device manager configuration...
(4/6) Arming ConditionNeedsUpdate...
(5/6) Reloading system bus configuration...
(6/6) Updating the info directory file...
docker-compose version 1.x not found, installing docker-compose-v1-bin...
-> Avoid running yay as root/sudo.
-> docker-compose-v1-bin-1.29.2-1 is up to date -- skipping
there is nothing to do
Installing yq using yay...
-> Avoid running yay as root/sudo.
Sync Explicit (1): yq-3.4.1-1
warning: yq-3.4.1-1 is up to date -- skipping
there is nothing to do
Installing fswatch using yay...
-> Avoid running yay as root/sudo.
-> fswatch-1.17.1-1 is up to date -- skipping
there is nothing to do
Enabling and starting Avahi service...
Enabling and starting Docker service...
Configuring Umbrel to start automatically on boot...
[Unit]
Wants=network-online.target
After=network-online.target
Wants=docker.service
After=docker.service
# This prevents us hitting restart rate limits and ensures we keep restarting indefinitely.
StartLimitInterval=0
[Service]
Type=forking
TimeoutStartSec=infinity
TimeoutStopSec=16min
ExecStart=/root/umbrel/scripts/start
ExecStop=/root/umbrel/scripts/stop
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=umbrel startup
RemainAfterExit=yes
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Preparing Umbrel...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 12.6M 0 12.6M 0 0 11.5M 0 --:--:-- 0:00:01 --:--:-- 13.6M
======================================
============ CONFIGURING =============
=============== UMBREL ===============
======================================
Generating auth credentials
Generating Tor password
sed: couldn't edit ./templates/.env: not a regular file
PS: I did NOT try it in a test vanilla environment, but it has not very stuff installed yet, let me spin up a VM to test it in a brand new installation.
I've tried on a VM which has CasaOS installed and working there. Your script worked there just as expected... the only thing different are the locales, in the non-working one is spanish and the working one is english.. can be that?
Just to mention, I had issues with the VM with casaOS installed. I wasn't be able to install anything on there. So, I create a brand new arch installation and your script worked there and I can install anything just fine. The only thing is the "updater" to versión 1 which is not working.
When you decide to release the script to install or upgrade version 1.1, please let me know :)
Thanks for your script!
Umbrel seems to be installing fine, but I have this error when trying to start it.
I've created that folder on my
/root/
folder, but the error persists.Is there anything I can do?