-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fail to upload snapshot to nextcloud (Status code: 413) ! #9
Comments
Hi ! |
The backup is 242257920 (232M). Please let me know if there is anything further I can provide. |
I'm not sure but i think it's more an issue with your setup, not with the addon. |
nextcloud is installed from snap on an 18.0X server. |
Do you have Nginx in front of nextcloud (or other reverse proxy)? I found a similar issue on the Nexcloud-snap repo (nextcloud-snap/nextcloud-snap#1017) |
client_max_body_size was the culprit. |
Leaving this for future people: Took me some time to check for all .conf files. |
I'm running Nextcloud & SWAG dockers on unraid and running into the same issue. Could someone share a working NC/SWAG config? |
Hey, I know this is already closed but this might help some others to save time in searching for a result. I hat the same problem with 413 Error and nothing here or on the web I found helped me. I have Nextcloud installed on Unraid with a reverse proxy swag (letsencrypt).
At least this helped me to get the NC Backup to upload my snapshots succesfully. |
Im running nextcloud behind a Nginx Proxy Manager and havent been able to solve this problem. Ive added/changed As of what I can find these are the settings that has solved the problem for most people but for me no success. |
I recently noticed that I could not upload big files (> 100MB) to nextcloud because I use Cloudflare as extra layer of security and because I dont have an Enterprise subscription the upload size is limited to 100MB. If you checked/changed all config files but the problem still exists, maybe this is an similar issue as mine above. For me I could fix this issue by using the direct IP (same Network) of the Nextcloud server and not use a domain name. |
Changed NextCloud to local IP and can confirm it worked. Thanks alot ubl8! |
Hi, I experience the same issue and none of the above solutions could yet fix it. I can download the backups from Home Assistant and upload them via the Web UI, the same endpoint effectively the addon would use. But the addon return 413. I could not find a related entry in the nextcloud logs. Nextcloud is running behind the Nginx Proxy Manager, but neither the external accessible URL nor the local IP address work. Also the nextcloud system information shows the correct limits (16 gb in my instance), but only the addon is not able to upload 1.6 or 1.8 gb files. |
If you say non of the above solutions work, I gues you checked all of the .conf files? There might be more than one file affecting this... Also uploading via the Web UI is not the same as with the Container... The Web UI uploads in more small peaces to prevent this issues... |
I'm currently working on a new version that will include chunked upload to prevent the 413 error, at this time I can't give ETA because this new version will also include a migration to vuejs that requires a lot of work. You can follow my progress on the |
Unfortunately none of the solutions here could solve my issue either |
If anyone else is using the Nextcloud Docker image. Here is what I did to solve it |
Running manually. The log is below
The text was updated successfully, but these errors were encountered: