Support

Pre-sales

#40809 Filesystem - Amazon S3

Posted in ‘Pre-sales and Account Questions’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Internetty66 on Wednesday, 26 June 2024 02:38 CDT

Internetty66

Hey there,

hopefully you will be able to help us with regard to much appreciated Plugin "Filesystem - Amazon S3" (Version 1.0.2) we have been using in the past but it is not longer listed in the available products in download area.

Situation:

We are using latest Version Joomla 5.1.1 and have integrated Amazon S3 storage with Joomla!™'s Media Manager.
For this we have configured the underlying Plugin Filesystem - Amazon S3 and entered the required data

Connection type
Amazon S3 Access Key
Secret Key
Bucket
etc.

When we navigate to Media Manager, we can see the local storage and Amazon S3 and we can upload images and we can access/see them in the bucket on Amazon side.

So far so good.

But when navigate to articles -> images and links, then we can only see the local storage with the 'home' image and the directories - but there is no Amazon S3.

How can we now access our images on external storage ?


The only current workaround so far is, to navigate to Media Manager and the three dots (...) and then 'Get the link'.
Copy it and the navigate back to the article and insert picture and paste the link.

This is not user friendly and is complicating everything.


See screenrecording:
https://drive.google.com/file/d/1WmRIEd ... sp=sharing

 

We are looking forward to hearing from you.

 

Best regards

Markus

nicholas
Akeeba Staff
Manager

This is not under the control of our plugin. Our plugin only provides a filesystem driver which, as you said yourself, does work.

By default, Joomla's Images and Links area when editing / creating an article uses Joomla's own image field which opens Media Manager and has access to all filesystem providers. In other words, BY DEFAULT Joomla! works exactly as you would like it to work.

It would appear that you are using a third party extension (e.g. JCE's media manager plugin) which overrides that field in a way that it no longer uses Media Manager, and does not make use of filesystem providers. Do remember that JCE's Media Manager has its own set of filesystem plugins; you need to install and configure JCE's own S3 filesystem plugin (it uses the same library I have written for the S3 Filesystem plugin and Akeeba Backup). Or, you can simply disable JCE's own media manager plugin so you can revert back to Joomla's built-in field which makes use of standard filesystem driver plugins, including our S3 plugin.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Internetty66

Hey there,

thanks for your reply and the valuable information.

I made couple of tests.



1 - Disabled JCE's own media manager plugin to use Joomla's built-in field (called ‘Fields - Media JCE’ )which makes use of standard filesystem driver plugins, including Akeeba Amazon S3 plugin

I found new version of Akeeba Amazon S3 Plugin on https://github.com/akeeba/plg_filesystem_s3/releases

and installed Release 1.1.2 ….but is not working as expected.

While I can see and access the Amazon S3 bucket and all directories, there are unfortunately no files being displayed.

And in addition there seem to be a bug in Joomla Media Manager…… expanding main menu is working fine and you can see the list of directories – but collapsing is not working at all while collapsing the directories is o.k.
For this I am going to raise a forum thread in Joomla.org

See screenrecording:
https://drive.google.com/file/d/1-7AWzlrr7jA3DklmxsCPymMQOfypIFPa/view?usp=sharing


2 - Installed and configure JCE's own S3 filesystem plugin

JCE is not using the Joomla Media Manager but their own so called “JCE - File Browser”

This is working as expected and I can access all the directories and files in our bucket

See screenrecording:
https://drive.google.com/file/d/1ut3C7IcGCGByX544Wjf_Cz1EbdnbTcfx/view?usp=sharing



So bottom line is that the solution with Joomla Media Manager in combination with your Plugin is not working as expected.
With the ‘old’ version of the plugin, I was at least being able to see and access all the files on S3.

 

Best regards

Markus

nicholas
Akeeba Staff
Manager

I really don't know what the problem is with your site. Please take a look at the attached screenshots.

001.png: You can see that I can browse into a bucket and see the images in Media Manager.

002.png: You can see that I am in a new article's Images and Links tab, I have clicked on Intro Image's Select button and I am shown the Media Manager interface for the same folder as you see in 001.png, where I have selected an image.

003.png: After clicking the Select button in the Media Manager modal dialog, I am back in the Images and Links tab where the selected image is now added as the article's Intro Image.

Remember, all of that is controlled by Joomla! itself. The only functionality we provide is that of a filesystem driver, i.e. when Joomla asks for a listing of files we provide it, when Joomla asks to write to a file we upload it, when Joomla asks for the URL to a file we give it one, etc.

You have a problem with the interface, which is the part that has absolutely nothing to do whatsoever with our plugin! That's Joomla's Media Manager.

As for which files are listed, you surely understand that Joomla's Media Manager only shows files it knows are media files. If it thinks your file is not a valid media file it will simply not display it at all. This is how Joomla works, not something our software has any say on. We give Joomla the complete listing of objects (files) and path prefixes (folders) in the S3 location it asks us to. Joomla is what is filtering them out, using its own rules.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Internetty66

Hey Nicholas,

thanks so much for your reply and new tests.

This is very weird indeed and I am going to perform other tests on different Joomla 5 sites to see whether I can reproduce the issues.

Thanks and regards

Markus

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!