backup icon indicating copy to clipboard operation
backup copied to clipboard

Unable to fetch app data error

Open d4vastu opened this issue 2 years ago • 9 comments

Nextcloud-AIO docker container on ubuntu server 22.04 Nextcloud version 23.0.5

Hello, I started this error and I did the following.

  • I enabled the app an successfully created a full restore (I assume to local storage)
  • added a SMB external storage location
  • attempted to change the APP data location at the bottom of the UI.
  • system displayed the error "unable to fetch app data"
  • the recent full restore point disappeared from my restoring points history

What I have attempted:

  • I confirmed I can see the external drive location in the files location of the nextcloud GUI
  • I disabled the backup app and deleted it.
  • disabled the external storage app
  • enabled the external storage app
  • downloaded and enabled the backup app.
  • the settings were maintained from before I removed the app and the error persisted

Is there a way to delete the app settings from downloading the backup app again and would that likely fix it. here is a recent error from the log error while running differential backup - I noticed it there multiple times

[{"file":"\/var\/www\/html\/custom_apps\/backup\/lib\/Cron\/Backup.php","line":126,"function":"runDifferentialBackup","class":"OCA\\Backup\\Cron\\Backup","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/custom_apps\/backup\/lib\/Cron\/Backup.php","line":115,"function":"runBackup","class":"OCA\\Backup\\Cron\\Backup","object":{},"type":"->","args":[1654013082]},{"file":"\/var\/www\/html\/custom_apps\/backup\/lib\/Cron\/Backup.php","line":97,"function":"manage","class":"OCA\\Backup\\Cron\\Backup","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/private\/BackgroundJob\/Job.php","line":51,"function":"run","class":"OCA\\Backup\\Cron\\Backup","object":{},"type":"->","args":[null]},{"file":"\/var\/www\/html\/lib\/private\/BackgroundJob\/TimedJob.php","line":58,"function":"execute","class":"OC\\BackgroundJob\\Job","object":{},"type":"->","args":[{},{}]},{"file":"\/var\/www\/html\/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","object":{},"type":"->","args":[{},{}]}]

d4vastu avatar May 31 '22 17:05 d4vastu

+1 I've been having this issue as well and haven't found a solution yet

LMaiorano avatar Oct 28 '22 11:10 LMaiorano

I have basically the same issue.

Had a path for app data set which is not valid anymore. App now displays "unable to fetch app data".

It is not possible to set a new path. Deactivation and uninstall of the app does not remove the settings either.

App is self-disabled at this point, does not do anything anymore.

How can the settings be removed?

ugr-dual avatar Nov 20 '22 09:11 ugr-dual

I am having this same issue except i have not created any backup yet

neononyx avatar Jan 23 '23 22:01 neononyx

My solution to this was to manually delete the app settings from the postgres-db with Webmin/pgmyadmin.

ugr-dual avatar Jan 24 '23 06:01 ugr-dual

I have the same issue here today.

Version Nextcloud Hub 3 (25.0.3) - Your version is up to date.

Type: mysql Version: 10.5.18

dudis avatar Feb 02 '23 22:02 dudis

Regarding this "unable to fetch app data", I managed to clear the configuration using following steps:

  1. Reset the backup application itself using occ command
# sudo -u www-data php -d memory_limit=512M occ backup:reset
  1. Disable Backup in 'Nextcloud -> Apps' menu
  2. Remove Backup from Apps menu
  3. Reinstall Backup from Apps
  4. now I am able to reconfigure my App Data to local storage

please be mindful in my case, command is executed inside a docker container (hence i have todefine www-data user), YMMV

Kisaragi-ng avatar Mar 26 '23 02:03 Kisaragi-ng

I have the same problem. The app no longer works. There urgently needs to be a button to reset the app data directory in case it becomes unavailable.

@ArtificialOwl Can you please fix this bug? It makes the app unusable for many users. Or at least give us a workaround?

ghost avatar Apr 05 '23 08:04 ghost

./occ config:app:delete backup external_appdata solves this issue

nyok92 avatar Apr 26 '23 17:04 nyok92