How to debug broken images in posts
Hi !Friendica Support
I set up a Friendica server couple days ago. We have seen couple times a problem where an image attached to a post is visible only to the author of the post. This doesn't happen all the time or for all the images, but has happened to multiple users. If the image is shown broken once, it will stay broken. All the users are on the same server.
- As far as I know, this has happened only in private posts.
- Same person has posted both an image I can see and an image I can't see.
- As the author can see the image in the post, the data definitely is on the server and even accessible from the UI.
- Editing the post and re-adding the image didn't fix the problem.
The error message shown when trying to open a broken image is:
Not Found
The Photo with id 1181454791679d39a348725148987421 is not available.
#0 /var/www/html/src/BaseModule.php(230): Friendica\Module\Photo->rawContent()
#1 /var/www/html/src/Module/BaseApi.php(95): Friendica\BaseModule->run()
#2 /var/www/html/src/App.php(668): Friendica\Module\BaseApi->run()
#3 /var/www/html/index.php(32): Friendica\App->runFrontend()
#4 {main}
Request: 679debda529e1
Server info:
This is Friendica, version 2024.12 that is running at the web location https://capybara.community. The database version is 1576/1576, the post update version is 1550/1550.
Any ideas what could be wrong or how to continue debugging this?
(I'll be able to investigate this now for couple hours. After that I'll have to come back to this on Monday.)
I set up a Friendica server couple days ago. We have seen couple times a problem where an image attached to a post is visible only to the author of the post. This doesn't happen all the time or for all the images, but has happened to multiple users. If the image is shown broken once, it will stay broken. All the users are on the same server.
- As far as I know, this has happened only in private posts.
- Same person has posted both an image I can see and an image I can't see.
- As the author can see the image in the post, the data definitely is on the server and even accessible from the UI.
- Editing the post and re-adding the image didn't fix the problem.
The error message shown when trying to open a broken image is:
Not Found
The Photo with id 1181454791679d39a348725148987421 is not available.
#0 /var/www/html/src/BaseModule.php(230): Friendica\Module\Photo->rawContent()
#1 /var/www/html/src/Module/BaseApi.php(95): Friendica\BaseModule->run()
#2 /var/www/html/src/App.php(668): Friendica\Module\BaseApi->run()
#3 /var/www/html/index.php(32): Friendica\App->runFrontend()
#4 {main}
Request: 679debda529e1
Server info:
This is Friendica, version 2024.12 that is running at the web location https://capybara.community. The database version is 1576/1576, the post update version is 1550/1550.
Any ideas what could be wrong or how to continue debugging this?
(I'll be able to investigate this now for couple hours. After that I'll have to come back to this on Monday.)
Michael Vogel
•Esko Arajärvi
•Michael Vogel
•Esko Arajärvi
•Esko Arajärvi
•How I would have assumed it to work: When an image is added to a post, the image inherits the visibility permissions of the post.