安装1.0.2后启动不了,fedora 39
chevy222 opened this issue · comments
Chevy commented
chevy@fedora:~/下载$ tar zxvf thunder-1.0.2-x86_64-unknown-linux-musl.tar.gz
thunder
chevy@fedora:~/下载130$ ll
总计 6400
-rwxr-xr-x. 1 chevy chevy 3274200 3月 2日 19:24 thunder
-rw-r--r--. 1 chevy chevy 3273615 3月 8日 11:21 thunder-1.0.2-x86_64-unknown-linux-musl.tar.gz
chevy@fedora:~/下载$ sudo ./thunder install -U 1000 -G 1000 -d /home/chevy/nasShare/Download/
[sudo] chevy 的密码:
Installing in progress
Config directory: /opt/thunder
Download directory: /home/chevy/nasShare/Download/
[00:00:02] [############################] 24.67 MiB/24.67 MiB (9.33 MiB/s, 0s)
Install to: /var/packages/pan-xunlei-com/target/xunlei-pan-cli-web
Install to: /var/packages/pan-xunlei-com/target/xunlei-pan-cli.3.19.2.amd64
Install to: /var/packages/pan-xunlei-com/target/xunlei-pan-cli-launcher.amd64
Install to: /var/packages/pan-xunlei-com/target/version
Install to: /var/packages/pan-xunlei-com/target, UID:1000, GID:1000
Installation completed
chevy@fedora:~/下载255$ sudo ./thunder start
chevy@fedora:~/下载$ sudo ./thunder status
Thunder is running with pid: 5528
chevy@fedora:~/下载$ sudo ./thunder log
STDOUT>
2024-03-08T03:25:26.737540Z INFO thunder::serve::frontend: Starting frontend server: 0.0.0.0:5055
2024-03-08T03:25:26.738097Z ERROR thunder::serve: error: Failed to set permissions: /var/packages/pan-xunlei-com/target/var -- 511
2024-03-08T03:25:26.738314Z INFO thunder::serve: All services have been complete
chevy@fedora:~/下载$
求助,如果是前台启动,浏览器输入http://192.168.217.128:5055/
会自动重定项到http://192.168.217.128:5055/webman/3rdparty/pan-xunlei-com/index.cgi/
,但控制台还是报错
chevy@fedora:~/下载$ sudo ./thunder status
Thunder is not running
chevy@fedora:~/下载$ sudo ./thunder run
2024-03-08T03:46:40.817369Z INFO thunder::serve::frontend: Starting frontend server: 0.0.0.0:5055
2024-03-08T03:46:40.823190Z INFO thunder::serve::backend: Start Thunder Backend Server
2024-03-08T03:46:40.827239Z INFO thunder::serve::backend: Thunder Backend Server PID: 6276
2024-03-08T03:46:58.275430Z INFO request{method=GET uri=/ version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2024-03-08T03:46:58.275514Z INFO request{method=GET uri=/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=307
2024-03-08T03:46:58.283270Z INFO request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2024-03-08T03:46:58.371284Z INFO request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=88 ms status=502
2024-03-08T03:46:58.371326Z WARN request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_failure: response failed classification=Status code: 502 Bad Gateway latency=88 ms
0x676e67 commented
没用过fedora,只在Debian ubuntu测试
Chevy commented
换成了Ubuntu,好像还是一样的,求救。
chevy@ubuntu:~/下载$ wget https://github.com/gngpp/thunder/releases/download/v1.0.2/thunder-1.0.2-x86_64-unknown-linux-musl.tar.gz
--2024-03-12 09:01:51-- https://github.com/gngpp/thunder/releases/download/v1.0.2/thunder-1.0.2-x86_64-unknown-linux-musl.tar.gz
正在解析主机 github.com (github.com)... 20.205.243.166
正在连接 github.com (github.com)|20.205.243.166|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://objects.githubusercontent.com/github-production-release-asset-2e65be/627753927/a4af5fad-f3b1-41ba-a8b9-ad6fed2df813?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240312%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240312T010154Z&X-Amz-Expires=300&X-Amz-Signature=c0fd5a1e7c9dc75396a97c0468c8a40268c950007ce38b19b557b3ed47212cf2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=627753927&response-content-disposition=attachment%3B%20filename%3Dthunder-1.0.2-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream [跟随至新的 URL]
--2024-03-12 09:01:54-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/627753927/a4af5fad-f3b1-41ba-a8b9-ad6fed2df813?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240312%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240312T010154Z&X-Amz-Expires=300&X-Amz-Signature=c0fd5a1e7c9dc75396a97c0468c8a40268c950007ce38b19b557b3ed47212cf2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=627753927&response-content-disposition=attachment%3B%20filename%3Dthunder-1.0.2-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream
正在解析主机 objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
正在连接 objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 3273615 (3.1M) [application/octet-stream]
正在保存至: ‘thunder-1.0.2-x86_64-unknown-linux-musl.tar.gz’
thunder-1.0.2-x86_6 100%[===================>] 3.12M 6.26MB/s 用时 0.5s
2024-03-12 09:01:57 (6.26 MB/s) - 已保存 ‘thunder-1.0.2-x86_64-unknown-linux-musl.tar.gz’ [3273615/3273615])
chevy@ubuntu:~/下载$ tar zxvf thunder-1.0.2-x86_64-unknown-linux-musl.tar.gz
thunder
chevy@ubuntu:~/下载$ sudo ./thunder install -U 1000 -G 1000 -d /home/chevy/下载
[sudo] chevy 的密码:
Installing in progress
Config directory: /opt/thunder
Download directory: /home/chevy/下载
[00:00:04] [############################] 24.67 MiB/24.67 MiB (5.75 MiB/s, 0s)
Install to: /var/packages/pan-xunlei-com/target/xunlei-pan-cli.3.19.2.amd64
Install to: /var/packages/pan-xunlei-com/target/xunlei-pan-cli-web
Install to: /var/packages/pan-xunlei-com/target/xunlei-pan-cli-launcher.amd64
Install to: /var/packages/pan-xunlei-com/target/version
Install to: /var/packages/pan-xunlei-com/target, UID:1000, GID:1000
Installation completed
chevy@ubuntu:~/下载$ sudo ./thunder start
chevy@ubuntu:~/下载$ ./thunder log
STDOUT>
2024-03-12T01:04:32.308301Z INFO thunder::serve::frontend: Starting frontend server: 0.0.0.0:5055
2024-03-12T01:04:32.309588Z ERROR thunder::serve: error: Failed to set permissions: /var/packages/pan-xunlei-com/target/var -- 511
2024-03-12T01:04:32.309815Z INFO thunder::serve: All services have been complete
chevy@ubuntu:~/下载$
Chevy commented
给那个目录授权了,又报了个挂盘的错
chevy@fedora:/var/packages/pan-xunlei-com/target$ sudo chmod -R 511 var/
chevy@fedora:/var/packages/pan-xunlei-com/target$ cd /home/chevy/下载
chevy@fedora:~/下载$ sudo ./thunder start
chevy@fedora:~/下载$ sudo ./thunder log
STDOUT>
2024-03-12T02:32:40.207029Z INFO thunder::serve::frontend: Starting frontend server: 0.0.0.0:5055
2024-03-12T02:32:40.207279Z ERROR thunder::serve: error: Mount /home/chevy/nasShare/Download/ to /thunder failed
Received signal to shutdown
2024-03-12T02:32:40.207503Z INFO thunder::serve: All services have been complete
0x676e67 commented
你直接root用户里使用,不要在普通用户里用sudo
Chevy commented
ubuntu切换不到root用户呀问题是
0x676e67 commented
?sudo su
0x676e67 commented