Comments (4)
可以参考下这里的回复:https://www.hostloc.com/thread-650479-13-1.html
已解决
通过rclone上传到网盘(比如onedrive)的操作需要读取rclone的相关配置,由于是以ccaa用户运行的,它会先查找/home/ccaa/.rclone. config文件,但是一开始可能并没有建这个文件,甚至该文件夹都不存在,由于查不到该.config文件,rclone会用其default的config,但显然与用户自己设置的网盘信息是不同的,所以上传会失败。
用root权限直接使用rclone上传则没有问题,因为此时可以读到root用户下的config文件(位置是/root/.config/rclone/rclone.config),所以可以正常上传。
解决办法很简单,先把/root/.config/rclone/rclone.config拷贝到/home/ccaa/.rclone.config,然后给文件夹和文件改至ccaa用户组:chown -R ccaa:ccaa /home/ccaa/.rclone.config
chown -R ccaa:ccaa /home/ccaa/
以上文件夹需要如此操作的原因是rclone运行过程中还会在/home/ccaa文件夹中创建临时config文件,所以需要文件夹的权限。另外上传用的脚本也需要如此操作。
from ccaa.
同问这个问题,我也无法自动上传了
from ccaa.
新版本为了安全性考虑,使用的ccaa
这个用户来运行服务。
from ccaa.
我参考了那个回复,还是失败了,我的rclone的配置文件应该是/root/.config/rclone/rclone.conf,/home/ccaa不存在,然后我进行了新建,将rclone.conf文件复制过去了,并更改了用户组,也将上传脚本的用户组进行了修改,依然无法调用rclone
from ccaa.
Related Issues (20)
- 有些VPS默认没有安装sudo HOT 2
- 建议申请一个 https://git.io/ccaa.sh 这样的短链接
- 能不能提供gitee全路径安装 HOT 2
- 请问下如何开启Aria的ipv6下载 HOT 1
- 重启后file browser 无法登录一直提示 “用户名或密码错误” HOT 2
- Debian8安装CCAA失败 HOT 1
- 在进行反向代理和https之后无法进行rpc密钥验证 HOT 2
- 希望能链接onedrive HOT 1
- Filebrowser在线播放能支持更多解码和字幕挂载吗
- aria2安装失败导致ccaa无法启动。 HOT 1
- 获取IP的接口失效了
- aria2没有安装成功 HOT 1
- ccaa对于默认端口是不是有范围限制?
- FATAL: kernel too old FATAL: kernel too old HOT 1
- 你好,ccaa_web_tar.gz下载不了 HOT 3
- docker似乎不全 HOT 2
- 我是这么判断 osip 的
- 能否提供arm64的docker支持
- 这个fork更新到了Aria2 v1.37.0 / FileBrowser v2.26.0 / AriaNg v1.3.7 如果大家有需要的话, 请自取
- aarch64 docker 安装失败是否考虑支持?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccaa.