Skip to content
This repository was archived by the owner on Feb 13, 2018. It is now read-only.
This repository was archived by the owner on Feb 13, 2018. It is now read-only.

CoCSharp in docker and Linux VPSs #104

@ghost

Description

Everytime I've tried to run CoCSharp in docker or in a linux VPS I get this error:

root@Debian-Server-8-7:/home/cloudsigma/Release# mono CoCSharp.Server.exe

[17/03/14 - 09:36:57.822][info] - Loading config at 'server_config.xml'...
[17/03/14 - 09:36:57.930][info] - Starting server...
Missing method ToList in assembly /home/cloudsigma/Release/Newtonsoft.Json.dll, type System.Linq.Enumerable
[17/03/14 - 09:36:58.140][error] - Unable to synchronize assets with asset server.
[17/03/14 - 09:36:58.143][error] - System.TypeInitializationException: An exception was thrown by the type initializer for Newtonsoft.Json.JsonWriter ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at Newtonsoft.Json.JsonWriter..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at Newtonsoft.Json.JsonTextWriter..ctor (System.IO.TextWriter textWriter) [0x00000] in :0
at CoCSharp.Data.Fingerprint.ToJson (Boolean indent) [0x00000] in :0
at CoCSharp.Data.Fingerprint.ToJson () [0x00000] in :0
at CoCSharp.Data.AssetDownloader.DownloadAssets (System.String dstDir) [0x00000] in :0
at CoCSharp.Server.Server.SyncAssets (System.String contentPath) [0x00000] in :0
at CoCSharp.Server.Server.Start () [0x00000] in :0

root@Debian-Server-8-7:/home/cloudsigma/Release#

I have set up the mysql server correctly can can confirm that it is accessible from the server and that all the details in the server_config are right. I have also ensured the hashes of all the files match and they run on my windows machine both when using mono or when running from my linux dual-boot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions