fabianishere / udm-kernel-tools

Tools for bootstrapping custom kernels on the UniFi Dream Machine
GNU General Public License v2.0
330 stars 23 forks source link

Readlink no such file directory #48

Closed frgtv10 closed 3 years ago

frgtv10 commented 3 years ago

Hi,

after a power issue in our street i had to restart UDM Pro and USW 24 PPOE afterwards. No i cant start the container. I'm receiving:

/mnt/data/on_boot.d/15-iptv.sh

Error: readlink /mnt/data/podman/storage/overlay/l/N5TJ7CXNQ7LGPBPW3ADLQKP5T2: no such file or directory

`IPTV_WAN_INTERFACE="ppp0" IPTV_WAN_RANGES="213.75.0.0/16 217.166.0.0/16" IPTV_WAN_VLAN="0" IPTV_WAN_DHCP_OPTIONS="-O staticroutes -V IPTV_RG" IPTV_LAN_INTERFACES="br0"

if podman container exists iptv; then podman rm -f iptv fi podman run --network=host --privileged \ --name iptv -i -d --restart on-failure:5 \ -e IPTV_WAN_INTERFACE="$IPTV_WAN_INTERFACE" \ -e IPTV_WAN_RANGES="$IPTV_WAN_RANGES" \ -e IPTV_WAN_VLAN="$IPTV_WAN_VLAN" \ -e IPTV_WAN_DHCP_OPTIONS="$IPTV_WAN_DHCP_OPTIONS" \ -e IPTV_LAN_INTERFACES="$IPTV_LAN_INTERFACES" \ -e IPTV_LAN_RANGES="" \ fabianishere/udm-iptv`

Container List:

podman ps

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 848fcedf3a37 localhost/unifi-os:latest /sbin/init 15 minutes ago Up 15 minutes ago unifi-os

Its also not possible to reinstall the iptv, i'm receving the same errors.

df -h Filesystem Size Used Available Use% Mounted on /dev/root 638.1M 638.1M 0 100% /overlay/root_ro devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 392.0K 1.9G 0% /overlay/rw ram-overlay 1.9G 392.0K 1.9G 0% / tmpfs 1.9G 100.0K 1.9G 0% /dev/shm tmpfs 1.9G 1.1M 1.9G 0% /tmp tmpfs 1.9G 416.0K 1.9G 0% /run /dev/sda6 12.2G 1.9G 9.7G 16% /mnt/data /dev/sda4 120.0M 1.5M 109.5M 1% /mnt/persistent /dev/sda6 12.2G 1.9G 9.7G 16% /mnt/data/podman/storage/overlay shm 62.5M 8.0K 62.5M 0% /mnt/data/podman/storage/overlay-containers/848fcedf3a371a30b6db67a207ff04c4cbd8b6f8a2bacf255aaf75d52cb0fc20/userdata/shm overlay 12.2G 1.9G 9.7G 16% /mnt/data/podman/storage/overlay/86be0e208e2b326e3974f7b5d1dc7c0dc05373ed091e63c4476f11b56a79fa0d/merged

Thank you Matt

frgtv10 commented 3 years ago

Fixed by resetting podman completely:

podman system prune --all --force && podman rmi --all