Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

when restoring, cannot scan backup folder

未关闭
#431 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
php
领域
backend

调研方向

从 issue 中链接的 restore-workstation 说明开始,并以 www-data 身份使用 occ backup:point:scan 和 occ backup:point:list 重现该行为。检查备份应用对 restoringpoint.data 文件的处理方式,以及 Apache 和 Nextcloud 的日志输出;当备份点被发现并出现在列表中时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
PHP
星标
271
派生
37
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/backup 的其他 Issue

查看 nextcloud/backup 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。