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

docker版本安装后一直无法进入web,疑似为无法开启端口? #748

Open
Mingyang0624 opened this issue Mar 21, 2024 · 0 comments

Comments

@Mingyang0624
Copy link

你使用的 chinesesubfinder 是什么版本,什么环境?

chinesesubfinder 版本: v0.55.3 Lite

环境: docker

在程序运行日志头部或者 Web UI 可以看到

你遇到什么问题了?

安装完成后无法连接webui

你的问题弄重现嘛?

能够重现

你期望的结果

了解如何处理

给出当前程序的配置文件

/volume1/docker/chinesesubfinder/config:/config 下,ChineseSubFinderSettings.json,记得把你的用户名、密码、Emby API 敏感信息删除

可以复制上面的配置,使用类似在线 json 格式化的工具进行一次处理,方便阅读,JSON 在线解析及格式化验证 - JSON.cn

{
    "SpeedDevMode": false,
    "user_info": {
        "username": "",
        "password": ""
    },
    "common_settings": {
        "interval_or_assign_or_custom": 0,
        "scan_interval": "@every 6h",
        "threads": 1,
        "run_scan_at_start_up": false,
        "movie_paths": [

        ],
        "series_paths": [

        ],
        "local_static_file_port": "19037"
    },
    "subtitle_sources": {
        "assrt_settings": {
            "enabled": false,
            "token": ""
        },
        "subtitle_best_settings": {
            "enabled": false,
            "api_key": ""
        }
    },
    "advanced_settings": {
        "proxy_settings": {
            "use_proxy": false,
            "use_which_proxy_protocol": "http",
            "local_http_proxy_server_port": "19036",
            "input_proxy_address": "127.0.0.1",
            "input_proxy_port": "10809",
            "need_pwd": false,
            "input_proxy_username": "",
            "input_proxy_password": ""
        },
        "tmdb_api_settings": {
            "enable": false,
            "api_key": "",
            "use_alternate_base_url": false
        },
        "debug_mode": false,
        "save_full_season_tmp_subtitles": false,
        "sub_type_priority": 0,
        "sub_name_formatter": 0,
        "save_multi_sub": false,
        "custom_video_exts": [

        ],
        "fix_time_line": false,
        "topic": 1,
        "suppliers_settings": {
            "xunlei": {
                "name": "xunlei",
                "root_url": "http://sub.xmp.sandai.net:8000/subxl/%s.json",
                "search_url": "",
                "daily_download_limit": -1
            },
            "shooter": {
                "name": "shooter",
                "root_url": "https://www.shooter.cn/api/subapi.php",
                "search_url": "",
                "daily_download_limit": -1
            },
            "assrt": {
                "name": "assrt",
                "root_url": "https://api.assrt.net/v1",
                "search_url": "",
                "daily_download_limit": -1
            },
            "a4k": {
                "name": "a4k",
                "root_url": "https://www.a4k.net",
                "search_url": "/search?keyword=",
                "daily_download_limit": -1
            },
            "subhd": {
                "name": "subhd",
                "root_url": "https://subhd.tv",
                "search_url": "/search/%s",
                "daily_download_limit": 20
            },
            "zimuku": {
                "name": "zimuku",
                "root_url": "https://zimuku.org",
                "search_url": "/search?q=%s",
                "daily_download_limit": 20
            },
            "subtitle_best": {
                "name": "subtitle_best",
                "root_url": "https://api.subtitle.best/share-sub/v1",
                "search_url": "/search-movie",
                "daily_download_limit": -1
            }
        },
        "scan_logic": {
            "skip_chinese_movie": false,
            "skip_chinese_series": false
        },
        "task_queue": {
            "max_retry_times": 3,
            "one_job_time_out": 300,
            "interval": 10,
            "expiration_time": 90,
            "download_sub_during_x_days": 7,
            "one_sub_download_interval": 12,
            "check_pulic_ip_target_site": ""
        },
        "download_file_cache": {
            "ttl": 4320,
            "unit": "hour"
        }
    },
    "emby_settings": {
        "enable": false,
        "address_url": "",
        "api_key": "",
        "max_request_video_number": 500,
        "skip_watched": false,
        "movie_paths_mapping": {

        },
        "series_paths_mapping": {

        },
        "auto_or_manual": true,
        "threads": 4
    },
    "developer_settings": {
        "enable": false,
        "bark_server_address": ""
    },
    "timeline_fixer_settings": {
        "max_offset_time": 700,
        "min_offset": 0.2,
        "thread_count": 5
    },
    "experimental_function": {
        "auto_change_sub_encode": {
            "enable": false,
            "des_encode_type": 0
        },
        "chs_cht_changer": {
            "enable": false,
            "des_chinese_language_type": 0
        },
        "remote_chrome_settings": {
            "enable": false,
            "remote_docker_url": "",
            "remote_adblock_path": "",
            "remote_user_data_dir": ""
        },
        "api_key_settings": {
            "enabled": false,
            "key": ""
        },
        "local_chrome_settings": {
            "enabled": false,
            "local_chrome_exe_f_path": ""
        },
        "share_sub_settings": {
            "share_sub_enabled": false
        },
        "extend_log": {
            "SysLog": {
                "enable": false,
                "network": "",
                "address": "",
                "priority": 0,
                "tag": ""
            }

如果是使用 Docker,请给出对应的配置信息

version: "3"
services:
chinesesubfinder:
image: allanpk716/ChineseSubFinder:latest-lite
volumes:
- /opt/chinesesubfinder/config:/config # 冒号左边请修改为你想在主机上保存配置、日志等文件的路径
- /opt/jellyfin/media/115:/media # 请修改为你的媒体目录,冒号右边可以改成你方便记忆的目录,多个媒体目录需要分别映射进来
environment:
- PUID=0 # uid
- PGID=0 # gid
- PERMS=true # 是否重设/media权限
- TZ=Asia/Shanghai # 时区
- UMASK=022 # 权限掩码
restart: always
network_mode: bridge
hostname: chinesesubfinder
container_name: chinesesubfinder
ports:
- 19035:19035
- 19037:19037 # webui 的视频列表读取图片用,务必设置不要暴露到外网
logging:
driver: "json-file"
options:
max-size: "100m" # 限制docker控制台日志大小,可自行调整

请给出当次问题的完整日志

[INFO]: 2024-03-21 17:10:47 - LiteMode is true
[INFO]: 2024-03-21 17:10:47 - ChineseSubFinder Version: v0.55.3 Lite
[INFO]: 2024-03-21 17:10:50 - Reload Log Settings, level = Info
[INFO]: 2024-03-21 17:10:50 - Speed Dev Mode is Off
[INFO]: 2024-03-21 17:10:51 - Download.SupplierCheck() Start ...
[INFO]: 2024-03-21 17:10:51 - PreDownloadProcess.Init().Check().Wait()...
[INFO]: 2024-03-21 17:10:51 - PreDownloadProcess.Init() Start...
[INFO]: 2024-03-21 17:10:51 - ClearRodTmpRootFolder Done
[INFO]: 2024-03-21 17:10:51 - PreDownloadProcess.Init() End
[INFO]: 2024-03-21 17:10:51 - PreDownloadProcess.Check() Start...
[INFO]: 2024-03-21 17:10:51 - UseHttpProxy = false
[INFO]: 2024-03-21 17:10:52 - UrlConnectednessTest Target Site https://baidu.com Speed: 300 ms, Status: true
[INFO]: 2024-03-21 17:10:52 - Check Sub Supplier Start...
[INFO]: 2024-03-21 17:10:52 - xunlei Check Alive = true, Speed = 153 ms
[ERROR]: 2024-03-21 17:10:52 - a4k CheckAlive.Get Get "https://www.a4k.net": dial tcp: lookup www.a4k.net on 8.8.8.8:53: no such host
[WARNING]: 2024-03-21 17:10:52 - a4k Check Alive = false
[INFO]: 2024-03-21 17:10:52 - shooter Check Alive = true, Speed = 660 ms
[INFO]: 2024-03-21 17:10:52 - Alive Supplier: xunlei
[INFO]: 2024-03-21 17:10:52 - Alive Supplier: shooter
[INFO]: 2024-03-21 17:10:52 - Check Sub Supplier End
[WARNING]: 2024-03-21 17:10:52 - MoviePaths not set, len == 0
[WARNING]: 2024-03-21 17:10:52 - SeriesPaths not set, len == 0
[INFO]: 2024-03-21 17:10:52 - PreDownloadProcess.Check() End
[INFO]: 2024-03-21 17:10:52 - PreDownloadProcess.Wait() Done.
[INFO]: 2024-03-21 17:10:52 - Download.SupplierCheck() End
[INFO]: 2024-03-21 17:10:52 - Try Start Http Server At Port 19035
[INFO]: 2024-03-21 17:10:52 - Need do Setup, then do PreJob
[INFO]: 2024-03-21 17:10:52 - Need do Setup, then do CornJob

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

1 participant