On 01.04., LÉVAI Dániel wrote:
> Hey Bruno!
>
Hi Dani
> That's the most curious thing, nothing shows up in the logs when the app
> says "Download failed/Could not download <filename>".
> Tailing httpd's errorlog and Nextcloud's data/nextcloud.log yields
> nothing.
Have you checked the access log of httpd(8) too? If it is a http errror
4xx it will show up there, not in the error log.
> Raising loglevel for Nextcloud to debug only shows some image cache
> misses:
> {"reqId":"Wi7JHnvwCWAwkFbOr49Y","level":0,"time":"2019-04-01T13:06:41+00:00","remoteAddr":"IP","user":"username","app":"no
> app in
> context","method":"GET","url":"\/nextcloud\/ocs\/v2.php\/apps\/activity\/api\/v2\/activity\/filter?format=json&previews=true&sort=desc&object_type=files&object_id=213","message":"No
> cache entry found for \/appdata_ocvxn2n1q9gp\/theming\/images (storage:
> local::\/htdocs\/nextcloud\/data\/, internalPath:
> appdata_ocvxn2n1q9gp\/theming\/images)","userAgent":"Mozilla\/5.0 (Android)
> ownCloud-android\/3.5.1","version":"15.0.5.3"}
>
> I don't believe it's related, though.
>
Me neither. Do you see at least log entries for the connection from the
app to your Nextcloud?
>
> I can upload anything from the app, and I can do (even download)
> anything on Nextcloud's web UI. It's just the Android app that can't
> download anything. I thought that maybe this has still something to do
> with httpd(8) -- but it seems not :-\
>
How does your setup look like in detail? Any layer 7 proxy in front of
your Nextcloud?
>
> Dani
>
Cheers,
Bruno