backup icon indicating copy to clipboard operation
backup copied to clipboard

"Unable to fetch restoring points" & "Unable to fetch external locations"

Open senornada opened this issue 3 years ago • 6 comments

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!

senornada avatar May 04 '22 17:05 senornada

Looks like current version is incompatible with NC 24 due to interface changes.

Vrumf0ndel avatar May 05 '22 17:05 Vrumf0ndel

same problem since NC v.24

schroeder-dk avatar May 26 '22 11:05 schroeder-dk

Same here since NC v.24: +-----------+------+----------------+ | StorageId | Path | Storage Folder | +-----------+------+----------------+ An unhandled exception has been thrown: TypeError: OC\DB\QueryBuilder\QueryBuilder::__construct(): Argument #3 ($logger) must be of type Psr\Log\LoggerInterface, OC\Log given...

tried both backup 1.0.5 and 1.0.6, same issue.

DanialSh avatar May 27 '22 04:05 DanialSh

Hey, is there already a fix or a workaround?

Kh3nsu avatar Jun 05 '22 10:06 Kh3nsu

Guys, is there already a fix or a workaround?

Hcreak avatar Jun 06 '22 17:06 Hcreak

Does anyone from nextcloud team even read these? It's been quite some time since this issue was reported... Anyone?

DanialSh avatar Jul 07 '22 23:07 DanialSh