opendevops-cn / opendevops

CODO是一款为用户提供企业多混合云、全球一站式DevOps、自动化运维、完全开源的云管理平台、自动化运维平台
http://www.opendevops.cn/
GNU General Public License v3.0
3.77k stars 1.02k forks source link

部署完毕后点击每个模块都是500错误,在/var/log/里没有gw.log文件 #57

Open TomasWang28 opened 4 years ago

TomasWang28 commented 4 years ago

image 没有找到lua配置上面的gw.log

TomasWang28 commented 4 years ago

2020/04/10 16:39:39 [error] 6#6: *34 lua entry thread aborted: runtime error: /usr/local/openresty/nginx//lua/my_verify.lua:50: bad argument #1 to 'ipairs' (table expected, got boolean) stack traceback: coroutine 0: [C]: in function 'ipairs' /usr/local/openresty/nginx//lua/my_verify.lua:50: in function 'get_verify' /usr/local/openresty/nginx//lua/plugin/auth/auth_check.lua:66: in function 'check' /usr/local/openresty/nginx/lua/access_check.lua:21: in main chunk, client: 172.17.0.1, server: gw.opendevops.cn, request: "GET /api/cron//v1/cron/job/?page=1&limit=15 HTTP/1.1", host: "gw.opendevops.cn:8888", referrer: "http://192.168.76.100/cron/cronjobs"

ss1917 commented 4 years ago

请检查网关内的配置文件是否配置正确,例如:configs.lua 里面的redis配置

TomasWang28 commented 4 years ago

请检查网关内的配置文件是否配置正确,例如:configs.lua 里面的redis配置

哦原来是sed中间有正则符号

TomasWang28 commented 4 years ago

谢谢呐