Unable to fetch app data error
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
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":[{},{}]}]
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 custom_apps/backup/lib/Cron/Backup.php at line 126, where runDifferentialBackup is called, and trace the scheduled path through lines 115 and 97 to /var/www/html/cron.php. Reproduce the app-data fetch failure with the SMB external storage configuration and determine what resolves both the UI error and repeated differential-backup errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, php, ubuntu
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100