Rpi_camera error

I have a brand new raspberry pi 3 with the pi camera module. I am running HA using the official rpi2 docker image. It runs great on my system.

However, when I try to activate the rpi_camera module, I get an error when I start up HA. It says “file not found.” I have tried using the default directory, I have tried using the config directory. I have changed permissions to no avail.

Is there any explanation why the rpi_camera component cannot set up properly?

Should should test the camera without HA first to check if it works properly.

Yes the camera works on the host system and it works when I use a docker prompt

I figured out the error. The rpi_camera component uses the Linux killall command and for some reason this is not included in the official raspberry pi docker image. Either install killall or change the code to use pkill which fixed it for me.

Hey,
I’m trying to use home assistant with docker and i received a erro message:
bash-4.4# raspistill
Error relocating /opt/vc/lib/libvcos.so: backtrace_symbols: symbol not found
Error relocating /opt/vc/lib/libvcos.so: backtrace: symbol not found
Error relocating /opt/vc/lib/libvcos.so: mtrace: symbol not found

Could you help me with the install?
Do you have any tutorial or versions that you use (raspbian, docker-compose)?

Thank you

You should REALLY stick to ONE thread. You are bouncing around reviving threads left and right for the same problem. I have answered you twice already and you haven’t responded.

I’m sorry!
I’m lost with this.
I finished a clean install and the camera dosen’t work.
I need some help to do this…
I no have ideia what to do.

Stay in one thread and troubleshoot like a normal person trying to fix something

Ok, Lets Go! Please, help me!
I did a clean install with the RASPBIAN STRETCH LITE - Release date:2018-04-18
I had install docker and docker composer, follow my docker-compose.yml

version: ‘2’
services:
homeassistant:
container_name: home-assistant
image: homeassistant/raspberrypi3-homeassistant:0.68.1
volumes:
- /home/pi/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /opt/vc/lib:/opt/vc/lib
devices:
- /dev/vcsm:/dev/vcsm
- /dev/vchiq:/dev/vchiq
restart: always
privileged: true
network_mode: host

I Recieved this erro when i try to execute raspistill into the container:

bash-4.4# raspistill -o cam.jpg
Error relocating /opt/vc/lib/libvcos.so: backtrace_symbols: symbol not found
Error relocating /opt/vc/lib/libvcos.so: backtrace: symbol not found
Error relocating /opt/vc/lib/libvcos.so: mtrace: symbol not found

If i execute out of container, on the raspbian, its works fine.

thank you

A. Didn’t you open your own thread for this issue? Let’s keep it there, since this thread is solved and shouldn’t be used for your own purposes.

B. Why are you using version 2 of your compose?