Can't install Minetest: "Could not read configuration from "/home/yunohost.app/minetest/.minetest/minetest.conf"

What app is this about, and its version: Minetest 5.14.0~ynh8
What YunoHost version are you running: 12.1.39 (stable)
What type of hardware are you using: Other(?)

Describe your issue

Can’t install.

Jan 21 21:42:29 systemd[1]: minetest.service: Scheduled restart job, restart counter is at 4.
Jan 21 21:42:29 systemd[1]: Stopped minetest.service - Minetest: multiplayer server minetest.conf server config.
Jan 21 21:42:29 systemd[1]: Started minetest.service - Minetest: multiplayer server minetest.conf server config.
Jan 21 21:42:29 minetestserver[2463008]: 2026-01-21 21:42:29: WARNING[Main]: The executable minetestserver is a deprecated alias, please use luantiserver instead.
Jan 21 21:42:29 minetestserver[2463008]: 2026-01-21 21:42:29: ERROR[Main]: Could not read configuration from "/home/yunohost.app/minetest/.minetest/minetest.conf"
Jan 21 21:42:29 systemd[1]: minetest.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 21:42:29 systemd[1]: minetest.service: Failed with result 'exit-code'.

Share relevant logs or error messages

Full log:
https://paste.yunohost.org/raw/awumawusun

Does the file /home/yunohost.app/minetest/.minetest/minetest.conf exist? If so - what are the permissions and ownership of said file?

it exists.

-rw------- 1 958 958 102661 Jan 21 22:00 minetest.conf
  File: /home/yunohost.app/minetest/.minetest/
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 259,2   Inode: 29888015    Links: 3
Access: (0770/drwxrwx---)  Uid: (  983/open-web-calendar)   Gid: (   33/www-data)
Access: 2026-01-21 22:00:45.668858755 -0300
Modify: 2026-01-21 22:00:27.151364244 -0300
Change: 2026-01-21 22:00:27.151364244 -0300
 Birth: 2023-07-23 19:36:55.988276175 -0400

No idea what has to do open-web-calendar with this. How can I fix this? or how can I just delete everything and start from scratch?

just sudo chown -R minetest:minetest /home/yunohost.app/minetest and all should be grand :person_shrugging:

1 Like

Was this server restored from backup by any chance?

chown: invalid user: ‘minetest:minetest’
 

the minetest app? no. But maybe I installed one some years ago ?

what was the exact command you’ve used? User and group minetest do exist, right?

I’m slowly cooking Luanti 5.15.0 upgrade so hopefully all will be fixed there :crossed_fingers:

1 Like

The command was:

sudo chown -R minetest:minetest /home/yunohost.app/minetest

And no, I don’t have minetest user nor group, as minetest is not installed

:person_facepalming: So I misread/misunderstood the problem completely.

Yes, you can remove the leftover /home/yunohost.app/minetest, unless you want to port over the contents to a new install (in that case move the folder .minetest to .minetest.bak, install, stop the service, replace the new .minetest folder with the backed up one et voila)

1 Like

thank you very much!!

1 Like