-
Notifications
You must be signed in to change notification settings - Fork 189
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
I cant install the encoder #502
Comments
@DanielnetoDotCom I tried to install it and see what could be his issue and it seems there is a bug and it is a CORS issue |
I fixed it. i deployed core script running apache after that i install the encoder pointed in my core script running apache. after that i add my main core running nginx and i edit as a admin in streamer in encoder section. |
found the problem it is in the streamers .htaccess .... BEGIN CachingHeader set Access-Control-Allow-Origin: * Header set Access-Control-Allow-Origin: * Header set Cache-Control "max-age=2592000, public" Header set Access-Control-Allow-Origin: * Header set Cache-Control "max-age=604800, public" Header set Access-Control-Allow-Origin: * Header set Cache-Control "max-age=216000, private" Header set Cache-Control "max-age=216000, public, must-revalidate" Header set Access-Control-Allow-Origin: * Header set Cache-Control "max-age=1, private, must-revalidate" # END Cachingsave it and all cors problems are solved |
where in .htaccess in core? do you have full .htaccess? please. |
`Options -Indexes RewriteEngine on
|
htaccess.txt |
Sorry I am not getting the point here, could you make the cors work in a cross-site domain? |
The multiple cors problem is because of the .htaccess entries once removed there is no longer a cross domain problem and all will install without problems i have already changed the htaccess file for the streamer as that is where the problems are |
How to bypass error page for encoder script? Error. Oops you've encountered an error Find the section <directory /var/www/html> and change AllowOverride None to AllowOverride All sudo nano /etc/apache2/apache2.conf <Directory /var/www/> sudo a2enmod rewrite sudo /etc/init.d/apache2 restart sudo service apache2 restart |
in ssh or commandline copy and paste these 2 commands |
Im using nginx i install my encoder script in sub folder for my core script. |
Nginx does not use rewrite recommended is apache |
All media in my core script are HLS format. apache are not good for serving HLS i think. |
nginx configurationlocation ~ 404 { location ~ ^/.*.log$ { location / { location = /index.php { location = /isAdmin { location = /watermark { location /videosListToLiv { location = /removeStreamer { location = /priority { location = /status { location = /serverStatus { location = /upload { location = /listFiles.json { location = /deleteQueue { location = /saveConfig { location = /youtubeDl.json { location = /send.json { location = /streamers.json { location = /queue.json { location = /queue { location = /login { location = /logoff { location /getSpiritsFromVideo { location /getLinkInfo { location /avideo.log { |
My encoder script location are here /var/www/html/encoder . so where location block i add that directive? |
no leave as is and that is for the streamer not the encoder |
nginx configuration encoderautoindex off; location ~ 404 { location ~ ^/.*.log$ { autoindex off; location / { location = /index.php { location = /isAdmin { location = /watermark { location /videosListToLiv { location = /removeStreamer { location = /priority { location = /status { location = /serverStatus { location = /upload { location = /listFiles.json { location = /deleteQueue { location = /saveConfig { location = /youtubeDl.json { location = /send.json { location = /streamers.json { location = /queue.json { location = /queue { location = /login { location = /logoff { location /getSpiritsFromVideo { location /getLinkInfo { location /avideo.log { |
if that does not work add this to the location block. /var/www/html/encoder |
I cant install the encoder if the core script are configured for the server running nginx, php8.1 and mariadb.
Please add this update.
The text was updated successfully, but these errors were encountered: