Announcement

#16 2021-01-16 16:05:45

piwigodcp
Member
2021-01-16
1

Re: Video JS Warnings and Notice

I moved my system and as I was troubleshooting little issues I kept searching and finding this post. The issues presented here are primarily caused by selinux not allowing the httpd process access to the executables. The following links helped me with correcting my system.

https://serverfault.com/questions/76032 … in-usr-bin

https://www.digitalocean.com/community/ … ual-hosts-(recommended)

https://access.redhat.com/documentation … ng_denials

the bad dates with mediainfo immediately went away.

errors about not being able to find ffmpeg and don't forget ffprobe and ffplay

then exiftool

Offline

 

#17 2022-05-27 18:35:04

DarkDvr
Member
2022-05-27
1

Re: Video JS Warnings and Notice

I've had the same issues, and here's how I was able to solve it (no errors, everything seems to be working fine so far):

(mind you, I'm still new to Piwigo, so could be a better way)
1. Installed the VideoJS plugin through Piwigo admin panel
2. Deactivated the videojs plugin.
3. Downloaded the videojs 2.8b release from the github.
4. replaced 2 files (and copied permissions) in the plugin directory with those from the downloaded release, example (change your directory paths as needed):

Code:

sudo cd /var/www/html/piwigo/plugins/piwigo-videojs/admin
sudo mv admin_sync.php admin_sync.php.BK
sudo cp /mnt/e/downloads/piwigo-videojs-2.8.b/admin/admin_sync.php .
sudo chown --reference=admin_sync.php.BK admin_sync.php
sudo chmod --reference=admin_sync.php.BK admin_sync.php

cd /var/www/html/piwigo/plugins/piwigo-videojs/include
sudo mv function_dependencies.php function_dependencies.php.BK
sudo cp /mnt/e/downloads/piwigo-videojs-2.8.b/include/function_dependencies.php .
sudo chmod --reference=function_dependencies.php.BK function_dependencies.php
sudo chown --reference=function_dependencies.php.BK function_dependencies.php

So basically I've backed up the 2 error-prone 2.9b files and replaced them with those from 2.8b. No idea what are the differences, but errors are gone. So far syncs in VideoJS and Batch Manager work with no errors. I'll see if I get hidden errors along the line somewhere.

Oh, and don't forget to re-enable the videojs plugin from the piwigo admin panel.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact