I’m brand new to linux and diet pi.
So for the record I’m on i pi4B 4Gb. I want to run Home assistant and Zigbee2MQTT from docker containers. I know its a steep learning curve and also the reason for this problem.
With the Dietpi installation I installed Docker, Docker Compose and Portainer.
The Docker and Docker compose is working but I’m grinding to a stop once goint to my Pi IP like this 192.168.1.100:9002 This loads a Portainer page saying:
New Portainer installation. Your Portainer instance timed out for security purposes. To re-enable your Portainer instance, you will need to restart Portainer.
For further information, view our [documentation](https://documentation.portainer.io/r/ce-restart-portainer).
But the link is to the BE Business version not the CE version. So now I dont know what to do from here? Do I need to create the Yaml file my self or is that done during the dietpi installation process?
The section with info regarding setup for portainer on the dietpi website is IMO useless and only points to How to Install and Configure Portainer in Docker - Codeopolis wich in turn guides me to punch in stuff that will download and try to reinstall portainer again only to end up saying that portainer is allready installed…
I guess part of my problem is that I dont know what the dietpi installer did and where I have to pick it up my self? Any guidance on this would be much appriciated. Thanks
More you don’t know how Docker is working or how container is setup. This has nothing to do with DietPi.
As stated on the error message, you need to restart the container. There is a security feature inside Portainer (again nothing to do with DietPi) to protect the installation. You just have a limited time period for the first inital login.
What file you like to create? For Portainer? Nothing need to be done, Portainer Container is already running.
We simply download and start the container. All is up afterwards. Otherwise, you could not connect and you won’t get the error message above.
What do you expect? The whole container management is done according Docker. It might be needed to get used to how Docker is working. We will not go to duplicate Docker documentation. I recommend Docker docs. docker container | Docker Docs
You can try uninstalling and re-installing and log in asap. Worked for me on Pi 4B 8gb current DietPI OS. Portainer is installed automatically on the pi as a docker container perm running.
@ Joulinar. Thanks, but how to restart the container or is it portainer that needs restarting? I have been trawling all over the internet for about 24 hours now trying to find a solution. I think I understand how docker works by now. But No where did anybody mention that it could time out… I’ll look at the link you posted to see if I can find it my self… Thanks Kasper
Well, since it’s not working out of the box (or after a set limit of time, and restarting the hardware is not helping) and since the links regarding Portainer on Dietpi is not showing any info about the issue, a noob like me have zero clue on how to solve the issue, I would expect the guides to explain in detail how to fix this problem and how to restart Portainer and how to handle the most normal faults like things that time out…
This is has nothing to do with DietPi. It’s a behaviour of Portainer. You could ask Portainer developer to enhance their own docs to show this more clearly.
A couple of weeks ago, I played somehow with Zigbee2MQTT in Proxmox VMs, LXC containers and Docker containers. I used it in Node-RED with the zigbee2mqtt nodes.
The installation needed a couple of steps to get it running. We could try to run it step by step (e.g. via a different forum entry to be able to find this later on) when your portainer stuff runs without problems.
I could also imagine, to generate a DietPi blog post explaining the installation, but this takes a bit more time.
This did the trick and was what I was looking for in the first place. Much appreciated.
I dont know your realtion to Dietpi, but to me it seams that a minimum information guide will always run into questions from noobs. I don’t know how the CLI is working, what the commands and so on and I have hell of a time finding out how. Thatis the reason I’m asking, also when the thing is up and running I’m not expecting to be using the CLI much. But lucky me, now I will always have your help to come back to when it happens again. Is there a way to make auto sign in after a power failur, because it could rapidly lead to a new timeout?
Well, you criticise a volunteer project for your lack of knowledge. It’s like blaming Microsoft because some windows freeware is not working bc you don’t know how to use it. And windows is a paid software… I don’t get this mentality.
We can not cover every edge case, but there is for almost every app a link in our documentation to the docs of the app.
Portainer docs even have a freaking AI chat bot, so I got this in under 5 minutes:
Sry for the little rant, but I have the feeling in the last time there are more cases then usual where we are criticised bc the user don’t know how to use the software. And if the user don’t know how to use it and don’t want to learn, I recommend to switch to a familiar environment (probably Windows) or a fully fletched desktop environment like default RPi OS etc.