minetest freeze - "the silence" chapter 9000

User avatar
FreeGamers
Member
 
Posts: 430
Joined: Sat May 25, 2019 00:15
Location: United States
GitHub: is proprietary I use NotABug

Re: minetest freeze - "the silence" chapter 9000

by FreeGamers » Wed Dec 18, 2019 06:11

So I just ended up installing 5.1.0 from my distro. Then I copied the binary I compiled and the contents that go into the /usr/share/games/minetest/ directory manually into their respective directories.
I think this is a hacky workaround until I get an updated downstream version from my distro.

However, when I connect to my server I am still seeing version 5.1.0 when connecting to the server in the /status output. Does that mean I've missed something? I will leave the server on to see how it stays up.. when doing cmake it did indeed show 5.2.0-dev.
 

User avatar
sfan5
Moderator
 
Posts: 3823
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

Re: minetest freeze - "the silence" chapter 9000

by sfan5 » Wed Dec 18, 2019 14:36

FreeGamers wrote:Does that mean I've missed something?

It does. Manually copying Lua files is also very error-prone way of installation.

I recommend building Minetest with -DRUN_IN_PLACE=1 and using make package (see also: a script for this).
This will keep all related files in a single folder, allowing you to upgrade/downgrade without affecting anything system-wide or even run several different versions at the same time.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
FreeGamers
Member
 
Posts: 430
Joined: Sat May 25, 2019 00:15
Location: United States
GitHub: is proprietary I use NotABug

Re: minetest freeze - "the silence" chapter 9000

by FreeGamers » Thu Dec 19, 2019 01:48

OK so I've used a bit of what you've provided me, sfan. I did those steps in my development server and have created a process to get the game automatically on at boot. I'm replicating this configuration on my public-facing "stable" server for players now, so here are the steps I've done:

recompile using
Code: Select all
cmake ../ -DBUILD_CLIENT=FALSE -DBUILD_SERVER=TRUE -DRUN_IN_PLACE=TRUE
make package
mv minetest-5.2.0-dev-linux.tar.gz ~/
tar -xvzf minetest-5.2.0-dev-linux.tar.gz
cd minetest-5.2.0-dev-linux


then remove the screwed up version
Code: Select all
sudo apt-get remove minetest-server
sudo apt-get autoremove
sudo systemctl disable minetest-server


then I cloned game files back into the mods directory and set them up.
then create a systemd service for the dev version
Code: Select all
sudo nano /etc/systemd/system/minetest-dev-server.service

add parameters
Code: Select all
[Unit]
Description=Development Minetest Server
After=network.target
Requires=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/home/freegamers/minetest-5.2.0-dev-linux/
ExecStart=/home/freegamers/minetest-5.2.0-dev-linux/bin/minetestserver --config /etc/minetest/minetest.conf --logfile /var/log/minetest/minetest.log --world /var/games/minetest-server/.minetest/worlds/world/
Restart=on-failure

[Install]
WantedBy=multi-user.target


Then enable the systemd.service at boot
Code: Select all
sudo systemctl enable minetest-dev-server
sudo reboot

I just joined the server and its showing 5.2.0-dev now. *fingers crossed* I'll leave it on for a day and see how we do. Maybe I can actually go back to my game development now and let my players play on my "stable" server.

Thanks for the help!
 

User avatar
FreeGamers
Member
 
Posts: 430
Joined: Sat May 25, 2019 00:15
Location: United States
GitHub: is proprietary I use NotABug

Re: minetest freeze - "the silence" chapter 9000

by FreeGamers » Fri Dec 20, 2019 00:06

I've had almost 24 hours of uptime now on this server. My players are playing and are happy that there are no more freezing problems.

I'm going to say if you are a server operator, maybe avoid 5.1.0 and stick with either 5.0.1 or 5.2.0-dev until a 5.2.0 is available to you.
 

User avatar
Linuxdirk
Member
 
Posts: 2288
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: minetest freeze - "the silence" chapter 9000

by Linuxdirk » Fri Dec 27, 2019 07:23

Walker wrote:if you want it to installed it into the system-filesystem try
Code: Select all
sudo make install

Oh god, no! Please no!

Never install software using make install. Always create a package to be installed via the system's package manager or install to ${HOME}/.local only.
 

Previous

Return to Problems



Who is online

Users browsing this forum: No registered users and 2 guests