backup icon indicating copy to clipboard operation
backup copied to clipboard

Nothing being uploaded to external storage (WebDAV)

Open nunesgh opened this issue 2 years ago • 8 comments

Hi there,

I have noticed the app has never uploaded anything to external storage since being installed. Up to version 1.0.4, the app would create folders, but no file would be uploaded to them. From version 1.0.5, the app has also stopped to create folders.

My configuration:

  • Nextcloud 23.0.3
  • PHP 7.4.28
  • MariaDB 10.5.12
  • External storage mounted via WebDAV with authentication via "Username and password". It is available only for my personal user.

I have recently set the "local app data" policy to 1 and the "external storages" policy to 3.

This is the current backup: image

This is the external storage folder: image Notice that the folders for the previous backup are there, but they have always been empty.

Also, I could not find anything on the Nextcloud logs related to the app.

Thank you for your attention.

nunesgh avatar Mar 23 '22 14:03 nunesgh

Update: version 1.0.6 is once again creating empty folders on the external storage. Still, no backup file is uploaded to them.

nunesgh avatar Mar 24 '22 14:03 nunesgh

Same here, with following version information:

  • nextcloud 23.0.0
  • PHP 8.0.15
  • MariaDB 10.5.7

I believe I've spotted an error in the restoring points location URL. Mine looks like webdav::USERINFO//remote.php/webdav/FOLDERNAME. Yes, there are two '/' in front of remote.php. And IMHO that's wrong. I'm not sure about webdav::. Is that correct or should it be something like webdav:// instead?

Tronde avatar Mar 27 '22 08:03 Tronde

I have also tried using Storj as an external storage for restoring point location with no success.

The following folders and files were created in the remote storage, but almost all of them are empty. image

Moreover, the backup app now claims it "cannot confirm integrity" of this backup. image

I could not find anything on the Nextcloud logs related to the app.

Thank you for your attention.

nunesgh avatar Mar 28 '22 10:03 nunesgh

Same problem here. Folders for the restoring points where created at external storage (Amazon S3), but data was stored locally.

Config (Snap release 23.0.2snap1):

  • nextcloud 23
  • Apache 2.4
  • PHP 8.0
  • MySQL 8
  • Redis 6

Thank you for making this usefull app. I hope this helps resolve the bug.

alexarntzen avatar Apr 09 '22 18:04 alexarntzen

Hi, I have the same issue.

I have noticed that the nextcloud logging shows following error: ERROR

Maybe that helps solving the issue.

EL-Z356 avatar Nov 01 '22 14:11 EL-Z356

same issue!

fvillena avatar Nov 05 '22 19:11 fvillena

I have the same issue, Also tried using occ backup:point:upload This is the error I got then:

issue while checking external folder:
GuzzleHttp\Exception\ConnectException cURL error 28:
Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
for https://[url of my Webdav]/backups/20221207132538-full-MEVvyLn55ah4mFj/data/data-af54752d-6eed-4340-b250-8ff6ef34d7dc/00001-m6dEwit5TdBk1p4

The Folders and some files are created, but most are missing.

Jens-3302 avatar Dec 08 '22 12:12 Jens-3302

Found a Workaround: Mount Webdav storage using davfs2 and use that in Nextcloud as Lokal external drive. Uploading the Backup to the mounted drive seems to work.

Jens-3302 avatar Dec 09 '22 08:12 Jens-3302