Setting up a ECO server on Ubuntu (other linux is probably very similar)



  • I cant see that the map is not working. In version 6.3.0 is the web map working. The only thing which is not working are the layers, but this is also in windows server not perfectly working


  • Dev Tier

    @ModdyLP said:

    I cant see that the map is not working. In version 6.3.0 is the web map working. The only thing which is not working are the layers, but this is also in windows server not perfectly working

    Yes I tracked down the map bug in version 6.2. it's should be mostly working now.



  • I just set this up on a fresh Ubuntu server and it all seems to go well but it seems to just sit at "Server Initialisation finished" and do nothing else.. Any ideas? Thanks

    Managed to get it to go further using the Staging server version but then after it tries to save the world i get this error

    [ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Protocol option not supported


  • Dev Tier

    When you say save the world can you explain... Also the build time is 50% slower on Linux vs windows so after you see finished you have to wait for building chunks to finish. Depending on world size this can take up to an hour.



  • Thanks for the reply. :)
    It does this and then seems to crash, Here's a bit more of what it was doing at the time.

    [36:38] Initializing world layers...
    [37:30] Computing encasement... Finished in 49,818.6ms
    [37:30] Calculating chunk encasement...
    [37:37] Freezing... Finished in 7,569.0ms
    [37:46] Saving...
    System.Net.Sockets.SocketOptionName 0x17 is not supported at IP level
    [37:47] Server Initialization finished in 136,791.9ms
    [ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Protocol option not supported


  • Dev Tier

    Please run mono -V and give your output.



  • Mono JIT compiler version 5.8.0.22 (tarball Sat Oct 21 01:32:41 UTC 2017)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS: __thread
    SIGSEGV: altstack
    Notifications: epoll
    Architecture: amd64
    Disabled: none
    Misc: softdebug
    LLVM: supported, not enabled.
    GC: sgen (concurrent by default)


  • Dev Tier

    Well that looks good. Are you on the discord by chance?



  • I'm in the Eco discord yeah


  • Dev Tier

    Give me about 10-15 and I'll jump on ok



  • Ok thanks :)


  • Dev Tier

    I'm in voice chat if your on discord.



  • @kicker22004 ok, i can't do voice chat at the moment though.


  • Dev Tier

    hmm when is a good time for you? It just makes it easier to assist so we don't fill up this chat. Lets chat in discord support section k.


  • Dev Tier

    The instructions in this post worked for me to set up a Eco server on Ubuntu 17.10.

    Notes:

    1. When installing the beta version of Mono (from link: http://www.mono-project.com/download/beta/#download-lin )

      At the time of writing, the instructions there are for Ubuntu 16.04, 14.04, and 12.04.

      On Ubuntu 17.10, I followed the instructions for Ubuntu 16.04, which worked despite not being for 17.10.

    2. There's a known bug with tooltips on the Linux server:

      https://github.com/StrangeLoopGames/EcoIssues/issues/2084

      This bug is still present in 0.7.0.4 - it's annoying, but doesn't pose a serious obstacle to running a Linux server.

    Additional to this, all configuration changes must be done manually to the files in the Configs/ folder, as the GUI configuration editor doesn't work on Linux.

    I would suggest:

    • Configs/Backup.eco - change the backup period from 4-hourly to 1-hourly, with 48 backups retained.
    • Configs/Network.eco - add a Description line.
    • Configs/Users.eco - add yourself to the Admins list. (Use your Strange Loop Games id - i.e. slg12345.)


  • @lws said:

    Description

    Actually I am having the same issues with Ubuntu 16.04.3 and Mono 5.8.0.108

    What I found out is, that if you precreate a world locally on your windows PC, copy it over and then start the server, it surely will work.



  • Hmmm .. I have start the local on my PC the eco server unter Linux Mint 18.3 with mono 5.8.0.108 and become this

    https://paste.md-5.net/yuvajowaya.xml

    which mono version must installed, the dev or completed ?


  • Dev Tier

    Seems I should visit this forum more often :P. Hey guys if your running debian based you should look into my tool ELSM.

    https://github.com/kicker22004/ECO_LINUX_SERVER_MANAGER

    Video guide: https://youtu.be/NHfhYW5RJcQ



  • @kicker22004

    Debian 9 with Google Cloud. I get to the part in your video where you say "hit Back" to load the world and it starts throwing this error image.png

    I installed lsof and retried running ELSM and it had me just stop and start the server again. Going to check if it works.

    Edit2 Electric boogaloo: I threw in a firewall rule each for ingress and egress with the Google Cloud stuff and was finally able to connect. It seems to work! Thank you so much for making this.



  • I tried the ELSM today and got the following error on server startup:

    --BEGIN DUMP--
    Dump Time
    02/17/2018 19:57:25

    Exception
    System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Newtonsoft.Json.JsonSerializationException: Could not create an instance of type Eco.WorldGenerator.ITerrainModule. Type is an interface or abstract class and cannot be instantiated. Path 'TerrainModule.Modules[1].Modules[0].Default', line 76, position 22. -- Full dump: Crash AggregateException 02175725.ecodmp

    I tried 7.1.1 and 7.1.2.
    Is this a mono-related error or did I forgot something? :D