Skip to main content


@Friendica Support Let's assume a post with in my country illegal media hit my instance. How do I remove and block the post AND all media under /photo/media which was locally generated in the instance cache in order to prevent that the media is still served through my instance?
I could not really find a solution for this. 🤔
in reply to Matthias

@Matthias Yes, this blocks the whole server. But this seems a bit too much when only one account is not behaving.
Using the "Delete Item" tool seems to remove the post only but not the associated media.
in reply to Jonas ✅

@Jonas ✅
Ok, understood. Delete Item should delete the entire content, including images or attachments. It can then no longer be accessed via your server.
in reply to Jonas ✅

If you have direct access to the server, you can take note of the route to the file and delete it in the corresponding folder of the filesystem.

Friendica Support reshared this.

in reply to Carlos Solís

@Carlos Solís I had a look at it but this doesn't seem to be that easy. You have to search for the file in a folder structure like
00 06 0c 12 18 1e 24 2a 30 36 3c 42 48 4e 54 5a 60 66 6c 72 78 7e 84 8a 90 96 9c a2 a8 ae b4 ba c0 c6 cc d2 d8 de e4 ea f0 f6 fc
while only having only an ID consisting of x numbers.
Or is there a way to get the location of the file in the filesystem.
This entry was edited (2 months ago)

Friendica Support reshared this.

in reply to Matthias

@Matthias Yes, but you have to be sure to cover all possible links like generated thumbnails etc.
And neverthelessthe content is still somewhere in the filesystem.

Friendica Support reshared this.

in reply to Jonas ✅

You can copy-paste the route and substitute the header. E.g.

https://hub.azkware.net/avatar/1f8/18d5ab79e9080d577fae7c8a1aed-320.jpeg?ts=1739347661

would reside in

/var/www/friendica/avatar/1f8/18d5ab79e9080d577fae7c8a1aed-320.jpeg

so you would just run the command

rm -rf /var/www/friendica/avatar/1f8/18d5ab79e9080d577fae7c8a1aed*

Friendica Support reshared this.

in reply to Carlos Solís

@Carlos Solís How does this work with images embedded in the posts? For me the URI for an image looks like this:
social.johnassel.de/photo/medi…

Friendica Support reshared this.

in reply to Jonas ✅

@Jonas ✅ In that case you would need to check the database table for the entry. Let me go back home to post the exact table to check.
in reply to Jonas ✅

External media is not cached on your system. The system only works as a proxy without a cache.

Friendica Support reshared this.