• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Owncloud overwriting an existing file whose size > 10MB

entwickler

New Pleskian
Hello,
I have been struggling with a problem since two weeks, yes really since two weeks.
I am using Obsidian 18.0.54
OwnCloud 10.12.2 version
PHP 7.4.30 (Owncloud does not support PHP 8)

I can upload a large file without any problem, even 40MB or 200MB file. I have updated max_upload_***, request timeout, maxbodylength usw.

When I want to override a file more than 10MB then I get an error from OwnCloud: Call to a member function getId() on null.

If I use OwnCloud official Docker Image und run it over plesk then I do not get this error. I even tried local environment with docker and I do not get this error.
I have tried all possible parameters, with nginx and without nginx.
I know that OwnCloud chunks the files which are more than 10MB. There startst the problem. I can override a file without error which is less than 10MB. I do not know what is happening with Plesk PHP by overriding the files which are greater than 10MB, when they are chunked. I can increase the chunk size with OwnCloud config but this is not the point. If I increase chunk size through OwnCloud then I get the same error with OwnCloud Desktop Client, that it can not override the files more than 10MB.

I assume that a configuration with Plesk PHP 7.4 or Plesk Apache or Plesk Nginx is missing. I have googled enough, owncloud github issues usw. There is no solution.

I have tried all suggestions here (which was closed in 2019): File wont synchronize, 500 Error "MOVE" happens instead · Issue #31832 · owncloud/core

I am speechless.

I have tried with Plesk Ubuntu 20.04 and I have tried with Plesk Ubuntu 22.04.

Maybe someone has a suggestion!
 
Hi Peter,
Thanks for your reply.
If I run OwnCloud with Docker under Plesk then there is no error.
I am sure it is not own owncloud issue. If I run OwnCloud locally there is also no issue.

If someone is interested then I can give credentials of Plesk. I am only testing this issue on the server these days, there is no any critical data.
 
Is there any Update from Plesk?
I have created OwnCloud Central a ticket and they confirm that it is not a OwnCloud issue. It is a Plesk issue.
Here is the link to the OwnCloud ticket:


@Peter Debik
 
I'd like to point out that the senior software engineer at Owncloud does not even know what Plesk is (see chat log from above link). I have serious doubts that someone who does not know one of the most famous, biggest, most widely used server control panels has the competence to sugggest that it must be the panel's fault. Not even giving any hint what this could be related to.

We do not have other reports from users that claim the same error on their Owncloud installations on a Plesk server either.

It is thinkable that some specific PHP configuration on your server or some specific security setting causes the issue, but this would be merely a configuration issue. In this case I suggest to contact Plesk ticket support so that they can look into the issue on your server.

To sign-in to support please go to https://support.plesk.com

If you experience login issues, please see this KB article:
https://support.plesk.com/hc/en-us/...rt-plesk-com-and-password-reset-does-not-work

If you bought your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative:
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk-
 
I'd like to point out that the senior software engineer at Owncloud does not even know what Plesk is (see chat log from above link). I have serious doubts that someone who does not know one of the most famous, biggest, most widely used server control panels has the competence to sugggest that it must be the panel's fault. Not even giving any hint what this could be related to.

We do not have other reports from users that claim the same error on their Owncloud installations on a Plesk server either.

It is thinkable that some specific PHP configuration on your server or some specific security setting causes the issue, but this would be merely a configuration issue. In this case I suggest to contact Plesk ticket support so that they can look into the issue on your server.

To sign-in to support please go to https://support.plesk.com

If you experience login issues, please see this KB article:
https://support.plesk.com/hc/en-us/...rt-plesk-com-and-password-reset-does-not-work

If you bought your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative:
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk-
Hi Peter,
Thanks for your explanation.
I will submit a ticket to support.plesk.com and I will see if they have a solution.
When I get a solution I will post here.
 
Hello,

I have found the source of the problem.

Plesk installs default Nginx and Apache together and uses Nginx as proxy.

Nginx has problem to deal with chunked files.

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 Plesk should I reach this issue?

There should be at least an option in admin panel, maybe a check-box that if someone wants to use only Nginx or Apache.

Thanks to everybody who took time to show me a direction on this thread.

I have updated the tickets which I created to OwnCloud:

and

FYI @Peter Debik
 
Back
Top