Hi,
ich wollte nach dem Server-Upgrade von Debian 11 auf 12 nochmal den EGw bzw. Dovecot Push gemäß
dieser Anleitung testen:
Pakete sind installiert:
dpkg -l | grep lua
ii liblua5.2-0:amd64 5.2.4-3 amd64 Shared library for the Lua interpreter version 5.2
ii liblua5.4-0:amd64 5.4.4-3 amd64 Shared library for the Lua interpreter version 5.4
ii lua-json 1.3.4-2 all JSON decoder/encoder for Lua
ii lua-lpeg:amd64 1.0.2-2 amd64 LPeg library for the Lua language
ii lua-socket:amd64 3.1.0-1+b1 amd64 TCP/UDP socket library for the Lua language
Ich sehe im Dovecot das er das Script ausführen möchte, allerdings sucht er nach einem lua 5.4:
2024-03-29T13:47:57.248777+01:00 mail dovecot: lda(user1)<1882>: Error: lua: lua_pcall(/etc/dovecot/dovecot-push.lua) failed: /etc/dovecot/dovecot-push.lua:17: module ‘json’ not found:#012#011no field package.preload[‘json’]#012#011no file ‘/usr/local/share/lua/5.4/json.lua’#012#011no file '[…] #012#011no file ‘./json.so’#012stack traceback:#012#011[C]: in function ‘require’#012#011/etc/dovecot/dovecot-push.lua:17: in main chunk
Wenn ich mir lua-json bei Debian so anschaue gibt es kein 5.4:
https://packages.debian.org/bookworm/all/lua-json/filelist1
Nur im lua-cjson das aber laut Anleitung nicht benötigt wird?
https://packages.debian.org/bookworm/all/lua-cjson/filelist
Vielleicht hat jemand eine Idee?
created
last reply
- 4
replies
- 586
views
- 2
users
- 1
like
- 4
links