-
-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rpi Cam interface not working, possibly permission error #3431
Comments
Update : changing the permission of rpicam folder into www-data seems to fix the issue (chown -hR www-data:www-data), although I don't know if this the recommended way. |
@arkhub
|
+ DietPi-Software | RPi Cam Control: Fix permissions: #3431 + DietPi-Software | RPi Cam Control: Update permissions based on new official installer: https://github.com/silvanmelchior/RPi_Cam_Web_Interface/blob/master/install.sh + DietPi-Software | RPi Cam Control/MotionEye: Enhance uninstall and minor coding
As-is V6.28.0 installation with ProFTP and RPI Cam Web Interface: Cannot view RPI Cam Web Interface page.
RPI Cam Web Interface now shows up and works STILL NOT WORKING: 404 error when trying to download any recorded videos or Gzipped videos. Note that preview images do appear. I think this is another related permissions issue. |
@dsalgueiro
Omit any actual file names in case for your privacy, I am only interested in the user/modes of the contained files. The videos should be stored there and need to be readable by www-data user. |
Here's what I get with that:
I previously deleted several motion triggered recordings and the video / downloads page only shows one video now. I am wondering if the web cam interface page also can't delete the actual recordings. |
@dsalgueiro |
Correct, the only video shown is in the top 2 files, first one is the video, second one is a thumbnail. This is what shows up in the web browser navigation space that gives the 404 result: ---Wait a sec. The video file is supposed to be a .h264, not mp4. When I navigate to I can download the video when I navigate to the .h264 extension. Please also note that I can delete the videos from the web interface. I was wrong that the files didn't delete. Update, It's all working now. |
Creating a bug report/issue
Required Information
Additional Information (if applicable)
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
After reviewing error.log in lighttpd, here is the first error encountered
(mod_fastcgi.c.421) FastCGI-stderr: PHP message: PHP Warning: fopen(/var/www/rpicam/scheduleLog.txt): failed to open stream: Permission denied in /var/www/rpicam/config.php on line 66PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/rpicam/config.php on line 68PHP message: PHP Warning: fclose() expects parameter 1 to be resource, bool given in /var/www/rpicam/config.php on line 69PHP message: PHP Warning: fopen(/var/www/rpicam/scheduleLog.txt): failed to open stream: Permission denied in /var/www/rpicam/config.php on line 66PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/rpicam/config.php on line 68PHP message: PHP Warning: fclose() expects parameter 1 to be resource, bool given in /var/www/rpicam/config.php on line 69
The text was updated successfully, but these errors were encountered: