ChineseSubFinder / ChineseSubFinder/ChineseSubFinder
Issue:无法顺利启动容器内应用 [ERROR]: 2022-07-07 13:46:56 - releaseAdblock reading file in zip archive: /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: changing file mode: chmod /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: operation not permitted
- Dominant language
- Go
- Stars
- 3.9k
- Forks
- 288
- PR merge metrics
- No merged PRs in 30d
Description
## 你使用的 chinesesubfinder 是什么版本,什么环境?
> chinesesubfinder 版本: vx.x.x
>v0.34.3
> 环境: docker or Window or Linux or MAC
>Windows desktop 4.4
> 在程序运行日志头部或者 Web UI 可以看到
## 你遇到什么问题了?
[ERROR]: 2022-07-07 13:46:56 - releaseAdblock reading file in zip archive: /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: changing file mode: chmod /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: operation not permitted
[PANIC]: 2022-07-07 13:46:56 - releaseAdblock reading file in zip archive: /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: changing file mode: chmod /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: operation not permitted
> 描述一下你遇到的问题
容器顺利启动,但是程序应该没启动,表现是无法打开webui,应该是上面的权限不足问题
## 你的问题弄重现嘛?
可以
> 能够重新,不能够重现
## 你期望的结果
> 描述以下你期望的结果
## 给出当前程序的配置文件
> /volume1/docker/chinesesubfinder/config:/config 下,ChineseSubFinderSettings.json,记得把你的用户名、密码、Emby API 敏感信息删除
>{"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":true,"movie_paths":[],"series_paths":[],"local_static_file_port":"19037"},"subtitle_sources":{"assrt_settings":{"enabled":false,"token":""}},"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":""},"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":{"csf":{"name":"csf","root_url":"haha","daily_download_limit":-1},"xunlei":{"name":"xunlei","root_url":"http://sub.xmp.sandai.net:8000/subxl/%s.json","daily_download_limit":-1},"shooter":{"name":"shooter","root_url":"https://www.shooter.cn/api/subapi.php","daily_download_limit":-1},"subhd":{"name":"subhd","root_url":"https://subhd.tv","daily_download_limit":20},"zimuku":{"name":"zimuku","root_url":"https://zimuku.org","daily_download_limit":20},"assrt":{"name":"assrt","root_url":"https://api.assrt.net/v1","daily_download_limit":-1},"a4k":{"name":"a4k","root_url":"https://www.a4k.net","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":120,"min_offset":0.1},"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}}}
> 可以复制上面的配置,使用类似在线 json 格式化的工具进行一次处理,方便阅读,[JSON 在线解析及格式化验证 - JSON.cn](https://www.json.cn/#)
```json
{
"user_info": {
"username": "xx", // 这里是用户名,需要替换掉
"password": "xx" // 这里是密码,需要替换掉
},
"common_settings": {
"scan_interval": "6h",
"threads": 1,
"run_scan_at_start_up": false,
"movie_paths": ["X:\\电影"],
"series_paths": ["X:\\连续剧"]
},
"advanced_settings": {
"proxy_settings": {
"use_http_proxy": false,
"http_proxy_address": ""
},
"debug_mode": false,
"save_full_season_tmp_subtitles": true,
"sub_type_priority": 0,
"sub_name_formatter": 0,
"save_multi_sub": true,
"custom_video_exts": [],
"fix_time_line": false,
"topic": 1
},
"emby_settings": {
"enable": true,
"address_url": "http://192.168.50.xxx:xxx", // 这里替换掉
"api_key": "xxxxxxxxxxxxxx", // 这里替换掉
"max_request_video_number": 100,
"skip_watched": true,
"movie_paths_mapping": {
"X:\\电影": "/mnt/share1/电影"
},
"series_paths_mapping": {
"X:\\连续剧": "/mnt/share1/连续剧"
}
},
"developer_settings": {
"enable": false,
"bark_server_address": ""
},
"timeline_fixer_settings": {
"max_offset_time": 120,
"min_offset": 0.1
}
}
```
## 如果是使用 Docker,请给出对应的配置信息
> 比如 Docker-Compose 信息,如果是其他方式使用忽略
## 给出媒体文件夹的目录结构
> 首先你需要去看主页的部署教程,确认你目录结构是规范的,如果你觉得没问题,那么请除非目录结构截图
> 是否看过对应的目录结构要求文档?
- [电影的推荐目录结构](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E7%94%B5%E5%BD%B1%E5%92%8C%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E7%A4%BA%E4%BE%8B.md)
- [连续剧目录结构要求](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E8%A6%81%E6%B1%82.md)
## 请给出当次问题的完整日志
> 日志在程序的 Logs 目录下,如果你用的是 docker ,那么需要你映射出来。
[INFO]: 2022-07-07 13:46:54 - ChineseSubFinder Version: v0.34.3
[INFO]: 2022-07-07 13:46:54 - Reload Log Settings, level = Info
[INFO]: 2022-07-07 13:46:54 - Speed Dev Mode is Off
[INFO]: 2022-07-07 13:46:54 - PreJob.HotFix() Start...
[INFO]: 2022-07-07 13:46:54 - If you have a lot of videos, it may take a lot of time, just wait...
[INFO]: 2022-07-07 13:46:55 - Hotfix 001 Start...
[INFO]: 2022-07-07 13:46:55 - Hotfix 001 End
[INFO]: 2022-07-07 13:46:55 - Hotfix 001 is Recorded
[INFO]: 2022-07-07 13:46:55 - Hotfix 002 Start...
[INFO]: 2022-07-07 13:46:55 - Hotfix 002 End
[INFO]: 2022-07-07 13:46:55 - Hotfix 002, process == true
[INFO]: 2022-07-07 13:46:55 - Hotfix 002 is Recorded
[INFO]: 2022-07-07 13:46:55 - Hotfix 003 Start...
[INFO]: 2022-07-07 13:46:55 - Hotfix 003 End
[INFO]: 2022-07-07 13:46:55 - Hotfix 003, process == true
[INFO]: 2022-07-07 13:46:55 - Hotfix 003 is Recorded
[INFO]: 2022-07-07 13:46:55 - Hotfix 004 Start...
[INFO]: 2022-07-07 13:46:55 - Hotfix 004 End
[INFO]: 2022-07-07 13:46:55 - Hotfix 004, process == true
[INFO]: 2022-07-07 13:46:55 - Hotfix 004 is Recorded
[INFO]: 2022-07-07 13:46:55 - Hotfix 005 Start...
[INFO]: 2022-07-07 13:46:55 - Hotfix 005 End
[INFO]: 2022-07-07 13:46:55 - Hotfix 005, process == true
[INFO]: 2022-07-07 13:46:55 - Hotfix 005 is Recorded
[INFO]: 2022-07-07 13:46:55 - Hotfix 006 Start...
[INFO]: 2022-07-07 13:46:55 - Hotfix 006 End
[INFO]: 2022-07-07 13:46:55 - Hotfix 006, process == true
[INFO]: 2022-07-07 13:46:55 - Hotfix 006 is Recorded
[INFO]: 2022-07-07 13:46:55 - PreJob.HotFix() End
[INFO]: 2022-07-07 13:46:55 - PreJob.ChangeSubNameFormat() Start...
[INFO]: 2022-07-07 13:46:55 - If you have a lot of videos, it may take a lot of time, just wait...
[INFO]: 2022-07-07 13:46:55 - PreJob.ChangeSubNameFormat() End
[INFO]: 2022-07-07 13:46:55 - PreJob.ReloadBrowser() Start...
[INFO]: 2022-07-07 13:46:55 - releaseAdblock start
[INFO]: 2022-07-07 13:46:56 - releaseAdblock end
[ERROR]: 2022-07-07 13:46:56 - releaseAdblock reading file in zip archive: /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: changing file mode: chmod /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: operation not permitted
[PANIC]: 2022-07-07 13:46:56 - releaseAdblock reading file in zip archive: /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: changing file mode: chmod /config/cache/Plugin/adblock/RunAdblock/adblock/CHANGELOG.txt: operation not permitted
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.