chrisc
(Chris Croome)
March 28, 2025, 9:08am
29
The Image Guardian plugin doesn’t work with the latest Discourse, I’ve opened an issue for this at GitHub:
opened 09:02AM - 28 Mar 25 UTC
The [latest Discourse](https://meta.discourse.org/t/3-5-0-beta2-review-queue-wel… come-banner-admin-interface-and-more/358151) doesn't work with this plugin with these settings in `containers/app.yml`:
```yaml
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/muhlisbc/discourse-images-guardian.git
- erb /var/www/discourse/plugins/discourse-images-guardian/nginx.sample.conf.erb
> /var/www/discourse/config/nginx.sample.conf
```
Rebuilding the container fails with:
```
** INCOMPATIBLE PLUGIN **
You are unable to start Discourse due to errors in the plugin at
/var/www/discourse/plugins/discourse-images-guardian
Please try removing this plugin and rebuilding again!
```
I did look at using the [Secure uploads](https://meta.discourse.org/t/disallow-anonymous-users-from-viewing-image-file-urls/40335/24) option, but this only works with uploads going to S3:

Is there any chance the plugin could be made to work again @muhlisbc ? Thanks!
I did look at using the Secure uploads option but that requires S3 to be used and on the forum in question this isn’t the case. So it is still needed and hopefully @mbcahyono is able to solve this…