Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] v5升级到v6后网页无法打开(docker compose) #365

Closed
5 of 6 tasks
starxjys opened this issue Aug 21, 2024 · 2 comments
Closed
5 of 6 tasks

[BUG] v5升级到v6后网页无法打开(docker compose) #365

starxjys opened this issue Aug 21, 2024 · 2 comments

Comments

@starxjys
Copy link

版本号 - Version

v6.0.2

操作系统平台和系统架构 - OS and CPU Arch

ubuntu 22.04 x86
Docker Compose version v2.29.1
Docker Version: 27.1.2

部署方式 - Deploy method

Docker Compose

关联的下载器类型 - Downloader Type

qBittorrent

问题描述 - Issue Description

从5.1.0升级到6.0.2,按照要求删除了scripts文件夹
docker compose up后,网页gui打开白屏(啥也没有)
猜测可能与我修改了默认端口有关

复现步骤 - Reproduce steps

与问题描述相同

截图/日志文件 - Screenshot / Logs

config.yml

server:
  # WebUI 监听端口
  # WebUI listen port
  http: 12040
  # WebUI 监听地址,如果需要从非本机访问,请修改为 0.0.0.0,本机部署建议使用 127.0.0.1 提高安全性
  # WebUI listen address, if you need access from non-localhost location, change it to 0.0.0.0. Locally deploy use 127.0.0.1 is recommended.
  address: 0.0.0.0
  # 在 PBH 需要给下载器传递地址时,将使用此地址传递,请确保此地址最终可被下载器访问,请【不要】以 / 结尾
  # When PBH need pass the URL of blocklist to downloader, it will use this address as prefix, make sure this URL can be access from your downloader. DO NOT end with slash (/)
  prefix: http://127.0.0.1:12040

其余均默认

docker-compose.yml

services:
  peerbanhelper:
    image: "ghostchu/peerbanhelper:v6.0.2"
    restart: unless-stopped
    container_name: "peerbanhelper"
    volumes:
      - ./:/app/data
    ports:
      - "12040:12040"
    environment:
      - PUID=0
      - PGID=0
      - TZ=Asia/Shanghai

Log

[02:28:06] [main/INFO]: Loading configuration...
[02:28:06] [main/INFO]: PeerBanHelper data directory: /app/data
[02:28:06] [main/INFO]: Checking configuration...
[02:28:06] [main/INFO]: Saving configuration changes...
[02:28:06] [main/INFO]: Checking configuration...
[02:28:06] [main/INFO]: Saving configuration changes...
[02:28:06] [main/INFO]: Current system language tag: en-US
[02:28:07] [main/INFO]: PeerBanHelper SQLite Connection Pool - Starting...
[02:28:07] [main/INFO]: PeerBanHelper SQLite Connection Pool - Added connection org.sqlite.jdbc4.JDBC4Connection@eac3a26
[02:28:07] [main/INFO]: PeerBanHelper SQLite Connection Pool - Start completed.
[02:28:07] [main/INFO]: Loading up translations, this may need a while...
[02:28:07] [main/INFO]: [BTN Network] BTN functionality not enabled: this PeerBanHelper client is not joined to the BTN network
[02:28:07] [main/INFO]: PeerBanHelper v6.0.2 - by PBH-BTN Community, Made with ❤
[02:28:07] [main/INFO]:  + qBittorrent -> physical system (http://192.168.0.100:8186)
[02:28:07] [main/INFO]: Please wait for the modules to initialize...
[02:28:07] [main/INFO]: [Register] IP Blacklist
[02:28:07] [main/INFO]: [Register] PeerId Blacklist
[02:28:07] [main/INFO]: [Register] ClientName Blacklist
[02:28:07] [main/INFO]: Please wait, the rule engine is compiling user scripts to enhance execution performance, this may take some time...
[02:28:07] [main/INFO]: Successfully compiled 3 user scripts, took 11ms
[02:28:07] [main/INFO]: [Register] Expression Engine
[02:28:07] [main/INFO]: [Register] Progress Cheat Blocker
[02:28:07] [main/INFO]: [Register] Multi Dialing Blocker
[02:28:07] [main/INFO]: [Register] Auto Range Ban
[02:28:07] [main/INFO]: [Register] BTN Network Online Rules
[02:28:07] [main/INFO]: [Register] WebAPI - Downloader CIDR Blocklist
[02:28:07] [main/INFO]: [Register] IP Blacklist Rule List
[02:28:07] [main/INFO]: [Register] WebAPI - Metrics
[02:28:07] [main/INFO]: [Register] WebAPI - PBH Ban API
[02:28:07] [main/INFO]: [Register] WebAPI - Metadata
[02:28:07] [main/INFO]: [Register] WebAPI - Downloader API
[02:28:07] [main/INFO]: [Register] WebAPI - Rule Subscription
[02:28:07] [main/INFO]: [Register] WebAPI - Authenticate
[02:28:08] [main/INFO]: [Register] WebAPI - Logs
[02:28:08] [/INFO]: [Data Cleanup] ActiveMonitoring deleting expired data, this may need a while...
[02:28:08] [main/INFO]: [Register] Active Monitoring
[02:28:08] [/INFO]: [Data Cleanup] ActiveMonitoring deleted 0 expired data
[02:28:08] [main/INFO]: [Register] WebAPI - PBH Plus Interface
[02:28:08] [main/INFO]: [Register] WebAPI - OOBE Interface
[02:28:08] [main/INFO]: [Register] WebAPI - Charts
[02:28:08] [main/INFO]: [Register] WebAPI - General
[02:28:08] [main/INFO]: [Register] Torrent Controller
[02:28:08] [main/INFO]: [Register] Peer Controller
[02:28:08] [main/INFO]: Starting Javalin ...
[02:28:08] [main/INFO]: jetty-11.0.21; built: 2024-05-14T03:19:28.958Z; git: 996cd61addad9cb033e0e3eba6fa3f0fa3dc270d; jvm 21.0.4+7-LTS
[02:28:08] [main/INFO]: Session workerName=node0
[02:28:08] [main/INFO]: Started o.e.j.s.ServletContextHandler@48b2dbc4{/,null,AVAILABLE}
[02:28:08] [main/INFO]: Started ServerConnector@54bb1194{HTTP/1.1, (http/1.1)}{0.0.0.0:12040}
[02:28:08] [main/INFO]: Started Server@60ed0b9d{STARTING}[11.0.21,sto=0] @2087ms
[02:28:08] [main/INFO]: Javalin started in 137ms \o/
[02:28:08] [main/INFO]: Static file handler added: StaticFileConfig(hostedPath=/, directory=/static, location=CLASSPATH, precompress=false, aliasCheck=null, headers={Cache-Control=max-age=0}, skipFileFunction=com.ghostchu.peerbanhelper.web.JavalinWebContainer$$Lambda/0x00007f4e6e344ef8@4a122e68, mimeTypes={}). File system location: 'jar:file:/app/PeerBanHelper.jar!/static/'
[02:28:08] [main/INFO]: Listening on http://localhost:12040/
[02:28:08] [main/INFO]: You are running Javalin 6.2.0 (released July 21, 2024).
[02:28:08] [main/INFO]: [Ban] Restored 0 ban records from saved ban list cache file
[02:28:08] [main/INFO]: PeerBanHelper BanWave Daemon started
[02:28:08] [Ban Wave/INFO]: Checked 1 active torrents and 0 peers from 0 downloaders. Banned 0 peers and unbanned 0 expired bans (19ms)
[02:28:09] [/INFO]: IP blacklist subscription rule all-in-one loaded successfully
[02:28:09] [/INFO]: IP blacklist rule subscription completed
[02:28:13] [Ban Wave/INFO]: Checked 1 active torrents and 0 peers from 0 downloaders. Banned 0 peers and unbanned 0 expired bans (6ms)
[02:28:18] [/INFO]: [Save] Successfully saved 0 ban records to the database
[02:28:18] [Ban Wave/INFO]: Checked 1 active torrents and 0 peers from 0 downloaders. Banned 0 peers and unbanned 0 expired bans (6ms)

额外信息 - Addition Information

已验证把端口改回9898显示正常

检查清单 - Check list

  • 我确定正在运行 Github Releases 中的最新的正式版本 PeerBanHelper (I'm running the latest version of PBH that can be found in Github Relases)
  • 我确定我所添加的下载器已满足 README 中的前置要求(如版本号和插件)(The downloaders that I've added already satisfied the requirements (E.g install plugins/adapters))
  • 我确定我所提到的问题,均未在 README 和 WIKI 中有所解答 (This not a question/or the question that not listed in README's FAQ or WIKI)
  • 我确定我没有检查这个检查清单,只是闭眼选中了所有的复选框 (I have not read these checkboxes and therefore I just ticked them all)
  • 我确定这不是一个与安全有关的安全漏洞,它可以被安全的公开报告 (This not a security related issue, can be safe report in public)
  • 我确定我已知悉,如果我没有正确地填写问题报告表单,则 Issue 可能会被关闭 (I know this issue may closed without any warnings if I didn't fill the form correctly)
@Ghost-chu
Copy link
Collaborator

#345
#347

请清除浏览器缓存。

@starxjys
Copy link
Author

#345 #347

请清除浏览器缓存。

已解决

This was referenced Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants