Git Product home page Git Product logo

Comments (11)

fscarmen2 avatar fscarmen2 commented on May 25, 2024

已处理,今晚备份的时候,会自动修复有bug的地方,如果你比较急要试,就ssh进去运行

bash /dashboard/renew.sh; rm -f /tmp/flag

之后 README.md 加上关键词backup即可。

image
image

from argo-nezha-service-container.

AgathonLi avatar AgathonLi commented on May 25, 2024

好的,感谢大佬修复~

from argo-nezha-service-container.

fscarmen2 avatar fscarmen2 commented on May 25, 2024

更新了?可以了吗?

from argo-nezha-service-container.

AgathonLi avatar AgathonLi commented on May 25, 2024

更新了?可以了吗?

似乎还是不行。昨晚正常自动备份了,没有进ssh执行上面的命令。刚刚修改readme添加了backup,等待十分钟后库没有发生变化。

晚上尝试执行了上面的命令,成功无报错。再去修改readme,等待5分钟仍然无变化。不知道是哪里不对了。

from argo-nezha-service-container.

fscarmen2 avatar fscarmen2 commented on May 25, 2024

手动运行看报错什么?

from argo-nezha-service-container.

AgathonLi avatar AgathonLi commented on May 25, 2024

手动运行看报错什么?

今天早上又测试了一次,在README.md添加backup后自动备份成功。没问题啦~ 之前手动执行是没有报错的。

from argo-nezha-service-container.

AgathonLi avatar AgathonLi commented on May 25, 2024

@fscarmen2 您好,最近几天探针又不能自动备份了,做了以下尝试均失败。麻烦看看有没有解决办法呀?

  1. 更换到另一VPS,重新部署容器。不能自动恢复在Github私库的备份内容。手动拷贝备份文件到目录后正常恢复。
  2. 此时尝试手动备份到GitHub库,执行 /dashboard/renew.sh 正常无报错。接着执行 /dashboard/backup.sh 报错如下。
    /dashboard/backup.sh: line 9: Status: command not found
    This is not exist nor a private repository.
    All programs started!

from argo-nezha-service-container.

fscarmen2 avatar fscarmen2 commented on May 25, 2024

bash -x /dashboard/backup.sh ,看看详细的debug哪里出错!

from argo-nezha-service-container.

AgathonLi avatar AgathonLi commented on May 25, 2024

bash -x /dashboard/backup.sh ,看看详细的debug哪里出错!

感谢,看debug信息是私库信息不对。检查发现docker compose配置有误,修改后备份成功了。不好意思打扰啦~

from argo-nezha-service-container.

fscarmen2 avatar fscarmen2 commented on May 25, 2024

不客气。现在项目经过近一年的不断完善细节,已经处理成熟的阶段了,最近也没有更新,如发现使用问题,可以像刚才一样debug看看,比较清楚卡在那步了。
其实从你之前的log 里 This is not exist nor a private repository. 这个状态是脚本里带的,是你的备份库名设置错又或者没有设置为私有所致的。但我又看到 /dashboard/backup.sh: line 9: Status: command not found,这个我就不知道什么情况。

from argo-nezha-service-container.

AgathonLi avatar AgathonLi commented on May 25, 2024

不客气。现在项目经过近一年的不断完善细节,已经处理成熟的阶段了,最近也没有更新,如发现使用问题,可以像刚才一样debug看看,比较清楚卡在那步了。 其实从你之前的log 里 This is not exist nor a private repository. 这个状态是脚本里带的,是你的备份库名设置错又或者没有设置为私有所致的。但我又看到 /dashboard/backup.sh: line 9: Status: command not found,这个我就不知道什么情况。

好的,Status那边是私库名的一部分,可能是写得不对错认成命令了。下次有问题我先debug看看。

from argo-nezha-service-container.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.