chenglin321 opened a new issue, #11982:
URL: https://github.com/apache/apisix/issues/11982

   ### Description
   
   
   1. 从git拉取,https://github.com/apache/apisix-docker/tree/release/apisix-3.2.2 
,自行编译,3.2.2-debian
   2. 在k3s上安装,参考这个安装的: 
https://apisix.apache.org/zh/blog/2023/10/18/ingress-apisix/
   3. apisix运行报错:
   
   /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init
   WARNING: using empty Admin API.
                       This will trigger APISIX to automatically generate a 
random Admin API token.
   Please modify "admin_key" in conf/config.yaml .
   /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
   2025/02/20 03:25:57 [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
   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
   2025/02/20 03:25:57 [error] 1#1: init_by_lua error: 
/usr/local/openresty/lualib/resty/core/exit.lua:49: no request found
   stack traceback:
           [C]: in function 'error'
           /usr/local/openresty/lualib/resty/core/exit.lua:49: in function 
'ngx_exit'
           /usr/local/apisix/apisix/core/id.lua:131: in function 'init'
           /usr/local/apisix/apisix/init.lua:86: in function 'http_init'
           init_by_lua:9: in main chunk
   nginx: [error] init_by_lua error: 
/usr/local/openresty/lualib/resty/core/exit.lua:49: no request found
   stack traceback:
           [C]: in function 'error'
           /usr/local/openresty/lualib/resty/core/exit.lua:49: in function 
'ngx_exit'
           /usr/local/apisix/apisix/core/id.lua:131: in function 'init'
           /usr/local/apisix/apisix/init.lua:86: in function 'http_init'
           init_by_lua:9: in main chunk
   
   
   ### Environment
   
   -  k3s  CRD安装
   - APISIX version : 3.2.2 debian
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to