Skip to content
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

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

Open
bram-pkg opened this issue Jan 3, 2022 · 11 comments
Open

Comments

@bram-pkg
Copy link

bram-pkg commented Jan 3, 2022

In ExternalFolderService.php line 352:

[OCA\Backup\Exceptions\ExternalFolderNotFoundException]

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

@ArtificialOwl
Copy link
Member

please test with 1.0.4

@bram-pkg
Copy link
Author

bram-pkg commented Jan 3, 2022

please test with 1.0.4

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

@bram-pkg
Copy link
Author

bram-pkg commented Jan 3, 2022

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

@ArtificialOwl
Copy link
Member

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

@bram-pkg
Copy link
Author

bram-pkg commented Jan 4, 2022

Thanks for the quick response. Updating the app now.

@Maffsie
Copy link

Maffsie commented Jan 5, 2022

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.

@bram-pkg
Copy link
Author

bram-pkg commented Jan 5, 2022 via email

@ArtificialOwl
Copy link
Member

can you browse the external storage from your Files App ?

@bram-pkg
Copy link
Author

bram-pkg commented Jan 6, 2022 via email

@bram-pkg
Copy link
Author

bram-pkg commented Jan 8, 2022

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
Copy link
Author

bram-pkg commented Jan 11, 2022

The stacktrace and exception mentioned in #152 are different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants