backup
backup copied to clipboard
Unable to fetch app data error
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":[{},{}]}]
+1 I've been having this issue as well and haven't found a solution yet
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?
I am having this same issue except i have not created any backup yet
My solution to this was to manually delete the app settings from the postgres-db with Webmin/pgmyadmin.
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
Regarding this "unable to fetch app data", I managed to clear the configuration using following steps:
- Reset the backup application itself using occ command
# sudo -u www-data php -d memory_limit=512M occ backup:reset
- Disable Backup in 'Nextcloud -> Apps' menu
- Remove Backup from Apps menu
- Reinstall Backup from Apps
- 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
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?
./occ config:app:delete backup external_appdata solves this issue