WWBN / AVideo-Encoder

Encoder Server for AVideo Platform Open-Source
https://platform.avideo.com
GNU Affero General Public License v3.0
152 stars 189 forks source link

Can't properly install #204

Open cptLamo opened 4 years ago

cptLamo commented 4 years ago

Hi, great work with service, but i have some issue's. First of all, i can't resolve problem with permission for my "videos". I set 777 permission, but alert won't go away. Screenshot_20191230_093126 Screenshot_20191230_093110

I'll try install like this but, as i understand from other issues, there must be created file "configuration.php" in "videos" but there is nothing in there.

My log file: [Fri Dec 27 02:46:55.373439 2019] [php7:warn] [pid 54757] PHP Warning: fopen(/var/www/html/YouPHPTube/videos/configuration.php): failed to open stream: Permission denied in /var/www/html/YouPHPTube/install/checkConfiguration.php on line 156, referer: http://IP/YouPHPTube/install/index.php [Fri Dec 27 02:46:55.373477 2019] [php7:warn] [pid 54757] PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /var/www/html/YouPHPTube/install/checkConfiguration.php on line 157, referer: http://IP/YouPHPTube/install/index.php [Fri Dec 27 02:46:55.373484 2019] [php7:warn] [pid 54757] PHP Warning: fclose() expects parameter 1 to be resource, bool given in /var/www/html/YouPHPTube/install/checkConfiguration.php on line 158, referer: http://IP/YouPHPTube/install/index.php [Fri Dec 27 02:46:55.463044 2019] [php7:notice] [pid 54757] PHP Notice: Undefined variable: global in /var/www/html/YouPHPTube/install/index.php on line 21, referer: http://10.0.5.54/YouPHPTube/install/index.php

If there any suggestions, i'll be glad to hear it. Thank you.

DanielnetoDotCom commented 4 years ago

Looks like you are having problems with the PHP configuration.

I am not sure what type of server do you have and what modules you install.

try to google to find out how to resolve it

JeanDavis91 commented 4 years ago

Really good work. I had this problem on my ubuntu 18.04 LTS server Here is how I solved the problem: If Apache needs to be able to modify content (for a video upload directory for example), we only modify the permission concerning the group (the second number) so: sudo chown $USER:www-data /var/www/tubevideos.test/videos chmod 755 /var/www/tubevideos.test/videos chmod -R g+w /var/www/tubevideos.test/videos

Have a good day