Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working after bedrock server update #5

Closed
n1van opened this issue Jul 13, 2022 · 11 comments
Closed

Not working after bedrock server update #5

n1van opened this issue Jul 13, 2022 · 11 comments

Comments

@n1van
Copy link

n1van commented Jul 13, 2022

The program stopped working today after the update
log: /home/ubuntu/minecraftbe/new/bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
Ubuntu 20.04.4 LTS, ARM

ps: Minecraft Bedrock Dedicated Server for Docker the same "bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory"

@TheRemote
Copy link
Owner

Hey n1van,

That crash at the end happens whenever the Minecraft server crashes for any reason so it doesn't tell us very much unfortunately. What happens if you try with a new server?

Do you have any errors earlier than that in your log? Those might tell us some more as well!

@n1van
Copy link
Author

n1van commented Jul 14, 2022

Hello!
Until July 13, everything worked well.

log:
[2022-07-12 04:00:37] NO LOG FILE! - setting up server logging...
[2022-07-12 04:00:37] [2022-07-12 04:00:37:092 INFO] Starting Server
[2022-07-12 04:00:37] [2022-07-12 04:00:37:094 INFO] Version 1.19.2.02
[2022-07-12 04:00:37] [2022-07-12 04:00:37:094 INFO] Session ID 56a71a27-cb54-441e-a682-0120b6a0b631
[2022-07-12 04:00:37] [2022-07-12 04:00:37:113 INFO] Level Name: New-world
[2022-07-12 04:00:37] [2022-07-12 04:00:37:136 INFO] Game mode: 0 Survival
[2022-07-12 04:00:37] [2022-07-12 04:00:37:137 INFO] Difficulty: 2 NORMAL
[2022-07-12 04:00:37] [2022-07-12 04:00:37:613 INFO] opening worlds/New-world/db
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 54
Unsupported setsockopt level=41 optname=34
[2022-07-12 04:00:50] [2022-07-12 04:00:50:706 INFO] IPv4 supported, port: 19132
[2022-07-12 04:00:50] [2022-07-12 04:00:50:711 INFO] IPv6 supported, port: 19133
[2022-07-12 04:00:53] [2022-07-12 04:00:53:664 INFO] Server started.
[2022-07-12 04:00:53] [2022-07-12 04:00:53:751 INFO] ================ TELEMETRY MESSAGE ===================
[2022-07-12 04:00:53] [2022-07-12 04:00:53:752 INFO] Server Telemetry is currently not enabled.
[2022-07-12 04:00:53] [2022-07-12 04:00:53:752 INFO] Enabling this telemetry helps us improve the game.
[2022-07-12 04:00:53] [2022-07-12 04:00:53:752 INFO]
[2022-07-12 04:00:53] [2022-07-12 04:00:53:752 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-07-12 04:00:53] [2022-07-12 04:00:53:752 INFO] to the server.properties file in the handheld/src-server directory
[2022-07-12 04:00:53] [2022-07-12 04:00:53:753 INFO] ======================================================
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 54
Unsupported setsockopt level=41 optname=34
[2022-07-12 04:00:53] [2022-07-12 04:00:53:833 INFO] IPv4 supported, port: 42296
[2022-07-12 04:00:53] [2022-07-12 04:00:53:833 INFO] IPv6 supported, port: 57827
[2022-07-12 04:06:38] [2022-07-12 04:06:38:826 INFO] Running AutoCompaction...
[...here only Running AutoCompaction...]
[2022-07-13 03:30:39] [2022-07-13 03:30:39:713 INFO] Running AutoCompaction...
[2022-07-13 03:35:00] [2022-07-13 03:35:00:931 INFO] Player connected: Laz.....id, xuid: 2533274989096916
[2022-07-13 03:43:10] [2022-07-13 03:43:10:772 INFO] Player disconnected: Laz.....id, xuid: 2533274989096916
[2022-07-13 03:49:09] [2022-07-13 03:49:09:181 INFO] Running AutoCompaction...
[2022-07-13 03:55:09] [2022-07-13 03:55:09:503 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:172 INFO] Server stop requested.
[2022-07-13 04:00:31] [2022-07-13 04:00:31:221 INFO] Stopping server...
[2022-07-13 04:00:32] Quit correctly

Then the server was updated to version bedrock-server-1.19.10.03 and no longer turned on.
If you return to any old version, the server works.
Neither with an update nor with a new installation, version 1.19.10.03 does not work.
Line 1 in log file "/home/ubuntu/minecraftbe/new/bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory"

Everything happens the same way using both "Minecraft Bedrock Server" and "Legendary Bedrock Container"

@TheRemote
Copy link
Owner

I can't explain it, but you aren't alone. We have one more person reporting this here: https://jamesachambers.com/minecraft-bedrock-edition-ubuntu-dedicated-server-guide/#comment-13813

I tested on 1.19.10.3 for both the container and the standalone version and I posted the output there on my blog and couldn't reproduce this.

That definitely doesn't mean there's not a problem though. I just don't know what it is yet and I can't personally reproduce it but someone else is getting it too so you're definitely not crazy! I am going to keep gathering information and see what other reports are coming in. I have the feeling this is a Microsoft / Mojang bug in the newer version (especially from your rollback tests).

I'll keep investigating here!

@TheRemote
Copy link
Owner

Can you try again with the latest version? I've just pushed some changes related to new dependencies that I think may resolve this. Simply do a:

docker pull 05jchambers/legendary-bedrock-container:latest

and try running again here!

@n1van
Copy link
Author

n1van commented Jul 15, 2022

Hi
Line 1 in log file "bedrock_server: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory"

@TheRemote
Copy link
Owner

You are very fast! I just got that on my Pi too and barely just uploaded an image (like literally 30 seconds ago) to test to make sure I got that one (and see if there's any more)!

@TheRemote
Copy link
Owner

TheRemote commented Jul 15, 2022

Oh yay, now I'm geting a libkrb5support.so.0, I thought I did that one already.

I think Microsoft must have let an intern go crazy with the linker on this build or something. I almost wonder if it's a mistake.
These dependencies aren't even listed in the ldd for the application.

I'm half tempted to copy the entire x86_64-linux-gnu folder over but it would bloat the image if it's not only the ones it needs so it's kind of a painstaking process! Build to fix libkrb5support.so.0 is going up now and we'll see what other surprise dependencies pop up!

@TheRemote
Copy link
Owner

Okay, that finally got it for me on that last one. Can you try pulling the latest one more time?

@n1van
Copy link
Author

n1van commented Jul 15, 2022

Thanks
It worked
[2022-07-15 08:15:15] NO LOG FILE! - setting up server logging...
[2022-07-15 08:15:15] [2022-07-15 08:15:15:294 INFO] Starting Server
[2022-07-15 08:15:15] [2022-07-15 08:15:15:296 INFO] Version 1.19.10.03
[2022-07-15 08:15:15] [2022-07-15 08:15:15:296 INFO] Session ID 986fada6-7549-492b-a65d-fa2d39aa19d8
[2022-07-15 08:15:15] [2022-07-15 08:15:15:314 INFO] Level Name: Bedrock level
[2022-07-15 08:15:15] [2022-07-15 08:15:15:336 INFO] Game mode: 0 Survival
[2022-07-15 08:15:15] [2022-07-15 08:15:15:337 INFO] Difficulty: 1 EASY
[2022-07-15 08:15:16] [2022-07-15 08:15:16:848 INFO] opening worlds/Bedrock level/db
[2022-07-15 08:15:30] [2022-07-15 08:15:30:719 INFO] IPv4 supported, port: 19132
[2022-07-15 08:15:30] [2022-07-15 08:15:30:723 INFO] IPv6 not supported
[2022-07-15 08:15:33] [2022-07-15 08:15:33:139 INFO] Server started.
[2022-07-15 08:15:33] [2022-07-15 08:15:33:195 INFO] ================ TELEMETRY MESSAGE ===================
[2022-07-15 08:15:33] [2022-07-15 08:15:33:195 INFO] Server Telemetry is currently not enabled.
[2022-07-15 08:15:33] [2022-07-15 08:15:33:196 INFO] Enabling this telemetry helps us improve the game.
[2022-07-15 08:15:33] [2022-07-15 08:15:33:196 INFO]
[2022-07-15 08:15:33] [2022-07-15 08:15:33:196 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-07-15 08:15:33] [2022-07-15 08:15:33:196 INFO] to the server.properties file in the handheld/src-server directory
[2022-07-15 08:15:33] [2022-07-15 08:15:33:196 INFO] ======================================================
[2022-07-15 08:15:33] [2022-07-15 08:15:33:240 INFO] IPv4 supported, port: 46572
[2022-07-15 08:15:33] [2022-07-15 08:15:33:240 INFO] IPv6 not supported
[2022-07-15 08:17:08] [2022-07-15 08:17:08:516 INFO] Player connected: Hurtqwerty775, xuid: 2535428771174895

@n1van
Copy link
Author

n1van commented Jul 15, 2022

standalone version is not installed

ubuntu@n1va:~$ 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
100 1735Don't forget to set up port forwarding on your router!  The default port is 19132
0  100 17350    0     0  1303k      0 --:--:-- --:--:-- --:--:-- 1303k
bash: line 198: syntax error near unexpected token `else'
bash: line 198: `  else'

@TheRemote
Copy link
Owner

Awesome, thanks for testing that! I fixed the standalone syntax error here as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants