You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apisix-1 | /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init
apisix-1 | /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
apisix-1 | 2024/12/16 07:32:08 [error] 1#1: [lua] id.lua:130: init(): failed to write updated local configuration: failed to open file[/usr/local/apisix/conf/config.yaml] for writing
apisix-1 | nginx: [error] [lua] id.lua:130: init(): failed to write updated local configuration: failed to open file[/usr/local/apisix/conf/config.yaml] for writing
apisix-1 | 2024/12/16 07:32:08 [error] 1#1: init_by_lua error: /usr/local/openresty/lualib/resty/core/exit.lua:49: no request found
apisix-1 | stack traceback:
apisix-1 | [C]: in function 'error'
apisix-1 | /usr/local/openresty/lualib/resty/core/exit.lua:49: in function 'ngx_exit'
apisix-1 | /usr/local/apisix/apisix/core/id.lua:131: in function 'init'
apisix-1 | /usr/local/apisix/apisix/init.lua:86: in function 'http_init'
apisix-1 | init_by_lua:9: in main chunk
apisix-1 | nginx: [error] init_by_lua error: /usr/local/openresty/lualib/resty/core/exit.lua:49: no request found
apisix-1 | stack traceback:
apisix-1 | [C]: in function 'error'
apisix-1 | /usr/local/openresty/lualib/resty/core/exit.lua:49: in function 'ngx_exit'
apisix-1 | /usr/local/apisix/apisix/core/id.lua:131: in function 'init'
apisix-1 | /usr/local/apisix/apisix/init.lua:86: in function 'http_init'
apisix-1 | init_by_lua:9: in main chunk
apisix-1 exited with code 1
Steps to Reproduce
1、run apisix via docker compose
Environment
APISIX version (run apisix version):
Operating system (run uname -a):
OpenResty / Nginx version (run openresty -V or nginx -V):
etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
APISIX Dashboard version, if relevant:
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run luarocks --version):
The text was updated successfully, but these errors were encountered:
Current Behavior
version: "3.8"
services:
apisix:
image: "apache/apisix:3.11.0-debian"
restart: always
volumes:
- ./conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
depends_on:
- etcd
ports:
- "9443:443/tcp"
#network_mode: "host"
networks:
- apisix
etcd:
image: bitnami/etcd:3.5.17
user: root
restart: always
volumes:
- ./data/etcd_data:/bitnami/etcd/data
environment:
ETCD_DATA_DIR: /etcd_data
ETCD_ENABLE_V2: "true"
ALLOW_NONE_AUTHENTICATION: "yes"
ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379"
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
ports:
- "2379:2379/tcp"
#network_mode: "host"
networks:
- apisix
dashboard:
image: "apache/apisix-dashboard:3.0.1-alpine"
restart: always
volumes:
- ./conf/dashboard/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml:ro
depends_on:
- etcd
ports:
- "9000:9000/tcp"
#network_mode: "host"
networks:
- apisix
networks:
apisix:
driver: bridge
Expected Behavior
No response
Error Logs
apisix-1 | /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init
apisix-1 | /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
apisix-1 | 2024/12/16 07:32:08 [error] 1#1: [lua] id.lua:130: init(): failed to write updated local configuration: failed to open file[/usr/local/apisix/conf/config.yaml] for writing
apisix-1 | nginx: [error] [lua] id.lua:130: init(): failed to write updated local configuration: failed to open file[/usr/local/apisix/conf/config.yaml] for writing
apisix-1 | 2024/12/16 07:32:08 [error] 1#1: init_by_lua error: /usr/local/openresty/lualib/resty/core/exit.lua:49: no request found
apisix-1 | stack traceback:
apisix-1 | [C]: in function 'error'
apisix-1 | /usr/local/openresty/lualib/resty/core/exit.lua:49: in function 'ngx_exit'
apisix-1 | /usr/local/apisix/apisix/core/id.lua:131: in function 'init'
apisix-1 | /usr/local/apisix/apisix/init.lua:86: in function 'http_init'
apisix-1 | init_by_lua:9: in main chunk
apisix-1 | nginx: [error] init_by_lua error: /usr/local/openresty/lualib/resty/core/exit.lua:49: no request found
apisix-1 | stack traceback:
apisix-1 | [C]: in function 'error'
apisix-1 | /usr/local/openresty/lualib/resty/core/exit.lua:49: in function 'ngx_exit'
apisix-1 | /usr/local/apisix/apisix/core/id.lua:131: in function 'init'
apisix-1 | /usr/local/apisix/apisix/init.lua:86: in function 'http_init'
apisix-1 | init_by_lua:9: in main chunk
apisix-1 exited with code 1
Steps to Reproduce
1、run apisix via docker compose
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: