OwnCloud - can not read uploaded data

Hi, i found weird problem after last update. I can upload any data to owncloud but can not edit/open/download them.

Nginx error log:

[error] 1142#0: *6206 open() "/home/user-data/www/default/home/user-data/owncloud/tester@test.cz/files/XXXX/test.odt" failed (2: No such file or directory), client: x.x.x.x, server: mx.test.cz, request: "GET /cloud/index.php

So its clear that path /home/user-data/www/default/home/user-data/owncloud/tester@test.cz/files/XXXX/test.odt is wrong.

Right path is /home/user-data/owncloud/tester@test.cz/files/XXXX/test.odt First part of path is wrong /home/user-data/www/default/ and need to be deleted.

How can i fix it?

ownCloud seems to have really messed it up in their latest version: https://github.com/owncloud/core/issues/14976

I’ve added a work-around for the next update of Mail-in-a-Box.

Thanks for pointing out the problem.

Your fix working.

/etc/nginx/conf.d/local.conf

location ^~ /home/user-data/owncloud {

Thank you…