motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.98k stars 653 forks source link

Flashdrive not showing up under stoarge device #3024

Open rcho5840 opened 4 months ago

rcho5840 commented 4 months ago

Hello, I have a flashdrive connected to my raspberry pi. I know it is recognized by the pi, because I see the name of the flashdrive when I do "df -h"

However, the flashdrive is not being recognized by motioneye. The only available storage device is custom path:

image

rcho5840 commented 4 months ago

Anyone have any feedback?

MichaIng commented 4 months ago

I can replicate it. Just attached a test drive and mounted its filesystem. It appears in fdisk output as well as in /dev/disk/by-id/ (which are both used by motionEye to check for available disks) but only "Custom Path" can be selected.

I'll have a closer look into this tomorrow. Busy today with my other project.

rcho5840 commented 4 months ago

I was able to mount the drive as well and make it permanent. I am just using custom storage now, but I'm having a new issue. mycreate_path is saying that permission is denied to even upload the media to the flash drive.

MichaIng commented 4 months ago

You need to grant the motion user or group write access to that directory. Ah, probably this is even the issue, that it only considers partitions it has write access to.

zagrim commented 3 months ago

@rcho5840 were you able to resolve this?