Homeland 最新的 Homeland 镜像没有 acme.sh 文件

vstorm · August 07, 2020 · Last by huacnlee replied at August 11, 2020 · 1634 hits

最新的 Homeland 镜像没有 acme.sh 文件,导致 sudo make install_ssl 失败

root@hostker:~/homeland-docker# sudo make install_ssl
docker-compose start web
Starting web ... done
docker-compose run web bash -c 'echo $cert_domain'
Starting homeland_postgresql ... done
Starting homeland_redis      ... done
Starting homeland_worker     ... done
Starting homeland_app_backup ... done
Starting homeland_app        ... done
realx.cc
docker-compose run web bash -c '/root/.acme.sh/acme.sh --issue -d $cert_domain -w /home/app/homeland/public --home /home/app/ssl --debug'
Starting homeland_postgresql ... done
Starting homeland_redis      ... done
Starting homeland_worker     ... done
Starting homeland_app        ... done
Starting homeland_app_backup ... done
bash: /root/.acme.sh/acme.sh: No such file or directory
Makefile:14: recipe for target 'install_ssl' failed
make: *** [install_ssl] Error 127

docker exec 进去容器,没有/root/.acme.sh/acme.sh 文件,切换成 3.5.0 版本的镜像后,安装成功

你这个是新版的吗?这个问题我应该修复了 https://github.com/ruby-china/homeland/pull/1170。可能 @huacnlee 还没有 build 新的 homeland-base?

你去到镜像里面运行

curl https://get.acme.sh | sh

看看缺哪些依赖包导致 acme.sh 安装失败?在 homeland-base 的 Dockerfile 那里加上那些依赖,自己本地 build 一个用着先?

Reply to lanzhiheng

好的,谢谢大佬,我先尝试自己解决下😃

https://hub.docker.com/r/homeland/base/dockerfile 应该是大佬还没有重新 build homeland-base 镜像

今天我修复了,正在打包中,1 小时以后应该可以用了

You need to Sign in before reply, if you don't have an account, please Sign up first.