Closed mcnahum closed 1 year ago
yes, you SD card is fully used. Let's try to find out where your space is gone
du -a / | sort -n -r | head -n 20
Thanks, Seams to be a software I tried to install to read comics who never worked ...
So issue 2, is to re-install Domoticz (sorry for the long log):
I see. Actually, I'm able to replicate the behaviour. We would need to check our install procedure.
Isn't your SD card still full? Both issues are most likely only related to this fact. So cleanup the SD card or migrate everything to a larger one, or move DietPi userdata to a USB dongle or drive, then repeat the reinstall.
@MichaIng I can replicate the issue. https://github.com/MichaIng/DietPi/actions/runs/4918655815/jobs/8785273757#step:2:1037 It has nothing to do with full SD card.
Ah right sorry, I just saw the PR. The problem seems to be that there is the executable named domoticz
within the archive, and tar
seems to somehow misinterpret the given directory name as file to extract. A bug as the used option has a clear meaning:
root@micha:/tmp# tar xf domoticz_linux_armv7l.tgz --one-top-level=domoticz
tar: domoticz/History.txt: Cannot open: Not a directory
...
tar: Exiting with failure status due to previous errors
root@micha:/tmp# l
-rwxr-xr-x 1 1000 1000 14M Feb 14 15:07 domoticz
-rw-r--r-- 1 root root 15M May 10 21:41 domoticz_linux_armv7l.tgz
root@micha:/tmp# tar xf domoticz_linux_armv7l.tgz --one-top-level=domoticz2
root@micha:/tmp# l
drwxr-xr-x 7 root root 280 May 10 21:44 domoticz2
-rw-r--r-- 1 root root 15M May 10 21:41 domoticz_linux_armv7l.tgz
Probably this archive previously contained a parent directory, in which case this issue does not happen, and now it contains the files right in the archives root. Good to know this behaviour 😄.
Thanks, tested the solution and it's ok
Creating a bug report/issue
Required Information
DietPi version: v8.17.2 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 | DISTRO: 6
Additional Information (if applicable)
echo $G_HW_UUID
. --> - Reference code: e771dc04-94ef-48f4-b13d-66e98ffb33d3Steps to reproduce
I guess there is 2 issues:
Issues 1: When there is cut on the wifi or a power outage ( as I'm doing some house upgrade who need power to be turn-down) Domotictz doesn't reconnect and not working To fix it, I tried to re-install it with:
dietpi-software reinstall 140
issue 2: the re-install failed by saying there is no more space after falling a backup