Open gbrn opened 2 years ago
Please check Apache error log
[Sat Jun 04 15:21:56.045878 2022] [mpm_prefork:notice] [pid 27741] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jun 04 15:21:56.045952 2022] [core:notice] [pid 27741] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 04 15:22:00.528196 2022] [php7:warn] [pid 27746] [client 177.149.157.189:52656] PHP Warning: require_once(/var/www/html/AVideo-Encoder/view/../videos/configuration.php): failed to open stream: No such file or directory in /var/www/html/AVideo-Encoder/view/index.php on line 18
[Sat Jun 04 15:22:00.528253 2022] [php7:error] [pid 27746] [client 177.149.157.189:52656] PHP Fatal error: require_once(): Failed opening required '/var/www/html/AVideo-Encoder/view/../videos/configuration.php' (include_path='.:/usr/share/php') in /var/www/html/AVideo-Encoder/view/index.php on line 18
[Sat Jun 04 15:22:00.712728 2022] [php7:warn] [pid 27746] [client 177.149.157.189:52656] PHP Warning: mkdir(): Permission denied in /var/www/html/AVideo-Encoder/objects/functions.php on line 275
[Sat Jun 04 15:22:04.555679 2022] [php7:warn] [pid 27749] [client 207.241.232.90:56666] PHP Warning: mkdir(): Permission denied in /var/www/html/AVideo-Encoder/objects/functions.php on line 275
[Sat Jun 04 16:01:01.076662 2022] [mpm_prefork:notice] [pid 27741] AH00169: caught SIGTERM, shutting down
[Sat Jun 04 16:01:01.215115 2022] [mpm_prefork:notice] [pid 27978] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Jun 04 16:01:01.215188 2022] [core:notice] [pid 27978] AH00094: Command line: '/usr/sbin/apache2'
@DanielnetoDotCom I have already done and redone all the steps of the wiki and videos for installation. I have mounted and unmounted the server and the problem is always the same. I'm using AWS. An attempt to get a solution from the public encoder, because I'm not able to use it due to current problems.
seems to me you are missing some permisisons
try this
mkdir /var/www/html/AVideo-Encoder/videos
chmod -R 777 /var/www/html/AVideo-Encoder/videos
make sure the database is not created on the MySQL and let the script installer create it
Yes, I run the permissions on the initial install.
But about the MySQL database, there's a detail, I'm using a database from another server, outside of AWS. But I'm letting the script create everything, I just indicate the URL, database name, username, password.
Do you think this works?
Have you ever tested an installation on AWS?
But about the MySQL database, there's a detail, I'm using a database from another server, outside of AWS. But I'm letting the script create everything, I just indicate the URL, database name, username, password.
Try to modify the script to point to the remote database
Have you ever tested an installation on AWS?
Yes, I did install encoders on AWS many times
As for modifying the Script, you say after running the installer? Why can't I find the files created on installation. Apparently it doesn't quite create the files.
Sorry, forget about modifying, I got confused on the issue.
you should be able to install using a separate server for the database.
@DanielnetoDotCom Doing a search in Issues, I saw that these errors are recurrent.
I'm using Ubuntu 18... I'll try with Ubuntu 20.
Could you tell me why these specific errors happen?
PHP Warning: require_once(/var/www/html/AVideo-Encoder/view/../videos/configuration.php): failed to open stream: No such file or directory in /var/www/html/AVideo-Encoder/view/index.php on line 18
PHP Fatal error: require_once(): Failed opening required '/var/www/html/AVideo-Encoder/view/../videos/configuration.php' (include_path='.:/usr/share/php') in /var/www/html/AVideo-Encoder/view/index.php on line 18
PHP Warning: mkdir(): Permission denied in /var/www/html/AVideo-Encoder/objects/functions.php on line 275
That is why I wrote you this
https://github.com/WWBN/AVideo-Encoder/issues/438#issuecomment-1147439172
Now using a new Ubuntu 20 server... same error...
I executed all the permissions given, configured Apache as requested:
/var/www/html/AVideo-Encoder$ ls -l
total 96
-rwxrwxrwx 1 root root 23 Jun 6 20:44 CNAME
-rwxrwxrwx 1 root root 2964 Jun 6 20:44 Dockerfile
-rwxrwxrwx 1 root root 34520 Jun 6 20:44 LICENSE
-rwxrwxrwx 1 root root 8580 Jun 6 20:44 README.md
-rwxrwxrwx 1 root root 26 Jun 6 20:44 _config.yml
drwxrwxrwx 3 root root 4096 Jun 6 20:44 deploy
-rwxrwxrwx 1 root root 3797 Jun 6 20:44 index.php
drwxrwxrwx 2 root root 4096 Jun 6 20:44 install
drwxrwxrwx 2 root root 4096 Jun 6 20:44 model
drwxrwxrwx 2 root root 4096 Jun 6 20:44 nbproject
drwxrwxrwx 2 root root 4096 Jun 6 20:44 objects
drwxrwxrwx 2 root root 4096 Jun 6 20:44 update
drwxrwxrwx 2 www-data www-data 4096 Jun 6 20:51 videos
drwxrwxrwx 8 root root 4096 Jun 6 20:44 view
Can you help me to verify if these permissions are enough for the system?
PHP Warning: require_once(/var/www/html/AVideo-Encoder/view/../videos/configuration.php): failed to open stream: No such file or directory in /var/www/html/AVideo-Encoder/view/index.php on line 18
PHP Fatal error: require_once(): Failed opening required '/var/www/html/AVideo-Encoder/view/../videos/configuration.php' (include_path='.:/usr/share/php') in /var/www/html/AVideo-Encoder/view/index.php on line 18
PHP Warning: mkdir(): Permission denied in /var/www/html/AVideo-Encoder/objects/functions.php on line 275
the permission seems to be correct. so I am not sure what is failing
check the videos/cofiguration.php file permission.
I have the same Issue but what i have seen is following Message in the console from Web Browser:
Access to XMLHttpRequest at 'https://tv.xxx.de/login' from origin 'https://encoder.xxx.de' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://encoder.xxx.de, *', but only one is allowed.
@DanielnetoDotCom
I can't get past this "Processing..." bar, it doesn't show any error. How can I know what's going on?