opennaslab / kubespider

A global resource download orchestration system, build your home download center.
https://kubespider.netlify.app/
Apache License 2.0
2.01k stars 114 forks source link

在win下的wsl2里面启动就报错了,加了用户组之后就少了groupmod: invalid group ID 'kubespider'这个错误,其他的看不懂是什么问题 #525

Open WilliamHWM opened 3 months ago

WilliamHWM commented 3 months ago

13:53:50 Process Process-1: 2024-06-16 13:53:50 Traceback (most recent call last): 2024-06-16 13:53:50 File "/app/kubespider/core/config_handler.py", line 153, in get_notification_provider 2024-06-16 13:53:50 return notification_provider_init_func[provider_type]( 2024-06-16 13:53:50 ~~~~~~~^^^^^^^^^^^^^^^ 2024-06-16 13:53:50 KeyError: 'slack_notification_provider' 2024-06-16 13:53:50 2024-06-16 13:53:50 During handling of the above exception, another exception occurred: 2024-06-16 13:53:50 2024-06-16 13:53:50 Traceback (most recent call last): 2024-06-16 13:53:50 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap 2024-06-16 13:53:50 self.run() 2024-06-16 13:53:50 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 108, in run 2024-06-16 13:53:50 self._target(*self._args, *self._kwargs) 2024-06-16 13:53:50 File "/app/kubespider/core/runner.py", line 23, in run 2024-06-16 13:53:50 kubespider_controller.config() 2024-06-16 13:53:50 File "/app/kubespider/core/kubespider_controller.py", line 34, in config 2024-06-16 13:53:50 self.notifications_providers = config_handler.init_notification_config() 2024-06-16 13:53:50 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-16 13:53:50 File "/app/kubespider/core/config_handler.py", line 189, in init_notification_config 2024-06-16 13:53:50 init_notification_providers.append(get_notification_provider(name, conf)) 2024-06-16 13:53:50 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-16 13:53:50 File "/app/kubespider/core/config_handler.py", line 158, in get_notification_provider 2024-06-16 13:53:50 raise Exception(str('unknown notification provider type %s', providertype)) from exc 2024-06-16 13:53:50 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-16 13:53:50 TypeError: decoding str is not supported 2024-06-16 14:00:24 groupmod: invalid group ID 'kubespider' 2024-06-16 14:00:24 usermod: no changes 2024-06-16 14:00:24 2024-06-16 14:00:24 _ 2024-06-16 14:00:24 | | | | _ (_) _| | _ 2024-06-16 14:00:24 | |/ / | | | ' \ / \/ | ' | |/ ` |/ _ \ '| 2024-06-16 14:00:24 | <| || | |) | /_ \ |) | | (_| | / | 2024-06-16 14:00:24 ||_\_,|._/ \||_/ ._/||_,|_|| 2024-06-16 14:00:24 ||
2024-06-16 14:00:24
2024-06-16 14:00:24 KubeSpider - A global resource download orchestration system 2024-06-16 14:00:24 Build Tag: ${GITHUB_SHA} 2024-06-16 14:00:24 2024-06-16 14:00:24,806-INFO: File handler start running... 2024-06-16 14:00:24 Process Process-1: 2024-06-16 14:00:24 Traceback (most recent call last): 2024-06-16 14:00:24 File "/app/kubespider/core/config_handler.py", line 153, in get_notification_provider 2024-06-16 14:00:24 return notification_provider_init_func[provider_type]( 2024-06-16 14:00:24 ~~~~~~~^^^^^^^^^^^^^^^ 2024-06-16 14:00:24 KeyError: 'slack_notification_provider' 2024-06-16 14:00:24 2024-06-16 14:00:24 During handling of the above exception, another exception occurred: 2024-06-16 14:00:24 2024-06-16 14:00:24 Traceback (most recent call last): 2024-06-16 14:00:24 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap 2024-06-16 14:00:24 self.run() 2024-06-16 14:00:24 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 108, in run 2024-06-16 14:00:24 self._target(
self._args, **self._kwargs) 2024-06-16 14:00:24 File "/app/kubespider/core/runner.py", line 23, in run 2024-06-16 14:00:24 kubespider_controller.config() 2024-06-16 14:00:24 File "/app/kubespider/core/kubespider_controller.py", line 34, in config 2024-06-16 14:00:24 self.notifications_providers = config_handler.init_notification_config() 2024-06-16 14:00:24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-16 14:00:24 File "/app/kubespider/core/config_handler.py", line 189, in init_notification_config 2024-06-16 14:00:24 init_notification_providers.append(get_notification_provider(name, conf)) 2024-06-16 14:00:24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-16 14:00:24 File "/app/kubespider/core/config_handler.py", line 158, in get_notification_provider 2024-06-16 14:00:24 raise Exception(str('unknown notification provider type %s', provider_type)) from exc 2024-06-16 14:00:24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-16 14:00:24 TypeError: decoding str is not supported

miRemid commented 3 months ago

感谢反馈问题,请问启动方式是什么?是否是docker形式部署的?

WilliamHWM commented 3 months ago

github 上写的bash hack/spiderinstall.sh 。用的docker方式

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: 无题 @.> 发送时间: 2024年6月16日 22:28 收件人: opennaslab/kubespider @.> 抄送: WilliamHWM @.>, Author @.> 主题: Re: [opennaslab/kubespider] 在win下的wsl2里面启动就报错了,加了用户组之后就少了groupmod: invalid group ID 'kubespider'这个错误,其他的看不懂是什么问题 (Issue #525)

感谢反馈问题,请问启动方式是什么?是否是docker形式部署的?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

miRemid commented 3 months ago

本机wsl2没有复现成功 image os: win11 23H2 wsl2 ubuntu 22.04 请问你使用的哪种方式安装的docker?如果使用的是Windows版本的Docker Desktop提供后端支持,请卸载删除后直接在wsl2中安装docker,curl https://get.docker.com | sh

WilliamHWM commented 3 months ago

curl https://get.docker.com | sh 装的docker拉取不到镜像的所以才去用了Docker Desktop提供后端支持,curl https://www.google.com 是可以正常访问的

------------------ 原始邮件 ------------------ 发件人: "opennaslab/kubespider" @.>; 发送时间: 2024年6月17日(星期一) 上午10:54 @.>; @.**@.>; 主题: Re: [opennaslab/kubespider] 在win下的wsl2里面启动就报错了,加了用户组之后就少了groupmod: invalid group ID 'kubespider'这个错误,其他的看不懂是什么问题 (Issue #525)

本机wsl2没有复现成功 image.png (view on web) os: win11 23H2 wsl2 ubuntu 22.04 请问你使用的哪种方式安装的docker?如果使用的是Windows版本的Docker Desktop提供后端支持,请卸载删除后直接在wsl2中安装docker,curl https://get.docker.com | sh

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

miRemid commented 3 months ago

请给Docker更换镜像源,这部分可以参考Daocloud