Skip to content

Permission issues on a fresh install of Rasperry Pi OS Bullseye #2657

@roelvdwater

Description

@roelvdwater

First of all, thank you for the amazing work. I've been running motionEye for a while and as I got myself a new SD card to do a fresh install of Raspberry Pi OS, I decided to give the active development branch a try.

However, when I follow the setup instructions on this fresh install, I'm getting permission errors.

Dec 02 20:54:36 raspberrypi systemd[1]: Started motionEye Server.
Dec 02 20:54:43 raspberrypi meyectl[402]: configure_logging cmd motioneye: False
Dec 02 20:54:43 raspberrypi meyectl[402]: configure logging to file: None
Dec 02 20:54:43 raspberrypi meyectl[402]:     INFO: hello! this is motionEye server 0.43.0
Dec 02 20:54:43 raspberrypi meyectl[402]: CRITICAL: pid directory "/var/run" does not exist or is not writable
Dec 02 20:54:43 raspberrypi systemd[1]: motioneye.service: Main process exited, code=exited, status=255/EXCEPTION
Dec 02 20:54:43 raspberrypi systemd[1]: motioneye.service: Failed with result 'exit-code'.
Dec 02 20:54:43 raspberrypi systemd[1]: motioneye.service: Consumed 5.831s CPU time.

I can (temporarily) fix the issue by granting permissions to all users to /var/run, but this temporary fix breaks when rebooting. I'm having the same permission issue when I'm trying to store recordings on a mounted USB drive. I didn't have these issues when I was running the "old" version of motionEye.

Please let me know if I have to provide more details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions