endstone icon indicating copy to clipboard operation
endstone copied to clipboard

[bug]Unable to start the server

Open Monarchdos opened this issue 1 year ago • 15 comments

Describe the bug Can't start the server using docker and pip.

To Reproduce docker run and endstone commands

Screenshots 2024-08-15_10-41-35 123

Monarchdos avatar Aug 15 '24 02:08 Monarchdos

This will happen if you have a server installation whose version does not match with your endstone version. An easy fix is to delete the bedrock_server/bedrock_server.exe and bedrock_server/bedrock_server. Then start endstone again to download the correct version.

wu-vincent avatar Aug 15 '24 06:08 wu-vincent

I executed the command directly in an empty folder and the server file was automatically downloaded in the correct version.

Monarchdos avatar Aug 15 '24 06:08 Monarchdos

And I'm also getting this error when I use a docker image directly.

Monarchdos avatar Aug 15 '24 06:08 Monarchdos

Can you try to run the docker image without volumn mount and see if it works?

wu-vincent avatar Aug 15 '24 06:08 wu-vincent

I tried it and it works fine, why doesn't volumn mount work?

Monarchdos avatar Aug 15 '24 07:08 Monarchdos

Same reason as i mentioned above. There must be an installation with the wrong version in your mounted folder.

wu-vincent avatar Aug 15 '24 07:08 wu-vincent

But the folder is empty.

Monarchdos avatar Aug 15 '24 07:08 Monarchdos

image This is the effect I just reproduced, I created a new folder and executed the command in this folder and it re-downloaded a correct version.

Monarchdos avatar Aug 15 '24 07:08 Monarchdos

Thanks. That's weird. I will look into it later.

wu-vincent avatar Aug 15 '24 07:08 wu-vincent

I am not able to reproduce this. Can you provide more info about your system setup?

wu-vincent avatar Aug 15 '24 21:08 wu-vincent

System: Linux xxx 4.4.0-19041-Microsoft #4355-Microsoft Thu Apr 12 17:37:00 PST 2024 x86_64 x86_64 x86_64 GNU/Linux Python: Python 3.10.12 Pip: pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

Monarchdos avatar Aug 16 '24 01:08 Monarchdos

Found a new problem, can't start the server even under Windows. image

Monarchdos avatar Aug 16 '24 11:08 Monarchdos

You should've also got an error message box in the meantime. What did it say?

wu-vincent avatar Aug 16 '24 15:08 wu-vincent

Yes, access denied. image

Monarchdos avatar Aug 16 '24 16:08 Monarchdos

That's not related to endstone. Please check your file system and make sure it has the right permissions. If it still doesn't work, you can try to use the portable version from the release page.

wu-vincent avatar Aug 16 '24 16:08 wu-vincent

I'm going to close it for now but please feel free to reopen it. Thanks. 👍

wu-vincent avatar Aug 23 '24 14:08 wu-vincent