-
Notifications
You must be signed in to change notification settings - Fork 54
CoCSharp in docker and Linux VPSs #104
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