messense / aliyundrive-webdav Goto Github PK
View Code? Open in Web Editor NEW阿里云盘 WebDAV 服务
License: MIT License
阿里云盘 WebDAV 服务
License: MIT License
Sep 04 15:39:41.165 ERROR aliyundrive_webdav::drive: refresh token failed: error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Try again
Sep 04 15:41:19.432 ERROR aliyundrive_webdav::vfs: refresh directory file list failed error=error sending request for url (https://api.aliyundrive.com/adrive/v3/file/list): error trying to connect: dns error: failed to lookup address information: Try again
Caused by:
0: error trying to connect: dns error: failed to lookup address information: Try again
1: dns error: failed to lookup address information: Try again
2: failed to lookup address information: Try again
Sep 04 15:41:19.642 ERROR aliyundrive_webdav::vfs: refresh directory file list failed error=error sending request for url (https://api.aliyundrive.com/adrive/v3/file/list): error trying to connect: dns error: failed to lookup address information: Try again
Caused by:
0: error trying to connect: dns error: failed to lookup address information: Try again
1: dns error: failed to lookup address information: Try again
2: failed to lookup address information: Try again
Sep 04 15:43:53.146 ERROR aliyundrive_webdav::vfs: refresh directory file list failed error=HTTP status client error (401 Unauthorized) for url (https://api.aliyundrive.com/adrive/v3/file/list)
应当尝试重新获取 token.
version 0.3.1 此架构的文件正确SHA256值应该是ea4b6c5b12e4842fede5900cbf7cae27d9955e55cf951e34c3297b7eda5cfed9,编译openwrt linux版本出现校验错误
如题
能够新建文件夹,但是不能上传文件,x86_64版本
默认是把 /
给分享出来了。期望后面的版本可以设置一个网盘路径作为 webdav 的分享
求支持arm v8架构.谢谢大佬
如果能添加挂载路径选项就完美了,这样可以同时使用多个账号。例如:https://github.com/zxbu/webdav-aliyundriver项目里的“--aliyundrive.work-dir=/etc/aliyun-driver/”
大神好,部署在路由器上,这是最好的选择。非常好的软件,我已安装到K3的openwrt上,共享给电视播放每集12GB的4K版《世部世界》,结果不卡顿很畅顺。但在我的芝杜X9S盒子的openwrt安装不上,不知有没大神可编译一个适合的版本?
另外我想问下,续版本可否支持多帐号?
就不用打开浏览器,进入GITHUB然后找项目进来了。
嗯,就是这么懒
多谢
如题,每次看到更新都不知道改了些什么
N1盒子昨天在openwrt系统很容易安装正常运行,今天用coreelec系统docker部署出错
CoreELEC:~ # docker run -d --name=aliyundrive-webdav --restart=unless-stopped -p 8088:8080 -e REFRESH_TOKEN='e80f06fe04
xxxxxxxxxxxxxx61637cb2' messense/aliyundrive-webdav
Unable to find image 'messense/aliyundrive-webdav:latest' locally
latest: Pulling from messense/aliyundrive-webdav
docker: no matching manifest for linux/arm/v8 in the manifest list entries.
是同一个盒子,只是系统不同。
Newifi D2 上传upx压缩后二进制,执行卡死,不返回不退出, CPU占用率一直25%
路由器型号:小米ax3600,openwrt固件使用的是:https://github.com/Boos4721/updater/tree/OpenWrt
命令行输出:
2021-09-18 20:31:20 (7.84 MB/s) - 'aliyundrive-webdav_0.1.27-1_aarch64_generic.ipk' saved [2122875/2122875]
root@OpenWrt:~# opkg install aliyundrive-webdav_0.1.27-1_aarch64_generic.ipk
Unknown package 'aliyundrive-webdav'.
Collected errors:
root@OpenWrt:~# uname -m
aarch64
OpenWrt
uci set aliyundrive-webdav.@server[0].refresh_token 'new refresh_token'
Merlin
dbus set aliyundrivewebdav_refresh_token='new refresh_token'
虽然文件都有,但是不用每次自己编译还是更好的,先谢过了!
放在谷歌盘了:
https://drive.google.com/drive/folders/1jI2tsRoHdkpqj42Bp4k5LcauqNfbn8H-?usp=sharing
另外,华硕路由有点抽的地方就是armv7只能用v5二进制,所以K3是用不了384的。文件名我就相应改成
aliyundrivewebdav_armv5_0.1.23.tar
aliyundrivewebdav_armv7_0.1.23.tar
对应自己机型能用的二进制尝试吧。。。
页面加了插件版本显示。把不存在的PNG去掉了。
路由器是Newifi D2
操作步骤
个人暂时还没有上传的需求,而且 WebDAV 协议无法支持秒传。
请问如何让docker自动更新refresh_token值呢?
root@OpenWrt:/# pip install aliyundrive-webdav
Collecting aliyundrive-webdav
Using cached aliyundrive_webdav-0.1.25.tar.gz (416 kB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python /tmp/pip-standalone-pip-s_n6o_1h/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-3bw3spl8/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'maturin>=0.11,<0.12'
cwd: None
Complete output (52 lines):
Collecting maturin<0.12,>=0.11
Using cached maturin-0.11.3.tar.gz (110 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting toml~=0.10.0
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Building wheels for collected packages: maturin
Building wheel for maturin (PEP 517): started
Building wheel for maturin (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python /tmp/tmpam39fzon build_wheel /tmp/tmp_eyx5z45
cwd: /tmp/pip-install-sc2ngmux/maturin_9d7240e8a8b9472ab6f01872cf79ecc5
Complete output (31 lines):
running bdist_wheel
running build
installing to build/bdist.linux-aarch64/wheel
running install
Traceback (most recent call last):
File "/tmp/tmpam39fzon", line 349, in <module>
main()
File "/tmp/tmpam39fzon", line 331, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmpam39fzon", line 248, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-yop_47yn/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 216, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/tmp/pip-build-env-yop_47yn/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-yop_47yn/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 106, in <module>
setup(
File "/tmp/pip-build-env-yop_47yn/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
File "/tmp/pip-build-env-yop_47yn/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 335, in run
self.run_command('install')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
File "setup.py", line 58, in run
raise RuntimeError(
RuntimeError: cargo not found in PATH. Please install rust (https://www.rust-lang.org/tools/install) and try again
----------------------------------------
ERROR: Failed building wheel for maturin
Failed to build maturin
ERROR: Could not build wheels for maturin which use PEP 517 and cannot be installed directly
----------------------------------------
本地相关版本号
root@OpenWrt:/# pip --version
pip 21.2.4 from /usr/lib/python3.8/site-packages/pip (python 3.8)
手头有个老的设备pogoplug pip安装不上 缺少rust
能不能帮忙编一个armv5版本
感谢这么好的项目
可以在手机上运行了,直接用nplayer挂载看片
我是用的openwrt,安装好以后发现ipv6的地址访问不了!想请问一下可以监听v4和v6不,还有能否多开?我有两个网盘账号都想挂上来!
可否编译成 WASM 利用 nodejs 调用
在Linux下运行:
./aliyundrive-webdav --refresh-token "be7da06468714f798xxxxxxxxxxxxxxxxxx"
分别在arm和mips架构下测试都报如下错误:
Sep 14 12:24:50.187 ERROR aliyundrive_webdav::drive: refresh token failed: HTTP status client error (400 Bad Request) for url (https://websv.aliyundrive.com/token/refresh)
Error: initialize aliyundrive file system failed
9月11日下载的Docker版本,与群晖cloud sync配合(cloudsync设置单项上传),目录同步完成后。再次向群晖需要上传的目录中保存文件后,cloudsync会重复上传保存文件的那个目录下的文件,不会停。请问,这问题有办法解决吗?
aliyundrive-webdav --auto-index --cache-size 1000 --host 0 --port 8085 --read-buffer-size 10485760 --refresh-token XXXX
aliyundrive-webdav -I --host ::0 --port 5003 -S 10485760 --cache-size 1000 -r XXXXX -W admin -U admin
按照官方使用说明,以上两条命令行在ssh 运行都出现以下提示:
Sep 04 10:53:00.173 INFO aliyundrive_webdav::drive: refresh token succeed refresh_token=fd2a5db1df774acXXXXXXXX0328c1bd1 nick_name=摸摸么
Sep 04 10:53:00.173 INFO aliyundrive_webdav::drive: found default drive drive_id=1543251
Sep 04 10:53:00.174 INFO aliyundrive_webdav: listening on 0.0.0.0:8085
Illegal instruction
大佬你好,请问,命令行形式的refresh_token会自动更新吗?谢谢!
Sep 20 17:10:34.013 ERROR aliyundrive_webdav::drive: refresh token failed: HTTP status client error (400 Bad Request) for url (https://websv.aliyundrive.com/token/refresh):
<h1>The input parameter client_id is not valid. Please refer to document. RequestId:171FB923-7FB2-40E2-80F8-C3C1064AF8D4</h1>
<h2>400</h2>
<h2>1EF5474D-FA05-446D-B6CC-162C324356CB</h2>
Error: initialize aliyundrive file system failed
OpenWRT的DockerMan运行时,一直提示连接超时,请问如何验证网络连通与否呢?
stdout: [2mSep 18 10:32:14.064[0m [33m WARN[0m aliyundrive_webdav::drive: refresh token failed, will wait and try error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: operation timed out
建议做个docker版本,可以直接使用python3镜像做个docker版本,我在树莓派上测试了,可行
特地注册了账号来发言。
通过NetDrive挂载云盘为本地磁盘后,上传文件提示“磁盘写保护”。
我平时也会使用nplayer&infuse,没错,这些播放器是把元数据存在播放端的,不需要写入文件至阿里云盘。但像emby这类媒体管理程序,自动下载影片海报、缩略图,保存放进度信息等等,是需要写入文件至影片目录的。
如果能解决上传/写入问题,那真的就太棒了。
目前使用另一位作者的.jar工具,是可以实现上传/写入功能的,但是程序运行效率有问题,所以会持续关注本程序。
谢谢,感恩。
能增加一个把os的路径分享成webdav的功能
看到更新说支持上传了,看docker也更新了,就更新了下docker,试了下还是不能上传,请问大佬需要什么信息来调试呢?
docker镜像id是:cb969dcc5b23
webdav是:RaiDrive
如题
可以提升下载线程么? k3路由器 跑 速度不太够 点播16g的电影
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.