wennuanwk
wennuanwk
apisix容器启动失败问题
root用户,日志如下: > `/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init > WARNING: using fixed Admin API token has security risk. > Please modify "admin_key" in conf/config.yaml . > /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd > nginx: [alert] could...
> 你安装了一些卷吗? > > 另外,你有没有使用官方的 Helm chart 来完成部署? 没有啊
> @wennuanwk请重新格式化错误日志,很难理解。 > > 从错误日志中我们可以知道这是由于权限问题,那么您使用哪个用户来运行 APISIX? root用户
> @wennuanwk请提供有关安装的一些详细信息。 `# 上传本地文件到虚拟机 put C:\Soft\code\apisix-docker.zip /opt # 解压 unzip apisix-docker.zip # 进入目录 cd apisix-docker # 修改权限 chmod -R 777 example/ # 进入example目录下 cd example # 启动docker容器脚本 docker-compose -p docker-apisix...
> > chmod -R 777 example/ > > why need this? and can you try to use `755`? 不行
> is this useful for you: #304 不行,日志还是这样: ` > /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init > /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd > nginx: [alert] could not open error log file: open() "/usr/local/apisix/logs/error.log" failed (13:...
大家好,问题已经解决了,非常感谢大家。我之前的docker版本为1.13.1,更新docker版本为20.10.17,就没有问题了