backup icon indicating copy to clipboard operation
backup copied to clipboard

SFTP mount gives "OCA\Backup\Exceptions\ExternalFolderNotFoundException"

Open bram-pkg opened this issue 3 years ago • 11 comments
trafficstars

In ExternalFolderService.php line 352:

[OCA\Backup\Exceptions\ExternalFolderNotFoundException]

I have an SFTP mount configured, any command will give that error.

bram-pkg avatar Jan 03 '22 00:01 bram-pkg

please test with 1.0.4

ArtificialOwl avatar Jan 03 '22 20:01 ArtificialOwl

please test with 1.0.4

That doesn't seem to be released yet https://apps.nextcloud.com/apps/backup

bram-pkg avatar Jan 03 '22 20:01 bram-pkg

Is there a way to pull in a "development" version, into my instance? Instead of having an officially released version installed.

bram-pkg avatar Jan 03 '22 22:01 bram-pkg

my bad, should be released now. And currently, the only way would have been to download last release from github and extract the content in your apps folder

ArtificialOwl avatar Jan 04 '22 00:01 ArtificialOwl

Thanks for the quick response. Updating the app now.

bram-pkg avatar Jan 04 '22 00:01 bram-pkg

I had this issue on 1.0.4; the external share in question was set to only be accessible by one user, but it worked fine after I made it accessible to all users.

Maffsie avatar Jan 05 '22 15:01 Maffsie

It still gives me the error on 1.0.4 too.

On Wed, 5 Jan 2022, 16:48 Matthew Connelly, @.***> wrote:

I had this issue on 1.0.4; the external share in question was set to only be accessible by one user, but it worked fine after I made it accessible to all users.

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/backup/issues/145#issuecomment-1005843287, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFQHI3MXBQOICLYQGLKQG3UURR53ANCNFSM5LEHWEUQ . You are receiving this because you authored the thread.Message ID: @.***>

bram-pkg avatar Jan 05 '22 15:01 bram-pkg

can you browse the external storage from your Files App ?

ArtificialOwl avatar Jan 05 '22 18:01 ArtificialOwl

I can, yes.

Message ID: @.***>

bram-pkg avatar Jan 06 '22 04:01 bram-pkg

Here is a full stacktrace when running backup:point:scan -vvv

In ExternalFolderService.php line 354:

  [OCA\Backup\Exceptions\ExternalFolderNotFoundException]


Exception trace:
  at /usr/local/www/nextcloud/apps/backup/lib/Service/ExternalFolderService.php:354
 OCA\Backup\Service\ExternalFolderService->initRootFolder() at /usr/local/www/nextcloud/apps/backup/lib/Service/PointService.php:713
 OCA\Backup\Service\PointService->getExternalAppData() at /usr/local/www/nextcloud/apps/backup/lib/Service/PointService.php:774
 OCA\Backup\Service\PointService->initBackupFS() at /usr/local/www/nextcloud/apps/backup/lib/Service/PointService.php:641
 OCA\Backup\Service\PointService->scanFoldersFromAppData() at /usr/local/www/nextcloud/apps/backup/lib/Command/PointScan.php:129
 OCA\Backup\Command\PointScan->execute() at /usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /usr/local/www/nextcloud/core/Command/Base.php:168
 OC\Core\Command\Base->run() at /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php:1009
 Symfony\Component\Console\Application->doRunCommand() at /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php:273
 Symfony\Component\Console\Application->doRun() at /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php:149
 Symfony\Component\Console\Application->run() at /usr/local/www/nextcloud/lib/private/Console/Application.php:211
 OC\Console\Application->run() at /usr/local/www/nextcloud/console.php:99
 require_once() at /usr/local/www/nextcloud/occ:11

And here is one when running backup:point:create -vvv

In ExternalFolderService.php line 354:

  [OCA\Backup\Exceptions\ExternalFolderNotFoundException]


Exception trace:
  at /usr/local/www/nextcloud/apps/backup/lib/Service/ExternalFolderService.php:354
 OCA\Backup\Service\ExternalFolderService->initRootFolder() at /usr/local/www/nextcloud/apps/backup/lib/Service/PointService.php:713
 OCA\Backup\Service\PointService->getExternalAppData() at /usr/local/www/nextcloud/apps/backup/lib/Service/PointService.php:774
 OCA\Backup\Service\PointService->initBackupFS() at /usr/local/www/nextcloud/apps/backup/lib/Service/PointService.php:385
 OCA\Backup\Service\PointService->initRestoringPoint() at /usr/local/www/nextcloud/apps/backup/lib/Service/PointService.php:251
 OCA\Backup\Service\PointService->create() at /usr/local/www/nextcloud/apps/backup/lib/Command/PointCreate.php:120
 OCA\Backup\Command\PointCreate->execute() at /usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /usr/local/www/nextcloud/core/Command/Base.php:168
 OC\Core\Command\Base->run() at /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php:1009
 Symfony\Component\Console\Application->doRunCommand() at /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php:273
 Symfony\Component\Console\Application->doRun() at /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php:149
 Symfony\Component\Console\Application->run() at /usr/local/www/nextcloud/lib/private/Console/Application.php:211
 OC\Console\Application->run() at /usr/local/www/nextcloud/console.php:99
 require_once() at /usr/local/www/nextcloud/occ:11

bram-pkg avatar Jan 08 '22 14:01 bram-pkg

The stacktrace and exception mentioned in #152 are different.

bram-pkg avatar Jan 11 '22 16:01 bram-pkg