Closed ektus closed 8 years ago
On Sun, 10 Jan 2016 00:44:21 -0800 ektus notifications@github.com wrote:
I've got pikrellcam running on a RPi 2 with Raspbian Wheezy The media directory is located on a 1TB 2,5" USB hard disk (FAT32) Motion detection works very well, movies and thumbs are stored on the drive, but the web interface says "No files" and "Disk: 00B Free: 00B Used: 00BB (00 %)"
I'm running pikrellcam and motioneye in parallel, pikrellcam with the pi-cam and motioneye with a network cam The drive is mounted statically with an entry in fstab I can view the videos and thumbs by browsing a samba share of the drive, but not from within the pikrellcam web interface
When you fstab mount, are you using umask=0000 ?
The web interface runs from user www-data and needs read/write permissions to be enabled for it. From linux (pikrellcam) permissions cannot be set on a FAT32 and permissions can be set only when the drive is mounted.
Otherwise, could you format the partition you use for pikrellcam media as a linux partition?
I'll have to look up the fstab line, but won't be able to do so prior to next Friday. The fstab line was a copy of the mounttab (sp?) line Raspian Wheezy generated automatically. I can try and format the partition to EXT4, but again not before Friday. I'll post again once I've tried that.
fstab line is
/dev/sda1 /media/TOSHIBA_1TB vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
On Fri, 15 Jan 2016 06:54:50 -0800 ektus notifications@github.com wrote:
fstab line is
/dev/sda1 /media/TOSHIBA_1TB vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0 ``` --- Reply to this email directly or view it on GitHub: https://github.com/billw2/pikrellcam/issues/9#issuecomment-171981608
With the fmask, dmask you have, the read/write permissions are not right.
I think it should work with: fmask=0002,dmask=0002 or as a last resort fmask=0000,dmask=0000
Bill
okay, I'll try, but in the meantime I've got errors and the files system has been remounted read only :-( error message: invalid cluster chain, seems to have happened just now as I was trying to delete some files via the Samba access from my PC.
okay, changing fmask and dmask to 0002 has solved my problem. The web interface is working properly now. Thank You very much.
I've got pikrellcam running on a RPi 2 with Raspbian Wheezy. The media directory is located on a 1TB 2,5" USB hard disk (FAT32). Motion detection works very well, movies and thumbs are stored on the drive, but the web interface says "No files" and "Disk: 0.0B Free: 0.0B Used: 0.0BB (0.0 %)"
I'm running pikrellcam and motioneye in parallel, pikrellcam with the pi-cam and motioneye with a network cam. The drive is mounted statically with an entry in fstab. I can view the videos and thumbs by browsing a samba share of the drive, but not from within the pikrellcam web interface.