GithubHelp home page GithubHelp logo

Comments (16)

Lazalatin avatar Lazalatin commented on June 24, 2024 1

First thing I noticed:

  • Your configuration file says, your server data is at C:\users\root\AppData\Roaming\SpaceEngineersDedicated\Saves\SOGA-System but according to your directory screenshot it is just right at: /opt/SpaceEngineersDedicated which is mounted to C:\users\root\AppData\Roaming\SpaceEngineersDedicated.

So you have to move your SOGA-System directory into the Saves directory in order to work correctly. Try moving the world directory and try starting the server again.

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on June 24, 2024 1

This is an issue not related to the one we tried to solve here. As this would require much more investigation I would like you to open a new issue for it. But I am happy it runs now 👍

If opening the new issue please provide more information about the system, like your docker and docker-compose version.

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on June 24, 2024

Hi @TerZer!
First of all I really appreciate your contribution by opening this issue here. Thank you!

Currently this docker image has some loose ends and up until now I did not manage to make it fully usable without taking advantage of the world creation provided by the GUI, which I needed a genuine windows OS for.

Additionally this repository does not hold the actual progress of the image, as I was too lazy to provide a fully documented way to do use it and to push my latest progress to it.

I'd like to keep this issue open to inform you of my progress. I will update this repository in the next 24h and provide a more documenting README.md regarding on how to use the image properly.

EDIT: Maybe you could try running the server using the docker_v1 branch. It is tracking my latest progress on the project.

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

@Lazalatin Thank you for looking into this case and for quick deadline for fix! 👍 I will try running it and tell you about my results.

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

I tried running server using docker_v1 branch and got same results. :(

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on June 24, 2024

Hi @TerZer. I added more information to the README.md of the project. Now master and docker_v1 should be the same so the actual progress is transparent.

Regarding the title of the issue: Having no World Name to be shown normally results from not having used the correct path to the to-be-loaded world data, or from trying to generate a new world. The latter is not possible with this image until now. I opened a new issue for this case #2

I hope this helps you to successfully start your own server using this image :)

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

Thanks @Lazalatin ! But can I get more information on how and where I should put world file and what exactly to change? (I am fresh on docker and stuff like that)

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on June 24, 2024

Well, presumably you have generated the new world using the gui according to your needs, the only thing you have to do is to copy the SpaceEngineersDedicated directory as described in the README.md to a place on your serving machine. (i.e. /opt/SpaceEngineersDedicated)

Then you adjust at least the environment variables SERVER_NAME and WORLD_NAME to your liking in the docker-compose.yml file. If you experience problems with starting the file using docker-compose up you may change the version property of the file to '2', which should also do the job.

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

Hmm.. I generated world name SOGA-System. I copied that folder to /opt/SpaceEngineersDedicated then in docker-compose.yml I changed WORLD_NAME variable to SOGA-System and ran docker-compose up and I got same results. Server could not find world.

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on June 24, 2024

So let us try to do this step by step. 👍

First, have a look into /opt/SpaceEngineersDedicated/SpaceEngineers-Dedicated.cfg Look at the paths in the tags <LoadWorld> and <PremadeCheckpointPath>, do they look correct? Maybe post them here.

Here the tags from my setting (Yours should be similar):

<LoadWorld>C:\users\root\AppData\Roaming\SpaceEngineersDedicated\Saves\YourWorldName</LoadWorld>
...
<PremadeCheckpointPath>C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineersDedicatedServer\Content\CustomWorlds\Alien Planet</PremadeCheckpointPath>

Hence I have YourWorldName in my path, there should no necessity for the path to match the <WorldName> tag in the configuration. I tried it, does work nevertheless.

The PremadeCheckpointPath may use another CustomWorld, according to what you have used for generation.

Another thing that pops into my mind right now: Did you start the server once after generating it using the GUI? Some threads at reddit suppose this could be necessary.

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

/opt/SpaceEngineersDedicated/SpaceEngineers-Dedicated.cfg looks like this:
https://pastebin.com/gsFegzmX

/opt/SpaceEngineersDedicated folder looks like this:
https://gyazo.com/1bf8d58ddb2b4d09c3050e33f6d75410

docker-compose.yml looks like this:
https://pastebin.com/WXUdnxf8

I ran the server on windows, it created world successfully.

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

Okey, so I put SOGA-System folder in Saves directory and same thing: world is unable to load. Maybe my world does not have some files?
https://gyazo.com/034ebfc2107d8fe7018bccaf05426270

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on June 24, 2024

Looks alright to me, could you paste the log of the docker container here directly?

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

I could not find docker log file so I can provide you with SE server log: https://pastebin.com/NA266SAF

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on June 24, 2024

As your server log shows, I made a mistake in the sed expression in the entrypoint.sh file. The most recent version of the master branch should solve that. You may need to delete the config file beforehand to restarting the container.

from space-engineers-dedicated-ubuntu-docker-server.

TerZer avatar TerZer commented on June 24, 2024

All seems to work now! Thanks! But I get some weird messages like: https://gyazo.com/cad4a5f98766cd03c30f97dba467c316
And then I join the server it's laggy and it's unable to play (only several fps). I use VPS to run this with these specs:
8 x 3 GHz vCPUs
24576 MB RAM
and Debian 9 OS
So I assume that I have resourses for powering the server but something is wrong with that RAM allocation.

from space-engineers-dedicated-ubuntu-docker-server.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.