Owncloud APP image preview

Hello everyone,
I’m using Owncloud for Android version 4.5.1 and I have a problem:
I don’t see the photo previews in the grid, I see the default gray icon. If I open the images I see them correctly. In the web interface everything works correctly.

I tried to activate the app logs and the only error I find is this:

D: 2025-04-17 09:09:08:919(LogInterceptor.kt:133)RESPONSE fc93d8e2-e055-4ea6-9e7f-0f2614a780e7 {"response":{"body":{"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL was not found on this server.</p>\n</body></html>\n","length":196},"headers":{"Date":"Thu, 17 Apr 2025 07:09:08 GMT","Server":"Apache","Strict-Transport-Security":"max-age=63072000; includeSubDomains","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Content-Length":"196","Keep-Alive":"timeout=5, max=98","Connection":"Keep-Alive","Content-Type":"text/html; charset=iso-8859-1"},"info":{"id":"fc93d8e2-e055-4ea6-9e7f-0f2614a780e7","method":"GET","reply":{"cached":false,"duration":63,"durationString":"duration(0h, 0min, 0s, 63ms)","status":404,"version":"http/1.1"},"url":"https://xxxxxxxxxx/owncloud/graph/v1.0/me/drives"}}}
E: 2025-04-17 09:09:08:921(GetRemoteSpacesOperation.kt:78)*** status code: 404; response message: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>

Can anyone help me?

sorry for my bad english i hope i was clear.
Thank you very much everyone

Your English is clear! It looks like the app is trying to fetch image previews from a URL that doesn’t exist (404 error). This might be due to a misconfigured path or an issue with the preview generator. Try clearing the app cache, re-logging in, and checking if the preview app is enabled and working properly on your server. Hope it helps!

Hi @Gianmaria!!

Do you see it in every picture? Thumbnails are retrieved from the server, they are not generated locally, and server does not retrieve thumbnails for every format. Anyway, most common picture formats (jpg, png, gif…) should be supported. Which server version are you using?

Thanks!

Hi, thanks a lot for the replies everyone.

I made a small step forward in solving the problem.

If I uninstall the app and reinstall it, the thumbnails appear correctly. It seems that they are lost when the phone cleans the temporary cache of the apps.

I have not found a way in Android to prevent the automatic cleaning from excluding the owncloud app.

My server version is 10.15.2

Hi @Gianmaria! Thanks for your information! :grin: There is an open issue in our GitHub repo ([BUG] Some images previews are visible on web interface and not on Android app · Issue #4443 · owncloud/android · GitHub) with the same problem that you have, so we’ll take a look and try to find if there is a potential solution as soon as posible!

Thank you very much joragua

1 Like