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
Describe the bug
When running the Application Server following the instructions it looks like the export PATH is not taking effect and running the AS produces the error of the "lua_package_path" missing.
Talking to @aaronmontilla, he experienced the same issue, just reported here:
aamonvi@aamonvi:~/rt-5gms-application-server$ sudo 5gms-application-server
[2024-05-22 13:26:53 +0200] [3977] [INFO] Running on http://127.0.0.1:7777/ (CTRL + C to quit)
INFO:hypercorn.error:Running on http://127.0.0.1:7777/ (CTRL + C to quit)
INFO:NginxWebProxy:
ERROR:NginxWebProxy:nginx: [emerg] unknown directive "lua_package_path" in /tmp/rt_5gms_as.conf:48
INFO:rt-5gms-as:Web proxy process exited, has been restarted
Remedy
We are able to solve this by executing the following: sudo PATH="/usr/local/openresty/nginx/sbin:$PATH" 5gms-application-server (probably also works without sudo).
Not sure if we are doing something wrong that makes executing PATH="/usr/local/openresty/nginx/sbin:$PATH" export PATH have no effect.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the Application Server following the instructions it looks like the export PATH is not taking effect and running the AS produces the error of the "lua_package_path" missing.
Talking to @aaronmontilla, he experienced the same issue, just reported here:
Remedy
We are able to solve this by executing the following:
sudo PATH="/usr/local/openresty/nginx/sbin:$PATH" 5gms-application-server
(probably also works without sudo).Not sure if we are doing something wrong that makes executing
PATH="/usr/local/openresty/nginx/sbin:$PATH" export PATH
have no effect.The text was updated successfully, but these errors were encountered: