After using “dietpi upgrade” my system updated to the latest version of docker. After this update portainer was no longer running. I tried removing and reistalling the portainer package using “dietpi-software reinstall 185” but then I ran into an error that the path to apparmor could not be found. So I installed apparmor; now portainer installs but it keeps on restarting itself.
Any clues how tyo solve this? I’m not sure how to get the docker error logs…
How did you setup Docker / Portainer? Did you used dietpi-software? Because we don’t user port 8000 on Portainer. Do you run Docker as unprivileged user?
But there is nothing else running on that socket, is it?
ss -tlpn
In your case, as you use an old Odroid image with Linux 4.9, it may be a kernel feature Docker now uses, which is not provided by Linux 4.9 yet. Can yous how:
Reading here shows it might be related with apparmor (that I installed)… Is there a way to roll back to the previous version of docker? Or might there be another way out.
I tried uninstalling portainer and reinstalling with apparmor disabled using systemctl disable --now apparmor
but I still get the fatal error FTL github.com/portainer/portainer/api/cmd/portainer/main.go:716 > failed start ing tunnel server | error="listen tcp 0.0.0.0:8000: socket: permission denied"
I think when I first set my system up I did not use the portainer package/script from dietpi so it might thjat it’s looking at older config files? Is there a way to compl;eteley remove docker/portainer and its settings and install it anew?
docker container ls -all
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5f1aca2884ab portainer/portainer-ce "/portainer" 9 minutes ago Restarting (1) 44 seconds ago portainer
docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
portainer/portainer-ce latest 0315eb3100ec 38 hours ago 267MB
slskd/slskd latest 281b1eca68fa 9 days ago 238MB
slskd/slskd <none> b2ed1a90ad40 4 weeks ago 238MB
slskd/slskd <none> 8ca2b1bb7e87 6 weeks ago 238MB
slskd/slskd <none> 3ef6e8dc9ef8 8 weeks ago 238MB
slskd/slskd <none> 8fd6c872f08e 2 months ago 233MB
slskd/slskd <none> 1905468a1e94 2 months ago 233MB
slskd/slskd <none> b399b04e88db 3 months ago 233MB
slskd/slskd <none> 0fee92b00d2e 3 months ago 232MB
slskd/slskd <none> 655d4ac00c6c 4 months ago 232MB
slskd/slskd <none> 0ecce3aed08d 4 months ago 233MB
slskd/slskd <none> 67a70b476051 5 months ago 232MB
slskd/slskd <none> ab3e40bcc204 5 months ago 232MB
realies/soulseek latest 5a9483739566 5 months ago 471MB
portainer/portainer-ee latest 10db4019e5b5 6 months ago 297MB
portainer/portainer-ce 2.13.1 ba1c6a880a3c 9 months ago 265MB
homeassistant/home-assistant latest f321193ab8b0 14 months ago 1.16GB
cr.portainer.io/portainer/portainer-ce 2.9.3 725d6dd70b20 14 months ago 237MB
domoticz/domoticz latest afd5cb0f11e4 15 months ago 269MB
portainer/portainer-ce <none> dfbe0287e051 17 months ago 171MB
airsonicadvanced/airsonic-advanced latest 38636017a800 17 months ago 850MB
linuxserver/qbittorrent latest a16fda57bbe2 17 months ago 398MB
portainer/portainer-ce <none> a4223b939682 18 months ago 175MB
epoupon/lms latest 8397665947a0 20 months ago 34.8MB
danielguerra/soulseek latest 70ce73a40a98 21 months ago 520MB
portainer/portainer latest ce24b0500fe9 23 months ago 68.4MB
lsiobase/java.arm64 latest b68b81e6f3b6 3 years ago 437MB
docker volume ls
DRIVER VOLUME NAME
local 7f92902bc5079dd8439970e15dc86e8190ab4bc98ee556140589a5a7cb3bdf1b
local ee5fb641b4e8331d2ff48be032b726b3d6a155b094a0f9e8df6cec4e67da4b51
local portainer_data
docker container ls -all
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
be35b5dea920 slskd/slskd:latest "./slskd" 9 days ago Exited (137) 2 hours ago slskd
docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
slskd/slskd latest 281b1eca68fa 10 days ago 238MB
slskd/slskd <none> b2ed1a90ad40 4 weeks ago 238MB
slskd/slskd <none> 8ca2b1bb7e87 6 weeks ago 238MB
slskd/slskd <none> 3ef6e8dc9ef8 8 weeks ago 238MB
slskd/slskd <none> 8fd6c872f08e 2 months ago 233MB
slskd/slskd <none> 1905468a1e94 2 months ago 233MB
slskd/slskd <none> b399b04e88db 3 months ago 233MB
slskd/slskd <none> 0fee92b00d2e 3 months ago 232MB
slskd/slskd <none> 655d4ac00c6c 4 months ago 232MB
slskd/slskd <none> 0ecce3aed08d 4 months ago 233MB
slskd/slskd <none> 67a70b476051 5 months ago 232MB
slskd/slskd <none> ab3e40bcc204 5 months ago 232MB
realies/soulseek latest 5a9483739566 5 months ago 471MB
portainer/portainer-ee latest 10db4019e5b5 6 months ago 297MB
homeassistant/home-assistant latest f321193ab8b0 14 months ago 1.16GB
cr.portainer.io/portainer/portainer-ce 2.9.3 725d6dd70b20 14 months ago 237MB
domoticz/domoticz latest afd5cb0f11e4 15 months ago 269MB
portainer/portainer-ce <none> dfbe0287e051 17 months ago 171MB
airsonicadvanced/airsonic-advanced latest 38636017a800 17 months ago 850MB
linuxserver/qbittorrent latest a16fda57bbe2 17 months ago 398MB
portainer/portainer-ce <none> a4223b939682 18 months ago 175MB
epoupon/lms latest 8397665947a0 20 months ago 34.8MB
danielguerra/soulseek latest 70ce73a40a98 22 months ago 520MB
portainer/portainer latest ce24b0500fe9 23 months ago 68.4MB
lsiobase/java.arm64 latest b68b81e6f3b6 3 years ago 437MB
docker volume ls
DRIVER VOLUME NAME
local 7f92902bc5079dd8439970e15dc86e8190ab4bc98ee556140589a5a7cb3bdf1b
local ee5fb641b4e8331d2ff48be032b726b3d6a155b094a0f9e8df6cec4e67da4b51
local portainer_data