Module 'resty.core' not found

Hi all,

I’m quite new to Home Assistant, and recently did a reinstall on my Raspberry Pi 3, as my previous install suddently did not work for some reason…

After installing the configurator add-on the log gave an alert that the LuaJIT is wrong. What does this mean?

I did nothing else before installing the configurator, and the Hass.io image used is the newest from the website. The installation is clean (raspi 3 with no other hardware attached).

I also noticed that the configuration.yaml is missing some basic info (the name and timezone stuff) that is described in the ‘advanced configuration’ page under ‘getting started’ on the website.

Paste from the configurator log:

[21:35:42] INFO: Add-on running
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:
	no field package.preload['resty.core']
	no file './resty/core.lua'
	no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua'
	no file '/usr/local/share/lua/5.1/resty/core.lua'
	no file '/usr/local/share/lua/5.1/resty/core/init.lua'
	no file '/usr/share/lua/5.1/resty/core.lua'
	no file '/usr/share/lua/5.1/resty/core/init.lua'
	no file '/usr/share/lua/common/resty/core.lua'
	no file '/usr/share/lua/common/resty/core/init.lua'
	no file './resty/core.so'
	no file '/usr/local/lib/lua/5.1/resty/core.so'
	no file '/usr/lib/lua/5.1/resty/core.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './resty.so'
	no file '/usr/local/lib/lua/5.1/resty.so'
	no file '/usr/lib/lua/5.1/resty.so'
	no file '/usr/local/lib/lua/5.1/loadall.so')
2019/06/21 21:35:42 [notice] 21#21: using the "epoll" event method
2019/06/21 21:35:42 [notice] 21#21: nginx/1.14.2
2019/06/21 21:35:42 [notice] 21#21: OS: Linux 4.14.98-v7
2019/06/21 21:35:42 [notice] 21#21: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/06/21 21:35:42 [notice] 21#21: start worker processes
2019/06/21 21:35:42 [notice] 21#21: start worker process 29
INFO:2019-06-21 21:35:43,516:hass_configurator.configurator:Starting server
INFO:2019-06-21 21:35:43,517:hass_configurator.configurator:Listening on: http://127.0.0.1:80

Same issue here except its showing up in my node-red add on startup log after a fresh install and cant get node-red to control any insteon or sonoff entities. May not be related but figured worth mentioning.

Im having the exact same issue. just downloaded and installed for first time and getting the same error. I followed the link to the website but its not so clear for me.

how did you go have you fixed your issue yet?

I didn’t do anything about it. It seems to work ok as it is. But I do wonder why this happens

The resty.core Seems to be common to most addon’s so far as I can see.

Regarding the new configuration.yaml setup… the name/zone/units/location are all set by the side panel under configuration>general.

Hello, looks like my issue is sort of different to the one above. after a fresh install i am not able to see any coding or config text all i see is a blank screen which suggest that my config isnt set up right. below is my log hopefully someone can help because i feel like its something small thats holding me back. it seems so simple which i cant do, frustrating.

not sure if it matters also my network shows 8080/tcp disabled.

here is the config log.

[17:21:33] INFO: Add-on running
nginx: [alert] detected a LuaJIT version which is not OpenResty’s; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty’s LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: module ‘resty.core’ not found:
no field package.preload[‘resty.core’]
no file ‘./resty/core.lua’
no file ‘/usr/share/luajit-2.1.0-beta3/resty/core.lua’
no file ‘/usr/local/share/lua/5.1/resty/core.lua’
no file ‘/usr/local/share/lua/5.1/resty/core/init.lua’
no file ‘/usr/share/lua/5.1/resty/core.lua’
no file ‘/usr/share/lua/5.1/resty/core/init.lua’
no file ‘/usr/share/lua/common/resty/core.lua’
no file ‘/usr/share/lua/common/resty/core/init.lua’
no file ‘./resty/core.so’
no file ‘/usr/local/lib/lua/5.1/resty/core.so’
no file ‘/usr/lib/lua/5.1/resty/core.so’
no file ‘/usr/local/lib/lua/5.1/loadall.so’
no file ‘./resty.so’
no file ‘/usr/local/lib/lua/5.1/resty.so’
no file ‘/usr/lib/lua/5.1/resty.so’
no file ‘/usr/local/lib/lua/5.1/loadall.so’)
2019/08/07 17:21:34 [notice] 21#21: using the “epoll” event method
2019/08/07 17:21:34 [notice] 21#21: nginx/1.14.2
2019/08/07 17:21:34 [notice] 21#21: OS: Linux 4.14.98-v8
2019/08/07 17:21:34 [notice] 21#21: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/08/07 17:21:34 [notice] 21#21: start worker processes
2019/08/07 17:21:34 [notice] 21#21: start worker process 29
INFO:2019-08-07 17:21:36,860:hass_configurator.configurator:Starting server
INFO:2019-08-07 17:21:36,862:hass_configurator.configurator:Listening on: http://127.0.0.1:80
INFO:2019-08-07 17:23:10,263:hass_configurator.configurator:127.0.0.1 - “GET / HTTP/1.1” 200 -
172.30.32.2 - - [07/Aug/2019:17:23:11 +1000] “GET / HTTP/1.1” 200 28976 “http://192.168.0.15:8123/core_configurator” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”
INFO:2019-08-07 17:23:14,340:hass_configurator.configurator:127.0.0.1 - “GET /api/listdir?path=. HTTP/1.1” 200 -
172.30.32.2 - - [07/Aug/2019:17:23:14 +1000] “GET /api/listdir?path=. HTTP/1.1” 200 2881 “http://192.168.0.15:8123/api/hassio_ingress/otboPf0uwsSyngCZnLISIUhhSycsOYaA4YBenT6hjVo/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”
INFO:2019-08-07 17:23:42,368:hass_configurator.configurator:127.0.0.1 - “GET / HTTP/1.1” 200 -
172.30.32.2 - - [07/Aug/2019:17:23:43 +1000] “GET / HTTP/1.1” 200 28992 “http://192.168.0.15:8123/core_configurator” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”
INFO:2019-08-07 17:23:44,887:hass_configurator.configurator:127.0.0.1 - “GET /api/listdir?path=. HTTP/1.1” 200 -
172.30.32.2 - - [07/Aug/2019:17:23:44 +1000] “GET /api/listdir?path=. HTTP/1.1” 200 2881 “http://192.168.0.15:8123/api/hassio_ingress/otboPf0uwsSyngCZnLISIUhhSycsOYaA4YBenT6hjVo/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”
INFO:2019-08-07 17:32:41,813:hass_configurator.configurator:127.0.0.1 - “GET / HTTP/1.1” 200 -
172.30.32.2 - - [07/Aug/2019:17:32:42 +1000] “GET / HTTP/1.1” 200 28989 “http://192.168.0.15:8123/core_configurator” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”
INFO:2019-08-07 17:32:44,228:hass_configurator.configurator:127.0.0.1 - “GET /api/listdir?path=. HTTP/1.1” 200 -
172.30.32.2 - - [07/Aug/2019:17:32:44 +1000] “GET /api/listdir?path=. HTTP/1.1” 200 2881 “http://192.168.0.15:8123/api/hassio_ingress/otboPf0uwsSyngCZnLISIUhhSycsOYaA4YBenT6hjVo/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”