说明:博主之前发了很多网盘离线教程了,包括一些脚本,查看:Aria2+Rclone+DirectoryLister+Aria2Ng一键安装脚本,差不多都是配合Google Drive
网盘的,不过OneDrive
的也有,但都不是很理想,现在感觉OneIndex
挺不错的,配合OneDrive
可以实现观看/下载不走VPS
流量的离线BT
网盘,这里就整了个一键脚本,将以往需要的2
个域名变成了1
个,且下载文件自动上传到OneIndex/OneDrive
指定文件夹,并删除本地文件,使其不占VPS
空间,添加并自动更新Trackers
服务器,有兴趣的可以玩玩。
截图
更新
【2018.12.30】
修复重定向次数过多的问题,现已修复(这个抱歉,忘记在脚本里注释部分$,导致出了点小问题)。
【2018.12.22】
替换伪静态规则,调整缓存刷新时间
【2018.12.21】
修复一点小问题,并增加定时刷新缓存和token,优化定时任务步骤,最后不再显示定时任务编辑界面。
安装
系统要求:脚本只适用于Debian 8
、9
,且无网站环境,会自动签发Let's Encrypt SSL
证书,请提前将域名解析至VPS
服务器。
运行命令:
wget https://www.moerats.com/usr/shell/Aria2_OneIndex.sh && bash Aria2_OneIndex.sh
按要求输入以下选项:
请输入你的OneIndex域名信息(如:oneindex.moerats.com):
请输入你的Aria2密钥:
请输入你OneIndex/OneDrive中的一个文件夹(格式:RATS,此后所有文件都会上传到该文件夹):
输入好了后直到安装完成,如果Nginx
安装失败,检查下系统是否自带Apache2
,然后卸载掉就行了。Aria2Ng
访问地址:http://IP:8080
,OneIndex
后台地址:https://xx.com/?/admin
,默认密码:oneindex
。
提示:这里好几个同学反映进不去后台,博主看了下原因,顺便再说下,安装好了后,需要先访问自己的域名,然后绑定OneDrive账号了才能访问后台,不然是进不去后台的!
绑定OneDrive
后建议先访问后台,如果前台出现HTTP ERROR 500
的情况,可以重新下载源码后再绑定账号,使用命令:
#将domain.com改成你的域名再运行以下命令
cd /home/wwwroot/domain.com
rm -rf ./*
git clone https://github.com/donwa/oneindex.git
mv oneindex/* ./
chmod -R 777 config/ cache/
相关文件
OneIndex及域名根目录:/home/wwwroot/xx.com
Aria2Ng根目录:/home/wwwroot/aria2ng
域名证书目录:/home/wwwroot/ssl
Aria2配置文件夹:/root/.aria2
Aria2下载目录:/root/Download
相关提示
如果想使用手动安装的,参考:使用Aria2+Aria2Ng+OneIndex+OneDrive建立不限流量/离线BT下载/在线观看网盘。关于OneIndex
更详细的介绍和使用方法,包括OneDrive 5T
网盘的获取可以查看:OneIndex一键安装脚本 for Debian。由于OneIndex
自身原因,上传可能存在些BUG
,会导致有的文件上传失败,不过博主测试了下,大多数都可以上传,不怎么影响使用。最后如果你是免费申请的OneDrive 5T
网盘或者花的几块钱买的,建议别放重要资料,玩玩就行了。
关于上传
由于程序BUG
影响,上传存在问题,如果你想追求完美,可以使用博主近期发的OneDrive for Business
上传脚本,具体可以参考:VPS上传文件到OneDrive网盘脚本,可配合Aria2实现自动上传,本一键脚本的Aria2
上传脚本路径为:/root/.aria2/OneIndexupload.sh
,根据实际需求修改。
版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!
本文链接:https://www.moerats.com/archives/693/
如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。
https://i.loli.net/2020/04/29/ofGEIFinx3gt9SW.png
这是错误提示的截图。
更新好了,你再试试,换了删库前最后一个版本
oneindex下载失败了,是否和原作者删库有关?能更新新的下载地址吗
脚本安装和运行都正常,oneindex账号绑定也没问题,ariang也能进去,下载也正常。但是下载完的视频没有自动上传到我的onedrive中,oneindex中也没有看到上传任务,我手动上传aria2的下载文件夹提示文件不存在,请问是哪里出现了问题呢?
看下/root/.aria2里面的日志文件aria2.log,看下上传那里的日志。
怎么在下载完成后同时上传到google drive呢?
这个需要修改上传脚本,默认好像在/root/.aria2文件夹,具体网络,你可以找找,然后挂载googledrive,再修改上传命令啥的,上传onedrive下面模仿下,写个google的,差不多就这样。
如果想要同时上传到google drive,需要怎么修改配置文件的参数呢?
老哥,为什么ariang进去就显示认证失败怎么办~
密匙没填吗?需要先设置下
Aria2_OneIndex.sh: line 185: /root/.acme.sh/acme.sh: No such file or directory
[Error] SSL 证书生成失败
防火墙开了
什么系统?国内的服务器么?我刚刚用vultr的debian 9试了下,好像没这个问题,估计是curl https://get.acme.sh | sh这一步出了问题
henzter的德国服务器,但是手动执行curl https://get.acme.sh | sh还是error
把手动执行这个命令到结束的日志发我看看
防火墙关着
防火墙开了
Linux oranme430 5.3.13-1-pve #1 SMP PVE 5.3.13-1 (Thu, 05 Dec 201
9 07:18:14 +0100) x86_64
The programs included with the Debian GNU/Linux system are free s
oftware;
the exact distribution terms for each program are described in th
e
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@oranme430:~# wget https://www.moerats.com/usr/shell/Aria2_OneIndex.sh && bash Aria2_OneIndex.sh
--2020-02-23 04:00:14-- https://www.moerats.com/usr/shell/Aria2_OneIndex.sh
Resolving www.moerats.com (www.moerats.com)... 172.83.156.172
Connecting to www.moerats.com (www.moerats.com)|172.83.156.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11761 (11K) [application/octet-stream]
Saving to: 'Aria2_OneIndex.sh'
Aria2_OneIndex.sh 100%[==========>] 11.49K --.-KB/s in 0s
2020-02-23 04:00:15 (202 MB/s) - 'Aria2_OneIndex.sh' saved [11761/11761]
[OK] 当前系统为 Debian 9
Dload Upload Total Spent Left Speed[OK] 当前用户是root用户,进入安装流程
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://ftp.debian.org/debian stretch InRelease
Get:3 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:4 http://ftp.debian.org/debian stretch Release [118 kB]
Get:5 http://ftp.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org stretch/updates/main amd64 Packages [520 kB]
Get:7 http://security.debian.org stretch/updates/main Translation-en [230 kB]
Get:8 http://security.debian.org stretch/updates/contrib amd64 Packages [1760 B]
Get:9 http://security.debian.org stretch/updates/contrib Translation-en [1759 B]
Get:10 http://ftp.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [12.5 kB]
Get:11 http://ftp.debian.org/debian stretch-updates/main Translation-en [11.9 kB]
Get:12 http://ftp.debian.org/debian stretch-updates/main amd64 Packages [27.9 kB]
Get:13 http://ftp.debian.org/debian stretch/main amd64 Packages [7083 kB]
Get:14 http://ftp.debian.org/debian stretch/main Translation-en [5381 kB]
Get:15 http://ftp.debian.org/debian stretch/contrib amd64 Packages [50.9 kB]
Get:16 http://ftp.debian.org/debian stretch/contrib Translation-en [45.9 kB]
Fetched 13.7 MB in 16s (821 kB/s)
Reading package lists... Done
Building dependency tree... Done
71 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
Unpacking libcurl3:amd64 (7.52.1-5+deb9u9) ... Selecting previously unselected package curl. Preparing to unpack .../3-curl_7.52.1-5+deb9u9_amd64.deb ... Unpacking curl (7.52.1-5+deb9u9) ... Selecting previously unselected package net-tools. Preparing to unpack .../4-net-tools_1.60+git20161116.90da8a0-1_amd64.deb ... Unpacking net-tools (1.60+git20161116.90da8a0-1) ... Selecting previously unselected package sudo. Preparing to unpack .../5-sudo_1.8.19p1-2.1+deb9u2_amd64.deb ... Unpacking sudo (1.8.19p1-2.1+deb9u2) ... Selecting previously unselected package unzip. Preparing to unpack .../6-unzip_6.0-21+deb9u2_amd64.deb ... Unpacking unzip (6.0-21+deb9u2) ... Processing triggers for mime-support (3.60) ... Setting up sudo (1.8.19p1-2.1+deb9u2) ... Setting up libcurl3:amd64 (7.52.1-5+deb9u9) ... Setting up unzip (6.0-21+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u8) ... Setting up wget (1.18-5+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up bc (1.06.95-9+b3) ... Setting up net-tools (1.60+git20161116.90da8a0-1) ... Setting up curl (7.52.1-5+deb9u9) ... 请 输 入 你 的 OneIndex域 名 信 息 (如 :oneindex.moerats.com):one.nshfwz.info 请 输 入 你 的 Aria2密 钥 :AriaNG 请 输 入 你 OneIndex/OneDrive中 的 一 个 文 件 夹 ( 格 式 :RATS, 此 后 所 有 文 件 都 会 上传到该文件夹):AUG
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 13 100 13 0 0 549 0 --:--:-- --:--:-- --:--:-- 565
Creating config file /etc/php/7.0/mods-available/json.ini with new version Setting up php7.0-cli (7.0.33-0+deb9u7) ... update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode Creating config file /etc/php/7.0/cli/php.ini with new version Setting up php7.0-fpm (7.0.33-0+deb9u7) ... Creating config file /etc/php/7.0/fpm/php.ini with new version Created symlink /etc/systemd/system/multi-user.target.wants/php7.0-fpm.service -> /lib/systemd/system/php7.0-fpm.service. Setting up php7.0-cgi (7.0.33-0+deb9u7) ... update-alternatives: using /usr/bin/php-cgi7.0 to provide /usr/bin/php-cgi (php-cgi) in auto mode update-alternatives: using /usr/lib/cgi-bin/php7.0 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode Creating config file /etc/php/7.0/cgi/php.ini with new version Processing triggers for systemd (232-25+deb9u8) ... (Reading database ... 20896 files and directories currently installed.) Preparing to unpack .../liberror-perl_0.17024-1_all.deb ... Unpacking liberror-perl (0.17024-1) ... Selecting previously unselected package git-man. Preparing to unpack .../git-man_1%3a2.11.0-3+deb9u5_all.deb ... Unpacking git-man (1:2.11.0-3+deb9u5) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a2.11.0-3+deb9u5_amd64.deb ... Unpacking git (1:2.11.0-3+deb9u5) ... Selecting previously unselected package patch. Preparing to unpack .../patch_2.7.5-1+deb9u2_amd64.deb ... Unpacking patch (2.7.5-1+deb9u2) ... Selecting previously unselected package rsync. Preparing to unpack .../rsync_3.1.2-1+deb9u2_amd64.deb ... Unpacking rsync (3.1.2-1+deb9u2) ... Setting up git-man (1:2.11.0-3+deb9u5) ... Setting up liberror-perl (0.17024-1) ... Setting up rsync (3.1.2-1+deb9u2) ... Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service -> /lib/systemd/system/rsync.service. Setting up patch (2.7.5-1+deb9u2) ... Processing triggers for systemd (232-25+deb9u8) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up git (1:2.11.0-3+deb9u5) ... Cloning into 'oneindex'... remote: Enumerating objects: 1371, done. remote: Total 1371 (delta 0), reused 0 (delta 0), pack-reused 1371 Receiving objects: 100% (1371/1371), 3.57 MiB | 3.15 MiB/s, done.域名dns解析IP:2a01:4f8:191:48c:2018:2019:0:b3 (2a01:4f8:191:48c:2018:2019:0:b3
本机IP: 144.76.17.141
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
[Error] 域名dns解析IP 与 本机IP 不匹配 是否继续安装?(y/n)
y
继续安装
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libgd3 libjbig0 libjpeg62-turbo libnginx-mod-http-auth-pam
libnginx-mod-http-dav-ext libnginx-mod-http-echo
libnginx-mod-http-geoip libnginx-mod-http-image-filter
libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair
libnginx-mod-http-xslt-filter libnginx-mod-mail
libnginx-mod-stream libtiff5 libwebp6 libxslt1.1 nginx-common
nginx-full
Suggested packages:
libgd-tools fcgiwrap nginx-doc
The following NEW packages will be installed:
libgd3 libjbig0 libjpeg62-turbo libnginx-mod-http-auth-pam
libnginx-mod-http-dav-ext libnginx-mod-http-echo
libnginx-mod-http-geoip libnginx-mod-http-image-filter
libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair
libnginx-mod-http-xslt-filter libnginx-mod-mail
libnginx-mod-stream libtiff5 libwebp6 libxslt1.1 nginx
nginx-common nginx-full
0 upgraded, 19 newly installed, 0 to remove and 70 not upgraded.
Need to get 2592 kB of archives.
After this operation, 5480 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian stretch/main amd64 libjpeg62-turbo amd64 1:1.5.1-2 [134 kB]
Get:2 http://ftp.debian.org/debian stretch/main amd64 libjbig0 amd64 2.1-3.1+b2 [31.0 kB]
Get:3 http://ftp.debian.org/debian stretch/main amd64 libtiff5 amd64 4.0.8-2+deb9u4 [238 kB]
Get:4 http://ftp.debian.org/debian stretch/main amd64 libwebp6 amd64 0.5.2-1 [235 kB]
Get:5 http://ftp.debian.org/debian stretch/main amd64 libgd3 amd64 2.2.4-2+deb9u5 [132 kB]
Get:6 http://ftp.debian.org/debian stretch/main amd64 nginx-common all 1.10.3-1+deb9u3 [105 kB]
Get:7 http://ftp.debian.org/debian stretch/main amd64 libnginx-mod-http-auth-pam amd64 1.10.3-1+deb9u3 [86.1 kB]
Setting up libjpeg62-turbo:amd64 (1:1.5.1-2) ... Setting up libjbig0:amd64 (2.1-3.1+b2) ... Setting up nginx-common (1.10.3-1+deb9u3) ... Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service -> /lib/systemd/system/nginx.service. Setting up libnginx-mod-http-subs-filter (1.10.3-1+deb9u3) ... Setting up libtiff5:amd64 (4.0.8-2+deb9u4) ... Setting up libxslt1.1:amd64 (1.1.29-2.1+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u8) ... Setting up libnginx-mod-http-auth-pam (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-dav-ext (1.10.3-1+deb9u3) ... Setting up libnginx-mod-mail (1.10.3-1+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libnginx-mod-http-xslt-filter (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-upstream-fair (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-geoip (1.10.3-1+deb9u3) ... Setting up libwebp6:amd64 (0.5.2-1) ... Setting up libnginx-mod-stream (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-echo (1.10.3-1+deb9u3) ... Setting up libgd3:amd64 (2.2.4-2+deb9u5) ... Setting up libnginx-mod-http-image-filter (1.10.3-1+deb9u3) ... Setting up nginx-full (1.10.3-1+deb9u3) ... Setting up nginx (1.10.3-1+deb9u3) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... [OK] nginx 安 装 成 功 Reading package lists... Done Building dependency tree Reading state information... Done
The following additional packages will be installed:
php-common php7.0-cli php7.0-common php7.0-json php7.0-opcache
php7.0-readline psmisc
Suggested packages:
php-pear
The following NEW packages will be installed:
php-common php7.0-cgi php7.0-cli php7.0-common php7.0-curl
php7.0-fpm php7.0-gd php7.0-json php7.0-opcache php7.0-readline
psmisc
Resolving deltas: 100% (736/736), done.
[OK] OneIndex 下载成功
--2020-02-23 04:03:49-- https://github.com/mayswind/AriaNg/releases/download/0.3.0/aria-ng-0.3.0.zip
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040349Z&X-Amz-Expires=300&X-Amz-Signature=105ee48971214bf05282a78b97fa3e8c9c6610c1efe87a15584db1352af067b9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream [following]
--2020-02-23 04:03:49-- https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040349Z&X-Amz-Expires=300&X-Amz-Signature=105ee48971214bf05282a78b97fa3e8c9c6610c1efe87a15584db1352af067b9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.19.48
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.19.48|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 951990 (930K) [application/octet-stream]
Saving to: 'aria-ng-0.3.0.zip'
aria-ng-0.3.0.zip 100%[==========>] 929.68K 1.64MB/s in 0.6s
2020-02-23 04:03:50 (1.64 MB/s) - 'aria-ng-0.3.0.zip' saved [951990/951990]
Archive: aria-ng-0.3.0.zip
Dload Upload Total Spent Left Speedcreating: js/
inflating: js/angular-packages-1.6.5.min.js
inflating: js/aria-ng-12608bfb5c.min.js
inflating: js/bootstrap-3.3.7.min.js
inflating: js/echarts-common-3.7.1.min.js
inflating: js/jquery-2.2.4.min.js
inflating: js/moment-with-locales-2.18.1.min.js
inflating: js/plugins-f99230fa2d.min.js
creating: langs/
inflating: langs/zh_Hans.txt
inflating: langs/zh_Hant.txt
inflating: index.html
inflating: index.manifest
inflating: LICENSE
inflating: robots.txt
[OK] 443 端口未被占用
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
netcat socat
0 upgraded, 2 newly installed, 0 to remove and 70 not upgraded.
Need to get 362 kB of archives.
After this operation, 1063 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian stretch/main amd64 netcat all 1.10-41 [8962 B]
Get:2 http://ftp.debian.org/debian stretch/main amd64 socat amd64 1.7.3.1-2+deb9u1 [353 kB]
Fetched 362 kB in 0s (2452 kB/s)
Selecting previously unselected package netcat.
(Reading database ... 21811 files and directories currently installed.) Preparing to unpack .../netcat_1.10-41_all.deb ... Unpacking netcat (1.10-41) ... Selecting previously unselected package socat. Preparing to unpack .../socat_1.7.3.1-2+deb9u1_amd64.deb ... Unpacking socat (1.7.3.1-2+deb9u1) ... Setting up socat (1.7.3.1-2+deb9u1) ... Setting up netcat (1.10-41) ... Processing triggers for man-db (2.7.6.1-2) ... [OK] SSL 证 书 生 成 脚 本 依 赖 安 装 成 功 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 775 0 775 0 0 8313 0 --:--:-- --:--:-- --:--:-- 8333
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 191k 100 191k 0 0 2228k 0 --:--:-- --:--:-- --:--:-- 2255k
[Sun Feb 23 04:04:02 UTC 2020] Installing from online archive.
[Sun Feb 23 04:04:02 UTC 2020] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sun Feb 23 04:04:03 UTC 2020] Extracting master.tar.gz
[Sun Feb 23 04:04:04 UTC 2020] Installing to /root/.acme.sh
[Sun Feb 23 04:04:04 UTC 2020] Installed to /root/.acme.sh/acme.sh
[Sun Feb 23 04:04:04 UTC 2020] Installing alias to '/root/.bashrc'
[Sun Feb 23 04:04:04 UTC 2020] OK, Close and reopen your terminal to start using acme.sh
[Sun Feb 23 04:04:04 UTC 2020] Installing cron job
no crontab for root
no crontab for root
[Sun Feb 23 04:04:04 UTC 2020] Good, bash is found, so change the shebang to use bash as preferred.
[Sun Feb 23 04:04:05 UTC 2020] OK
[Sun Feb 23 04:04:05 UTC 2020] Install success!
[OK] SSL 证书生成脚本安装成功
[Sun Feb 23 04:04:09 UTC 2020] Standalone mode.
[Sun Feb 23 04:04:10 UTC 2020] Create account key ok.
[Sun Feb 23 04:04:10 UTC 2020] Registering account
[Sun Feb 23 04:04:12 UTC 2020] Registered
[Sun Feb 23 04:04:12 UTC 2020] ACCOUNT_THUMBPRINT='nXEoF7a_-t0eTYRmvwQTtCT44Ae2e9zyXOatfM2ZFsU'
[Sun Feb 23 04:04:12 UTC 2020] Creating domain key
[Sun Feb 23 04:04:12 UTC 2020] The domain key is here: /root/.acme.sh/one.nshfwz.info_ecc/one.nshfwz.info.key
[Sun Feb 23 04:04:12 UTC 2020] Single domain='one.nshfwz.info'
[Sun Feb 23 04:04:12 UTC 2020] Getting domain auth token for each domain
[Sun Feb 23 04:04:14 UTC 2020] Getting webroot for domain='one.nshfwz.info'
[Sun Feb 23 04:04:14 UTC 2020] Verifying: one.nshfwz.info
[Sun Feb 23 04:04:14 UTC 2020] Standalone mode server
[Sun Feb 23 04:04:19 UTC 2020] Pending
[Sun Feb 23 04:04:22 UTC 2020] Pending
[Sun Feb 23 04:04:24 UTC 2020] Pending
[Sun Feb 23 04:04:27 UTC 2020] one.nshfwz.info:Verify error:Fetching http://one.nshfwz.info/.well-known/acme-challenge/kFoZo5X6I05Vd2xNno9-0Gt-bAl56VEXoWCNd4S5t60: Timeout during connect (likely firewall problem)
[Sun Feb 23 04:04:27 UTC 2020] Please add '--debug' or '--log' to check more details.
[Sun Feb 23 04:04:27 UTC 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
root@oranme430:~# wget https://www.moerats.com/usr/shell/Aria2_OneIndex.sh && bash Aria2_OneIndex.sh
--2020-02-23 04:05:57-- https://www.moerats.com/usr/shell/Aria2_OneIndex.sh
Resolving www.moerats.com (www.moerats.com)... 172.83.156.172
Connecting to www.moerats.com (www.moerats.com)|172.83.156.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11761 (11K) [application/octet-stream]
Saving to: 'Aria2_OneIndex.sh.1'
Aria2_OneIndex.sh 100%[==========>] 11.49K --.-KB/s in 0s
2020-02-23 04:05:58 (176 MB/s) - 'Aria2_OneIndex.sh.1' saved [11761/11761]
[OK] 当前系统为 Debian 9
Dload Upload Total Spent Left Speed[OK] 当前用户是root用户,进入安装流程
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree
Reading state information... Done
bc is already the newest version (1.06.95-9+b3).
curl is already the newest version (7.52.1-5+deb9u9).
net-tools is already the newest version (1.60+git20161116.90da8a0-1).sudo is already the newest version (1.8.19p1-2.1+deb9u2).
unzip is already the newest version (6.0-21+deb9u2).
wget is already the newest version (1.18-5+deb9u3).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
请输入你的OneIndex域名信息(如:oneindex.moerats.com):one.nshfwz.info
请输入你的Aria2密钥:AriaNG
请输入你OneIndex/OneDrive中的一个文件夹(格式:RATS,此后所有文件都会上传到该文件夹):AUG
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 13 100 13 0 0 546 0 --:--:-- --:--:-- --:--:-- 565
域名dns解析IP:2a01:4f8:191:48c:2018:2019:0:b3 (2a01:4f8:191:48c:2018:2019:0:b3
本机IP: 144.76.17.141
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
[Error] 域名dns解析IP 与 本机IP 不匹配 是否继续安装?(y/n)
y
继续安装
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx is already the newest version (1.10.3-1+deb9u3).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
[OK] nginx 安装成功
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.0-cgi is already the newest version (7.0.33-0+deb9u7).
php7.0-curl is already the newest version (7.0.33-0+deb9u7).
php7.0-fpm is already the newest version (7.0.33-0+deb9u7).
php7.0-gd is already the newest version (7.0.33-0+deb9u7).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
[OK] php7 安装成功
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.11.0-3+deb9u5).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
fatal: destination path 'oneindex' already exists and is not an empty directory.
[OK] OneIndex 下载成功
--2020-02-23 04:06:56-- https://github.com/mayswind/AriaNg/releases/download/0.3.0/aria-ng-0.3.0.zip
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040656Z&X-Amz-Expires=300&X-Amz-Signature=899df2874e61fb8fab79b25392f1df2f810bd4b98744e52452bae2e8a2434c6f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream [following]
--2020-02-23 04:06:56-- https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040656Z&X-Amz-Expires=300&X-Amz-Signature=899df2874e61fb8fab79b25392f1df2f810bd4b98744e52452bae2e8a2434c6f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.164.11
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.164.11|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 951990 (930K) [application/octet-stream]
Saving to: 'aria-ng-0.3.0.zip.1'
aria-ng-0.3.0.zip 100%[==========>] 929.68K 1.66MB/s in 0.5s
2020-02-23 04:06:57 (1.66 MB/s) - 'aria-ng-0.3.0.zip.1' saved [951990/951990]
Archive: aria-ng-0.3.0.zip
Dload Upload Total Spent Left Speedreplace js/angular-packages-1.6.5.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/angular-packages-1.6.5.min.js
replace js/aria-ng-12608bfb5c.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
y inflating: js/aria-ng-12608bfb5c.min.js
replace js/bootstrap-3.3.7.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename:
inflating: js/bootstrap-3.3.7.min.js
replace js/echarts-common-3.7.1.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/echarts-common-3.7.1.min.js
replace js/jquery-2.2.4.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/jquery-2.2.4.min.js
replace js/moment-with-locales-2.18.1.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/moment-with-locales-2.18.1.min.js
replace js/plugins-f99230fa2d.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/plugins-f99230fa2d.min.js
replace langs/zh_Hans.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename:
error: invalid response [{ENTER}]
replace langs/zh_Hans.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: langs/zh_Hans.txt
replace langs/zh_Hant.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: langs/zh_Hant.txt
replace index.html? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: index.html
replace index.manifest? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: index.manifest
replace LICENSE? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: LICENSE
replace robots.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: robots.txt
replace css/aria-ng-2aa6affdda.min.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: css/aria-ng-2aa6affdda.min.css
replace css/bootstrap-3.3.7.min.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: css/bootstrap-3.3.7.min.css
replace css/plugins-a7090b9582.min.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: css/plugins-a7090b9582.min.css
replace fonts/fontawesome-webfont.eot? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.eot
replace fonts/fontawesome-webfont.svg? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.svg
replace fonts/fontawesome-webfont.ttf? [y]es, [n]o, [A]ll, [N]one, [r]ename:
error: invalid response [{ENTER}]
replace fonts/fontawesome-webfont.ttf? [y]es, [n]o, [A]ll, [N]one, [r]ename:
error: invalid response [{ENTER}]
replace fonts/fontawesome-webfont.ttf? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.ttf
replace fonts/fontawesome-webfont.woff? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.woff
replace fonts/fontawesome-webfont.woff2? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.woff2
[OK] AriaNg 下载成功
y
[OK] 80 端口未被占用
[OK] 443 端口未被占用
Reading package lists... Done
Building dependency tree
Reading state information... Done
netcat is already the newest version (1.10-41).
socat is already the newest version (1.7.3.1-2+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
[OK] SSL 证书生成脚本依赖安装成功
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 775 0 775 0 0 9784 0 --:--:-- --:--:-- --:--:-- 9810
Dload Upload Total Spent Left Speed% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 191k 100 191k 0 0 765k 0 --:--:-- --:--:-- --:--:-- 766k
[Sun Feb 23 04:07:45 UTC 2020] Installing from online archive.
[Sun Feb 23 04:07:45 UTC 2020] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sun Feb 23 04:07:46 UTC 2020] Extracting master.tar.gz
[Sun Feb 23 04:07:46 UTC 2020] Installing to /root/.acme.sh
[Sun Feb 23 04:07:46 UTC 2020] Installed to /root/.acme.sh/acme.sh
[Sun Feb 23 04:07:46 UTC 2020] Installing alias to '/root/.bashrc'
[Sun Feb 23 04:07:46 UTC 2020] OK, Close and reopen your terminal to start using acme.sh
[Sun Feb 23 04:07:46 UTC 2020] Installing cron job
4 0 * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Sun Feb 23 04:07:46 UTC 2020] Good, bash is found, so change the shebang to use bash as preferred.
[Sun Feb 23 04:07:48 UTC 2020] OK
[Sun Feb 23 04:07:48 UTC 2020] Install success!
[OK] SSL 证书生成脚本安装成功
[Sun Feb 23 04:07:51 UTC 2020] Standalone mode.
[Sun Feb 23 04:07:52 UTC 2020] Single domain='one.nshfwz.info'
[Sun Feb 23 04:07:52 UTC 2020] Getting domain auth token for each domain
[Sun Feb 23 04:07:55 UTC 2020] Getting webroot for domain='one.nshfwz.info'
[Sun Feb 23 04:07:56 UTC 2020] Verifying: one.nshfwz.info
[Sun Feb 23 04:07:56 UTC 2020] Standalone mode server
[Sun Feb 23 04:08:00 UTC 2020] Pending
[Sun Feb 23 04:08:03 UTC 2020] Pending
[Sun Feb 23 04:08:06 UTC 2020] Pending
[Sun Feb 23 04:08:09 UTC 2020] one.nshfwz.info:Verify error:Fetching http://one.nshfwz.info/.well-known/acme-challenge/aXMRZd-hrSAgO7ExSm-2PS33-72y6U38ZlrqPvihpOI: Timeout during connect (likely firewall problem)
[Sun Feb 23 04:08:09 UTC 2020] Please add '--debug' or '--log' to check more details.
[Sun Feb 23 04:08:09 UTC 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
root@oranme430:~# y
-bash: y: command not found
root@oranme430:~#
root@oranme430:~#
刚刚好了,然后又坏了
你怎么跑了2次脚本,这只能跑一次,第二次会出问题
第一次也不行,说连接超时
昨天遇到了证书生成失败,估计是证书发完了,第二天早上再试就可以了
好像要两三天,具体几天不知道,你换个二级域名试试
Aria2_OneIndex.sh: line 185: /root/.acme.sh/acme.sh: No such file or directory
[Error] SSL 证书生成失败
这个该怎么解决
还有没有更多点的错误
[Wed Feb 12 18:23:51 CST 2020] Pending
[Wed Feb 12 18:23:54 CST 2020] cloud.asuna.xyz:Verify error:Fetching http://cloud.asuna.xyz/.well-known/acme-challenge/OV12Ity5iE9NxLvdzC1cHM4-VgQWscXoQe0p1PAeyGU: Timeout during connect (likely firewall problem)
[Wed Feb 12 18:23:54 CST 2020] Please add '--debug' or '--log' to check more details.
[Wed Feb 12 18:23:54 CST 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
好像是网络问题,超时了,看是不是防火墙没开,比如80
理论上是可以的,直接把域名解析到v6就行
总是PHP7安装失败,怎么搞
debian10
好像还没适配debian 10,我有空看看了,改下脚本
[Thu Jan 16 01:55:26 EST 2020] :Verify error:Fetching http://*/.well-known/acme-challenge/DKiq-VxjgU_lHRXGRus_nQM1EkRHQ8rKYnY2ysUOm-U: Timeout during connect (likely firewall problem)
[Thu Jan 16 01:55:26 EST 2020] Please add '--debug' or '--log' to check more details.
[Thu Jan 16 01:55:26 EST 2020] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
请问这个错误是什么?一直提示SSL证书生成失败
连接超时,说防火墙没打开,比如80
{"error":{"code":"serviceNotAvailable","message":"Service unavailable","retryAfterSeconds":30}}
一直会遇到这个问题,请问怎么解决呢QAQ
同问,我也遇到了
看是不是api的问题,重新绑定看看
https://github.com/mayswind/AriaNg/releases/download/0.3.0/aria-ng-0.3.0.zip
已经失效了哎
搞定,解决了哎
dasheng,mou pai
我看他git一直在更新,应该不会是老版本吧
我用了pyone就发现自己的onrdrive网盘内容谁都可以看见。想隐藏还要一个个目录单独设置。
大家是这种情况吗。
连不上去,或者提供下/root/.aria2/aria2.log文件里面,部分报错信息
SSL证书生成脚本安装成功之后就卡住了,进行不下去了
no crontab for root
[Tue Sep 24 04:19:25 EDT 2019] Good, bash is found, so change the shebang to use bash as preferred.
[Tue Sep 24 04:19:25 EDT 2019] OK
[Tue Sep 24 04:19:25 EDT 2019] Install success!
[OK] SSL 证书生成脚本安装成功
[Tue Sep 24 04:19:29 EDT 2019] Standalone mode.
[Tue Sep 24 04:19:29 EDT 2019] Create account key ok.
[Tue Sep 24 04:19:29 EDT 2019] Registering account
脚本到这里就卡住了
什么原因呢
这个好像没报错,得多等等看才行
求个CentOS的一键脚本...
是因为我的路径是AV吗
我总共下30G的视频,分开下,可是onedrive里啥都看不到啊
vps上有视频吗?
没有啊,在aria2ng界面下载完之后,xftp里的视频文件就消失了
你看下日志,/root/.aria2/aria2.log,看有没有报错什么的
感谢大佬回复,多重装了几次,就没什么问题了,但是现在又碰到一个问题 :有些种子没速度,在aria2NG界面上是可以看到seed数和连接数的,可是没速度,是因为vps在国外的缘故还是track的原因
应该是资源的原因,有时候速度也是看资源的,你换换track服务器试试,不过感觉提升也不会太大
试了下,真没什么效果。萌鼠大佬,我还想问个问题:就是用oneindex,但是过不了多久又要用填ID和密匙参数,所以我就不想用onindex了,就想着直接用aria2下载完后,上传至onedrive(萌咖脚本)后再删除,主要还是onindex要占用443,我不想用啊
有方案可以实现吗
用脚本安装好之后,在绑定微软账号中失败了,我也不知道啥原因啊,大佬,有解决办法?我用的几块钱的ondrive
这个问题已经解决好了,我想问下更改文件上传路径咋整?
路径在/root/.aria2/OneIndexupload.sh修改
现在在安装过程中会提示证书配置失败。怎么解决呢?
有错误信息吗?
就是提示ssl证书配置错误,等我晚上回去在配置一次把错误信息发给你看看
最后一步 Aira2启动失败 咋办
你好,显示php7.0安装失败咋办
这个只能换系统看看,具体原因不明。
AriaNG 显示已连接 但是添加任务的时候一直在转圈圈加载,是怎么回事呢? (刚刚安装好的时候是没有问题的,也没有改东西) 希望解答一下 谢谢
刷新一下看看,应该网络问题,或者你f12看下控制台有什么红色报错信息没
有报错信息 而且还有好几行 是不是要重装啊?
复制我看看,把日志
怎么看呢
/root/.aria2/aria2.log日志文件
大佬 能看上传的实时进度吗 小文件 上传很快 大文件不知道是上传失败 还是未完成
这个不太清楚,一般只需要等待就行了,上传完,该进度会自己结束。
刚才说的有点太空,上了ng以后,显示认证失败,然后无法链接aria2
是不是填的密匙什么信息不对?
ip:6800连不上aria2ng怎么办
看服务器还有不有额外的安全组,然后还需要再开一次6800端口。
api好像被限制了QAQ。。。现在登入不了。。。老是显示有问题
'https://www.moerats.com/usr/shell/Aria2_OneIndex.sh' (UTF-8)
--2019-07-30 04:38:50-- https://www.moerats.com/usr/shell/Aria2_OneIndex.sh
Connecting to www.moerats.com (www.moerats.com)|66.11.117.219|:443... connected.
ERROR: The certificate of 'www.moerats.com' is not trusted.
ERROR: The certificate of 'www.moerats.com' hasn't got a known issuer.
什么鬼???
你这个是mini系统?安装个命令就好了。
Debian、Ubuntuapt install -y ca-certificates
CentOSyum install -y ca-certificates
您好,我从搜索引擎过来{"error":{"code":"serviceNotAvailable","message":"Service unavailable","retryAfterSeconds":120}}
但是文章内容没看到,遇到这种情况,该怎么办
这个看是不是api被限制了
只是文件不能查看
但是可以查看目录搜索等具体地址https://pan.isoyu.com/
咦刚刚正常了,崩溃了一天
这个一般要么就是api被限制了,要么就是抽风
不安装宝塔面板直接装oneindex行不行啊
可以,脚本本来就不需要宝塔。
大佬,为何不能自动删除服务器里的文件呢,离线下载之后,上传完毕了,服务器上的文件还有。
看下aria2.log日志文件
{"error":{"code":"serviceNotAvailable","message":"Service unavailable","retryAfterSeconds":30}}
一开始正常,后面硬盘爆了处理了下,重新绑定,再去下载文件弹出网页就提示这个。站长大大知道怎么回事吗
朋友解决么,我也出现这个问题,是因为外链访问太频繁么
我的也出现这个问题了,应该是访问太频繁了
这个没遇到过,所以不太清楚
用这个脚本搭建的ariaNG,底下显示未连接,提示认证错误。用逗比的安装也是显示未连接。进入站长你的aria,也是显示未连接。是程序出问题了吗
已解决,需要在后台设置连接
老哥,安装了你的一键脚本,啥都好了,就是oneindex默认密码错误怎么办?输入默认密码进不去,现在就卡在这一步了,别的都搞定了。
在前台绑定Onedrive没?不绑定直接去后台输入密码是进不去的。
不好意思,我已经解决了,我自己没有绑定前台,后来绑定就好了,抱歉打扰你了!
大佬,很多种子卡在99.9%,想实现aria2停止任务即上传,改哪个配置文件?我查了半天也没查到oneindex的上传文件命令
ok解决了,在aria2.conf添加了on-download-stop=参数
打开域名 重定向的次数过多。怎么搞
看下你的配置文件,cat /etc/nginx/conf.d/OneIndex.conf
server
{ listen 443 ssl http2; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; server_name oss.cymx.tw; root /home/wwwroot/oss.cymx.tw; index index.html index.php; ssl on; ssl_certificate /home/wwwroot/ssl/OneIndex.crt; ssl_certificate_key /home/wwwroot/ssl/OneIndex.key; ssl_session_timeout 5m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_ciphers "EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5"; ssl_session_cache builtin:1000 shared:SSL:10m; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.0-fpm.sock; } location / { try_files $uri $uri/ /index.php?$args; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } access_log off; }server
{ listen 80; server_name oss.cymx.tw; rewrite ^(.*) https://oss.cymx.tw$1 permanent;有没有开CDN啥的?
开了CloudFlare
关掉cf就好了
大佬感谢您的一键包,我想请问一下 如何把aria2Ng的网址也绑定域名呢,不能安装宝塔我就啥都不会了QAQ,求帮助
SSL证书到期,如何更新呢。手动替换nginx会报错
一般用的acme.sh脚本会自动续期,如果出现意外可以看下该地址https://github.com/Neilpang/acme.sh/wiki/%E8%AF%B4%E6%98%8E,重新手动申请ssl,证书路径/home/wwwroot/ssl
如果手动用萌咖大佬的上传脚本,直接删了OneIndexupload.sh自动上传脚本会不会有影响,因为下载后想删除多余的文件再上传。
不影响
好棒~谢谢。
默认密码错,哪里修改?
是不是没绑定账号就直接去了后台?
没有域名的VPS怎么破 SSL这块过不了了~~
[Fri Mar 15 09:12:22 GMT 2019] Create new order error. Le_OrderFinalize not found. {
"type": "urn:ietf:params:acme:error:malformed",
"detail": "Error creating new order :: Issuance for IP addresses not supported",
"status": 400
}
[Fri Mar 15 09:12:22 GMT 2019] Please add '--debug' or '--log' to check more details.
[Fri Mar 15 09:12:22 GMT 2019] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
手动安装吧,博客有教程
说你没安装定时任务,不过脚本已经有安装,具体还不是很清楚,你可以手动安装下,apt install cron,或者换系统重来
解决了,谢谢大佬,可能是因为我的系统是mini
能不用mini就不用,有的精简太厉害,一堆问题
建议信息还给多点
安装成功感谢大佬,以后怎么更新oneindex啊
重新手动安装,文章说了的,就那几个步骤
安装成功感谢大佬,以后怎么更新oneindex啊
大佬,脚本都已经安上了,后台能进,oneindex能进,可是http://IP:8080打不开了,用谷歌浏览器打开显示此网站无法提供安全连接,其他浏览器也这样,大佬有什么解决方案吗
现在都不许访问http了么。你先用我这个https://www.moerats.com/Aria2。
谷歌浏览器打开无痕模式就可以进了,不知道为什么,哈哈哈
你好,我安装好之后上传不到onedrive,用一个视频会上传好多次,但是都只到20%左右。请问怎么解决?
你上传个低于50m的文件看看。
[Error] 80 端口被占用,请检查占用进程 结束后重新运行脚本
总提示这个 无语 进程都被我杀掉了
临时解决办法,修改脚本文件,删除最下面ssl大括号里的port_exist_check 80,再运行脚本就好了
[Error] 80 端口被占用,请检查占用进程 结束后重新运行脚本
tcp 0 0 0.0.0.0:6800 0.0.0.0:* LISTEN 4670/aria2c
我也是80端口占用,请问SSL大括号在哪里,我没找到。。。
编辑脚本,在左下角代码里可以找到这种:
ssl(){
port_exist_check 80
port_exist_check 443
}
删掉这2排代码保存,再运行脚本即可
在哪里编辑脚本啊
脚本-wget https://www.moerats.com/usr/shell/Aria2_OneIndex.sh && bash Aria2_OneIndex.sh
这怎么编辑=-=
愚蠢的问题。。。
用ftp软件修改,或者使用nano Aria2_OneIndex.sh命令修改,然后ctrl+x、y保存退出
大佬,一键包很好用,尤其适合我这种小白。我使用时发现开启伪静态后解析图片出现404错误,想自己修改下伪静态规则,但没找到在哪里修改,望大佬不吝赐教,谢谢!
配置文件路径/etc/nginx/conf.d/OneIndex.conf,修改后记得重启nginx
博主 为什么我完成之后 aria2状态为 未连接呢 急
需要使用自己设置的密匙手动连接才行。
aria2ng访问不了 怎么回事
其他都正常 aria2也能正常使用
打开xx.com:8080自动跳转https://xx.com:8080 然后访问失败
换了个浏览器又行了
博主你好:
我在遇到500错误后 删除了 域名下的文件,然后从GitHub重新进行了下载 然后就再也无法绑定成功了,绑定后提示安装失败,情况与https://github.com/donwa/oneindex/issues/118 相同,但是下面说的方法并没有用
这个可以联系下我,我帮你看看。
博主你好:
该问题非常诡异,需要重新申请应用id,并且重新尝试绑定账号两次才能解决,另外500错误似乎与程序没太大关联?我昨天在ovz的机器上一直报500,换其他环境就好了。
这个500错误我也没找出是什么问题,看有不有人找出并提供方法。
肯定不是程序文件完整性方面的问题,昨天我仔细对比过 哈哈
不自动上传了怎么办
这个我也么办法,之前是卡住了,现在不自动了,Aria2运行日志怎么显示的?
上传卡 进度那里了显示暂停
就一个文件还是全部?一般上传卡住与io是有点关系的。
现在不自动上传了怎么解决啊
自动上传很好用,6GB的大文件也能完美上传,但是昨天晚上遇到了个问题,有个1.37GB的文件没有上传,在/root/Download也没有删除,好像是因为它的名字太长了。
自动上传失败后,我改了改它的名字如何让他重新上传。
还有就是这个脚本好像和酸酸乳有冲突,装了它酸酸乳就不能用了,先装酸酸乳的话,一键脚本就装不上了。
你用的带面板的酸酸乳?如果是就是环境冲突,不是的话大概是防火墙冲突,重新上传可以看上传命令,参考教程https://www.moerats.com/archives/692/。
有时候会遇到ERROR: The certificate of ‘www.moerats.com’ is not trusted.
建议在文章中加上
apt-get install ca-certificates -y #Debian/Ubuntu
yum install ca-certificates -y #CentOS
这个好像在mini系统里才会出现,也可以用-N --no-check-certificate,不过是不建议用这种系统,所以没加。
onedrive是不是有流量限制?今天出现了各种状况:有些目录里面没有内容,视频不能播放,页面显示:出现问题
您请求的页面暂时不可用。对由此给您造成的不便,我们深表歉意,请几分钟后再返回查看。
是的。
有没有宝塔的教程
有的,看这个:https://www.moerats.com/archives/700/
上传到网盘的时候,如果是一个文件夹,则不会上传文件夹本身,而是把文件夹里面的所有内容上传了,感觉有点不方便。能优化一下上传设置吗?
这个用的程序自带的上传方式,你可以研究下这个教程,https://www.moerats.com/archives/697/
上传bug是哪里的bug?以后有希望修复么?
这个可以问程序作者,不过bug不影响正常使用。
影响呀,我测试几个大于1g的文件上传都失败了,进度忽高忽低,就是上传不成功,5%跳到%1,流量确实一直再走了,1g的文件走了10g流量都上传不成功,但是用几个小文件就没问题。
aira2作者么?
Oneindex作者,用的程序自带的上传命令。如果想减少影响的话,用这个上传脚本https://www.moerats.com/archives/697/。
开车组的家庭版可以用么?
这个你试试就知道了。
如果只有IP地址没绑定域名是不是就不能用了?
这个强行绑定域名的。
哦是我没熟密钥……输了之后已经连接上了,谢谢!
我换了个国外的vps绑上域名之后可以用了谢谢!不过AriaNg那里提示Aria2认证失败是为什么……
我发现如果在Aria2中下载的文件大小没有获取到时(即大小未知),自动上传脚本不会生效。
截图:
https://s2.ax1x.com/2019/01/03/FoSxdf.png
https://s2.ax1x.com/2019/01/03/FoSveP.png
上传不生效说明Aria2下载完成的参数没触发。
https://我的域名/?/login 在登陆这个时 使用oneindex 密码登入 无反应,请问时咋回事啊老大
这个问题暂时还不知道是怎么回事,我自己没出现过,你可以加一下最下面的微信联系我,我看下是什么情况。
SSL 证书生成脚本安装失败,请检查相关依赖是否正常安装
sh: 1: cannot open html: No such file
sh: 2: Syntax error: redirection unexpected
这个是签发ssl的脚本网站抽风了,现在好了。
问题已经解决了请问Aria2的面包怎么绑定域名
我之前是用域名搭建的Aria2面板,有几个人反应没必要,就改成IP访问了,绑定这一言难尽,我博客有教程,你可以找找。
大佬,按照教程装好了,但是有两个小问题想咨询一下:
1、vps重启后正在下载的任务和暂停的任务全部都没有了;
2、有的文件下载后还是不会上传
第一个问题貌似面板的问题,具体我也不是很清楚。第二个问题,脚本用的程序自带的上传,好像是有些会失败,不过建议你用另一种上传方法https://www.moerats.com/archives/697/。不知道你会不会修改设置。
我折腾折腾,谢谢啦
安装完成之后访问域名显示重定向次数过多......这怎么破,清cookie也不行
抱歉,现在修复好了,忘记在脚本里注释部分$,手动修复方法,编辑/etc/nginx/conf.d/OneIndex.conf,重新替换下伪静态:
try_files $uri $uri/ /index.php?$args;location / {
}
然后重启nginx,service nginx restart
兄弟我也有这个问题,麻烦问下你有没有搞好
这个问题我昨天没遇到过,你加我最下面联系方式,我看看是啥情况吧。
大佬,我装好后也是这个问题...等待更新
重新装了两次,预装的Apache2用您提供的apt remove apache2 -y命令卸载了,装好后,打开默认网页还是 Apache2 Debian Default Page ,然后Aria2Ng的8080页面正常,oneindex的页面就是显示“此页面不能正确地重定向”
已修复,手动解决方法看上面。
大佬你好,我是小白一个,今天买了个vps好像是openvz的,用的是在控制面板里重装了debian-9.0-x86_64-minimal.tar.gz这个系统,然后什么都没装,用的这个脚本,域名也绑定了,但是现在不管用域名访问还是ip或者用http或者https什么,都是"无法访问此网站 xxx 拒绝了我们的连接请求。。我想请教下是什么原因呢?如何解决
这个装这种东西不建议用mini系统,你安装过程中没报错吗?这种情况应该是nginx没启动,service nginx status,看看nginx运行状态。解决的话,换其它系统看看。别用mini
果然是这样,之前原版带的我debian8我装了一次试了试也是这样,所以我以为系统带的有网站环境我就换了个mini,我重新再折腾试试。谢谢!
抱歉,可能是我之前修改了伪静态,nginx不识别其中一个参数,导致启动失败,现在已修复了,你再试试。
今天上午重新安装成功了,但是oneindex页面显示HTTP ERROR 500,后台页面可以正常,Aria2Ng页面也正常 ?求解
解决方法已经说了,你看看。
今天用脚本安装一直提示“SSL 证书生成脚本安装失败,请检查相关依赖是否正常安装 ”是我这边的问题吗?昨天虽然也不成功,但还不是这样的。sh: 1: cannot open html: No such file
sh: 2: Syntax error: redirection unexpected
应该是签发ssl的脚本网站抽风了,导致访问不了,等https://get.acme.sh能访问,就可以安装了,要是经常抽风,我就换个安装方法
是的,这个网站打不开了,谢谢大佬
我到时候看情况替换下acme.sh脚本安装方法吧。
访问主域名 HTTP ERROR 500 什么原因,后台正常
我自己刚测试了下,没出现你这个问题,不知道是不是刷新缓存的问题,我调一下脚本刷新缓存间隔。你可以先删除源码,再重新下载,安装绑定吧,给个命令你:
去你的根目录cd /home/wwwroot/domain.com
直接运行下面rm -rf ./*
git clone https://github.com/donwa/oneindex.git
mv oneindex/* ./
chmod -R 777 config/ cache/
非常感谢,已经没有问题了
好的,我试试
默认密码是 oneindex? 输入了数十遍还是打不开
你应该没网页安装oneindex吧.
系统安装 完成安装
程序安装成功!
(初始密码:oneindex)
对,默认密码是oneindex,后台进不去么?
进不去,我输了11遍
刚优化了下脚本,把刷新缓存加到了定时任务,没出现过后台进不去的情况,如果你有问题或者知道解决方法了,可以反馈下。
[OK] SSL 证书生成脚本依赖安装成功
Dload Upload Total Spent Left Speed% Total % Received % Xferd Average Speed Time Time Time Current
100 705 100 705 0 0 269 0 0:00:02 0:00:02 --:--:-- 269
Dload Upload Total Spent Left Speed% Total % Received % Xferd Average Speed Time Time Time Current
100 164k 100 164k 0 0 107k 0 0:00:01 0:00:01 --:--:-- 107k
[Mon Dec 3 02:18:15 CST 2018] Installing from online archive.
[Mon Dec 3 02:18:15 CST 2018] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
[Mon Dec 3 02:18:18 CST 2018] Extracting master.tar.gz
[Mon Dec 3 02:18:18 CST 2018] Installing to /root/.acme.sh
[Mon Dec 3 02:18:18 CST 2018] Installed to /root/.acme.sh/acme.sh
[Mon Dec 3 02:18:18 CST 2018] Installing alias to '/root/.bashrc'
[Mon Dec 3 02:18:18 CST 2018] OK, Close and reopen your terminal to start using acme.sh
[Mon Dec 3 02:18:18 CST 2018] Installing cron job
32 0 * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Mon Dec 3 02:18:18 CST 2018] Good, bash is found, so change the shebang to use bash as preferred.
[Mon Dec 3 02:18:18 CST 2018] OK
[Mon Dec 3 02:18:18 CST 2018] Install success!
[OK] SSL 证书生成脚本安装成功
[Mon Dec 3 02:18:21 CST 2018] Standalone mode.
[Mon Dec 3 02:18:21 CST 2018] Single domain='torbat.xyz'
[Mon Dec 3 02:18:21 CST 2018] Getting domain auth token for each domain
[Mon Dec 3 02:18:21 CST 2018] Getting webroot for domain='torbat.xyz'
[Mon Dec 3 02:18:21 CST 2018] Getting new-authz for domain='torbat.xyz'
[Mon Dec 3 02:18:24 CST 2018] The new-authz request is ok.
[Mon Dec 3 02:18:24 CST 2018] Verifying:torbat.xyz
[Mon Dec 3 02:18:24 CST 2018] Standalone mode server
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
[Mon Dec 3 02:18:30 CST 2018] torbat.xyz:Verify error:Invalid response from http://torbat.xyz/.well-known/acme-challenge/w0mpbjt9hH7gJnJJHPgwlNTouoR5eBP2-eoZuM6HHqo:
[Mon Dec 3 02:18:30 CST 2018] Please add '--debug' or '--log' to check more details.
[Mon Dec 3 02:18:30 CST 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
可以去掉证书吗?
你可以编辑下脚本,把证书申请步骤消除掉,还有conf配置文件那里去掉ssl开头的几行代码,然后再运行。
伪静态要怎么改,,,大佬
去改域名配置文件,路径/etc/nginx/conf.d/
就是不知道要改啥
不需要改,脚本自带伪静态。
那个上传脚本的bug修复了吗?
修复不了,测试的时候空格文件夹是可以传的,不知道哪些名称类型的文件夹传不了。。
使用脚本后,我想绑定另外一个域名,需要如何操作?
什么意思?是替换之前绑定的域名么?
如何替换之前绑定的域名嘞?
替换挺麻烦的,涉及到了ssl签发,直接重装吧。
不用https也可以,只求不从装替换网址,,,有办法吗?
可以,直接去域名配置文件里修改就可以了,配置目录/etc/nginx/conf.d/
是的
博主你好,在线视频播放3秒一卡,一直缓冲,实时网速不上100k/s,这是什么问题,有解决办法吗
上个BBR试试,或者加钱换个网络好点的服务器
不是啊,感觉是格式问题,MP4可以,.avi就不行
感觉是编码问题,avi是支持的。
重装了一遍,.avi的电影还是加载失败
没有。
你好 我Aria2下载完无法上传到 ONEDRIVE是什么情况 昨天还好好的
这个突然的抽风我也不是很清楚。你可以看看Aria2日志文件。
我服务器重启了,如何恢复脚本服务?
还有就的ariang的密码如何重置?
你是说的aria2密匙?修改aria2.conf配置文件就行了。
好的谢谢
我服务器重启了,如何恢复脚本服务呢?
不需要恢复,开机自启,如果你发现页面打不开可以使用命令:service php7.0-fpm start、 service nginx start
秘钥百分百没错,aria连不上
浏览器框框有没有选择加载未知模块了?
大佬,aira的端口能不能不用8080?8080我有别的用处,怎么修改这个端口?
下载脚本后,编辑脚本,把配置文件里的8080改成其他数字。最后再运行。如果你安装了,需要修改,去/etc/nginx/conf.d/aria2ng.conf修改端口。
大佬,为啥后台地址访问不了,Aria2Ng能访问啊,试了好几次了都这样
是直接打不开还是?
打开是空白的,http://fclyn.ml
你是用的这个域名安装的,安装成功了?有没有报错?
我也是这个问题,用的ooo域名,通过dnspod解析的,求解为什么无法访问oneindex后台...
只能用ip访问,不能用域名么?签发ssl的时候有没有报错,或者挂梯子看看。
大佬,是所有下载至VPS的文件会被自动上传至OneDrive并删除,还是只有通过aria2下载的才这样?
通过Aria2才会这样。
好吧~。不过,能不能看下,可不可以把人人影视的这个linux安装包 http://appdown.rrys.tv/rrshareweb_linux.rar 也做成脚本
这个安装不难,话说这个主要是干啥的。
人人影视字幕组。zimuzu.tv
下载英剧,美剧,字幕之类的。
我看情况水个教程吧。
(如果可以的话,像之前一样一键脚本&下载完删除就好了)
这个我先看看源码。
thx
谢谢谢谢大大老板
问一下如何设置伪静态啊。在后台将-基本设置--去掉? 打钩,提示需要伪静态。然后文件都404了
自带伪静态,可能规则不一样,可以用宝塔安装,教程https://www.moerats.com/archives/700/。
装好了,但是一旦reboot,就脱离了,这个怎么弄呢?
脱离是什么意思。
不好意思,我的意思是目录变成了空目录,就像没挂载上一样。但是过了一会刷新一下又好了,啥也没做,有点晕..
这个是需要刷新缓存才能显示的。
为什么我下载完之后并没有执行脚本的内容,测了很多次,一个txt文件都传不上去,手动没有问题
这个就不是很清楚了,我用的官方的上传命令,或者你看看aria2日志。
嗯,发现问题了,是头部顶部都有异常字符存在,应该是我编辑器的问题
大佬,你这个一键脚本已经自带配置自动上传了,确实现在还不完美,只会上传单文件,下载的种子文件夹不会自动上传,看到你有个完美的一键脚本,https://www.moerats.com/archives/697/ 我想问下,我要是用这个的话应该怎么搞,我已经用了你这个一键脚本了,它自己已经配置了自动上传,我要用这个完美脚本的话怎么把那个停止掉?
你参考下这个文章:https://www.moerats.com/archives/700/,做下修改,覆盖上传脚本。
纯小白,结合网上各种教程安装成功了。但是有一点比较疑惑,aria2是安装在vps上的,下载为什么会不走vps的流量呢?
你在VPS上下载文件是需要走流量,但你从OneIndex里下载文件就不需要流量了。
OneIndex一绑定账号就提示 抱歉,我們無法將您登入。
检测下账号信息,或者再绑定一次。
Select an editor. To change later, run 'select-editor'.
/bin/ed/usr/bin/vim.basicChoose 1-2 []:
博主请教一下,这里没有nano这个选项是哪里的问题?
没有估计系统没自带nano,你可以自己安装,或者随便选吧,到时候自己退出,没多大影响。
W: Failed to fetch http://mirrors.163.com/debian/dists/stretch-backports/InRelease Couldn't create temporary file /tmp/apt.conf.t6GiO1 for passing config to apt-key
W: Failed to fetch http://mirrors.163.com/debian-security/dists/stretch/updates/InRelease Couldn't create temporary file /tmp/apt.conf.oVNb9f for passing config to apt-key
W: Failed to fetch http://mirrors.163.com/debian/dists/stretch/Release.gpg Couldn't create temporary file /tmp/apt.conf.LRuHVq for passing config to apt-key
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (30: Read-only file system)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (30: Read-only file system)
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
博主因为这个,一直安装不成功
你更换下软件源看看,方法自己搜一下。
大佬我帮朋友问一下Wed Aug 15 18:11:56 UTC 2018] Standalone mode.
[Wed Aug 15 18:11:56 UTC 2018] Single domain='fansiqi.top'
[Wed Aug 15 18:11:56 UTC 2018] Getting domain auth token for each domain
[Wed Aug 15 18:11:56 UTC 2018] Getting webroot for domain='fansiqi.top'
[Wed Aug 15 18:11:56 UTC 2018] Getting new-authz for domain='fansiqi.top'
[Wed Aug 15 18:11:57 UTC 2018] The new-authz request is ok.
[Wed Aug 15 18:11:57 UTC 2018] fansiqi.top is already verified, skip http-01.
[Wed Aug 15 18:11:57 UTC 2018] Verify finished, start to sign.
[Wed Aug 15 18:11:57 UTC 2018] Sign failed: "detail":"Error creating new cert :: too many certificates already issued for exact set of domains: fansiqi.top: see https://letsencrypt.org/docs/rate-limits/"
[Wed Aug 15 18:11:57 UTC 2018] Please add '--debug' or '--log' to check more details.
[Wed Aug 15 18:11:57 UTC 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
这个是什么情况
申请证书次数过多被限制了,等几天,或者换个域名。
/root/.aria2/OneIndexupload.sh: 1: /root/.aria2/OneIndexupload.sh: #!/bin/bash: not found
本地文件:/root/Download/[Thz.la]abp-761
远程文件:bt/[Thz.la]abp-761
上传方式:直接上传
上传失败!
请问博主这是什么问题啊
好像程序问题,有些文件是会上传失败,等作者慢慢修复。
[OK] SSL 证书生成脚本安装成功
[Wed Aug 15 09:30:24 CST 2018] Standalone mode.
[Wed Aug 15 09:30:24 CST 2018] Single domain='xpan.ensu.cc'
[Wed Aug 15 09:30:24 CST 2018] Getting domain auth token for each domain
[Wed Aug 15 09:30:24 CST 2018] Getting webroot for domain='xpan.ensu.cc'
[Wed Aug 15 09:30:24 CST 2018] Getting new-authz for domain='xpan.ensu.cc'
[Wed Aug 15 09:30:27 CST 2018] The new-authz request is ok.
[Wed Aug 15 09:30:27 CST 2018] Verifying:xpan.ensu.cc
[Wed Aug 15 09:30:27 CST 2018] Standalone mode server
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
[Wed Aug 15 09:30:33 CST 2018] xpan.ensu.cc:Verify error:Invalid response from http://xpan.ensu.cc/.well-known/acme-challenge/5elvxiBUNMxAHV1s6FchJpvqJb5kSmkBuCIg3NcIOks:
[Wed Aug 15 09:30:33 CST 2018] Please add '--debug' or '--log' to check more details.
[Wed Aug 15 09:30:33 CST 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
一直在重复这一个错误,更换域名、重置服务器也是这样。
Aria2_OneIndex.sh: line 185: /root/.acme.sh/acme.sh: No such file or directory
acme.sh 让人疯掉……
这个I/O错误不清楚,你可以用下谷歌搜索,申请证书脚本是没问题的。
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Error] nginx 安装失败
楼主这个是怎么回事啊
看你的系统有预装Apache2没,试试先卸载apt remove apache2 -y 。
博主,又是我。域名换了之后已经安装好了,ARIA2都已经全部没问题,就是同步太慢。有什么办法解决吗?用的是腾讯学生机
换个好点的服务器,不然将就。
是服务器问题倒是无所谓--我换着试一下,谢谢博主
带宽小的话,上传肯定慢。
[Mon Aug 13 13:06:19 UTC 2018] Standalone mode.
[Mon Aug 13 13:06:19 UTC 2018] Single domain='kaichema.clud'
[Mon Aug 13 13:06:19 UTC 2018] Getting domain auth token for each domain
[Mon Aug 13 13:06:19 UTC 2018] Getting webroot for domain='kaichema.clud'
[Mon Aug 13 13:06:19 UTC 2018] Getting new-authz for domain='kaichema.clud'
[Mon Aug 13 13:06:20 UTC 2018] The new-authz request is ok.
[Mon Aug 13 13:06:20 UTC 2018] new-authz error: {"type":"urn:acme:error:malformed","detail":"Error creating new authz :: Name does not end in a public suffix","status": 400}
[Mon Aug 13 13:06:20 UTC 2018] Please add '--debug' or '--log' to check more details.
[Mon Aug 13 13:06:20 UTC 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
这不应该是.club 域名吗?有clud这个后缀的域名吗?
你这是个什么后缀域名?客户端识别不出来,域名得填对。
博主,RATS格式怎么写?谢谢啦
谢谢博主,但是下载了不上传是什么鬼。。。
这个上传我测试过了,是可以的,虽然由于程序问题,有少部分上传会失败,但还是可以用的。
就这样写,比如你的文件夹是ONE,那就填ONE。
**.clud应该没错吧。。。。。。。。
查了下,你这个域名不在危险域名里,估计是Let’s Encrypt证书不支持这个域名后缀吧。
OKl了,还真是域名问题--谢谢大佬
尝试了N遍,最后都安装完成了,但是用域名打不开,aria2也打不开,白屏。
检查下防火墙看看?
RATS格式怎么写?举个例子吧,我的文件不上传呢。
好了。。。
oneindex可以打开了,aria2打开是白屏,没有防火墙
有没有办法让oneindex不占用80端口呢? 直接用IP:端口的形式登陆呢?
需要改哪些地方呢?
修改脚本里的nginx配置信息,比如OneIndex.conf,修改参考Aria2Ng.conf。然后去掉SSL生成步骤。
搬瓦工可以使用吗
可以。
小白问一下。请输入你的OneIndex域名信息(如:oneindex.moerats.com):这个是在哪里找到的,,,,不会用啊
就是你自己的一个域名,随便什么域名都行,最后通过这个域名访问你的OneIndex界面。
明白了,有点小尴尬,不知道为什么还是证书失败
能说下报错信息吗。
你好,“请输入你OneIndex/OneDrive中的一个文件夹(格式:RATS,此后所有文件都会上传到该文件夹)”这里的格式是不带冒号是吗?是需要现有存在的文件夹还是自动创建?Aria2 下载成功后并未上传到onedrive啊,试了几种填写格式都是没有上传。直接用OneIndex上传服务器文件很快也很正常啊。
文件夹需要自己创建,就写文件夹名称,其它不需要填,你是填对了吗?
我直接填写了“RATS”,但是Aria2下载正常,单独用oneindex上传也很快,就是不自动上传。
文件夹也必须是你od里面的,别乱填。
我是先手工在one drive 创建了文件夹,再安装的。能根目录吗?都是下载正常,上传正常。但是无法自动上传。
根目录我没试过,我有空看下,上传的话,手动正常吗?或者你重启下服务器再试试。
能上传了,好像是上传过程中自动删除了,能手工设置删除时间吗
你可以编辑上传文件/root/.aria2/OneIndexupload.sh,删掉脚本里的删除命令,然后自己再设置定时删除。
好像是文件大小有限制,晚上又试了一下100M的可以,之前下载的是1.7G的文件,就无法同步。这个程序与宝塔是不冲突啊?另外………………没有访问权限,。。。。河蟹文件,这还不能下载了。。
这个程序上传好像有BUG,有的文件上传不了。
rm就是删除命令,你可以自己找下。
是特殊符号的原因吗?种子下载的文件很多都带有特殊符号
这个不太清楚,我准备发另一种上传方法。
阿里的OSS也不错啊,速度快,也不算贵。
OSS没研究过。
https://www.moerats.com/archives/517/ 这里面的网盘管理方式就很好啊,如果这样配合上传onedrive 应该说速度、文件管理、在线播放、大盘存储备份都可以占了,如果Aria2Ng 需要授权登录,那么应该是内地服务器比较好的解决方案了吧。
那篇教程是GD的,毕竟GD好用,不过OD也可以这么做,你可以在博客搜索教程自己研究下。
OG是什么东西?
大神,自动上传是怎么做的呢?我想自己试试
看这篇文章:https://www.moerats.com/archives/482/,然后上传脚本你可以去脚本里找。
大哥大哥,打错字了。。。。GD,,,gdrive………………
Aria2 启动失败 !
好不容易安装成功一次,结果……………………
你查看aria2日志,还有我用vultr都是一次过的,你这问题也太多了吧。
大哥,很抱歉多有打扰,不过确实是小白,所以跪求大神来的。
日志只有这一行:
sudo: aria2c: command not found
你用的什么系统?apt install aria2c看看。
Debian 8.2 64位,apt install aria2c依然是启动失败。
其他的错误:SSL的错误可能是尝试次数过多、国内对亚马逊、github的服务器连接问题也会造成失败,这些还好解决,多尝试几次换个域名就好。
Aria2的问题已解决,可能版本获取在有的系统有问题,已经固定了,其实有时候因为系统不同造成的问题我也很蛋疼,一键脚本的缺点就是在于有时候系统模板不一样会出很多问题,最开始是准备出手动教程的,手动教程好解决,不过还是没出,直接就一键脚本了。
非常感谢大神,可以带版权带链接转发你的文章吗?
可以。
哪天看下,这些好像发了很多了。
rclone好像工作一会会就被系统killed了
你添加点swap虚拟内存就可以了。
ssl证书生成失败,因为acme.sh错误
解决方法参考这个:https://www.moerats.com/archives/633/。
[Fri Aug 10 10:19:32 PDT 2018] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 77 [Fri Aug 10 10:19:32 PDT 2018] Can not init api.
[Fri Aug 10 10:19:32 PDT 2018] Standalone mode.
[Fri Aug 10 10:19:33 PDT 2018] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 77 [Fri Aug 10 10:19:33 PDT 2018] Can not init api.
[Fri Aug 10 10:19:33 PDT 2018] Registering account
[Fri Aug 10 10:19:33 PDT 2018] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 77 [Fri Aug 10 10:19:33 PDT 2018] Can not connect to https://acme-v01.api.letsencrypt.org/directory to get nonce. [Fri Aug 10 10:19:33 PDT 2018] Register account Error:
[Fri Aug 10 10:19:33 PDT 2018] Please add '--debug' or '--log' to check more details. [Fri Aug 10 10:19:33 PDT 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh [Error] SSL 证书生成失败
博主,感觉你修改脚本了。
没改,申请证书的基本都是用官方脚本,你这个报错意思是你的服务器链接不了letsencrypt服务器导致生成失败,可以通过改hosts解决。
能不能不申请SSL证书?
这个你看着脚本修改下,或者我过几天出个手动安装教程吧。
弄不了,不会啊
OD上传速度好像没有GD快啊,GD 30M/s,这个只有5M/s
GD本来就比OD好用,将就点了只能。
博主,申请转载,会注明来源
可以可以。
请教博主一个问题,已经单独搭完了博主说的onindexV3,并且单独搭了ariaNg,用的是博主的一键脚本,怎样才能实现 下载文件自动上传到OneIndex/OneDrive指定文件夹,并删除本地文件,使其不占VPS空间,添加并自动更新Trackers服务器 的功能呢
你可以看看这2篇文章,https://www.moerats.com/archives/482/,https://www.moerats.com/archives/374/。
DEBUG : pacer: low level retry 3/10 (error activityLimitReached: throttledRequest: The request has been throttled)
遇到这种报错是为什么
是在进行copy时遇到的
具体哪一个步骤?
不是脚本的,就是我在手动进行copy数据到OD的时候遇到的
Oneindex上传到OD好像不是用的copy吧,用的这些命令:
上传文件php one.php upload:file 本地文件 [onedrive文件]
上传文件夹php one.php upload:folder 本地文件夹 [onedrive文件夹]
感觉不错,mark
啊啊啊啊啊啊好棒!!!