By Andrew Rigg on Friday, 24 September 2021
Posted in Technical Issues
Likes 0
Views 456
Votes 0
I am confused about FFMpeg. I have installed FFMeg on my server via ssh with the resulting path being /usr/bin/ffmpeg.

However, when I input that path into EasySocial, it reports the path as being invalid.

I am running a Ubuntu 20.04 x64 server with Plesk.

"whereis ffmpeg" reports as follows:
ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz

Please advise how to correct this.
Can you check whether you have set up this `open_basedir` PHP directive on your server?

If you have to limit the files that can be accessed by PHP to the specified directory-tree, then you have to add this /usr/bin/ffmpeg into this `open_basedir` as well.

If this is not related to the issue, ensure that your web user (Apache user) have the permission to access this path /usr/bin/ffmpeg .

By the way, you can update your site backend and FTP access at https://stackideas.com/dashboard/site so we can better have a check?
·
Friday, 24 September 2021 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, I have updated the site details, as requested.

If you have to limit the files that can be accessed by PHP to the specified directory-tree, then you have to add this /usr/bin/ffmpeg into this `open_basedir` as well.


Yes, I checked that while following other responses. I have set the open_basedir as /usr/bin/ffmpeg

If this is not related to the issue, ensure that your web user (Apache user) have the permission to access this path /usr/bin/ffmpeg .


I am not sure how to set this. Can you advise?
·
Monday, 27 September 2021 07:46
·
0 Likes
·
0 Votes
·
0 Comments
·
From what I checked your current PHP information, it seems like you haven't updated the open_basedir value to include this /usr/bin/ffmpeg this binary path yet.

You can check my attached screenshot below.

Can you try to append this value :/usr/bin/ffmpeg and see how it goes?
·
Monday, 27 September 2021 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much for that. It appears that I had set the open_basedir in the incorrect area. That is now done and the Joomla System Information is now reporting it as being set.

However, the error still persists.

Please advise how to correct this.
·
Monday, 27 September 2021 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you try to remove that last slash and see how it goes?
·
Monday, 27 September 2021 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow! Thank you so much for that. The last slash was the last issue. All good now.
·
Monday, 27 September 2021 16:05
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Monday, 27 September 2021 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post