Open ghost opened 7 years ago
Make sure you have installed mono completely.
So, not just mono-runtime but devel as well.
Fixed it. I was missing mono-devel :). Thank you very much
I now get this looped as output:
at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.get_Item (string) <0x00024>
at System.Data.Common.DbConnectionStringBuilder.TryGetValue (string,object&) <0x0004a>
at MySql.Data.MySqlClient.MySqlConnectionStringOption1.GetValue (MySql.Data.MySqlClient.MySqlConnectionStringBuilder) <0x00037> at MySql.Data.MySqlClient.MySqlConnectionStringOption
1.GetObject (MySql.Data.MySqlClient.MySqlConnectionStringBuilder) <0x0001b>
Hmmm, is this the full exception log?
Sorry for the late answer. Yes. It loops that around 100 times before I stop it.
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