You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.
I'm running OpenAg brain on a Raspberry Pi 2 with Raspbian Jesse. I've been following the guides in the wiki.
It used to work some months ago. Today I wanted to run it again and, just in case, I updated with sudo apt-get update and sudo apt-get upgrade. After that, I pulled on the repo and ran sh install_docker.sh and docker-compose up -d.
The brain is now not working:
pi@raspberrypi:~/openag_brain_docker_rpi $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5e1135b95f31 openag/rpi_brain "./rep.sh ~/catkin_ws" 22 minutes ago Up 4 seconds 5000/tcp openagbraindockerrpi_brain_1
70ae12f1ab91 dogi/rpi-couchdb "/entrypoint.sh couch" 22 minutes ago Up 5 seconds 0.0.0.0:5984->5984/tcp openagbraindockerrpi_db_1
pi@raspberrypi:~/openag_brain_docker_rpi $ docker logs
5e1135b95f31d84b412320e74877a126a944555651b3dd40463945573a056531
70ae12f1ab91462f28ed9c575809236a54a5c2250b9cf45b5c53231ed0b4c463
openagbraindockerrpi_brain_1
openagbraindockerrpi_db_1
docker logs -f openagbraindockerrpi_brain_1
usage: main [-h] [-A API_SERVER] [-D DB_SERVER] [-f FIXTURES]
[-F FIXTURE_PATHS] [--screen]
main: error: unrecognized arguments: personal_food_computer_v2.launch
I tried getting into the container but could not:
docker exec -it openagbraindockerrpi_brain_1 bash
Error response from daemon: Container 5e1135b95f31d84b412320e74877a126a944555651b3dd40463945573a056531 is restarting, wait until the container is running
docker exec openagbraindockerrpi_brain_1 rosrun openag_brain load_fixture default
Error response from daemon: Container 5e1135b95f31d84b412320e74877a126a944555651b3dd40463945573a056531 is restarting, wait until the container is running
I ran docker images and saw that the rpi_brain image was created 24 months ago, and this seemed suspicious. So I removed the images. Shouldn't sh install_docker.sh update everything?
pi@raspberrypi:~/openag_brain_docker_rpi $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
openag/rpi_brain latest 40926fcbe0f0 3 months ago 1.289 GB
dogi/rpi-couchdb latest 9d5f8c7d3197 24 months ago 180.2 MB
pi@raspberrypi:~/openag_brain_docker_rpi $ docker rmi openag/rpi_brain
Error response from daemon: conflict: unable to remove repository reference "openag/rpi_brain" (must force) - container 5e1135b95f31 is using its referenced image 40926fcbe0f0
pi@raspberrypi:~/openag_brain_docker_rpi $ docker rmi --force openag/rpi_brain
Untagged: openag/rpi_brain:latest
Deleted: sha256:40926fcbe0f081dc0efd6eb3b6fccccfe7dd0d87cd6524cc6077c84db18d0470
pi@raspberrypi:~/openag_brain_docker_rpi $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
dogi/rpi-couchdb latest 9d5f8c7d3197 24 months ago 180.2 MB
pi@raspberrypi:~/openag_brain_docker_rpi $ docker rmi --force dogi/rpi-couchdb
Untagged: dogi/rpi-couchdb:latest
Deleted: sha256:9d5f8c7d31975cdd1069fea43e25eb9317b9432d0b5b88272a81900758b065b9
pi@raspberrypi:~/openag_brain_docker_rpi $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
pi@raspberrypi:~/openag_brain_docker_rpi $
Then I ran again all the commands, but have new error:
However, I can do docker-compose start and it works, but I still get the main: error: unrecognized arguments: personal_food_computer_v2.launch error. Note: there is no clean openagbraindockerrpi_brain_1 container, but a 5e1135b95f31_5e1135b95f31_5e1135b95f31_5e1135b95f31_openagbraindockerrpi_brain_1 instead
Any hints on this? If no clues, how can I clean everything and start again, besides flashing the SD?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm running OpenAg brain on a Raspberry Pi 2 with Raspbian Jesse. I've been following the guides in the wiki.
It used to work some months ago. Today I wanted to run it again and, just in case, I updated with
sudo apt-get update
andsudo apt-get upgrade
. After that, I pulled on the repo and ransh install_docker.sh
anddocker-compose up -d
.The brain is now not working:
I tried getting into the container but could not:
I ran
docker images
and saw that the rpi_brain image was created 24 months ago, and this seemed suspicious. So I removed the images. Shouldn'tsh install_docker.sh
update everything?Then I ran again all the commands, but have new error:
However, I can do
docker-compose start
and it works, but I still get themain: error: unrecognized arguments: personal_food_computer_v2.launch
error. Note: there is no cleanopenagbraindockerrpi_brain_1
container, but a5e1135b95f31_5e1135b95f31_5e1135b95f31_5e1135b95f31_openagbraindockerrpi_brain_1
insteadAny hints on this? If no clues, how can I clean everything and start again, besides flashing the SD?
The text was updated successfully, but these errors were encountered: