Open reinvk opened 4 months ago
Describe the bug Backup large files > 2GB fail to upload to Nextcloud backup share. Small file <1GB have no issues
To Reproduce Steps to reproduce the behavior: Every time when i start a schduled or manually backup the upload is failed.
Expected behavior A clear and concise description of what you expected to happen.
System information Core 2024.2.1 Supervisor 2024.01.1 Operating System 11.5 Frontend 20240207.1
Additional context Add any other context about the problem here.
debug error log
[2024-02-14 00:44:22] [info]: Stopping addons... [2024-02-14 00:44:22] [info]: ... Ok [2024-02-14 00:44:22] [info]: Creating new snapshot... [2024-02-14 00:44:22] [debug]: Addon to backup:
[2024-02-14 00:44:22] [debug]: Folders to backup:
[2024-02-14 00:44:22] [debug]: Is password protected ? false [2024-02-14 00:44:54] [info]: Snapshot created with id c548c71a [2024-02-14 00:44:54] [info]: Downloading snapshot c548c71a... [2024-02-14 00:44:54] [debug]: Snapshot size: 3391.31 [2024-02-14 00:45:10] [info]: Download success ! [2024-02-14 00:45:10] [debug]: Snapshot dl size : 3391.3125 [2024-02-14 00:45:10] [info]: Uploading snap... [2024-02-14 00:45:10] [debug]: ...URI: https://host.hiden/remote.php/webdav/HABackup/Manual/Manual-2024.2.1-2024-02-14_0044.tar [2024-02-14 00:45:10] [debug]: ...rejectUnauthorized: false [2024-02-14 00:47:59] [error]: Fail to upload snapshot to nextcloud (RequestError: read ECONNRESET) ! [2024-02-14 00:47:59] [error]: RequestError: read ECONNRESET at ClientRequest. (file:///opt/nextcloud_backup/node_modules/got/dist/source/core/index.js:767:107) at Object.onceWrapper (node:events:628:26) at ClientRequest.emit (node:events:525:35) at TLSSocket.socketErrorListener (node:_http_client:494:9) at TLSSocket.emit (node:events:513:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Describe the bug Backup large files > 2GB fail to upload to Nextcloud backup share. Small file <1GB have no issues
To Reproduce Steps to reproduce the behavior: Every time when i start a schduled or manually backup the upload is failed.
Expected behavior A clear and concise description of what you expected to happen.
System information Core 2024.2.1 Supervisor 2024.01.1 Operating System 11.5 Frontend 20240207.1
Additional context Add any other context about the problem here.
debug error log
[2024-02-14 00:44:22] [info]: Stopping addons... [2024-02-14 00:44:22] [info]: ... Ok [2024-02-14 00:44:22] [info]: Creating new snapshot... [2024-02-14 00:44:22] [debug]: Addon to backup:
[2024-02-14 00:44:22] [debug]: Folders to backup:
[2024-02-14 00:44:22] [debug]: Is password protected ? false [2024-02-14 00:44:54] [info]: Snapshot created with id c548c71a [2024-02-14 00:44:54] [info]: Downloading snapshot c548c71a... [2024-02-14 00:44:54] [debug]: Snapshot size: 3391.31 [2024-02-14 00:45:10] [info]: Download success ! [2024-02-14 00:45:10] [debug]: Snapshot dl size : 3391.3125 [2024-02-14 00:45:10] [info]: Uploading snap... [2024-02-14 00:45:10] [debug]: ...URI: https://host.hiden/remote.php/webdav/HABackup/Manual/Manual-2024.2.1-2024-02-14_0044.tar [2024-02-14 00:45:10] [debug]: ...rejectUnauthorized: false [2024-02-14 00:47:59] [error]: Fail to upload snapshot to nextcloud (RequestError: read ECONNRESET) ! [2024-02-14 00:47:59] [error]: RequestError: read ECONNRESET at ClientRequest. (file:///opt/nextcloud_backup/node_modules/got/dist/source/core/index.js:767:107)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)