安装不了mongodb
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:免费版
9.0.0
系统版本:Debian GNU/Linux 12 (bookworm) x86_64(Py3.7.16)
问题描述:安装不了mongodb
相关截图(日志、错误):
0K .......... .. 100% 122M=0s2024-12-13 23:33:39 (122 MB/s) - 'mongodb.sh' saved 正在选择下载节点...https://dg2.bt.cnURL transformed to HTTPS due to an HSTS policy--2024-12-13 23:33:40-- https://download.bt.cn/install/public.shResolving download.bt.cn (download.bt.cn)... 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9, 103.179.243.14Connecting to download.bt.cn (download.bt.cn)|2001:19f0:7001:54fc:5400:2ff:fe9b:97f9|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 5297 (5.2K) Saving to: '/www/server/panel/install/public.sh'0K ..... 100% 236M=0s2024-12-13 23:33:40 (236 MB/s) - '/www/server/panel/install/public.sh' saved 正在选择下载节点...debian-12 please install mongodb-7.0/8.0|-Successify --- 命令已执行! ---
正在选择下载节点...
--2024-12-13 23:33:39-- https://dg2.bt.cn/install/4/mongodb.sh
Resolving dg2.bt.cn (dg2.bt.cn)... 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9, 103.179.243.14
Connecting to dg2.bt.cn (dg2.bt.cn)|2001:19f0:7001:54fc:5400:2ff:fe9b:97f9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13278 (13K)
Saving to: 'mongodb.sh'
0K .......... .. 100% 122M=0s
2024-12-13 23:33:39 (122 MB/s) - 'mongodb.sh' saved
正在选择下载节点...
https://dg2.bt.cn
URL transformed to HTTPS due to an HSTS policy
--2024-12-13 23:33:40-- https://download.bt.cn/install/public.sh
Resolving download.bt.cn (download.bt.cn)... 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9, 103.179.243.14
Connecting to download.bt.cn (download.bt.cn)|2001:19f0:7001:54fc:5400:2ff:fe9b:97f9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5297 (5.2K)
Saving to: '/www/server/panel/install/public.sh'
0K ..... 100% 236M=0s
2024-12-13 23:33:40 (236 MB/s) - '/www/server/panel/install/public.sh' saved
正在选择下载节点...
debian-12 please install mongodb-7.0/8.0
|-Successify --- 命令已执行! --- Create a new --- mongodb --- database显示:状态:
缺少参数!sid 本帖最后由 zzbajie 于 2024-12-21 21:54 编辑
对我来说,我使用docker镜像btpanel/baota安装的宝塔(系统是debian12)。
找到/www/server/panel/install/mongodb.sh,然后编辑这个文件,找到以下代码行,使用#号注释掉。
# if [ "${OS_VER}" == "12" ] && [ "$2" != "6.0" ];then
# echo -e "debian-12 please install mongodb-7.0/8.0"
# exit
# fi然后使用终端进入/www/server/panel/install/目录下
执行:
chmod +x mongodb.sh./mongodb.sh install 8.0
即可安装成功。 本帖最后由 zzbajie 于 2024-12-21 21:50 编辑
见上个贴子
页:
[1]