In my miniPC RAM is 4GB. After brave installations of 5 apps from a store it became so slow that response to any ssh command became endless.
After checking with ChatGPT4 if there is a swap, I found that it is not available in the default installation script for 1.1.2.
After it was added the Umbrel behaviour became much more responsive and friendly. Based in the results here is the standard upgrade procedure. I would recommend to add it to the installation for the next Umbrel versions as well.
-
Create the Swap File:
bash
sudo fallocate -l 2G /swapfile
If
fallocate
is not available, use:
bash
sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
-
Set the Correct Permissions:
bash
sudo chmod 600 /swapfile
-
Set Up the Swap Space:
bash
sudo mkswap /swapfile
-
Enable the Swap File:
bash
sudo swapon /swapfile
-
Verify Swap Activation:
bash
sudo swapon --show
-
Make the Swap File Permanent: Add the swap file entry to
/etc/fstab
:
bash
sudo nano /etc/fstab
Add the following line to the file:
/swapfile none swap sw 0 0
Save and exit the editor. -
Confirm the Configuration: Reboot the system to ensure the changes persist and verify the swap space again:
bash
sudo reboot