Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Internal Server Error #13

Open
piaoxuebingfeng opened this issue Sep 24, 2020 · 3 comments
Open

500 Internal Server Error #13

piaoxuebingfeng opened this issue Sep 24, 2020 · 3 comments

Comments

@piaoxuebingfeng
Copy link

tailf dev-error.log
2020/09/24 00:04:53 [error] 121500#0: *3 lua entry thread aborted: runtime error: ...openresty-lor/lor-example/openresty-china/./app/main.lua:37: attempt to call local 'uploader_middleware' (a userdata value)
stack traceback:
coroutine 0:
...openresty-lor/lor-example/openresty-china/./app/main.lua: in main chunk, client: 192.168.7.79, server: , request: "GET / HTTP/1.1", host: "192.168.7.73"

@piaoxuebingfeng
Copy link
Author

i use centos7 and openresty/1.15.8.2

@piaoxuebingfeng
Copy link
Author

chmod 777 /data/openresty-china/static

@helloJiu
Copy link

helloJiu commented Nov 1, 2022

#13 (comment)
解决办法

opm install openresty/lua-resty-upload
apt-get install uuid-dev
openresty -p `pwd`  -c conf/nginx-dev.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants