WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.92k stars 974 forks source link

Installation woes. Is this due to 12.x bugs? #6843

Closed walt93 closed 2 years ago

walt93 commented 2 years ago

Describe the question Built a new box to replace the slow VPS encoder, also to run an ad server.

AVideo installation went smoothly, and is running. AVideo encoder installation just locks up, never creates database tables, doesn't have a log that I can find.

Screenshots Screen Shot 2022-07-10 at 11 34 55 AM

I don't know if this is related (because AVideo is obviously happy with the mysql install), but sudo mysql doesn't work on this install without the -p option.

Screen Shot 2022-07-10 at 11 36 18 AM

DanielnetoDotCom commented 2 years ago

Just tested here and the installation works fine;

please check the apache error log

walt93 commented 2 years ago

Bunch of warnings, looks like from the AVideo install?

error.log

[Sun Jul 10 07:59:50.724263 2022] [mpm_prefork:notice] [pid 13572] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Sun Jul 10 07:59:50.724324 2022] [core:notice] [pid 13572] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 08:09:58.088689 2022] [mpm_prefork:notice] [pid 13572] AH00169: caught SIGTERM, shutting down
[Sun Jul 10 08:09:58.150377 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Sun Jul 10 08:09:58.150408 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 08:10:45.535197 2022] [mpm_prefork:notice] [pid 28048] AH00171: Graceful restart requested, doing restart
[Sun Jul 10 08:10:45.551740 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Sun Jul 10 08:10:45.551748 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 08:10:50.002682 2022] [mpm_prefork:notice] [pid 28048] AH00171: Graceful restart requested, doing restart
[Sun Jul 10 08:10:50.020658 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Sun Jul 10 08:10:50.020668 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 08:10:52.948068 2022] [mpm_prefork:notice] [pid 28048] AH00171: Graceful restart requested, doing restart
[Sun Jul 10 08:10:52.973465 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 08:10:52.973484 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 08:10:53.436972 2022] [mpm_prefork:notice] [pid 28048] AH00171: Graceful restart requested, doing restart
[Sun Jul 10 08:10:53.454970 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 08:10:53.454981 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 08:11:34.529114 2022] [authz_core:error] [pid 29056] [client 137.184.103.117:57374] AH01630: client denied by server configuration: /var/www/html/AVideo/server-status
[Sun Jul 10 08:11:48.240384 2022] [php:warn] [pid 28503] [client 65.154.226.166:47524] PHP Warning:  mkdir(): Permission denied in /var/www/html/AVideo/objects/functions.php on line 222
[Sun Jul 10 08:15:28.087871 2022] [php:warn] [pid 28501] [client 51.81.167.146:60394] PHP Warning:  mkdir(): Permission denied in /var/www/html/AVideo/objects/functions.php on line 222
[Sun Jul 10 08:19:26.726992 2022] [php:warn] [pid 29065] [client 99.167.215.181:63136] PHP Warning:  mkdir(): Permission denied in /var/www/html/AVideo/objects/functions.php on line 222
[Sun Jul 10 08:21:43.661757 2022] [mpm_prefork:notice] [pid 28048] AH00171: Graceful restart requested, doing restart
[Sun Jul 10 08:21:43.682656 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 08:21:43.682663 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 08:21:48.107036 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 9 {"webSiteRootURL":"https:\\/\\/pepe.conspyre.tv\\/","systemRootPath":"\\/var\\/www\\/html\\/AVideo\\/","webSiteTitle":"AVideo","databaseHost":"localhost","databasePort":"3306","databaseUser":"root","databasePass":"OtteRoceLotTwelve4seven9R$6","databaseName":"avideo","mainLanguage":"us","systemAdminPass":"os1ris73Ten6plot4twOsix9","contactEmail":"admin@conspyre.tv","createTables":"2"}, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:21:48.107060 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 20, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:21:48.107527 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 33, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:21:48.341696 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 45, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:21:48.341781 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 55, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:21:48.341796 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 57, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:21:48.341830 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 66, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:21:48.342074 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 74, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.397701 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 97, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.397735 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 100, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.402695 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 110, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.457653 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 118, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.458833 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 126, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.524596 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 134, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.529378 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 142, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.589080 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 158, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.647585 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 167, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.647757 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 222, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.647929 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 226, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.647943 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 237, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:22:16.647984 2022] [php:notice] [pid 29306] [client 99.167.215.181:63206] Installation: 241, referer: https://pepe.conspyre.tv/install/index.php
[Sun Jul 10 08:23:07.128086 2022] [authz_core:error] [pid 29327] [client 99.167.215.181:63276] AH01630: client denied by server configuration: /var/www/html/AVideo/videos/userPhoto, referer: https://pepe.conspyre.tv/admin/
sh: 1: /usr/sbin/sendmail: not found
[Sun Jul 10 08:30:04.473555 2022] [autoindex:error] [pid 29337] [client 130.245.169.247:58290] AH01276: Cannot serve directory /var/www/html/AVideo/node_modules/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
[Sun Jul 10 09:29:43.170847 2022] [autoindex:error] [pid 31032] [client 130.245.169.145:60568] AH01276: Cannot serve directory /var/www/html/AVideo/node_modules/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Sun Jul 10 09:29:45.609543 2022] [autoindex:error] [pid 31176] [client 130.245.169.145:33434] AH01276: Cannot serve directory /var/www/html/AVideo/plugin/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Sun Jul 10 09:29:46.595433 2022] [authz_core:error] [pid 29314] [client 130.245.169.145:33796] AH01630: client denied by server configuration: /var/www/html/AVideo/videos
[Sun Jul 10 17:40:08.988314 2022] [mpm_prefork:notice] [pid 28048] AH00171: Graceful restart requested, doing restart
[Sun Jul 10 17:40:09.012562 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 17:40:09.012573 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 17:40:52.043532 2022] [mpm_prefork:notice] [pid 28048] AH00171: Graceful restart requested, doing restart
[Sun Jul 10 17:40:52.064950 2022] [mpm_prefork:notice] [pid 28048] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 17:40:52.064958 2022] [core:notice] [pid 28048] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 17:41:03.508281 2022] [mpm_prefork:notice] [pid 28048] AH00169: caught SIGTERM, shutting down
[Sun Jul 10 17:41:03.574129 2022] [mpm_prefork:notice] [pid 34480] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 17:41:03.574166 2022] [core:notice] [pid 34480] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 17:41:05.208308 2022] [php:warn] [pid 34486] [client 99.167.215.181:57918] 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
[Sun Jul 10 17:41:05.208373 2022] [php:error] [pid 34486] [client 99.167.215.181:57918] PHP Fatal error:  Uncaught Error: 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:18\nStack trace:\n#0 {main}\n  thrown in /var/www/html/AVideo-Encoder/view/index.php on line 18
[Sun Jul 10 17:41:05.314115 2022] [php:warn] [pid 34486] [client 99.167.215.181:57918] PHP Warning:  mkdir(): Permission denied in /var/www/html/AVideo-Encoder/objects/functions.php on line 275
[Sun Jul 10 17:42:18.339131 2022] [mpm_prefork:notice] [pid 34480] AH00169: caught SIGTERM, shutting down
[Sun Jul 10 17:42:18.404136 2022] [mpm_prefork:notice] [pid 34550] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 17:42:18.404172 2022] [core:notice] [pid 34550] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 10 17:42:51.511192 2022] [mpm_prefork:notice] [pid 34550] AH00169: caught SIGTERM, shutting down
[Sun Jul 10 17:42:51.575539 2022] [mpm_prefork:notice] [pid 34609] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Jul 10 17:42:51.575569 2022] [core:notice] [pid 34609] AH00094: Command line: '/usr/sbin/apache2'
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
no crontab for www-data
replace /var/www/html/AVideo/plugin/MP4ThumbsAndGif/getAllMissing.php? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
(EOF or read error, treating as "[N]one" ...)
walt93 commented 2 years ago

I'm seeing an error looking for /var/www/html/AVideo-Encoder/videos/configuration.php

this directory is empty

ubuntu@ns100024:/var/www/html/AVideo-Encoder/videos$ cd /var/www/html/AVideo-Encoder/videos/
ubuntu@ns100024:/var/www/html/AVideo-Encoder/videos$ pwd
/var/www/html/AVideo-Encoder/videos
ubuntu@ns100024:/var/www/html/AVideo-Encoder/videos$ ls -l
total 0

cd /var/www/html/AVIdeo-Encoder find . -name configuration .php

no results from find

DanielnetoDotCom commented 2 years ago

seems to me you did not use git clone to get your AVideo files.

Cannot serve directory /var/www/html/AVideo/node_modules/: No matching DirectoryIndex

please make sure you use git clone

walt93 commented 2 years ago

Daniel I followed this guide https://github.com/WWBN/AVideo/wiki/How-to-install-LAMP,-FFMPEG-and-Git-on-a-fresh-Ubuntu-20.x-for-AVideo-Platform-version-11.x-or-newer

ubuntu@ns100024:/var/www/html/AVideo-Encoder$ pwd
/var/www/html/AVideo-Encoder
ubuntu@ns100024:/var/www/html/AVideo-Encoder$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
ubuntu@ns100024:/var/www/html/AVideo-Encoder$ git show origin
commit 00e9dd3bc91ec39a961908eedb2f0fbc89c151ed (HEAD -> master, origin/master, origin/HEAD)
Author: daniel <daniel@daniel-DC1A-S>
Date:   Fri Jul 8 13:17:54 2022 -0300

    https://github.com/WWBN/AVideo-Encoder/issues/444

diff --git a/view/index_configurations.php b/view/index_configurations.php
index 2627b89..77d54dd 100644
--- a/view/index_configurations.php
+++ b/view/index_configurations.php
@@ -16,7 +16,7 @@ if (Login::isAdmin()) {
                 }
                 ?>
                 <div class="input-group input-group-sm">
-                    <span class="input-group-addon"><?php echo $value['name']; ?></span>
+                    <span class="input-group-addon">[<?php echo $value['id']; ?>] <?php echo $value['name']; ?></span>
                     <input type="text" class="form-control formats" placeholder="Code" id="format_<?php echo $value['id']; ?>" value="<?php echo htmlentities($value['code']); ?>">
                 </div>
                 <?php
ubuntu@ns100024:/var/www/html/AVideo-Encoder$
walt93 commented 2 years ago
ubuntu@ns100024:/var/www/html/AVideo-Encoder$ cd  /var/www/html/AVideo/node_modules
ubuntu@ns100024:/var/www/html/AVideo/node_modules$ ls
@babel       @lezer       @xmldom        can-autoplay  codemirror  dexie              ev-emitter      fontawesome-free  infinite-scroll  jquery-lazy          jquery-ui-dist  m3u8-parser   moment-timezone  pkcs7             regenerator-runtime  style-mod   tinymce-langs  videojs-contrib-ads  videojs-vtt.js    wow.js
@codemirror  @silvermine  aes-decrypter  chart.js      crelt       dom-walk           extend          global            is-function      jquery-toast-plugin  js-cookie       min-document  mpd-parser       process           rust-result          sweetalert  url-toolkit    videojs-font         w3c-keyname
@hapi        @videojs     animate.css    class.extend  croppie     es6-object-assign  fizzy-ui-utils  individual        jquery           jquery-ui            keycode         moment        mux.js           promise-polyfill  safe-json-parse      tinymce     video.js       videojs-ima          webcomponents.js
ubuntu@ns100024:/var/www/html/AVideo/node_modules$ cd ..
ubuntu@ns100024:/var/www/html/AVideo$ ls -alfg
total 376
drwxr-xr-x  2 root       4096 Jul 10 08:00 updatedb
-rw-r--r--  1 root       4006 Jul 10 08:00 Dockerfile
-rw-r--r--  1 root      47101 Jul 10 08:00 package-lock.json
-rw-r--r--  1 root        290 Jul 10 08:00 sw.js
drwxr-xr-x  2 root       4096 Jul 10 08:00 locale
drwxr-xr-x  4 root       4096 Jul 10 08:00 .github
drwxr-xr-x  9 root       4096 Jul 10 08:00 view
drwxr-xr-x 87 www-data   4096 Jul 10 18:29 plugin
-rw-r--r--  1 root      14679 Jul 10 08:00 README.md
drwxr-xr-x  3 root       4096 Jul 10 08:00 admin
drwxr-xr-x  2 root       4096 Jul 10 08:00 feed
drwxr-xr-x 17 root       4096 Jul 10 08:22 .
drwxr-xr-x  8 root       4096 Jul 10 08:00 .git
drwxr-xr-x  3 root       4096 Jul 10 08:00 storage
-rw-r--r--  1 root        256 Jul 10 08:00 .editorconfig
-rw-r--r--  1 root         15 Jul 10 08:00 CNAME
-rw-r--r--  1 root       1539 Jul 10 08:00 docker-compose.yml
-rw-r--r--  1 root       1536 Jul 10 08:00 composer.json
-rw-r--r--  1 root        936 Jul 10 08:00 web.config
-rw-r--r--  1 root        469 Jul 10 08:00 git.json.php
drwxr-xr-x 34 root       4096 Jul 10 08:00 vendor
drwxr-xr-x 61 root       4096 Jul 10 08:00 node_modules
drwxr-xr-x  3 root       4096 Jul 10 08:00 deploy
drwxr-xr-x  4 root       4096 Jul 10 08:11 ..
drwxr-xr-x  4 www-data   4096 Jul 10 08:24 videos
-rw-r--r--  1 root     160477 Jul 10 08:00 composer.lock
drwxr-xr-x  2 root       4096 Jul 10 08:00 .vscode
-rw-r--r--  1 root       1814 Jul 10 08:00 .gitignore
-rw-r--r--  1 root      19939 Jul 10 08:00 .htaccess
-rw-r--r--  1 root        380 Jul 10 08:00 .gitattributes
-rw-r--r--  1 root         27 Jul 10 08:00 _config.yml
drwxr-xr-x  2 root       4096 Jul 10 08:00 objects
-rw-r--r--  1 root        127 Jul 10 08:00 env.example
-rw-r--r--  1 root       4242 Jul 10 08:00 index.php
-rw-r--r--  1 root       1155 Jul 10 08:00 LICENSE
-rw-r--r--  1 root        768 Jul 10 08:00 package.json
walt93 commented 2 years ago

Also, that's in /var/www/html/AVideo

I got the AVideo install working

It's the AVideo-Encoder that is not.

Screen Shot 2022-07-10 at 12 52 21 PM

DanielnetoDotCom commented 2 years ago

try to git pull the encoder then

walt93 commented 2 years ago
ubuntu@ns100024:/var/www/html/AVideo-Encoder$ sudo git pull
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
Unpacking objects: 100% (4/4), 437 bytes | 62.00 KiB/s, done.
From https://github.com/WWBN/AVideo-Encoder
   00e9dd3..1c2bc93  master     -> origin/master
Updating 00e9dd3..1c2bc93
Fast-forward
 view/index.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

And try to install the encoder again... and it just hangs & does not create a database.

Screen Shot 2022-07-10 at 12 58 34 PM .

Looks like its definitely logging an error because of no configuration.php

[Sun Jul 10 19:22:16.052673 2022] [php:warn] [pid 34630] [client 99.167.215.181:60512] 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
[Sun Jul 10 19:22:16.052761 2022] [php:error] [pid 34630] [client 99.167.215.181:60512] PHP Fatal error:  Uncaught Error: 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:18\nStack trace:\n#0 {main}\n  thrown in /var/www/html/AVideo-Encoder/view/index.php on line 18
[Sun Jul 10 19:25:29.707959 2022] [php:warn] [pid 35333] [client 99.167.215.181:60691] 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
[Sun Jul 10 19:25:29.708065 2022] [php:error] [pid 35333] [client 99.167.215.181:60691] PHP Fatal error:  Uncaught Error: 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:18\nStack trace:\n#0 {main}\n  thrown in /var/www/html/AVideo-Encoder/view/index.php on line 18
[Sun Jul 10 19:25:32.515379 2022] [php:warn] [pid 35333] [client 99.167.215.181:60691] 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
[Sun Jul 10 19:25:32.515456 2022] [php:error] [pid 35333] [client 99.167.215.181:60691] PHP Fatal error:  Uncaught Error: 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:18\nStack trace:\n#0 {main}\n  thrown in /var/www/html/AVideo-Encoder/view/index.php on line 18
[Sun Jul 10 19:52:12.554030 2022] [authz_core:error] [pid 35332] [client 99.167.215.181:61644] AH01630: client denied by server configuration: /var/www/html/AVideo/videos/fonts, referer: https://pepe.conspyre.tv/user?redirectUri=https%3A%2F%2Fpepe.conspyre.tv%2Fview%2F&msg=&comebackhere=1
[Sun Jul 10 19:52:12.882672 2022] [authz_core:error] [pid 34940] [client 99.167.215.181:61647] AH01630: client denied by server configuration: /var/www/html/AVideo/videos/fonts, referer: https://pepe.conspyre.tv/user?redirectUri=https%3A%2F%2Fpepe.conspyre.tv%2Fview%2F&msg=&comebackhere=1
[Sun Jul 10 19:52:12.964832 2022] [authz_core:error] [pid 34940] [client 99.167.215.181:61647] AH01630: client denied by server configuration: /var/www/html/AVideo/videos/fonts, referer: https://pepe.conspyre.tv/user?redirectUri=https%3A%2F%2Fpepe.conspyre.tv%2Fview%2F&msg=&comebackhere=1
[Sun Jul 10 19:52:13.050084 2022] [authz_core:error] [pid 34616] [client 99.167.215.181:61643] AH01630: client denied by server configuration: /var/www/html/AVideo/videos/fonts, referer: https://pepe.conspyre.tv/user?redirectUri=https%3A%2F%2Fpepe.conspyre.tv%2Fview%2F&msg=&comebackhere=1
DanielnetoDotCom commented 2 years ago

Looks like you do not have permission to write on /var/www/html/AVideo-Encoder/videos

try to run the chmod -R 777 /var/www/html/AVideo-Encoder/videos

drop the encoder database and try again

walt93 commented 2 years ago

Daniel I tried this, and it didn't change anything. It looks like I already did that to clear the "Your videos director is not writable" error on the install page. There was no encoder database to drop because it's not creating one. The errors that it's throwing are thrown in /var/www/html/AVideo-Encoder/view/index.php on line 18 That code is:

require_once $config;

error log says:

/var/www/html/AVideo-Encoder/view/../videos/configuration.php

when I cd into /var/www/html/AVideo-Encoder/videos and look - there are no files - no configuration.php - believe this is the error?

walt93 commented 2 years ago
ubuntu@ns100024:/var/www/html/AVideo$ cat /var/www/html/AVideo-Encoder/view/../videos/configuration.php
cat: /var/www/html/AVideo-Encoder/view/../videos/configuration.php: No such file or directory
ubuntu@ns100024:/var/www/html/AVideo$ cd /var/www/html/AVideo-Encoder/view/../videos/
ubuntu@ns100024:/var/www/html/AVideo-Encoder/videos$ pwd
/var/www/html/AVideo-Encoder/videos
ubuntu@ns100024:/var/www/html/AVideo-Encoder/videos$ ls -l
total 0
ubuntu@ns100024:/var/www/html/AVideo-Encoder/videos$
walt93 commented 2 years ago

I've installed it twice, first time I pushed an SSH key to the server during install, and the install blew apart because root didn't have a password. I managed to finagle it & AVideo installed, but, AVideo-Encoder was blowing up.

This is the second try, and I started with no SSH key and root account having a password. I can get AVideo to install…

How badly am I going to blow this install if I copy the configuration.php from my other encoder?

DanielnetoDotCom commented 2 years ago

Maybe it works if the database was installed

walt93 commented 2 years ago

Yeah copying the configuration.php was (obviously) not the right way to go.

I can't figure why it can't get to the DB Daniel, AVideo is happy with it. Check your e-mail.

walt93 commented 2 years ago

Oh, one "bug" I can report. On the install page for the encoder - the instructions it gives for creating the videos directory don't have sudo in them for the chown/chmod so you can't copy/pasta .. might save someone four seconds down the road.

Screen Shot 2022-07-10 at 1 48 10 PM .

DanielnetoDotCom commented 2 years ago

Copy the DB may also work

but that is what was missing the permission

I will add the sudo on the command line, thanks

walt93 commented 2 years ago

Maybe the way I had the DNS setup? Closing, we blew away that messed up install…