issues: 1426576090
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1426576090 | I_kwDOBLalGM5VB9La | 3919 | New Server Setup Error: System.InvalidCastException | 6344447 | closed | 0 | 0 | 2022-10-28T03:07:43Z | 2024-03-13T17:55:01Z | 2024-03-13T17:55:01Z | NONE | <!-- IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING --> ### Bug Report or Feature Request (mark with an `x`) ``` - [ x ] bug report -> please search issues before submitting - [ ] feature request ``` ### Repro steps. Follow the steps here to setup the database using MariaDB 10.10: https://github.com/ACEmulator/ACE/wiki/ACE-Hosting Then the following steps to setup for Windows: https://github.com/ACEmulator/ACE/wiki/ACE-Hosting-Windows ### The log given by the failure. 2022-10-27 22:57:59,682 INFO : Initializing ConfigManager... 2022-10-27 22:57:59,683 INFO : Pruning invalid friends from all friend lists... 2022-10-27 22:58:00,870 INFO : Pruned 0 invalid friends found on friend lists. 2022-10-27 22:58:00,870 INFO : Automatic Server version check started... 2022-10-27 22:58:01,127 INFO : Current Server Binary: 1.48.4280.20221019161439-master-fa6fe39 2022-10-27 22:58:01,430 INFO : Latest Server Version is v1.48.4280 -- No Update Required! 2022-10-27 22:58:01,433 INFO : Automatic World Database Update started... 2022-10-27 22:58:01,477 INFO : Current World Database version: Base - v0.8.5 | Patch - v0.9.262 2022-10-27 22:58:01,652 INFO : Latest patch version is v0.9.262 -- No Update Required! 2022-10-27 22:58:01,652 INFO : Automatic World Database Update complete. Unhandled exception. System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection) at MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) at MySql.Data.MySqlClient.MySqlConnection.Open() at ACE.Server.Program.GetContentFolder() in C:\projects\ace\Source\ACE.Server\Program_DbUpdates.cs:line 153 at ACE.Server.Program.AutoApplyWorldCustomizations() in C:\projects\ace\Source\ACE.Server\Program_DbUpdates.cs:line 185 at ACE.Server.Program.Main(String[] args) in C:\projects\ace\Source\ACE.Server\Program.cs:line 205 2022-10-27 22:58:01,735 ERROR: System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection) at MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) at MySql.Data.MySqlClient.MySqlConnection.Open() at ACE.Server.Program.GetContentFolder() in C:\projects\ace\Source\ACE.Server\Program_DbUpdates.cs:line 153 at ACE.Server.Program.AutoApplyWorldCustomizations() in C:\projects\ace\Source\ACE.Server\Program_DbUpdates.cs:line 185 at ACE.Server.Program.Main(String[] args) in C:\projects\ace\Source\ACE.Server\Program.cs:line 205 ### Mention any other details that might be useful. I was able to run the server by going into the Config.js and disabling the auto update options. | {"url": "https://api.github.com/repos/ACEmulator/ACE/issues/3919/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | completed | 79078680 | issue |