-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When uploading: error doing PATCH request to data gateway #10156
Comments
@yuri-becker I guess we need more information
If that user has write permissions on the volumes/directories it shouldn't. |
@rhafer Thanks for your reply.
|
Hm, there's tons of Also, can you check what Could you by chance try if a clean setup of ocis 6.4.0 (using separate volumes) shows the same behavior on your system? BTW, was the behavior broken from the beginning? Or could you sucessfully upload files at some point before? |
Yea, OCIS is producing a high CPU load constantly without user interaction, possibly because of re-trying to delete uploads over and over. |
Does that mean the sessions are still visible after To get the nats servcie back into a sane state you could try to clear the
What does "after a few tries" mean here? Which release is that fresh install using? Also what kind of machine is this running on? How much RAM what kind of CPU, storage, etc. |
The table was empty afterwards.
That seemed to have fixed it temporarily. Once i try to upload a "larger" file (19MB), it goes back to being broken again.
Fails twice, then upload succeeds on the third try. Then fails twice again and succeeds on the third try once more. That was only a <1MB file tho.
I have 43 TB free storage, 126GB of RAM (of which 14GB is used) and a Xeon E5-1650 v3 (6 cores at 3.8 Ghz). EDIT: The fresh install was using the same release, I'm running OCIS in Docker and it should pull the latest version daily. |
We've recently introduced the so-called rolling releases which we publish roughly every 3 weeks (see https://owncloud.dev/ocis/release_roadmap/#release-types) . They go to a different docker repo: https://hub.docker.com/r/owncloud/ocis-rolling it might be helpful to check if the issue still appears with that latest release from there (which is 6.4.0) |
The issue still persists on 6.4.0. |
Ok, thanks for trying. Could you please set |
Done, funnily enough, on this install, I wasn't able to upload even small files. |
Ok. I think that gets us a bit further I think. I can see a couple of successful uploads. But there is also at least one upload failing:
As part of the TUS upload processing Do you have any logs from your reverse proxy from around that time? If not, you might wanna increase the log level of the reverse proxy and reproduce the issue once more. |
I havn't been logging but enabled logging and re-tried uploads. Here you go. Thanks again for all your help. |
@yuri-becker Which caddy release are you using? And why are you setting:
Does it work without those, by chance? (The docs say those should only be used if really really needed) |
@rhafer Without these, everything seems to work as it should. Thank you for your help. I would be curious if the same issue exists on nginx, but I might also have not set something in Caddy that I should have with this. |
Describe the bug
File uploads via the web ui fail and the server has a high CPU usage without any user activity.
Steps to reproduce
Try to upload a file via the web ui.
Expected behavior
The upload succeedes and the file is available.
Actual behavior
Upload fails with
Unknown Error
. For other users, the upload seemes to have succeded, but the file is grayed out and not available.The log the contains entries like this:
Also, this log keeps popping up
Setup
The server is managed via Ansible.
The container setup is this:
The reverse proxy (caddy) has this setup for owncloud:
The complete setup is here: https://github.com/yuri-becker/catboy-house/tree/main/roles/owncloud
Additional context
I assume this is some kind of permission issue. Is OCIS having issues with changing the user?
Uploading via the client seems to work, or seemed to have worked.
The text was updated successfully, but these errors were encountered: