scif_yar: (Default)
[personal profile] scif_yar
root@6f94e768a19e:/lua-resty-lrucache-0.13# /opt/nginx/sbin/nginx
nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

no field package.preload['resty.core']
no file './resty/core.lua'
no file '/usr/local/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 './resty/core.so'
no file '/usr/local/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/local/lib/lua/5.1/loadall.so') in /opt/nginx/conf/nginx.conf:117
root@6f94e768a19e:/lua-resty-lrucache-0.13# find / -name core.lua
/usr/local/lib/lua/resty/core.lua
/lua-resty-core-0.1.27/lib/resty/core.lua

СУКА. Распаковывает себя в
/usr/local/lib/lua/resty/core.lua
А прописывается в модули как
/usr/local/share/lua/5.1/resty/core.lua

ТВАР.
И все это надо ставить, ЗАРРРАЗА. ТВАР.

Date: 2023-07-10 10:11 am (UTC)
From: [identity profile] antontsau.livejournal.com
у этих линухоидов так ВСЕ! НЕНАВИЗХУ.

Date: 2023-07-10 10:40 am (UTC)
From: [identity profile] antontsau.livejournal.com
Именно. Надо здесь запатчить, тут (в совершенно ниоткуда не следующем файле) прописать пару строчек, вон туда совсем немного нагадить, только после этого накатить новую версию и еще разок поправить вон там. И да, ни в коем случае не перепутать строчные пуквы и не ошибиться с количеством пробелов, а то все не просто сдохнет а взорвется. НЕНАВИЗХУ.

Profile

scif_yar: (Default)
scif_yar

December 2025

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 293031   

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 14th, 2026 04:24 am
Powered by Dreamwidth Studios