Comments (5)
This can be fixed with chunked upload (#205) I'm still working on it #192.
There was a huge time of inactivity on this repos because of personal reason, but now I'll try to get back to this
from hassio-nextcloud-backup.
I have the same issue. Is it possible to make the addon upload the backup in smaller chunks?
from hassio-nextcloud-backup.
Nearly the same issue. 1420MB backup, uploaded "successfully" to nextcloud with the size of 0 KB.
[2023-07-11 13:58:27] [info]: ...Upload finish ! (status: 201)
from hassio-nextcloud-backup.
I recommend everyone to read issue #9 and issue #123
For nextcloud you have to configure php settings:
upload_max_filesize=256G
post_max_size=256G
Explanation:
In this example it's set to 256 GB, choose whatever you want. )
if nextcloud is running at nginx you have to set
client_max_body_size 0
if nextcloud is running at apache2 you have to set
LimitRequestBody 0
FcgidMaxRequestLen 1073741824
Explanation:
LimitRequestBody 0 disables the Limit
FcgidMexRequestLen is set in Bytes. In this example 5GB.
As I am running nextcloud at apache2, I confirm these settings for uploading backups to nc with a size up to 5GB. It could be, that the FcgidMaxRequestLen is also missing at nginx servers or has a very similar setting. Check your apache2/Nginx logs, they are very helpful. In my case, the usual upload max request lenght was set to 1GB. Now it's set to 5GB.
Uploads via frontend and/or client is not the same way as uploading via your HA instance, as the frontend chunks bigger uploads and the client uses a different connection type.
The addon is working, if nextcloud has the correct settings - i bet that's a solution for most of the open issues in this repo.
from hassio-nextcloud-backup.
I already had the php settings and have added the apache2 settings. No change.
from hassio-nextcloud-backup.
Related Issues (20)
- Backups ordered wrong HOT 2
- Fail to upload snapshot to nextcloud (HTTPError: Response code 413 (Request Entity Too Large)) ! HOT 2
- The upload does not work HOT 6
- Addons are not started after a backup where the upload fails
- Migration to VueJs and more
- Can't connect to Nextcloud (Error: getaddrinfo ENOTFOUND https) ! HOT 2
- 3rd Party platform compatibility HOT 17
- Chunked upload HOT 1
- Upload Code 201 but 0 bytes and/or HTTPError Response code 500 HOT 1
- Request entity too large HOT 2
- [Feature Request] Full Backup
- Monitoring State of Backups HOT 2
- Can't create new snapshot (Response code 400 (Bad Request)) HOT 6
- ENOTFOUND HTTPS HOT 1
- Can't create new snapshot (Response code 400 (Bad Request)) HOT 1
- Add-on not working with nextcloud systems having webroot set as a subdirectory of the default web server document root. This means the nextcloud connection URL is something like: http://full.host.name/subdir/. It would be nice to also support this case. HOT 1
- Fail to upload snapshot to nextcloud (RequestError: read ECONNRESET) !
- Backup not Working - Response code 400 (Bad Request)
- Can't create new snapshot (Response code 400 (Bad Request)) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hassio-nextcloud-backup.