VergilGao / docker-mdc

https://github.com/yoshiko2/Movie_Data_Capture 的 docker镜像,帮助你更优雅的管理硬盘中的大姐姐们。
GNU General Public License v3.0
558 stars 94 forks source link

【6.2.2】新的稳定版已发布,欢迎使用 #55

Closed VergilGao closed 1 year ago

VergilGao commented 2 years ago

此次更新幅度较大

未来可能引入新的配置方式,在上游版本造成升级配置文件不兼容时可以自动生成新的配置

Rogver commented 2 years ago

测试说明里边第一步Pull的镜像和最后一步运行的镜像不同

SilkL2G commented 2 years ago

unraid 日志不显示正在刮削的运行代码,只能到appdate里面看日志文件吗

VergilGao commented 2 years ago

docker logs --follow mdc mdc 换成你的docker镜像名

vestw commented 2 years ago

请问config和data放在同一个目录就成功,不同目录就失败,提示can't open mapping actor .xml 是我的问题吗?

VergilGao commented 2 years ago

请问config和data放在同一个目录就成功,不同目录就失败,提示can't open mapping actor .xml 是我的问题吗?

可以提供一下完整的日志吗?

vestw commented 2 years ago

你好 以下是不同目录就失败 的日志

2022-06-10 14:57:37 | stdout | wget: can't open 'c_number.json': File exists -- | -- | -- 2022-06-10 14:57:37 | stdout | Connecting to raw.githubusercontent.com (185.199.110.133:443) 2022-06-10 14:57:37 | stdout | wget: can't open 'mapping_info.xml': File exists 2022-06-10 14:57:35 | stdout | Connecting to raw.githubusercontent.com (185.199.109.133:443) 2022-06-10 14:57:35 | stdout | wget: can't open 'mapping_actor.xml': File exists 2022-06-10 14:57:34 | stdout | Connecting to raw.githubusercontent.com (185.199.108.133:443) 2022-06-10 14:57:34 | stdout | Download Mapping Table 2022-06-10 14:57:34 | stdout | Checking if config file exist 2022-06-10 14:57:34 | stdout | ---Taking ownership of data...--- 2022-06-10 14:57:34 | stdout | ---Setting umask to 002--- 2022-06-10 14:57:34 | stdout | usermod: no changes 2022-06-10 14:57:34 | stdout | ---Checking if GID: 100 matches user--- 2022-06-10 14:57:34 | stdout | usermod: no changes 2022-06-10 14:57:34 | stdout | ---Checking if UID: 99 matches user--- 2022-06-10 14:57:34 | stdout | ---Setup Timezone to Asia/Shanghai--- 2022-06-10 14:56:45 | stdout | [24] Failed to execute script 'Movie_Data_Capture' due to unhandled exception! 2022-06-10 14:56:45 | stdout | PermissionError: [Errno 13] Permission denied: 'config.ini' 2022-06-10 14:56:45 | stdout | File "pathlib.py", line 1232, in stat 2022-06-10 14:56:45 | stdout | File "pathlib.py", line 1456, in is_file 2022-06-10 14:56:45 | stdout | File "config.py", line 35, in __init__ 2022-06-10 14:56:45 | stdout | File "Movie_Data_Capture.py", line 685, in  2022-06-10 14:56:45 | stdout | Traceback (most recent call last): 2022-06-10 14:56:44 | stdout | Starting... 2022-06-10 14:56:44 | stdout | wget: can't open 'c_number.json': File exists 2022-06-10 14:56:43 | stdout | Connecting to raw.githubusercontent.com (185.199.111.133:443) 2022-06-10 14:56:43 | stdout | wget: can't open 'mapping_info.xml': File exists 2022-06-10 14:56:42 | stdout | Connecting to raw.githubusercontent.com (185.199.110.133:443) 2022-06-10 14:56:42 | stdout | wget: can't open 'mapping_actor.xml': File exists 2022-06-10 14:56:40 | stdout | Connecting to raw.githubusercontent.com (185.199.109.133:443) 2022-06-10 14:56:40 | stdout | Download Mapping Table 2022-06-10 14:56:40 | stdout | Checking if config file exist 2022-06-10 14:56:40 | stdout | ---Taking ownership of data...--- 2022-06-10 14:56:40 | stdout | ---Setting umask to 002--- 2022-06-10 14:56:40 | stdout | usermod: no changes 2022-06-10 14:56:40 | stdout | ---Checking if GID: 100 matches user--- 2022-06-10 14:56:40 | stdout | usermod: no changes 2022-06-10 14:56:40 | stdout | ---Checking if UID: 99 matches user--- 2022-06-10 14:56:40 | stdout | ---Setup Timezone to Asia/Shanghai--- 2022-06-10 14:55:23 | stdout | [25] Failed to execute script 'Movie_Data_Capture' due to unhandled exception! 2022-06-10 14:55:23 | stdout | PermissionError: [Errno 13] Permission denied: 'config.ini' 2022-06-10 14:55:23 | stdout | File "pathlib.py", line 1232, in stat 2022-06-10 14:55:23 | stdout | File "pathlib.py", line 1456, in is_file 2022-06-10 14:55:23 | stdout | File "config.py", line 35, in __init__ 2022-06-10 14:55:23 | stdout | File "Movie_Data_Capture.py", line 685, in  2022-06-10 14:55:23 | stdout | Traceback (most recent call last): 2022-06-10 14:55:22 | stdout | Starting... 2022-06-10 14:55:22 | stdout | wget: can't open 'c_number.json': File exists 2022-06-10 14:55:21 | stdout | Connecting to raw.githubusercontent.com (185.199.108.133:443) 2022-06-10 14:55:21 | stdout | wget: can't open 'mapping_info.xml': File exists 2022-06-10 14:55:20 | stdout | Connecting to raw.githubusercontent.com (185.199.111.133:443) 2022-06-10 14:55:20 | stdout | wget: can't open 'mapping_actor.xml': File exists 2022-06-10 14:55:19 | stdout | Connecting to raw.githubusercontent.com (185.199.110.133:443) 2022-06-10 14:55:19 | stdout | Download Mapping Table 2022-06-10 14:55:19 | stdout | Checking if config file exist 2022-06-10 14:55:19 | stdout | ---Taking ownership of data...--- 2022-06-10 14:55:19 | stdout | ---Setting umask to 002--- 2022-06-10 14:55:19 | stdout | usermod: no changes 2022-06-10 14:55:19 | stdout | ---Checking if GID: 100 matches user--- 2022-06-10 14:55:19 | stdout | usermod: no changes 2022-06-10 14:55:19 | stdout | ---Checking if UID: 99 matches user--- 2022-06-10 14:55:19 | stdout | ---Setup Timezone to Asia/Shanghai--- 2022-06-10 14:54:14 | stdout | [24] Failed to execute script 'Movie_Data_Capture' due to unhandled exception! 2022-06-10 14:54:14 | stdout | PermissionError: [Errno 13] Permission denied: 'config.ini' 2022-06-10 14:54:14 | stdout | File "pathlib.py", line 1232, in stat 2022-06-10 14:54:14 | stdout | File "pathlib.py", line 1456, in is_file 2022-06-10 14:54:14 | stdout | File "config.py", line 35, in __init__ 2022-06-10 14:54:14 | stdout | File "Movie_Data_Capture.py", line 685, in  2022-06-10 14:54:14 | stdout | Traceback (most recent call last): 2022-06-10 14:54:13 | stdout | Starting...
vestw commented 2 years ago

我把config和data放在同一个目录就成功,不知道怎么上传,只能这样行吗?

2022-06-10 15:01:07 | stdout | [+]Find 3 movies. -- | -- | -- 2022-06-10 15:01:07 | stdout | [*]====================================================== 2022-06-10 15:01:07 | stdout | [*]https://github.com/yoshiko2/Movie_Data_Capture/releases 2022-06-10 15:01:07 | stdout | [*]                     ↓ Download ↓ 2022-06-10 15:01:07 | stdout | [*]                 * New update 6.2.2 * 2022-06-10 15:01:06 | stdout | [+]Main Working mode ## 1: Scraping ## , nfo_skip_days=30 2022-06-10 15:01:06 | stdout | [+]Load Config file '/config/mdc.ini'. 2022-06-10 15:01:06 | stdout | [+]Start at 2022-06-10 23:01:06 2022-06-10 15:01:06 | stdout | [*]====================================================== 2022-06-10 15:01:06 | stdout | [*] - 严禁在墙内宣传本项目 - 2022-06-10 15:01:06 | stdout | [*]====================================================== 2022-06-10 15:01:06 | stdout | [*] - x86_64 - Python-3.9.13 2022-06-10 15:01:06 | stdout | [*] - Linux-4.4.59+-x86_64-with 2022-06-10 15:01:06 | stdout | [*]====================================================== 2022-06-10 15:01:06 | stdout | [*]                        6.2.1 2022-06-10 15:01:06 | stdout | [*]================= Movie Data Capture ================= 2022-06-10 15:01:05 | stdout | Starting...
VergilGao commented 2 years ago

镜像不是最新的,先更新。 更新后删除config.ini,等待程序生成新的config.ini后,修改配置再次运行。

zhouxingchiaiguanxiaodan commented 2 years ago

docker设置之后,日志显示 没有找到配置文件,我们创建了一个新的配置文件,请修改后重启镜像 我的设置装在路径是/config/mdc.ini /data 每次重启镜像之后都会给我重新创建一个config.template文件,我在这个文件上面改配置,或者把他改成mdc.ini文件再重启或者把他改成docker镜像名字.ini文件再重启也都不行,日志始终都是那么显示。不知道为啥,还请大佬指教

VergilGao commented 2 years ago

docker设置之后,日志显示 没有找到配置文件,我们创建了一个新的配置文件,请修改后重启镜像 我的设置装在路径是/config/mdc.ini /data 每次重启镜像之后都会给我重新创建一个config.template文件,我在这个文件上面改配置,或者把他改成mdc.ini文件再重启或者把他改成docker镜像名字.ini文件再重启也都不行,日志始终都是那么显示。不知道为啥,还请大佬指教

docker 运行参数发一下

zhouxingchiaiguanxiaodan commented 2 years ago

我翻了前边的问题,重新下载了mdc.latest和mdc6.2.2-r1的两个版本安装,装载的目录分别是……/config.ini和……/data,修改mdc.ini文件重启docker之后,发现在相应的data文件夹中有failed的文件夹,但是里边是空的,并没有输出output文件夹,查看日志如下: +2022-07-05T12:49:57.609747135Z Starting... E2022-07-05T12:50:39.576672601Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:50:39.582836627Z ---Checking if UID: 0 matches user--- 32022-07-05T12:50:39.592862421Z usermod: no changes E2022-07-05T12:50:39.592987615Z ---Checking if GID: 0 matches user--- 32022-07-05T12:50:39.664301682Z usermod: no changes :2022-07-05T12:50:39.664482215Z ---Setting umask to 002--- A2022-07-05T12:50:39.664614468Z ---Taking ownership of data...--- =2022-07-05T12:50:39.740229894Z Checking if config file exist +2022-07-05T12:50:39.740397260Z Starting... E2022-07-05T12:51:23.185758825Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:51:23.190025329Z ---Checking if UID: 0 matches user--- 32022-07-05T12:51:23.200661123Z usermod: no changes E2022-07-05T12:51:23.200820762Z ---Checking if GID: 0 matches user--- 32022-07-05T12:51:23.270338701Z usermod: no changes :2022-07-05T12:51:23.270674605Z ---Setting umask to 002--- A2022-07-05T12:51:23.270838021Z ---Taking ownership of data...--- =2022-07-05T12:51:23.358724340Z Checking if config file exist +2022-07-05T12:51:23.358975933Z Starting... E2022-07-05T12:52:07.194498821Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:52:07.199736391Z ---Checking if UID: 0 matches user--- 32022-07-05T12:52:07.209652485Z usermod: no changes E2022-07-05T12:52:07.209811558Z ---Checking if GID: 0 matches user--- 32022-07-05T12:52:07.278841930Z usermod: no changes :2022-07-05T12:52:07.279048834Z ---Setting umask to 002--- A2022-07-05T12:52:07.279235936Z ---Taking ownership of data...--- =2022-07-05T12:52:07.397383291Z Checking if config file exist +2022-07-05T12:52:07.397553767Z Starting... E2022-07-05T12:52:51.294904115Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:52:51.300215437Z ---Checking if UID: 0 matches user--- 32022-07-05T12:52:51.310004588Z usermod: no changes E2022-07-05T12:52:51.310151909Z ---Checking if GID: 0 matches user--- 32022-07-05T12:52:51.379918944Z usermod: no changes :2022-07-05T12:52:51.380117140Z ---Setting umask to 002--- A2022-07-05T12:52:51.380247094Z ---Taking ownership of data...--- =2022-07-05T12:52:51.470071847Z Checking if config file exist +2022-07-05T12:52:51.470241157Z Starting... E2022-07-05T12:53:34.879498687Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:53:34.904210645Z ---Checking if UID: 0 matches user--- 32022-07-05T12:53:34.927870923Z usermod: no changes E2022-07-05T12:53:34.928039324Z ---Checking if GID: 0 matches user--- 32022-07-05T12:53:35.001828779Z usermod: no changes :2022-07-05T12:53:35.001983188Z ---Setting umask to 002--- A2022-07-05T12:53:35.002101233Z ---Taking ownership of data...--- =2022-07-05T12:53:35.062795541Z Checking if config file exist +2022-07-05T12:53:35.062945418Z Starting... E2022-07-05T12:54:18.629188381Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:54:18.634506738Z ---Checking if UID: 0 matches user--- 32022-07-05T12:54:18.644298129Z usermod: no changes E2022-07-05T12:54:18.644460623Z ---Checking if GID: 0 matches user--- 32022-07-05T12:54:18.713571627Z usermod: no changes :2022-07-05T12:54:18.713748848Z ---Setting umask to 002--- A2022-07-05T12:54:18.713891424Z ---Taking ownership of data...--- =2022-07-05T12:54:18.802216710Z Checking if config file exist +2022-07-05T12:54:18.802445411Z Starting... E2022-07-05T12:55:01.663158330Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:55:01.668386260Z ---Checking if UID: 0 matches user--- 32022-07-05T12:55:01.678267507Z usermod: no changes E2022-07-05T12:55:01.678444498Z ---Checking if GID: 0 matches user--- 32022-07-05T12:55:01.745809287Z usermod: no changes :2022-07-05T12:55:01.745970012Z ---Setting umask to 002--- A2022-07-05T12:55:01.746086395Z ---Taking ownership of data...--- =2022-07-05T12:55:01.826532640Z Checking if config file exist +2022-07-05T12:55:01.826661339Z Starting... E2022-07-05T12:55:45.238523313Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:55:45.243778867Z ---Checking if UID: 0 matches user--- 32022-07-05T12:55:45.253721425Z usermod: no changes E2022-07-05T12:55:45.253869375Z ---Checking if GID: 0 matches user--- 32022-07-05T12:55:45.324341798Z usermod: no changes :2022-07-05T12:55:45.324533491Z ---Setting umask to 002--- A2022-07-05T12:55:45.324630676Z ---Taking ownership of data...--- =2022-07-05T12:55:45.414412863Z Checking if config file exist +2022-07-05T12:55:45.414566498Z Starting... E2022-07-05T12:56:28.864093114Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:56:28.869274001Z ---Checking if UID: 0 matches user--- 32022-07-05T12:56:28.879616762Z usermod: no changes E2022-07-05T12:56:28.879825979Z ---Checking if GID: 0 matches user--- 32022-07-05T12:56:28.951730442Z usermod: no changes :2022-07-05T12:56:28.951985170Z ---Setting umask to 002--- A2022-07-05T12:56:28.952111424Z ---Taking ownership of data...--- =2022-07-05T12:56:29.031879513Z Checking if config file exist +2022-07-05T12:56:29.032023799Z Starting... E2022-07-05T12:57:12.089411488Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:57:12.094715612Z ---Checking if UID: 0 matches user--- 32022-07-05T12:57:12.104312004Z usermod: no changes E2022-07-05T12:57:12.104442058Z ---Checking if GID: 0 matches user--- 32022-07-05T12:57:12.174632121Z usermod: no changes :2022-07-05T12:57:12.174810382Z ---Setting umask to 002--- A2022-07-05T12:57:12.174936163Z ---Taking ownership of data...--- =2022-07-05T12:57:12.274637700Z Checking if config file exist +2022-07-05T12:57:12.274813456Z Starting... E2022-07-05T12:57:55.164910012Z ---Setup Timezone to Asia/Shanghai--- E2022-07-05T12:57:55.170111839Z ---Checking if UID: 0 matches user--- 32022-07-05T12:57:55.179683319Z usermod: no changes E2022-07-05T12:57:55.179835430Z ---Checking if GID: 0 matches user--- 32022-07-05T12:57:55.250499230Z usermod: no changes :2022-07-05T12:57:55.250961440Z ---Setting umask to 002--- A2022-07-05T12:57:55.251120319Z ---Taking ownership of data...--- =2022-07-05T12:57:55.337847048Z Checking if config file exist +2022-07-05T12:57:55.337963989Z Starting...

我的nas是极空间新Z4,UID和GID写的都是0,UMASK写的默认002,因为不知道怎么查看,还请大佬帮忙看一看咋回事

VergilGao commented 2 years ago

你docker运行时的参数是怎么设置的,或者极空间本身运行docker是怎么运行的。

jk2077 commented 2 years ago

能出一份nas的docker使用说明吗

VergilGao commented 2 years ago

能出一份nas的docker使用说明吗

不同nas的用法也不一样,我只能给出cli的命令,你可以根据自己的nas的实际情况去填写。