Runtime error from mod 'beds'

Post Reply
User avatar
Posts: 33
Joined: Wed Jan 29, 2020 20:04
In-game: TechnoWolfTV

Runtime error from mod 'beds'

by TechnoWolf » Post

Hello, I've set up a Minetest server in a VM running Ubuntu 18.04. I've built a dockerfile which ran wget from The docker container we're using was built yesterday.

The server appeared to be running great, but any time a player attempts to sleep in a bed, it allows the player to sleep and goes to morning, but as soon as you click to get out of bed, the following errors are thrown and the server crashes:

Code: Select all

2021-02-06 13:02:06: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'beds' in callback on_playerReceiveFields(): ...t/bin/../games/minetest_game/mods/beds/functions.lua:74: attempt to index field '?' (a nil value)
2021-02-06 13:02:06: ERROR[Main]: stack traceback:
2021-02-06 13:02:06: ERROR[Main]:       ...t/bin/../games/minetest_game/mods/beds/functions.lua:74: in function 'lay_down'
2021-02-06 13:02:06: ERROR[Main]:       ...t/bin/../games/minetest_game/mods/beds/functions.lua:277: in function '?'
2021-02-06 13:02:06: ERROR[Main]:       /minetest/bin/../builtin/game/register.lua:426: in function </minetest/bin/../builtin/game/register.lua:410>
The server version reports 5.4.0, and we're running the 5.3.0 clients. Is this a known issue in the latest master? If so, is there a way to wget from the 5.3.0 github version? Any thoughts appreciated.

SOLVED: I have figured out how to wget the Minetest 5.3.0 version, using the addresses: ... e-5.tar.gz ... e-5.tar.gz
After creating a new Docker file, building a new container and running it, the bed sleep crash is gone, and the server reports version 5.3.0. All is well now.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests