Open Grinchii opened 1 month ago
I am not sure how TrueNAS Scale implements it's docker support. For your problem it seems like the network namespace gets recycled on restart without cleaning up the interfaces.
To check this, you could add a custom script like described here with a number prefix lower than 20 and with the following contents:
#!/usr/bin/with-contenv bash
if (ip link | grep -q "wg01"); then
echo still up
wg-quick down /config/wireguard/wg01.conf
sleep 1
else
echo already down
fi
This is also an issue on kubernetes. If qbittorrent crashes, then it will be restarted and run into this issue. maybe apply suggested script as part of init process by default?
@davidfrickert Did the script solve the issue for you?
@davidfrickert Did the script solve the issue for you?
didn't get to test it since i did not run into crashes so far
Hello,
I'm trying to get this great Container working with TrueNAS Scale but it always crashes after some time (sometimes after 2h, sometimes after 15h, etc.) and is failing restarting it.
It seems like in TrueNAS you can't see the "old" logs. Only the logs of what is happening in the actual season (so everything after the crash happened).
This is the log when it's trying to restart after crashing:
Is there anything I can do to fix this? Maybe someone else using this with TrueNAS Scale and got it working?
Thank you!