"Unable to fetch restoring points" & "Unable to fetch external locations"
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
So, after setting up my Nextcloud v24.0.0, I want to set up the backup app to backup to a local, external HDD. I have entered the corresponding path under "External storage". Now when I switch to "Backup" I get two errors: "Unable to fetch restoring points" and "Unable to fetch external locations". I can't select a location.
I copied the following from "Logging":
[no app in context] Error: Exception: OC\DB\QueryBuilder\QueryBuilder::__construct(): Argument #3 ($logger) must be of type Psr\Log\LoggerInterface, OC\Log given, called in /var/www/nextcloud/apps/backup/vendor/artificial-owl/my-small-php-tools/lib/Db/Nextcloud/nc23/NC23ExtendedQueryBuilder.php on line 74 in file '/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php' line 86 at <<closure>>
0. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch()
1. /var/www/nextcloud/lib/private/Route/Router.php line 298
OC\AppFramework\App::main()
2. /var/www/nextcloud/ocs/v1.php line 62
OC\Route\Router->match()
3. /var/www/nextcloud/ocs/v2.php line 23
require_once("/var/www/nextcloud/ocs/v1.php")
GET /ocs/v2.php/apps/backup/r
Does anyone have a solution? Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with apps/backup/vendor/artificial-owl/my-small-php-tools/lib/Db/Nextcloud/nc23/NC23ExtendedQueryBuilder.php at line 74 and the Nextcloud DB QueryBuilder constructor shown in the error. Reproduce the GET /ocs/v2.php/apps/backup/r request, then verify that restoring points and external locations load and a backup location can be selected without either error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100