Loading the portainer web interface

Hej Elco,
I have just tried the USB connection (serial port), but I cannot start script either through that interface. There is nothing communicated to the log windows (stderr:), which is really strange, since I stil got the error shown below, when trying to refresh devicelist?

Error while receiving device configuration: Couldn’t write to socket: [111] Connection refused Is the script running?

BR Ken

Hi Ken,

This was caused by a bug that I just fixed.
If you update the container (in portainer click the recreate container button and pull the latest image), then it will start working again.

Sorry for the trouble it caused you.

Hi Elco,
Sounds good you found a bug and fixed it :slight_smile: :+1::+1::+1:
I am not sure how to recreate containers and pull the image, is it with this script “docker-compose up --build”?
BR Ken

Hi Elco
I found the recreate button, but running the recreation gives a failure “Unable to remove container”, then the contianer list is empty.Shall I reload the containers by running the portainer docker image?
BR Ken

Ah, I think you tried re-create portainer. This doesn’t work, it cannot recreate itself.

Remove the old container:

docker stop portainer
docker rm portainer

And then create it again with the docker run command as described on the wiki.

Hi Elco,
I have created the portainer again with the docker script, but the script will still not start. Do you think I still have the version with the bug?.
If I restart http://raspberrypi.local/ the web interface does not remember the IP address. Does this give you a hint?
BR Ken

When you did ‘docker run’, it re-used the old image. You can now just recreate the brewpi container and pull the latest image from the portainer UI.

The IP address is received and stored by the script, so without the script running it will indeed not be remembered.

Hi Elco
I guess both containers one at a time, must be recreated and pull the latest image enabled?
BR Ken
image

Don’t recreate portainer, just BrewPi

Hi Elco,
Everything works :slight_smile: Container successfully recreated. I was not aware of the portainer should not be recreated.

Cheers Ken

That’s why I explained that 5 messages ago :wink:

Maybe we should revise/include the recreation of containers on wiki.brewpi.com. Setting up devices also makes troubles for some in our community, is this described somewhere?. Who is allowed to revise wiki.brewpi?
BR Ken

Anyone can submit changes. They do have to be approved before they are public though.

Hi Elco,
Today I needed to deploy the portainer docker image, since the image was no longer running on raspberry PI for some reason (the image might just have stopped running). However after executing the deploy command from puTTY, the docker web interface http://raspberrypi:local:9000 did not start in the web browser, even though Brewpi is running just fine, and the connection to Brewpi Spark also worked fine.

Do you know what I did wrong?
BR Ken

And if you use a dot instead of a colon?

Check that the portainer container is running with docker ps

docker ps gives
image
saying that the docker is running?
I used the web address http://raspberrypi.local:9000/

Hi Elco,
I am from time to time having trouble with my SD card on the Raspberry PI and need to reinstall the entire package that includes Raspbian and the Docker. Do you know whether this is something that common with other users?
I have installed the docker as seen below and accessed the docker through http://192.168.0.20:9000 which works as usual, but BrewPi Web interface won’t start using the web address http://raspberrypi.local.
Has something changed recently?
Where is it you see the IP address to the Web interface?
Best regards
Ken

Same IP address as portainer, but on port 80. So leave :9000 off.

Do you ever just unplug the power? That can cause SD card corruption. You should always fist shutdown and halt: sudo shutdown -h now

Hi Elco,
Thanks for your reply. Everything works fine!
You are right. Every time I have had an issue with the SD card is when Raspberry PI unintentional has been losing the power supply. I have two SD cards that I cannot reformat and install Raspbian again.
Is BrewBlox also running on Raspberry PI?

Cheers Ken

BrewBlox runs on Raspberry Pi, but does require a Pi v2 or v3.