
Mysql is set to strict mode, remove this.

yum install poppler-utils
Also include wkhtmltoimage

Do not install using the YUM package as the FFMPEG is NOT up to date.
Instead we need to install a version with frei0r library.
https://sysadminxpert.com/install-ffmpeg-on-centos-7/
FFMPEG Packages.
https://johnvansickle.com/ffmpeg/
Step 1: Download FFmpeg build tar file
Switch to /opt directory and run below command to download FFmpeg build.
$ cd /opt $ sudo wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
Step 2: Verify FFmpeg tar file using md5sum
$ sudo wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz.md5
$ md5sum -c ffmpeg-git-amd64-static.tar.xz.md5
Step 3: Untar the FFmpeg build
$ sudo tar xvf ffmpeg*.xz
$ cd ffmpeg-*-static
$ ll
Step 4: Create symlink for ffmpeg and ffprobe binaries
NOTE: I also did this for /usr/bin/
$ sudo ln -s "${PWD}/ffmpeg" /usr/local/bin/
$ sudo ln -s "${PWD}/ffprobe" /usr/local/bin/
Test
which ffmpeg
which ffprobe
Install Frei0r
sudo yum -y install frei0r-plugins
Frei0r commands
https://gstreamer.freedesktop.org/documentation/frei0r/frei0r-filter-softglow.html?gi-language=c#frei0rfiltersoftglow-page

I used this, however you can just use python pip, but will need python first.
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
Or python
sudo pip install --upgrade youtube_dl

python3.8 pip install rembg

Do not use YUM - as it installed an old version of Python.


Runs via per script see here.
https://www.geeksforgeeks.org/installing-and-using-exiftool-on-linux/

rabbitmq
https://www.vultr.com/docs/how-to-install-rabbitmq-on-centos-7/
Access interface here
Command for terminal on windows machine - use utilities from start menu - RabbitMQ start / stop
Ensure permissions are set chmod +x rabbit_consumers.sh
Also do it with rabbitmq_media_consumer.php
However you just need to CANCEL the running consumer script which was started by the initial bash to update the consumer.
On the server run $top to see running processes. There will be a CGI script that is running from the bash script called from cron - you must cancel that script, which is the rabbitmq_media_consumer.php find the PID with this command from the bash
ps -ef|grep /home/audasm5/public_html/php/rabbitmq_media_consumer.php |grep -v grep
Ensure the cron job is set
/home/audasm5/public_html/php/rabbit_consumers.sh audasm5
Adding a new vhost.
Add via the rabbitmq admin panel and also add the admin user.
Also add the domain folder name to mysql vhosts in config,. rabbitmq_vhosts in the config settings.
The name is ozhousescom eg /home/ozhousescom - don't forget to add the CRON job to be running it.
So we need to add this folder name as a variable at the end of the call to the shell script.
| * | * | * | * | * | /home/ozfooty/public_html/php/rabbit_consumers.sh ozfooty |
Also ensnure that the sync_check is turned on in the config file if using. force_sync_check is for presentations to sync.
Errors can occur if the mail box is not configured correctly in the config table of the database.

