firemakergk / aquar-build-helper

Aquar系统搭建指南
439 stars 54 forks source link

运行 aqserv start 有报错,但是所有docker 服务貌似都拉起了 #13

Open gzbenson opened 1 year ago

gzbenson commented 1 year ago

/usr/local/bin/virtualenvwrapper.sh: line 230: : command not found virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenvwrapper has been installed for VIRTUALENVWRAPPER_PYTHON= and that PATH is set properly. /usr/local/bin/virtualenvwrapper.sh: line 230: : command not found /usr/local/bin/virtualenvwrapper.sh: line 230: : command not found

aquar docker services starting docker-compose_mariadb_1 is up-to-date Starting qbittorrent ... syncthing is up-to-date navidrome is up-to-date transmission is up-to-date aquarhome is up-to-date jellyfin is up-to-date filerun is up-to-date docker-compose_nextcloud_1 is up-to-date Starting qbittorrent ... done

gzbenson commented 1 year ago

这个是不是 python的安装路径问题? 我看了一下貌似路径没有问题啊

[aquar config start]

export WORKON_HOME=/root/.virtualenvs export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 source /usr/local/bin/virtualenvwrapper.sh

[aquar config end]


/usr/bin# python3 --version Python 3.10.6

firemakergk commented 1 year ago

这种情况下推出命令行重新登录就可以了

archerloop commented 1 year ago

/usr/local/bin/virtualenvwrapper.sh 脚本中 使用的命令是

if [ "${VIRTUALENVWRAPPER_PYTHON:-}" = "" ] then VIRTUALENVWRAPPER_PYTHON="$(command \which python)" fi

在python3环境下使用,需要把which python修改成which python3

Yalongduan commented 1 year ago

现在执行setup_aquar.sh脚本会报错,上边的python3是一个修改点; 还有一个点是filerun,报错信息如下: ERROR: manifest for filerun/filerun:latest not found: manifest unknown: manifest unknown 脚本中第230行我加了版本号 image: filerun/filerun:8.1.arm64v8,执行成功了。

但是aqserv start,服务情况如下,看着不太正常 image