outline icon indicating copy to clipboard operation
outline copied to clipboard

Images gone missing on Wiki Pages

Open byebb opened this issue 1 year ago • 5 comments

After a while, sometimes randomly important images get missing and are just not visible anymore. Empty blackholders are there that still show where an image must have been and also what ratio (resolution).

Really important information has been lost.. this is not how it should be, because the wiki has to be reliable for us.

To Reproduce Difficult to reproduce as I do not know why this is happening at all.

Expected behavior I would expect that images that are uploaded once in a document are there clearly visible until I delete them myself.

Screenshots

image

Outline (please complete the following information):

  • Install: self hosted
  • Version: 0.77.0

Desktop:

  • OS: Windows 11
  • Browser: Chrome
  • Version: 125.0.6422.176

byebb avatar Jun 16 '24 20:06 byebb

  • What storage strategy are you using?
  • What does the network request to the image look like, is it an error?
  • You can find the ID of the image and then the matching record in the attachments table to find the path on disk and see if the file is still there.

tommoor avatar Jun 16 '24 21:06 tommoor

This might be similar issue to: https://github.com/outline/outline/issues/7065

lifeofguenter avatar Jun 17 '24 14:06 lifeofguenter

  • What storage strategy are you using?
  • What does the network request to the image look like, is it an error?
  • You can find the ID of the image and then the matching record in the attachments table to find the path on disk and see if the file is still there.

We are using MinIO S3 Storage.

Request URL: https://%website.com%/api/attachments.redirect?id=11a46aae-69f0-4d26-ba4b-1a9cabfdfcdc

From what I can tell, we are getting 500 Errors:

{ok: false, error: "internal_error", status: 500, message: "Internal error"}
error: "internal_error"
message: "Internal error"
ok: false
status: 500

not sure, if this is of any help:

image

--

image

--

As a summary: Attachment redirects are not working based on given IDs.

byebb avatar Jun 20 '24 08:06 byebb

That's helpful in that now we know it's an unexpected server error, you'll need to find the associated error in the server logs and post that though.

tommoor avatar Jun 20 '24 12:06 tommoor