全球主机交流论坛

标题: 宝塔mongodb启动失败求大佬指点 [打印本页]

作者: 琉璃神社    时间: 2023-11-4 12:47
标题: 宝塔mongodb启动失败求大佬指点
本帖最后由 琉璃神社 于 2023-11-4 12:49 编辑
  1. /etc/init.d/mongodb start
复制代码
确实可以启动成功,但面板不行

面板启动报错
  1. Traceback (most recent call last):
  2. File "class/flask_sockets.py", line 30, in __call__
  3. handler, values = adapter.match()
  4. File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
  5. raise NotFound()
  6. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

  7. During handling of the above exception, another exception occurred:

  8. Traceback (most recent call last):
  9. File "class/panelPlugin.py", line 1958, in a
  10. plugin_main = __import__(get.name+'_main')
  11. File "plugin/mongodb/mongodb_main.py", line 19, in
  12. from databaseModel.mongodbModel import panelMongoDB
  13. ModuleNotFoundError: No module named 'databaseModel'
复制代码


看上去是不是python缺少某个组件?系统是debian11,MongoDB 4.0







欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4