howie6879 / liuli

一站式构建多源、干净、个性化的阅读环境(Build a multi-source, clean and personalized reading environment in one stop.)
https://liuli.io
Apache License 2.0
885 stars 109 forks source link

ERROR Liuli 执行失败! #71

Closed flieswiming closed 1 year ago

flieswiming commented 1 year ago

1.使用大佬github配置的wechat.json和pro.env 2.docker部署,运行正常 3.运行后出现错误: [2023:01:19 14:56:43] INFO Liuli 来自 liuli_wechat 的文章持久化失败! 👉 是不是很酷 there are no users authenticated, full error: {'ok': 0.0, 'errmsg': 'there are no users authenticated', 'code': 13, 'codeName': 'Unauthorized'} [2023:01:19 14:56:43] INFO SGWechatSpider Stopping spider: SGWechatSpider [2023:01:19 14:56:43] INFO SGWechatSpider Total requests: 3 [2023:01:19 14:56:43] INFO SGWechatSpider Time usage: 0:00:16.164142 [2023:01:19 14:56:43] INFO SGWechatSpider Spider finished! [2023:01:19 14:56:43] INFO Liuli 🤗 微信公众号文章更新完毕(2/2)! [2023:01:19 14:56:43] INFO Liuli 采集器执行完毕! [2023:01:19 14:56:43] INFO Liuli 处理器(after_collect): 开始执行! [2023:01:19 14:56:43] INFO Liuli 处理器(after_collect): ad_marker 正在执行... [2023:01:19 14:56:43] ERROR Liuli 执行失败!there are no users authenticated, full error: {'ok': 0.0, 'errmsg': 'there are no users authenticated', 'code': 13, 'codeName': 'Unauthorized'} 4.烦请大佬诊断下,谢谢!

howie6879 commented 1 year ago

你好,看报错是你的mongo数据库用户名密码没有配置正确

flieswiming commented 1 year ago

你好,看报错是你的mongo数据库用户名密码没有配置正确

哦,谢谢! 如何配置用户名和密码?我使用的默认配置,我以为是配置好的

howie6879 commented 1 year ago

docker-compose 里面环境变量配置了用户名密码