nextcloud / nextcloud/backup

ExternalFolderNotFoundException

Open
#435 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
272
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Hello

I configured External Storage app for some local folder, and configured the Backup app to use it.
But when I try to do a manual backup (because, of course, automated one never worked), I got this error :

`sudo -u www-data php occ backup:point:create -vvv

maintenance mode: on
initialization of the AppData
maintenance mode: off

In ExternalFolderService.php line 354:

[OCA\Backup\Exceptions\ExternalFolderNotFoundException]`

The destination folder exists and the permissions are correct. It is correctly selected in the Backup app.
What can I do ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with OCA\Backup\ExternalFolderService.php around line 354 and reproduce the failure using sudo -u www-data php occ backup:point:create -vvv with the configured local folder. Compare the selected External Storage destination with what the service resolves; done means a manual backup can create its point without ExternalFolderNotFoundException.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.