Minecraft Bedrock Edition – Ubuntu Dedicated Server Guide

Minecraft Bedrock Edition Logo
Minecraft: Bedrock Edition Logo

Minecraft Bedrock Edition is the version of Minecraft that powers the iPhone / Android versions (formerly Minecraft Pocket Edition), the Xbox / PlayStation / Nintendo Switch editions and the free Windows 10 Minecraft edition.

Mojang has released a dedicated server which is considered to be in alpha testing.  I have found it to be very stable and able to run on a wide variety of hardware.

This script and guide are written to help you get a robust Minecraft Bedrock dedicated server up and running in only a few minutes!

This is the standalone version. The easiest and most problem-free way to run this is using Docker (installed as simply as sudo apt install docker.io): Legendary Minecraft Bedrock Container

I’ve also released a way for Java and Bedrock players to play on the same server using Geyser: Minecraft Java + Bedrock Server Together – Geyser + Floodgate

It’s now possible to convert your worlds between Bedrock and Java versions. Check out my guide on Chunker here for more information.

Features

  • Sets up the official Minecraft Bedrock Server (currently in alpha testing)
  • Fully operational Minecraft Bedrock edition server in a couple of minutes
  • Ubuntu / Debian distributions supported
  • Sets up Minecraft as a system service with option to autostart at boot
  • Automatic backups when server restarts
  • Supports multiple instances — you can run multiple Bedrock servers on the same system
  • Updates automatically to the latest or user-defined version when server is started
  • Easy control of server with start.sh, stop.sh and restart.sh scripts
  • Adds logging with timestamps to “logs” directory
  • Optional scheduled daily restart of server using cron

Requirements

  • A computer with a 64 bit processor (if you are trying to use ARM read my article on the limitations). 32 bit binaries of the official server are not available so it needs to be 64 bit!
  • 1 GB of RAM or higher
  • The only officially supported platform by Microsoft is Ubuntu 22.04 / 20.04 (current LTS, recommended)
  • Other Linux flavors supported by this script as well as long as they use systemd (for the service). The script assumes apt is installed but there are minimal dependencies so you could install these on another distro (that doesn’t have apt present) and use the script normally.

Recommended Gear

Game Editions

Minecraft: Bedrock Edition is the “Windows 10” version of Minecraft as well as the version of Minecraft on the Xbox / Playstation / Switch. The versions of Minecraft for Android and iOS are also the Bedrock edition.

All of these versions support cross-platform play with each other (but not with the Java edition).

Minecraft Bedrock Digital Code
Minecraft Bedrock Digital Code

This is the PC Minecraft for Windows 10 (Bedrock) edition of Minecraft. It is able to play cross-platform with other players on Android / iOS / Playstation / Xbox / Switch. Available as a code that is instantly activated to give you permanent access to the game!

Links: Amazon.com*, Amazon.co.jp*, Amazon.co.uk*, Amazon.de*, Amazon.es*, Amazon.fr*, Amazon.it*

Minecraft Bedrock Playstation
Minecraft Bedrock Playstation

The Sony PlayStation version of Minecraft: Bedrock edition.

Links: Amazon.com*, Amazon.ca*, Amazon.com.au*, Amazon.co.jp*, Amazon.co.uk*, Amazon.de*, Amazon.es*, Amazon.fr*, Amazon.it*, Amazon.nl*, Amazon.se*, Amazon.sg*

Minecraft Bedrock Nintendo Switch
Minecraft Bedrock Nintendo Switch

This is the Nintendo Switch version of Minecraft: Bedrock edition.

Links: Amazon.com*, Amazon.ca*, Amazon.com.au*, Amazon.co.jp*, Amazon.co.uk*, Amazon.de*, Amazon.es*, Amazon.fr*, Amazon.it*, Amazon.nl*, Amazon.pl*, Amazon.se*, Amazon.sg*

Minecraft Bedrock Xbox One
Minecraft Bedrock Xbox One

This is the Microsoft Xbox version of Minecraft: Bedrock edition.

Links: Amazon.com*, Amazon.ca*, Amazon.com.au*, Amazon.co.uk*, Amazon.de*, Amazon.es*, Amazon.fr*, Amazon.it*, Amazon.nl*, Amazon.sg*

Recommended Storage (Solid State Drive)

I strongly recommend a Solid State drive (SSD) for your server. This is because Minecraft is constantly reading/storing chunks to the disk which makes I/O performance very important.

These are much cheaper than they used to be. Here’s a decent 120 GB one (higher capacity options are available) at a very low price:

Kingston A400 SSD
Kingston A400 2.5″ SATA SSD

The Kingston A400 is reliable, widely available around the world, has low power requirements and performs very well. It’s also very affordable. This drive has been benchmarked over 1000 times at Pi Benchmarks and is the #1 most popular SSD among the community!

Links: AliExpress*, Amazon.com*, Amazon.ca*, Amazon.com.au*, Amazon.co.jp*, Amazon.co.uk*, Amazon.de*, Amazon.es*, Amazon.fr*, Amazon.it*, Amazon.nl*, Amazon.pl*, Amazon.se*, Amazon.sg*

If you have a M.2 NVME slot in your motherboard you can go with a high end drive. This will give your server maximum performance even if a large number of players are running around on the server changing blocks and triggering disk writes.

This is the one I have in my machine. These range from 250 GB to 2 TB depending on how big your server might grow:

The Samsung 980 Pro (NVMe) is a professional grade SSD and one of the fastest in the world. The Samsung NVMe drives have been at the top of this category for a long time and are well trusted for both their performance and reliability / long life.

Links: AliExpress*, Amazon.com*, Amazon.ca*, Amazon.com.au*, Amazon.co.jp*, Amazon.co.uk*, Amazon.de*, Amazon.es*, Amazon.fr*, Amazon.it*, Amazon.nl*, Amazon.pl*, Amazon.se*, Amazon.sg*

Computer / CPU / Memory

Almost any PC made in the last few years will be a x86_64 bit computer. If you have an older computer around that isn’t being used then it will most likely have the right CPU and amount of memory (as well as fast storage) to run a basic server.

Throwing a SSD in one of these older computers will provide an excellent server experience for small and larger player counts.

The speed of your storage will make the largest difference. Older HDDs are going to have significantly slower performance than any modern SSD even with all other hardware equal. This is because the Minecraft server is constantly reading/writing chunks of your world as well as updates to it to the disk so this tends to be the bottleneck.

Operating System

I highly recommend using Ubuntu Server to run the Minecraft dedicated server. It is available here.

At the time of writing the current version is Ubuntu Server 20.04. This is a secure and robust operating system and will leave plenty of resources available for the server to run.

The script should run on any Debian based flavor of Linux but since the Minecraft Bedrock server is compiled natively for Ubuntu I recommend sticking with it. If you have a GUI flavor of Ubuntu and a decent PC (>= 2 GB of RAM) the server will work just fine on it.

Note: People have reported in the comments that Ubuntu 16.x is no longer working with the latest official Mojang binaries. Ubuntu 18.04 is the minimum requirement for the latest versions, and 20.04 is recommended!

Installation

Log into your Linux server either using SSH or a mouse and keyboard and paste/type the following command:

curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash

The script will setup the Minecraft sever and ask you some questions on how to configure it. I’ll explain here what they mean.

The first question will be the installation path. This is the root installation path for ALL servers you will have. If you add additional servers later you should select the exact same installation path. It should always be left as the default (~).

The only exception is if you have something like a completely dedicated disk for the Minecraft server. In that case you should always use the same root path of /mnt/yourdrive or wherever the path is for every new/additional server you install.

“Start Minecraft server at startup automatically (y/n)?” – This will set the Minecraft service to start automatically when your server boots. This is a great option to set up a Minecraft server that is always available.

“Automatically restart and backup server at 4am daily (y/n)?” – This will add a cron job to the server that reboots the server every day at 4am. This is great because every time the server restarts it backs up the server and updates to the latest version. See the “Scheduled Daily Reboots” section below for information on how to customize the time or remove the reboot.

That is it for the setup script. The server will finish configuring and start!

First Run

The server will start up and start displaying output to the console.

[2019-03-30 20:25:12 INFO] Starting Server
[2019-03-30 20:25:12 INFO] Version 1.10.0.7
[2019-03-30 20:25:12 INFO] Level Name: Bedrock level
[2019-03-30 20:25:12 INFO] Game mode: 0 Survival
[2019-03-30 20:25:12 INFO] Difficulty: 1 EASY
[2019-03-30 20:25:20 INFO] IPv4 supported, port: 19132
[2019-03-30 20:25:20 INFO] IPv6 supported, port: 19133
[2019-03-30 20:25:23 INFO] Server started.

Once you see the “Server started” line you will be able to connect from the client.

To add the server to the client open Minecraft and click “Play”. Then at the top of the screen select the “Servers” tab and click “Add Server”.

This will ask you for a Server Name and Server IP Address. For the name you can put anything and for the server IP address put the address of your Linux server. Leave the port as the default 19132. For more information on how to let people from outside your network on go to the “Port Forwarding” section below.

Now choose the server you just added in the list and connect!

Start, Stop and Restart Server

The server can be started, stopped and restarted two different ways. You can use the provided scripts in the Minecraft folder or you can use systemctl. Here are the commands:

cd ~/minecraftbe
./start.sh
./stop.sh
./restart.sh

-OR-

sudo systemctl start minecraftbe
sudo systemctl stop minecraftbe
sudo systemctl restart minecraftbe

Automatic Backups

The server backs up each time it starts. This helps you recover easily if something goes wrong. This system works best if you configured the server to restart daily since it means you will have a backup every day.

To access these backups type:

cd ~/minecraftbe/backups
ls

When a backup is made the filename will be the date and time the backup was taken. If you need to restore a backup it’s very easy. Substitute the timestamp in my example to the backup you want to roll back to. Type:

cd ~/minecraftbe
./stop.sh
rm -rf worlds
tar -xf backups/2019.02.15.22.06.30.tar.gz
./start.sh

Your world has now been restored! It’s a good idea to download these backups off the server periodically just in case the server’s storage fails.

Installing Resource Packs / RTX Support

For instructions on how to install resource packs (including optional RTX support) view my step by step Minecraft Bedrock Dedicated Server Resource Packs guide here.

Scheduled Daily Reboots

The daily reboots are scheduled using cron. It’s very easy to customize the time your server restarts.

To change the time that the server restarts type: crontab -e

This will open a window that will ask you to select a text editor (I find nano to be the easiest) and will show the cronjobs scheduled on the server. The Minecraft one will look like the following:

0 4 * * * /home/ubuntu/minecraftbe/restart.sh
Crontab's syntax layout
Crontab’s syntax layout

There are 5 fields here. The default restart time is set to reboot at 0 minutes of the 4th hour of the day (4 AM). The other 3 fields are left as * to represent every day of every month. Make any desired changes here and press Ctrl+X to exit nano and update the cronjob.

To remove the daily reboot simply delete the line and save.

Reconfigure / Update Scripts

The scripts can always be reconfigured and updated by downloading the latest SetupMinecraft.sh and running the installer again. It will update all of the scripts in the Minecraft directory and reinstall the startup service for you.

Running SetupMinecraft.sh again will also give you a chance to reconfigure options such as the memory dedicated to the server, daily reboots, starting the server on boot, etc.

This will not overwrite your world or any other data so it is safe to run!

Port Forwarding

If everyone on your server is on the same LAN or WiFi network as you then you don’t need to do this. If you want people to connect from outside your local network then you need to set up port forwarding on your router.

The process for this is different for every router so the best thing to do is just look at your router and find the model # and put that in google with port forwarding for easy instructions on how to do it for your specific router.

You want to forward port 19132. The type of connection is both TCP and UDP. On some routers you need to do both a TCP entry and then a second entry as UDP.

Once you do this people will be able to connect to your Minecraft server through your public IP address. This is different than your local IP which is usually a 192.x.x.x or 10.x.x.x. If you don’t know what that is just go to google and type “what’s my ip” and Google will kindly tell you!

Version Override

You can revert to a previous version with the revert.sh script included in your directory like this:

james@jamesgigabyte-linux:~/minecraftbe/james$ ./revert.sh
Set previous version in version_pin.txt: bedrock-server-1.19.10.20.zip

If you have a specific version you would like to run you can also create version_pin.txt yourself like this:

echo "bedrock-server-1.18.33.02.zip" > version_pin.txt

The version hold can be removed by deleting version_pin.txt. This will allow it to update to the latest version again!

Wired vs. Wireless

Going with an ethernet (wired) connection is going to be faster and more reliable. There’s so much wireless traffic and other interference in the air that running your server on WiFi is not recommended.

Even if it is working great 99% of the time it can ruin your experience very quickly if the WiFi drops for a couple of seconds and you get blown up by a creeper!

All that being said, the server works fine on wireless. The script will work fine as is with a wireless connection.

Benchmarking / Testing Storage

If you’re getting poor performance you may want to run my storage benchmark with:

sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash

PC results won’t show up on the site yet (it’s meant for Raspberry Pi) but it will run on Linux just fine and give you a score. If you search for the model of your drive on Pi Benchmarks you can compare your score with others and make sure the drive is performing correctly!

Troubleshooting Note – Oracle Virtual Machines

A very common problem people have with the Oracle Virtual Machine tutorials out there that typically show you how to use a free VM is that the VM is much more difficult to configure than just about any other product / offering out there.

It is because there are several steps you need to take to open the ports on the Oracle VM. You need to both:

  • Set the ingress ports (TCP/UDP) in the Virtual Cloud Network (VCN) security list
  • *and* set the ingress ports in a Network Security Group assigned to your instance

Both of these settings are typically required before you will be able to connect to your VM instance. This is purely configuration related and has nothing to do with the script or the Minecraft server itself.

I do not recommend this platform due to the configuration difficulty but the people who have gone through the pain of configuring an Oracle VM have had good experiences with it after that point. Just keep in mind it’s going to be a rough ride through the configuration for most people.

Troubleshooting Note – Hyper-V

There is a weird bug in Hyper-V that breaks UDP connections on the Minecraft server. The fix for this is that you have to use a Generation 1 VM with the Legacy LAN network driver.

Conclusion

The Minecraft Bedrock Edition dedicated server runs much better than previous third party servers in the past that were missing critical features. The performance is very good even on low end hardware. It has never been easier to set up a Minecraft Bedrock server.

If you have any feedback or suggestions let me know in the comment section. A lot of the changes and developments in this script and guide are directly from readers.

Have fun!

Other Resources

For a guide on how to set up resource packs check out my Minecraft Bedrock Resource Pack guide

If you’re trying to run this on the Raspberry Pi check out the Raspberry Pi specific guide here

Subscribe
Notify of
guest

1.6K Comments
Inline Feedbacks
View all comments
Jake
Jake
2 years ago

The “friends” tab on android only seems to show local games on port 19132. If you set up 2 servers, you need to put them on different ports and subsequent ones won’t show in the “friends” tab. The only option would be to set up a server in the server tab but I cannot join servers set up like that without logging in. I can’t log in because I’m playing with my kid, we are both using android and my kid is way to young to be having “accounts” on things and besides I don’t want them logged into stuff.

The solution here would be to have the minecraft server bind to a different interface on the port 19132 somehow. I either screw around with virtual interfaces but I can’t see in the server.properties if there is a way to specify which interface to bind too. Alternatively would using the docker version actually help with this?

I guess I could use virtualbox or qemu or something as well

Fruit
Fruit
2 years ago

Hello! I am running a Raspberry Pi 4 on Raspbian.

I have used the script to automatically execute the server. The server automatically terminates before loading the world and printing “Server has Started”

Here is what I am getting:
[2022-07-18 16:12:07] NO LOG FILE! - setting up server logging...
[2022-07-18 16:12:07] [2022-07-18 16:12:07:346 INFO] Starting Server
[2022-07-18 16:12:07] [2022-07-18 16:12:07:350 INFO] Version 1.19.10.03
[2022-07-18 16:12:07] [2022-07-18 16:12:07:351 INFO] Session ID 134ea321-8ea3-4dfa-9650-fa16a9600c30
[2022-07-18 16:12:07] [2022-07-18 16:12:07:402 INFO] Level Name: Raspberry
[2022-07-18 16:12:07] [2022-07-18 16:12:07:461 INFO] Game mode: 0 Survival
[2022-07-18 16:12:07] [2022-07-18 16:12:07:462 INFO] Difficulty: 2 NORMAL
[2022-07-18 16:12:09] [2022-07-18 16:12:09:960 INFO] opening worlds/Raspberry/db

After this it says that the window is terminating, and will not go any further.

Fruit
Fruit
2 years ago

Thank you for that information!

Yes, it is a new server however I have changed some settings including the world, difficulty, aswell as tick and render distance.
I have tried reinstalling it and the results haven’t changed.

I will be trying it without changing any settings and I’ll see how it goes.

Cheers,
Fruit

Fruit
Fruit
2 years ago
Reply to  Fruit

I have left everything on it’s defaults (ports etc)

It now appears with a new message.

ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
[2022-07-18 16:36:31] NO LOG FILE! - setting up server logging...
[2022-07-18 16:36:32] [2022-07-18 16:36:32:865 INFO] Starting Server
[2022-07-18 16:36:32] [2022-07-18 16:36:32:870 INFO] Version 1.19.10.03
[2022-07-18 16:36:32] [2022-07-18 16:36:32:870 INFO] Session ID dc3ffe97-3c18-48a4-b334-d3d3f8fe35f0
[2022-07-18 16:36:32] [2022-07-18 16:36:32:926 INFO] Level Name: Bedrock level
[2022-07-18 16:36:32] [2022-07-18 16:36:32:994 INFO] Game mode: 0 Survival
[2022-07-18 16:36:32] [2022-07-18 16:36:32:995 INFO] Difficulty: 1 EASY
[2022-07-18 16:36:33] [2022-07-18 16:36:33:528 INFO] opening worlds/Bedrock level/db
[2022-07-18 16:37:14] [2022-07-18 16:37:14:442 INFO] IPv4 supported, port: 19132
[2022-07-18 16:37:14] [2022-07-18 16:37:14:455 INFO] IPv6 supported, port: 19133
[2022-07-18 16:37:23] [2022-07-18 16:37:23:651 INFO] Server started.
[2022-07-18 16:37:23] [2022-07-18 16:37:23:719 INFO] ================ TELEMETRY MESSAGE ===================
[2022-07-18 16:37:23] [2022-07-18 16:37:23:720 INFO] Server Telemetry is currently not enabled.
[2022-07-18 16:37:23] [2022-07-18 16:37:23:721 INFO] Enabling this telemetry helps us improve the game.
[2022-07-18 16:37:23] [2022-07-18 16:37:23:723 INFO]
[2022-07-18 16:37:23] [2022-07-18 16:37:23:724 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-07-18 16:37:23] [2022-07-18 16:37:23:727 INFO] to the server.properties file in the handheld/src-server directory
[2022-07-18 16:37:23] [2022-07-18 16:37:23:729 INFO] ======================================================
[2022-07-18 16:37:24] [2022-07-18 16:37:24:932 INFO] IPv4 supported, port: 35391
[2022-07-18 16:37:24] [2022-07-18 16:37:24:933 INFO] IPv6 supported, port: 43967

Also it has started. HOWEVER I have realised that the server only works on the first startup the second time I try after a shutdown it behaves like my first post.

lleduardoll
lleduardoll
2 years ago

I apologize if the wording is not 100% understood but they are from Mexico and I do not speak English so I had to use a translator to be able to communicate with you, I hope you understand all the problems I am going through

I hope you can help me I don’t know what to do

I am using Ubuntu 20.04.4 LTS (GNU/Linux 5.13.0-1036-oracle aarch64)

I apply the following command at startup : sudo apt update && sudo apt upgrade and it appears more but I emphasize the following since there is something that is relevant

Setting up libcurl4:arm64 (7.68.0-1ubuntu2.12) ...
Setting up git-man (1:2.25.1-1ubuntu3.5) ...
Setting up isc-dhcp-common (4.4.1-2.1ubuntu5.20.04.3) ...
Setting up curl (7.68.0-1ubuntu2.12) ...
Setting up ubuntu-advantage-tools (27.9~20.04.1) ...
Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-advantage.service β†’ /lib/systemd/system/ubuntu-advantage.service.
Setting up openssl (1.1.1f-1ubuntu2.16) ...
Setting up gpg (2.2.19-3ubuntu2.2) ...
Setting up libmbim-glib4:arm64 (1.26.2-1~ubuntu20.04.1) ...
Setting up gnupg-utils (2.2.19-3ubuntu2.2) ...
Setting up cloud-init (22.2-0ubuntu1~20.04.3) ...
Setting up gpg-agent (2.2.19-3ubuntu2.2) ...
Setting up gpgsm (2.2.19-3ubuntu2.2) ...
Setting up libmbim-proxy (1.26.2-1~ubuntu20.04.1) ...
Setting up dirmngr (2.2.19-3ubuntu2.2) ...
Setting up git (1:2.25.1-1ubuntu3.5) ...
Setting up gpg-wks-server (2.2.19-3ubuntu2.2) ...
Setting up gpg-wks-client (2.2.19-3ubuntu2.2) ...
Setting up libqmi-glib5:arm64 (1.30.4-1~ubuntu20.04.1) ...
Setting up gnupg (2.2.19-3ubuntu2.2) ...
Setting up libqmi-proxy (1.30.4-1~ubuntu20.04.1) ...
Setting up modemmanager (1.18.6-1~ubuntu20.04.1) ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for rsyslog (8.2001.0-1ubuntu1.3) ...
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.2) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...

The next command I run is this: curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash and the following appears

Start Minecraft server at startup automatically (y/n)?y
Created symlink /etc/systemd/system/multi-user.target.wants/canal.service β†’ /etc/systemd/system/canal.service.
Your time zone is currently set to Etc/UTC. Current system time: Thu Jul 14 05:46:17 UTC 2022
You can adjust/remove the selected reboot time later by typing crontab -e or running SetupMinecraft.sh again.
Automatically restart and backup server at 4am daily (y/n)?y
no crontab for ubuntu
Daily restart scheduled. To change time or remove automatic restart type crontab -e
Setting server file permissions...
Setup is complete. Starting Minecraft server. To view the console use the command screen -r or check the logs folder if the server fails to start.
Minecraft server has started. Type screen -r canal to view the running server!

I try to run screen -r and the following appears: There is no screen to be resumed. and if it is screen -x it is the following: There is no screen to be attached. to which I proceed to go to the “logs” folder and the following appears: /home/ubuntu/minecraftbe/canal/bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory. so this is where the first command comes in where this appears: Setting up libcurl4:arm64 (7.68.0-1ubuntu2.12)

To verify I run the following and it says that the library is installed

ubuntu@instance-20220714-0020:~/minecraftbe/channel$ dpkg -l | grep libcurl4
ii libcurl4:arm64 7.68.0-1ubuntu2.12 arm64 easy-to-use client-side URL transfer library (OpenSSL flavour)

so i try to start the server by command where this appears

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ ls
allowlist.json downloads libnsl.so.1 resource_packs
backups fixpermissions.sh libpthread.so.0 restart.sh
bedrock_server ld-2.28.so librt.so.1 revert.sh
bedrock_server_how_to.html ld-2.31.so libssl.so.1.1 server.properties
bedrock_server_symbols.debug libc.so.6 libstdc++.so.6 start.sh
behavior_packs libcrypto.so.1.1 libz.so.1 stop.sh
config libdl.so.2 logs structures
definitions libgcc_s.so.1 permissions.json update.sh
depends.zip libm.so.6 release-notes.txt version_installed.txt
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ ./start.sh
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 312k 0 312k 0 0 530k 0 --:--:-- --:--:-- --:--:-- 530k
Latest version online is bedrock-server-1.19.10.03.zip
Current install is: bedrock-server-1.19.10.03.zip
Latest version bedrock-server-1.19.10.03.zip is already installed
Starting Minecraft server. To view window type screen -r canal
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D

I run screen -r, screen -x and screen -ls again

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -r
There is no screen to be resumed.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -x
There is no screen to be attached.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -ls
No Sockets found in /run/screen/S-ubuntu.

I run again: curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash and the following appears, I do this because something had already appeared in the comments due to some permissions error

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Minecraft Bedrock Server installation script by James A. Chambers
Latest version always at https://github.com/TheRemote/MinecraftBedrockServer
Don't forget to set up port forwarding on your router! The default port is 19132
100 17090 100 17090 0 0 87641 0 --:--:-- --:--:-- --:--:-- 87641
Updating apt..
Hit:1 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Hit:3 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Reading package lists... Done
Checking and installing dependencies..
Dependency installation completed
Enter root installation path for Minecraft BE (this is the same for ALL servers and should be ~, the subfolder will be chosen from the server name you provide). Almost nobody should change this unless you're installing to a different disk altogether. (default ~):
Directory Path: ~
Directory Path : ~ -- accept (y/n)?y
Directory Path: ~
Enter a short one word label for a new or existing server (don't use minecraftbe)...
It will be used in the folder name and service name...
Server Label: canal
Server Label : canal -- accept (y/n)?y
Server Label: canal
Enter server IPV4 port (default 19132):
Server IPV4 Port:
Server IPV4 Port : 19132 -- accept (y/n)?y
Server IPV4 Port: 19132
Enter server IPV6 port (default 19133):
Server IPV6 Port:
Server IPV6 Port : 19133 -- accept (y/n)?y
Server IPV6 Port: 19133
Directory minecraftbe/canal already exists! Updating scripts and configuring service ...
Server directory is: /home/ubuntu/minecraftbe/canal
Grabbing start.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7842 100 7842 0 0 32675 0 --:--:-- --:--:-- --:--:-- 32539
Grabbing stop.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2731 100 2731 0 0 13193 0 --:--:-- --:--:-- --:--:-- 13193
Grabbing restart.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2856 100 2856 0 0 15111 0 --:--:-- --:--:-- --:--:-- 15111
Grabbing fixpermissions.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1982 100 1982 0 0 9668 0 --:--:-- --:--:-- --:--:-- 9715
Grabbing revert.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 832 100 832 0 0 4425 0 --:--:-- --:--:-- --:--:-- 4425
Grabbing update.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 751 100 751 0 0 4016 0 --:--:-- --:--:-- --:--:-- 4016
Configuring Minecraft canal service...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 361 100 361 0 0 2074 0 --:--:-- --:--:-- --:--:-- 2074
Start Minecraft server at startup automatically (y/n)?y
Your time zone is currently set to Etc/UTC. Current system time: Thu Jul 14 06:14:49 UTC 2022
You can adjust/remove the selected reboot time later by typing crontab -e or running SetupMinecraft.sh again.
Automatically restart and backup server at 4am daily (y/n)?y
Daily restart scheduled. To change time or remove automatic restart type crontab -e
Setting server file permissions...
Setup is complete. Starting Minecraft canal server. To view the console use the command screen -r or check the logs folder if the server fails to start

I re-run screen -r, screen -x and screen -ls

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -r
There is no screen to be resumed.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -x
There is no screen to be attached.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -ls
No Sockets found in /run/screen/S-ubuntu.

I check the “logs” folder again and the last .log appears: /home/ubuntu/minecraftbe/canal/bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

so I decide to install libcurl4 again and use the following commands

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ sudo apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Hit:2 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:3 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Reading package lists... Done
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ sudo apt-get install libcurl4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcurl4 is already the newest version (7.68.0-1ubuntu2.12).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$

start the server again and then the screen

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ ./start.sh
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 312k 0 312k 0 0 1061k 0 --:--:-- --:--:-- --:--:-- 1061k
Latest version online is bedrock-server-1.19.10.03.zip
Current install is: bedrock-server-1.19.10.03.zip
Latest version bedrock-server-1.19.10.03.zip is already installed
Starting Minecraft server. To view window type screen -r canal
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -r
There is no screen to be resumed.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -x
There is no screen to be attached.

then try a command below that you left for some corrupt download
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ rm -rf /home/homes/minecraftbe/MinecraftHome/downloads

start again

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ ./start.sh
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 312k 0 312k 0 0 1061k 0 --:--:-- --:--:-- --:--:-- 1061k
Latest version online is bedrock-server-1.19.10.03.zip
Current install is: bedrock-server-1.19.10.03.zip
Latest version bedrock-server-1.19.10.03.zip is already installed
Starting Minecraft server. To view window type screen -r canal
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -r
There is no screen to be resumed.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -x
There is no screen to be attached.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ ^C
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ rm -rf /home/homes/minecraftbe/MinecraftHome/downloads
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ ./start.sh
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 312k 0 312k 0 0 309k 0 --:--:-- 0:00:01 --:--:-- 309k
Latest version online is bedrock-server-1.19.10.03.zip
Current install is: bedrock-server-1.19.10.03.zip
Latest version bedrock-server-1.19.10.03.zip is already installed
Starting Minecraft server. To view window type screen -r canal
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D

finally the screen commands

ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -r
There is no screen to be resumed.
ubuntu@instance-20220714-0020:~/minecraftbe/canal$ screen -x
There is no screen to be attached.

Unfortunately I don’t know what to do anymore, that’s why I ask for your help
finally one of the things that I have to mention is that I am in a virtual machine in oracle with ubuntu 20.04 arm64 but when this whole situation happened to me I was in a server with ubuntu 22.04 so I thought that by downloading the version of ubuntu I could fix it but I already deleted and recreated servers between 4 to 5 times and every time the terminal behaves the same way as now, these logs are from a server from scratch

Ivan
Ivan
2 years ago

Hi
I am the person who wrote here.
I also use Ubuntu 20.04.4 LTS (GNU/Linux 5.13.0-1036-oracle aarch64)

lleduardoll
lleduardoll
2 years ago

again I apologize for perhaps the bad translation but I repeat I am from Mexico and I do not speak the language

I am using Ubuntu 20.04.4 LTS (GNU/Linux 5.13.0-1036-oracle aarch64)

I apply the following command at startup: sudo apt update && sudo apt upgrade

Preparing to unpack .../0-netplan.io_0.104-0ubuntu2~20.04.2_arm64.deb ...
Unpacking netplan.io (0.104-0ubuntu2~20.04.2) over (0.104-0ubuntu2~20.04.1) ...
Preparing to unpack .../1-libnetplan0_0.104-0ubuntu2~20.04.2_arm64.deb ...
Unpacking libnetplan0:arm64 (0.104-0ubuntu2~20.04.2) over (0.104-0ubuntu2~20.04.1) ...
Preparing to unpack .../2-libfreetype6_2.10.1-2ubuntu0.2_arm64.deb ...
Unpacking libfreetype6:arm64 (2.10.1-2ubuntu0.2) over (2.10.1-2ubuntu0.1) ...
Preparing to unpack .../3-libgstreamer1.0-0_1.16.3-0ubuntu1_arm64.deb ...
Unpacking libgstreamer1.0-0:arm64 (1.16.3-0ubuntu1) over (1.16.2-2) ...
Preparing to unpack .../4-libtirpc-common_1.2.5-1ubuntu0.1_all.deb ...
Unpacking libtirpc-common (1.2.5-1ubuntu0.1) over (1.2.5-1) ...
Preparing to unpack .../5-libtirpc3_1.2.5-1ubuntu0.1_arm64.deb ...
Unpacking libtirpc3:arm64 (1.2.5-1ubuntu0.1) over (1.2.5-1) ...
Preparing to unpack .../6-python3-jwt_1.7.1-2ubuntu2.1_all.deb ...
Unpacking python3-jwt (1.7.1-2ubuntu2.1) over (1.7.1-2ubuntu2) ...
Setting up python3-jwt (1.7.1-2ubuntu2.1) ...
Setting up libtirpc-common (1.2.5-1ubuntu0.1) ...
Setting up libnetplan0:arm64 (0.104-0ubuntu2~20.04.2) ...
Setting up netplan.io (0.104-0ubuntu2~20.04.2) ...
Setting up libfreetype6:arm64 (2.10.1-2ubuntu0.2) ...
Setting up libgstreamer1.0-0:arm64 (1.16.3-0ubuntu1) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up libtirpc3:arm64 (1.2.5-1ubuntu0.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) .

the next command I run is this: curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | try and the following appears

curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash
% Total % Received % Xferd Average Speed ​​Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Minecraft Bedrock Server installation script by James A. Chambers
Latest version always at https://github.com/TheRemote/MinecraftBedrockServer
Don't forget to set up port forwarding on your router! The default port is 19132
100 19999 100 19999 0 0 465k 0 --:--:-- --:--:-- --:--:-- 465k
Updating apt..
Hit:1 https://ryanfortner.github.io/box64-debs/debian ./InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Hit:3 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:4 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:5 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Reading package lists... Done
Checking and installing dependencies..
E: No packages found
Dependency installation completed
...here is more information but only decompression stuff
Start Minecraft server at startup automatically (y/n)?y
Your time zone is currently set to Etc/UTC. Current system time: Wed Aug 3 20:37:45 UTC 2022
You can adjust/remove the selected reboot time later by typing crontab -e or running SetupMinecraft.sh again.
Automatically restart and backup server at 4am daily (y/n)?y
Daily restart scheduled. To change time or remove automatic restart type crontab -e
Setting server file permissions...
Setup is complete. Starting minecraft test server. To view the console use the command screen -r or check the logs folder if the server fails to start

When running screen -r the following appears:
[2022-08-03 20:40:12] DO NOT LOG FILE! - setting up server logging...
[2022-08-03 20:40:12] [2022-08-03 20:40:12:070 INFO] Starting Server
[2022-08-03 20:40:12] [2022-08-03 20:40:12:072 INFO] Version 1.19.11.01
[2022-08-03 20:40:12] [2022-08-03 20:40:12:072 INFO] Session ID 41ba61ea-cdaf-4e19-bf05-d36fce99e1db
[2022-08-03 20:40:12] [2022-08-03 20:40:12:090 INFO] Level Name: Bedrock level
[2022-08-03 20:40:12] [2022-08-03 20:40:12:109 INFO] Game mode: 0 Survival
[2022-08-03 20:40:12] [2022-08-03 20:40:12:109 INFO] Difficulty: 1 EASY
[2022-08-03 20:40:13] [2022-08-03 20:40:13:576 INFO] opening worlds/Bedrock level/db
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unsupported setsockopt level=41 optname=34
[2022-08-03 20:40:25] [2022-08-03 20:40:25:745 INFO] IPv4 supported, port: 19132
[2022-08-03 20:40:25] [2022-08-03 20:40:25:751 INFO] IPv6 supported, port: 19133
[2022-08-03 20:40:28] [2022-08-03 20:40:28:619 INFO] Server started.
[2022-08-03 20:40:28] [2022-08-03 20:40:28:691 INFO] ================= TELEMETRY MESSAGE ===== ==============
[2022-08-03 20:40:28] [2022-08-03 20:40:28:692 INFO] Server Telemetry is currently not enabled.
[2022-08-03 20:40:28] [2022-08-03 20:40:28:692 INFO] Enabling this telemetry helps us improve the game.
[2022-08-03 20:40:28] [2022-08-03 20:40:28:693 INFO]
[2022-08-03 20:40:28] [2022-08-03 20:40:28:693 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-08-03 20:40:28] [2022-08-03 20:40:28:694 INFO] to the server.properties file in the handheld/src-server directory
[2022-08-03 20:40:28] [2022-08-03 20:40:28:694 INFO] ========================= =================================
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unsupported setsockopt level=41 optname=34
[2022-08-03 20:40:28] [2022-08-03 20:40:28:769 INFO] IPv4 supported, port: 37687
[2022-08-03 20:40:28] [2022-08-03 20:40:28:770 INFO] IPv6 supported, port: 43417

it appears as if it was already running and I try to enter the server and minecraft tells me that it is not possible to connect, apart from the ip I realized that an extra ipv4 appears so I tried to enter with that and it did not let me enter either, here what I do strange is the legend of QEMU_IFLA that I can’t find because it comes out

I check the “logs” folder and the last .log appears:
[2022-08-03 20:40:12] DO NOT LOG FILE! - setting up server logging...
[2022-08-03 20:40:12] [2022-08-03 20:40:12:070 INFO] Starting Server
[2022-08-03 20:40:12] [2022-08-03 20:40:12:072 INFO] Version 1.19.11.01
[2022-08-03 20:40:12] [2022-08-03 20:40:12:072 INFO] Session ID 41ba61ea-cdaf-4e19-bf05-d36fce99e1db
[2022-08-03 20:40:12] [2022-08-03 20:40:12:090 INFO] Level Name: Bedrock level
[2022-08-03 20:40:12] [2022-08-03 20:40:12:109 INFO] Game mode: 0 Survival
[2022-08-03 20:40:12] [2022-08-03 20:40:12:109 INFO] Difficulty: 1 EASY
[2022-08-03 20:40:13] [2022-08-03 20:40:13:576 INFO] opening worlds/Bedrock level/db
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unsupported setsockopt level=41 optname=34
[2022-08-03 20:40:25] [2022-08-03 20:40:25:745 INFO] IPv4 supported, port: 19132
[2022-08-03 20:40:25] [2022-08-03 20:40:25:751 INFO] IPv6 supported, port: 19133
[2022-08-03 20:40:28] [2022-08-03 20:40:28:619 INFO] Server started.
[2022-08-03 20:40:28] [2022-08-03 20:40:28:691 INFO] ================= TELEMETRY MESSAGE ===== ==============
[2022-08-03 20:40:28] [2022-08-03 20:40:28:692 INFO] Server Telemetry is currently not enabled.
[2022-08-03 20:40:28] [2022-08-03 20:40:28:692 INFO] Enabling this telemetry helps us improve the game.
[2022-08-03 20:40:28] [2022-08-03 20:40:28:693 INFO]
[2022-08-03 20:40:28] [2022-08-03 20:40:28:693 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-08-03 20:40:28] [2022-08-03 20:40:28:694 INFO] to the server.properties file in the handheld/src-server directory
[2022-08-03 20:40:28] [2022-08-03 20:40:28:694 INFO] ========================= =================================
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unsupported setsockopt level=41 optname=34
[2022-08-03 20:40:28] [2022-08-03 20:40:28:769 INFO] IPv4 supported, port: 37687
[2022-08-03 20:40:28] [2022-08-03 20:40:28:770 INFO] IPv6 supported, port: 43417

finally what I plan to do is add the line in the server.properties “emit-server-telemetry=true” and stop and start the server again

ubuntu@test-1:~/minecraftbe/test$ ./stop.sh
Stopping minecraft server ...
Minecraft server test stopped.
ubuntu@test-1:~/minecraftbe/test$ ./start.sh
Backing up server (to minecraftbe/test/backups folder)
Backing up server (multiple cores) to minecraftbe/test/backups folder
worlds/
worlds/Bedrock level/
worlds/Bedrocklevel/level.dat
worlds/Bedrocklevel/levelname.txt
worlds/Bedrocklevel/db/
worlds/Bedrocklevel/db/MANIFEST-000004
worlds/Bedrocklevel/db/000005.ldb
worlds/Bedrocklevel/db/000006.log
worlds/Bedrock level/db/CURRENT
worlds/Bedrock level/level.dat_old
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed ​​Time Time Time Current
Dload Upload Total Spent Left Speed
100 312k 0 312k 0 0 569k 0 --:--:-- --:--:-- --:--:-- 570k
Latest version online is bedrock-server-1.19.11.01.zip
Current install is: bedrock-server-1.19.11.01.zip
Latest version bedrock-server-1.19.11.01.zip is already installed
Starting Minecraft server. To view window type screen -r test
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D

I run screen -r and this is what appears

[2022-08-03 20:53:11] DO NOT LOG FILE! - setting up server logging...
[2022-08-03 20:53:11] [2022-08-03 20:53:11:374 INFO] Starting Server
[2022-08-03 20:53:11] [2022-08-03 20:53:11:377 INFO] Version 1.19.11.01
[2022-08-03 20:53:11] [2022-08-03 20:53:11:377 INFO] Session ID 0c7f8bc3-f305-46d5-8bd7-9663eeff48f8
[2022-08-03 20:53:11] [2022-08-03 20:53:11:395 INFO] Level Name: Bedrock level
[2022-08-03 20:53:11] [2022-08-03 20:53:11:413 INFO] Game mode: 0 Survival
[2022-08-03 20:53:11] [2022-08-03 20:53:11:414 INFO] Difficulty: 1 EASY
[2022-08-03 20:53:11] [2022-08-03 20:53:11:886 INFO] opening worlds/Bedrock level/db
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unsupported setsockopt level=41 optname=34
[2022-08-03 20:53:23] [2022-08-03 20:53:23:842 INFO] IPv4 supported, port: 19132
[2022-08-03 20:53:23] [2022-08-03 20:53:23:847 INFO] IPv6 supported, port: 19133
[2022-08-03 20:53:26] [2022-08-03 20:53:26:742 INFO] Server started.
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unsupported setsockopt level=41 optname=34
[2022-08-03 20:53:26] [2022-08-03 20:53:26:905 INFO] IPv4 supported, port: 36435
[2022-08-03 20:53:26] [2022-08-03 20:53:26:905 INFO] IPv6 supported, port: 55783

Adding a line to server.properties no longer appears, but QEMU_IFLA is still preserved

you really see an improvement since you can see that the screen is already running but the truth is that I don’t know what is happening with QEMU_IFLA I don’t know much about the subject but it looks like it was an error

finally one of the things that I have to mention is that I am in a virtual machine in oracle with ubuntu 20.04 arm64

I hope you can advise me with this new situation

lleduardoll
lleduardoll
2 years ago

hello, how are you, good afternoon, look, the truth is that the server has already started, the QEMU_IFLA problem no longer appeared and everything seems fine, but I have a small problem since it is supposed to be fine, but when I want to enter the server, it appears that It does not have ping literally, it is a red circle, apart from people online, a number does not even appear and when I select to enter the server, the following text appears “it is not possible to connect to the world”

according to the screen -r it is assumed that the server has already started but it seems very strange to me that I cannot enter since it is active

[2022-08-04 05:29:47] NO LOG FILE! - setting up server logging...
[2022-08-04 05:29:47] [2022-08-04 05:29:47:403 INFO] Starting Server
[2022-08-04 05:29:47] [2022-08-04 05:29:47:405 INFO] Version 1.19.11.01
[2022-08-04 05:29:47] [2022-08-04 05:29:47:405 INFO] Session ID 2c82d8a6-e82d-449b-8322-a3c353d4cc99
[2022-08-04 05:29:47] [2022-08-04 05:29:47:423 INFO] Level Name: Bedrock level
[2022-08-04 05:29:47] [2022-08-04 05:29:47:441 INFO] Game mode: 0 Survival
[2022-08-04 05:29:47] [2022-08-04 05:29:47:442 INFO] Difficulty: 2 NORMAL
[2022-08-04 05:29:48] [2022-08-04 05:29:48:929 INFO] opening worlds/Bedrock level/db
[2022-08-04 05:30:00] [2022-08-04 05:30:00:174 INFO] IPv4 supported, port: 19132
[2022-08-04 05:30:00] [2022-08-04 05:30:00:179 INFO] IPv6 supported, port: 19133
[2022-08-04 05:30:03] [2022-08-04 05:30:03:411 INFO] Server started.
[2022-08-04 05:30:03] [2022-08-04 05:30:03:467 INFO] ================ TELEMETRY MESSAGE ===================
[2022-08-04 05:30:03] [2022-08-04 05:30:03:467 INFO] Server Telemetry is currently not enabled.
[2022-08-04 05:30:03] [2022-08-04 05:30:03:468 INFO] Enabling this telemetry helps us improve the game.
[2022-08-04 05:30:03] [2022-08-04 05:30:03:468 INFO]
[2022-08-04 05:30:03] [2022-08-04 05:30:03:469 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-08-04 05:30:03] [2022-08-04 05:30:03:470 INFO] to the server.properties file in the handheld/src-server directory
[2022-08-04 05:30:03] [2022-08-04 05:30:03:470 INFO] ======================================================
[2022-08-04 05:30:03] [2022-08-04 05:30:03:528 INFO] IPv4 supported, port: 37065
[2022-08-04 05:30:03] [2022-08-04 05:30:03:528 INFO] IPv6 supported, port: 58411

apart from this I show you the ./update since it is not able to copy the registry when you install it

ubuntu@intento-22-04:~/minecraftbe/intento22$ ./update.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Minecraft Bedrock Server installation script by James A. Chambers
Latest version always at https://github.com/TheRemote/MinecraftBedrockServer
Don't forget to set up port forwarding on your router! The default port is 19132
100 19999 100 19999 0 0 84752 0 --:--:-- --:--:-- --:--:-- 84741
Updating apt..
Hit:1 https://ryanfortner.github.io/box64-debs/debian ./ InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:3 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:4 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:5 http://phx-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Reading package lists... Done
Checking and installing dependencies..
E: No packages found
Dependency installation completed
Enter root installation path for Minecraft BE (this is the same for ALL servers and should be ~, the subfolder will be chosen from the server name you provide). Almost nobody should change this unless you're installing to a different disk altogether. (default ~):
Directory Path: ~
Directory Path : ~ -- accept (y/n)?y
Directory Path: ~
Enter a short one word label for a new or existing server (don't use minecraftbe)...
It will be used in the folder name and service name...
Server Label: intento22
Server Label : intento22 -- accept (y/n)?y
Server Label: intento22
Enter server IPV4 port (default 19132):
Server IPV4 Port:
Server IPV4 Port : 19132 -- accept (y/n)?y
Server IPV4 Port: 19132
Enter server IPV6 port (default 19133):
Server IPV6 Port:
Server IPV6 Port : 19133 -- accept (y/n)?y
Server IPV6 Port: 19133
Directory minecraftbe/intento22 already exists! Updating scripts and configuring service ...
Server directory is: /home/ubuntu/minecraftbe/intento22
Grabbing start.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8157 100 8157 0 0 33743 0 --:--:-- --:--:-- --:--:-- 33846
Grabbing stop.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2731 100 2731 0 0 7976 0 --:--:-- --:--:-- --:--:-- 7985
Grabbing restart.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2856 100 2856 0 0 11588 0 --:--:-- --:--:-- --:--:-- 11562
Grabbing fixpermissions.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2128 100 2128 0 0 9822 0 --:--:-- --:--:-- --:--:-- 9851
Grabbing revert.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 832 100 832 0 0 3473 0 --:--:-- --:--:-- --:--:-- 3481
Grabbing update.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 749 100 749 0 0 2284 0 --:--:-- --:--:-- --:--:-- 2283
Configuring Minecraft intento22 service...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 362 100 362 0 0 1525 0 --:--:-- --:--:-- --:--:-- 1527

Start Minecraft server at startup automatically (y/n)?y
Your time zone is currently set to Etc/UTC. Current system time: Thu Aug 4 05:46:37 UTC 2022
You can adjust/remove the selected reboot time later by typing crontab -e or running SetupMinecraft.sh again.
Automatically restart and backup server at 4am daily (y/n)?y
Daily restart scheduled. To change time or remove automatic restart type crontab -e
Setting server file permissions...
Setup is complete. Starting Minecraft intento22 server. To view the console use the command screen -r or check the logs folder if the server fails to start

I re-entered the command screen -r

[2022-08-04 05:46:42] NO LOG FILE! - setting up server logging...
[2022-08-04 05:46:42] [2022-08-04 05:46:42:957 INFO] Starting Server
[2022-08-04 05:46:42] [2022-08-04 05:46:42:959 INFO] Version 1.19.11.01
[2022-08-04 05:46:42] [2022-08-04 05:46:42:959 INFO] Session ID cc8ce2d5-bede-42d7-8eaa-0910f2949082
[2022-08-04 05:46:42] [2022-08-04 05:46:42:978 INFO] Level Name: Bedrock level
[2022-08-04 05:46:42] [2022-08-04 05:46:42:997 INFO] Game mode: 0 Survival
[2022-08-04 05:46:42] [2022-08-04 05:46:42:998 INFO] Difficulty: 2 NORMAL
[2022-08-04 05:46:42] [2022-08-04 05:46:42:488 INFO] opening worlds/Bedrock level/db
[2022-08-04 05:46:55] [2022-08-04 05:46:55:857 INFO] IPv4 supported, port: 19132
[2022-08-04 05:46:55] [2022-08-04 05:46:55:862 INFO] IPv6 supported, port: 19133
[2022-08-04 05:46:58] [2022-08-04 05:46:58:081 INFO] Server started.
[2022-08-04 05:46:58] [2022-08-04 05:46:58:136 INFO] ================ TELEMETRY MESSAGE ===================
[2022-08-04 05:46:58] [2022-08-04 05:46:58:137 INFO] Server Telemetry is currently not enabled.
[2022-08-04 05:46:58] [2022-08-04 05:46:58:137 INFO] Enabling this telemetry helps us improve the game.
[2022-08-04 05:46:58] [2022-08-04 05:46:58:137 INFO]
[2022-08-04 05:46:58] [2022-08-04 05:46:58:138 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-08-04 05:46:58] [2022-08-04 05:46:58:139 INFO] to the server.properties file in the handheld/src-server directory
[2022-08-04 05:46:58] [2022-08-04 05:46:58:139 INFO] ======================================================
[2022-08-04 05:46:58] [2022-08-04 05:46:58:195 INFO] IPv4 supported, port: 48689
[2022-08-04 05:46:58] [2022-08-04 05:46:58:195 INFO] IPv6 supported, port: 55489

check the log folder and there is absolutely nothing, I thought maybe I had minecraft out of date on my cell phone and it was with the latest version

I did all this in version 22.04 and I made an attempt in 20.04 and it was the same, everything appears normal, it starts the server but it does not let me enter

Now I don’t even know what to do

lleduardoll
lleduardoll
2 years ago

It seems that I already fixed it without the need to change the ports, I only had to execute some firewall commands since the ports were active in the configuration but the server or rather there was a firewall that did not let the ports work.

sudo firewall-cmd --permanent --zone=public --add-port=19132/tcp
sudo firewall-cmd --permanent --zone=public --add-port=19132/udp
sudo firewall-cmd --reload

with that it seems that everything is fixed, anyway I will try to change the ports in the instance and see what happens

but for the moment there is already a solution, I really appreciate the attention you gave me

lleduardoll
lleduardoll
2 years ago
Reply to  lleduardoll

I already checked the change of port and the reality is that it did not work without granting the firewall permissions, so the only solution that I found was the commands that I published in the part above

TheBaregon
TheBaregon
2 years ago

I created this server yesterday, worked a ton on it. This morning I’m getting an error in Minecraft Cannot connect to server Connection timed out. The server is actually running. I’ve rebooted it a couple times and the host machine. Any ideas ? No firewall changes or server properties have been changed since I was playing it yesterday.

TheBaregon
TheBaregon
2 years ago

After start.sh:
[2022-07-13 11:37:59] NO LOG FILE! - setting up server logging...
[2022-07-13 11:37:59] [2022-07-13 11:37:59:650 INFO] Starting Server
[2022-07-13 11:37:59] [2022-07-13 11:37:59:650 INFO] Version 1.19.10.03
[2022-07-13 11:37:59] [2022-07-13 11:37:59:650 INFO] Session ID abfb4806-8838-412d-bb69-7975aeb1f4d6
[2022-07-13 11:37:59] [2022-07-13 11:37:59:650 INFO] Level Name: UncleGosh
[2022-07-13 11:37:59] [2022-07-13 11:37:59:652 INFO] Game mode: 0 Survival
[2022-07-13 11:37:59] [2022-07-13 11:37:59:652 INFO] Difficulty: 1 EASY
[2022-07-13 11:37:59] [2022-07-13 11:37:59:695 INFO] Content logging enabled. Writing log to: ContentLog__Wednesday__2022_July_13__11_37_59
[2022-07-13 11:37:59] [2022-07-13 11:37:59:695 INFO] opening worlds/UncleGosh/db
[2022-07-13 11:37:59] [2022-07-13 11:37:59:267 INFO] IPv4 supported, port: 19132
[2022-07-13 11:37:59] [2022-07-13 11:37:59:267 INFO] IPv6 supported, port: 19133
[2022-07-13 11:38:00] [2022-07-13 11:38:00:536 INFO] Server started.
[2022-07-13 11:38:00] [2022-07-13 11:38:00:563 INFO] IPv4 supported, port: 41948
[2022-07-13 11:38:00] [2022-07-13 11:38:00:563 INFO] IPv6 supported, port: 38517
[2022-07-13 11:38:00] [2022-07-13 11:38:00:586 INFO] ================ TELEMETRY MESSAGE ===================
[2022-07-13 11:38:00] [2022-07-13 11:38:00:586 INFO] Server Telemetry is currently not enabled.
[2022-07-13 11:38:00] [2022-07-13 11:38:00:586 INFO] Enabling this telemetry helps us improve the game.
[2022-07-13 11:38:00] [2022-07-13 11:38:00:586 INFO]
[2022-07-13 11:38:00] [2022-07-13 11:38:00:586 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-07-13 11:38:00] [2022-07-13 11:38:00:586 INFO] to the server.properties file in the handheld/src-server directory
[2022-07-13 11:38:00] [2022-07-13 11:38:00:586 INFO] ======================================================

I turned on content logging just to see if I could see more info but I cant find the logs anywhere. When i try to connect to the server, there is never a connection request that shows in this.

This is the first log from the first server reboot last night:

[2022-07-13 04:00:33] NO LOG FILE! - setting up server logging...
[2022-07-13 04:00:33] [2022-07-13 04:00:33:386 INFO] Starting Server
[2022-07-13 04:00:33] [2022-07-13 04:00:33:386 INFO] Version 1.19.10.03
[2022-07-13 04:00:33] [2022-07-13 04:00:33:386 INFO] Session ID c41febb9-eaed-4e96-a085-1f44d16f9ce1
[2022-07-13 04:00:33] [2022-07-13 04:00:33:386 INFO] Level Name: UncleGosh
[2022-07-13 04:00:33] [2022-07-13 04:00:33:388 INFO] Game mode: 0 Survival
[2022-07-13 04:00:33] [2022-07-13 04:00:33:388 INFO] Difficulty: 1 EASY
[2022-07-13 04:00:33] [2022-07-13 04:00:33:431 INFO] opening worlds/UncleGosh/db
[2022-07-13 04:00:34] [2022-07-13 04:00:34:992 INFO] IPv4 supported, port: 19132
[2022-07-13 04:00:34] [2022-07-13 04:00:34:992 INFO] IPv6 supported, port: 19133
[2022-07-13 04:00:34] [2022-07-13 04:00:34:269 INFO] Server started.
[2022-07-13 04:00:34] [2022-07-13 04:00:34:297 INFO] IPv4 supported, port: 57078
[2022-07-13 04:00:34] [2022-07-13 04:00:34:297 INFO] IPv6 supported, port: 38044
[2022-07-13 04:00:34] [2022-07-13 04:00:34:320 INFO] ================ TELEMETRY MESSAGE ===================
[2022-07-13 04:00:34] [2022-07-13 04:00:34:320 INFO] Server Telemetry is currently not enabled.
[2022-07-13 04:00:34] [2022-07-13 04:00:34:320 INFO] Enabling this telemetry helps us improve the game.
[2022-07-13 04:00:34] [2022-07-13 04:00:34:320 INFO]
[2022-07-13 04:00:34] [2022-07-13 04:00:34:320 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-07-13 04:00:34] [2022-07-13 04:00:34:320 INFO] to the server.properties file in the handheld/src-server directory
[2022-07-13 04:00:34] [2022-07-13 04:00:34:320 INFO] ======================================================
say Server is restarting in 30 seconds!
say Server is restarting in 7 seconds!
say Server is restarting in 6 seconds!
say Server is restarting in 5 seconds!
say Server is restarting in 4 seconds!
say Server is restarting in 3 seconds!
say Server is restarting in 2 seconds!
say Server is restarting in 1 second!
say Closing server...
stop
[2022-07-13 10:25:48] [2022-07-13 10:25:48:100 INFO] Server stop requested.
[2022-07-13 10:25:48] [2022-07-13 10:25:48:145 INFO] Stopping server...
[2022-07-13 10:25:48] Quit correctly

TheBaregon
TheBaregon
2 years ago

So the log of the server running with me on it yesterday I have, didn’t post yet, but it all shows people connecting and disconnecting fine with lines of AutoCompaction every few minutes. Here is the end of the file, the rest of it looks standard: I changed my xuid just because lol. It could be an IP conflicyt. I’m hosting the server on a VM inside a machine at my data center so the IP address is given by the firewall with a pre-designated static lease. I am double checking all that now though.

2022-07-13 02:10:25] [2022-07-13 02:10:25:193 INFO] Player disconnected: TheBaregon, xuid: 123456789
[2022-07-13 02:12:42] [2022-07-13 02:12:42:776 INFO] Running AutoCompaction...
[2022-07-13 02:18:42] [2022-07-13 02:18:42:799 INFO] Running AutoCompaction...
[2022-07-13 02:24:42] [2022-07-13 02:24:42:800 INFO] Running AutoCompaction...
[2022-07-13 02:30:42] [2022-07-13 02:30:42:801 INFO] Running AutoCompaction...
[2022-07-13 02:36:42] [2022-07-13 02:36:42:816 INFO] Running AutoCompaction...
[2022-07-13 02:42:42] [2022-07-13 02:42:42:817 INFO] Running AutoCompaction...
[2022-07-13 02:48:42] [2022-07-13 02:48:42:819 INFO] Running AutoCompaction...
[2022-07-13 02:54:42] [2022-07-13 02:54:42:821 INFO] Running AutoCompaction...
[2022-07-13 03:00:42] [2022-07-13 03:00:42:842 INFO] Running AutoCompaction...
[2022-07-13 03:06:42] [2022-07-13 03:06:42:843 INFO] Running AutoCompaction...
[2022-07-13 03:12:42] [2022-07-13 03:12:42:845 INFO] Running AutoCompaction...
[2022-07-13 03:20:03] [2022-07-13 03:20:03:846 INFO] Running AutoCompaction...
[2022-07-13 03:26:03] [2022-07-13 03:26:03:867 INFO] Running AutoCompaction...
[2022-07-13 03:32:03] [2022-07-13 03:32:03:868 INFO] Running AutoCompaction...
[2022-07-13 03:38:03] [2022-07-13 03:38:03:870 INFO] Running AutoCompaction...
[2022-07-13 03:44:03] [2022-07-13 03:44:03:871 INFO] Running AutoCompaction...
[2022-07-13 03:50:03] [2022-07-13 03:50:03:899 INFO] Running AutoCompaction...
[2022-07-13 03:56:03] [2022-07-13 03:56:03:901 INFO] Running AutoCompaction...
say Server is restarting in 30 seconds!
say Server is restarting in 7 seconds!
say Server is restarting in 6 seconds!
say Server is restarting in 5 seconds!
say Server is restarting in 4 seconds!
say Server is restarting in 3 seconds!
say Server is restarting in 2 seconds!
say Server is restarting in 1 second!
say Closing server...
stop
[2022-07-13 04:00:31] [2022-07-13 04:00:31:868 INFO] Server stop requested.
[2022-07-13 04:00:31] [2022-07-13 04:00:31:913 INFO] Stopping server...
[2022-07-13 04:00:31] Quit correctly

(END)

TheBaregon
TheBaregon
2 years ago
Reply to  TheBaregon

also, I just checked and the server IS talking to my computer back and forth. The game just doesnt load

ChrisJ
ChrisJ
2 years ago

Hi!

The same thing happened to my server as well to today, after have been working for months without issues.
Worked fine yesterday on 1.19.10.X, but today I get “connection timed out unable to connect to world”

I installed another server on a separate IP with Ubuntu 22.04 and your script to see if it would work, but got the same results. Also used a non-deafult port.
When I found this thread I also tried “online-mode=false” but as far as I can tell it made no difference.

Any other ideas? πŸ™‚

Best regards

ChrisJ
ChrisJ
2 years ago

I did install a fresh server as well, no luck. But I’ll focus on my server and network instead.

Thanks for the help, I’m very grateful πŸ™‚

elborderas
elborderas
2 years ago

Could i use a GUI server manager like Pufferpanel with this setup?

elborderas
elborderas
2 years ago

Hi, i just used this script to setup my own server. Quick question: can i configure a list of users to login? I’d like to have access control so only my kids and their friends can access. Thanks

elborderas
elborderas
2 years ago
Reply to  elborderas

I answer myself. Found the instructions in the local html. sorry for the useless question

elborderas
elborderas
2 years ago

Thanks for your answer πŸ™‚
Yes, i found the text files and I am capable of configure the initial things that i want. I am completely new to minecraft, not to Linux, so i am learning about minecraft server mgmt as we speak. All this just to keep my kids save πŸ˜‰
As for the GUI, i realized that in order for them to handle such a server, they need to have full control over it. You need to move all the files to their parent folder… etc Which pretty much seems like a bad decision as i would lose the whole advantage of YOUR setup.
I am quite comfortable with Linux so probably i will keep using ssh and screen to manage the server.

elborderas
elborderas
2 years ago

Wow, thanks for the amazing answer.

You are absolutely right, this script and system that you created is more powerful than what it seems. Thank you so much!
After reading your response i discovered about the “in game commands”, giving OP to a user, and found all these amazing list of commands available.
WOW, this is serious stuff now πŸ™‚

I love it.
First thing i did was to change the world to creative and activate the keepinventory.
The friend from my son has been playing in a local world from his phone and he doesn’t die in it.
I don’t think there is such an option in this server, within the creative/adventure/survival mode but i guess it will be ok if they return to the same state after dying.

I also changed the world name, played with the allow list… so cool.

And all of this working in a simple chromebox machine that i have with Linux installed.

And yes, out of my mind the GUI thing. I am a Linux user since 1995, my work machine is a linux laptop so I love to live on the terminal.
My initial request came out of not knowing anything whatsoever but, after spending a couple of hours on minecraft and setting up 3 kids accounts, I am starting to see that I can do everything from the comfort of my terminal.

I understand some folks may feel lost at the beginning, maybe like me yesterday. But it only took me a bit of time to open my eyes and see the beauty of this sytem.
Thanks for your patience when dealing with us… customers πŸ™‚

Congratulations again on this lean setup!

Eike
Eike
2 years ago
Reply to  elborderas

Hi,
that is possible. just add the kids to the whitelist / allowlist my pulling down the comand line in Game (you hae to be admin) and type allowlist add make sure that if you have names with spaces in use “name 34344”

cheers
eike

MarRod
MarRod
2 years ago

Sorry for interrupting again ,but i changed root AND user passwords , now i cant Let the server stay on , i put start.sh but It not stay , i updated AND still dont start do i need permissions on something? , If i put start.sh by seconds say already started but if i wait More a little More It does everything again AND dont stay, cant use screen – r either .

Crash
At gsignal(unknownfile:?)
At abort(unknownfile:?)
At __libc__start__main(unknownFile:?)
Failed to open curl lib from binary , use libcurl.so instead

MarRod
MarRod
2 years ago

Thanks for the reply ,the problem Is that i dont have setupMinecraft.sh anymore at least Is not where start.sh AND restart.sh are

I run the curl again still no screen ,there was an Ubuntu update before the change

I deleted the entire minecraftbe , reset AND there arΓ© mising files included the bedrock_server ( i have a backup copy from backups )

MarRodLinux
MarRodLinux
2 years ago

homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Minecraft Bedrock Server installation script by James A. Chambers
Latest version always at https://github.com/TheRemote/MinecraftBedrockServer
Don't forget to set up port forwarding on your router! The default port is 19132
100 17090 100 17090 0 0 43047 0 --:--:-- --:--:-- --:--:-- 43047
Updating apt..
[sudo] password for homes:
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:3 http://mx.archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://mx.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [40.7 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [66.3 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2β€―468 B]
Get:8 http://mx.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:9 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [278 kB]
Get:10 http://mx.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [390 kB]
Get:11 http://mx.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:12 http://mx.archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7β€―964 B]
Get:13 http://mx.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]
Fetched 1β€―153 kB in 3s (406 kB/s)
Reading package lists... Done
Checking and installing dependencies..
Dependency installation completed
Enter root installation path for Minecraft BE (this is the same for ALL servers and should be ~, the subfolder will be chosen from the server name you provide). Almost nobody should change this unless you're installing to a different disk altogether. (default ~):
Directory Path: ~
Directory Path : ~ -- accept (y/n)?y
Directory Path: ~
Enter a short one word label for a new or existing server (don't use minecraftbe)...
It will be used in the folder name and service name...
Server Label: MinecraftHome
Server Label : MinecraftHome -- accept (y/n)?y
Server Label: MinecraftHome
Enter server IPV4 port (default 19132):
Server IPV4 Port: 19132
Server IPV4 Port : 19132 -- accept (y/n)?y
Server IPV4 Port: 19132
Enter server IPV6 port (default 19133):
Server IPV6 Port: 19133
Server IPV6 Port : 19133 -- accept (y/n)?y
Server IPV6 Port: 19133
Directory minecraftbe/MinecraftHome already exists! Updating scripts and configuring service ...
Server directory is: /home/homes/minecraftbe/MinecraftHome
Grabbing start.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7842 100 7842 0 0 21662 0 --:--:-- --:--:-- --:--:-- 21662
Grabbing stop.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2731 100 2731 0 0 6949 0 --:--:-- --:--:-- --:--:-- 6949
Grabbing restart.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2856 100 2856 0 0 7955 0 --:--:-- --:--:-- --:--:-- 7955
Grabbing fixpermissions.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1982 100 1982 0 0 5400 0 --:--:-- --:--:-- --:--:-- 5400
Grabbing revert.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 832 100 832 0 0 2195 0 --:--:-- --:--:-- --:--:-- 2195
Grabbing update.sh from repository...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 751 100 751 0 0 1986 0 --:--:-- --:--:-- --:--:-- 1981
Configuring Minecraft MinecraftHome service...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 361 100 361 0 0 1000 0 --:--:-- --:--:-- --:--:-- 1000
sed: can't read server.properties: No such file or directory
sed: can't read server.properties: No such file or directory
Start Minecraft server at startup automatically (y/n)?y
Your time zone is currently set to America/Mexico_City. Current system time: sΓ‘b 02 jul 2022 10:44:21 CDT
You can adjust/remove the selected reboot time later by typing crontab -e or running SetupMinecraft.sh again.
Automatically restart and backup server at 4am daily (y/n)?y
Daily restart scheduled. To change time or remove automatic restart type crontab -e
Setting server file permissions...
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
Setup is complete. Starting Minecraft MinecraftHome server. To view the console use the command screen -r or check the logs folder if the server fails to start
homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ ./start.sh
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 314k 0 314k 0 0 384k 0 --:--:-- --:--:-- --:--:-- 384k
Latest version online is bedrock-server-1.19.2.02.zip
Current install is: bedrock-server-1.19.2.02.zip
Latest version bedrock-server-1.19.2.02.zip is already installed
Starting Minecraft server. To view window type screen -r MinecraftHome
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D

MarRodLinux
MarRodLinux
2 years ago

start.sh i thought it was already on the last one :
homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ ./start.sh
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 312k 0 312k 0 0 328k 0 --:--:-- --:--:-- --:--:-- 328k
Latest version online is bedrock-server-1.19.2.02.zip
Current install is: bedrock-server-1.19.2.02.zip
Latest version bedrock-server-1.19.2.02.zip is already installed
Starting Minecraft server. To view window type screen -r MinecraftHome
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D

logs say :
GNU nano 4.8 MinecraftHome.2022.07.02.10.44.38.log
/bin/bash: /home/homes/minecraftbe/MinecraftHome/bedrock_server: No such file or directory

MarRodLinux
MarRodLinux
2 years ago

homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ rm -rf /home/homes/minecraftbe/MinecraftHome/downloads
homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ ls
allowlist.json fixpermissions.sh permissions.json revert.sh stop.sh version_installed.txt
backups logs restart.sh start.sh update.sh
homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ ./start.sh
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
chmod: cannot access '/home/homes/minecraftbe/MinecraftHome/bedrock_server': No such file or directory
Checking for the latest version of Minecraft Bedrock server ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 312k 0 312k 0 0 323k 0 --:--:-- --:--:-- --:--:-- 323k
Latest version online is bedrock-server-1.19.2.02.zip
Current install is: bedrock-server-1.19.2.02.zip
Latest version bedrock-server-1.19.2.02.zip is already installed
Starting Minecraft server. To view window type screen -r MinecraftHome
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D
homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ ls
allowlist.json downloads logs restart.sh start.sh update.sh
backups fixpermissions.sh permissions.json revert.sh stop.sh version_installed.txt
homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$ screen -r
There is no screen to be resumed.
homes@homes-HP-Notebook:~/minecraftbe/MinecraftHome$

it has been worked exelent for 3 months ,F for the server,thanks a lot for trying u.u

MarRod
MarRod
2 years ago

ITS working again ,but It had to be changed from Linux 22.04 to 20.04 AND a new World ,old just corrupted it

Thanks a lot by the way ,ITS so cool to have it

1 51 52 53 54 55 66