leeyoshinari / OneDrive

Windows-style personal cloud-drive with supporting online editing.
GNU General Public License v2.0
74 stars 24 forks source link

有两个错误 #11

Closed bifu123 closed 6 months ago

bifu123 commented 6 months ago

(OneDrive) test@ubuntu64:~/OneDrive$ git clone https://github.com/leeyoshinari/OneDrive.git 正克隆到 'OneDrive'... remote: Enumerating objects: 1715, done. remote: Counting objects: 100% (47/47), done. remote: Compressing objects: 100% (38/38), done. error: RPC 失败。curl 56 GnuTLS recv error (-54): Error in the pull function. error: 预期仍然需要 5526 个字节的正文 fetch-pack: unexpected disconnect while reading sideband packet fatal: 过早的文件结束符(EOF) fatal: fetch-pack:无效的 index-pack 输出

1 2 3

leeyoshinari commented 6 months ago

1、clone不下来的问题,你可以试试clone其他项目,大概率可能是本地配置问题。 2、nginx配置,你可以把这3个location注释掉,然后重启nginx看看页面访问正不正常,如果访问正常,就再把这3个location取消注释再重启试试

leeyoshinari commented 6 months ago

还有一个点特别注意:看nginx保存日志,可能没有目录读写权限;而且后端服务也要注意有没有读写权限

bifu123 commented 6 months ago

root@debian:~/OneDrive# mkdir -p /OneDrive/data /opt/data root@debian:~/OneDrive# chmod 777 -R /OneDrive/data /opt/data root@debian:~/OneDrive# chmod 777 ./OneDrive/* -R #给整个虚拟环境777权限

不要localsion后

clone出错 clone正确

bifu123 commented 6 months ago

大神,您QQ多少,便于请教!

leeyoshinari commented 6 months ago

已加