I see in both Web UI and desktop sync client.
I am using Plesk installation in my server package. When I use OwnCloud Docker then I do not see this error. I think OwnCloud names chunked files as 113231.file (with .file extension) and somehow those files are not allowed with apache or nginx.
I dont know how to allow those .file extension on the server. Any Idea?
@Mesut I have a question about the step 2, I can see in the webUI the question from rewrite, but how are you doing in the desktop client?, if you replace the file will be removed and created again.
I think it removes the *.file extension part files if the upload successful.
Here is an error output shows *.file extension in my case:
"user":"admin","app":"webdav","method":"MOVE","url":"\/remote.php\/dav\/uploads\/admin\/web-file-upload-4a5fe4ba03874559e005a3a2c6e0302f-1690903784472\/.file","message":"Exception: Call to a member function getId() on null:
Plesk is a server administration tool. For example you can configure the domains, subdomains, PHP, nginx and apache settings through a web ui.
If I configure the server without Plesk then OwnCloud works properly by overriding large files without error.
I have also opened a ticket to Plesk forum and no solution yet:
Thanks @cdamken ,
in desktop client I just override on local machine and I say replace the existing file and then I get the same error during desktop client syncs like I get through web ui:
Probleme ,Datei ,Ordner ,Größe ,Benutzerkonto ,Zeit ,Status ,
Der Server hat "500 Internal Server Error" auf "MOVE https://cloud-geli.de/remote.php/dav/uploads/XXXX/2491902491/.file" geantwortet (Call to a member function getId() on null),
i think there could be some wrong / insufficient configuration from Plesk side in place which prevents overwriting this file. From my knowledge such environments are always a little bit problematic as they often have non-standard configuration for the web server or PHP.
Maybe the following documentation from the ownCloud people could help:
Hi,
thanks for your kind interest.
You are right, some Plesk config create this problem.
I have tried the suggestions on those links, Big File Upload and some other stuff.
I have also created ticket in support forum of Plesk and they say it can be a OwnCloud problem.
I will try to search for a solution on Plesk side.
I have found the source of the problem. I am using Plesk as I had mentioned earlier.
Plesk installs default Nginx and Apache together and uses Nginx as proxy.
Nginx has problem to deal with chunked file as it is also commented on SabreDav source code:
lib/composer/sabre/dav/lib/DAV/Server.php
Line 243 - 248
When I uninstall Nginx through Plesk Admin panel then it uses only Apache and the error goes away.
I do not know to who from OwnCloud should I reach this issue?
It should be somehow documented on system requirements or in README.md that using Nginx as proxy will lead to this issue by overriding existing file which is bigger than 10MB.
Thanks to everybody who took time to show me a direction on this thread.
i’m also using Nginx as a reverse proxy and never faced any issue like this. I still think that this could be something Plesk specific related to the configuration within it (my Nginx is running on a bare Debian installation) and not ownCloud specific so i’m not sure if the ownCloud community is much of a help :-/