nextcloud / nextcloud/backup

when restoring, cannot scan backup folder

Open
#431 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
272
Forks
37
PR merge metrics
No merged PRs in 30d

Description

hello,
Nextcloud version (eg, 20.0.5): 20.0.4
Operating system and version (e Ubuntu 20.04): lubuntu
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 8.1

I did a brand new installation on new plateform, and installed backup app on this new instance.
I try to restore backup from on old instance made with same app, I followed these steps :
https://github.com/nextcloud/backup#restore-workstation

4 hours after right clic / "scan backup folder" on my restoringpoint.data file, there is still nothing shown by ./occ backup:point:scan nor ./occ backup:point:list.

I tried to move all the files to the app directory as well, with no success.

tail of Apache error logs :
cat: /sys/class/net/wlp2s0/speed: Invalid argument

sudo -u www-data /var/www/nextcloud/occ backup:point:scan returns nothing

same for list :
sudo -u www-data /var/www/nextcloud/occ backup:point:list

  • retreiving data from local
    +-----------------+------+----+----------+--------+---------+--------+----------+--------+
    | Restoring Point | Date | NC | Database | Parent | Comment | Status | Instance | Health |
    +-----------------+------+----+----------+--------+---------+--------+----------+--------+

any suggestions ?
thanks for your help.

Is this the first time you've seen this error? (Y/N): Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

[no app in context] Warning: Host localhost was not connected to because it violates local access rules

POST /index.php
from 127.0.0.1 at 2022-10-15T11:42:59+00:00

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the restore-workstation instructions linked in the issue and reproduce the behavior using occ backup:point:scan and occ backup:point:list as www-data. Inspect the backup app's handling of the restoringpoint.data file and the Apache and Nextcloud log output; done means the backup point is discovered and appears in the list.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.