Server not loading with Oxide updateFixed
FTMagic
When installing the Alpha 18 updated Umod it stops the server from loading and causes the game to upgrade to the EXP version of the game when validating the game files...
Wulf
uMod Admin
I can't produce this locally. Could you provide any details?
FTMagic
Original Poster
When trying to install it wants to over write several of the files, then the server will not allow anyone to join, it just sits at the verification screen... When you run the validate server files it will redownload the files Oxide overwrote, but also it updats the dedicated server to the Experimental version 18.1 (b5)

Myself and the IT tech at "Host Havoc" tried for 6 hours to get it to work, but no matter how we loaded it after the server was already up and running and people were able to get on, once we added the Oxide it repeated the same issue... After 7 attempts we decided to give up...
Wulf
uMod Admin
I'm not sure how you are getting 18.1, but our build is patched for 18 and can be seen when starting the server or in the log files (-logfile /path/to/log). We do not release experimental updates, and have not for over a year.

816474859a7f1e7df159e163c439ed50.png

However, there were some errors on server start that have since been fixed, but those wouldn't have affected the server from starting nor would they make your server somehow be on the experimental branch.

Please try the latest update and let me know if it resolves your issues, thanks.
Meredith
Hi, We too are having this exact problem. The server host (ServerBlend) and I had to simply uninstall Umods. We weren't working with any experimental either. Hoping to see resolution on this, would love to use Umods again. 

I should add that the problem is after we run the server after installing the mod, there are no files copied over from anywhere in the Oxide directory. I've opened the zip file to browse through it and can see a whole list of files that should be appearing in my server file, that simply aren't there. We run this mod through ServerBlend's mod launcher. They tried to update to the latest version via direct download and that wasn't working for them either. So they manually tried to install it. We just sit there at Verification with this error:
InvalidProgramException: Invalid IL code in GameManager:PlayerLoginRPC (ClientInfo,string,string,string,string): IL_045e: ret       
  at NetPackagePlayerLogin.ProcessPackage (World _world, INetConnectionCallbacks _netConnectionCallback) [0x00007] in <84cab7821ddb41c897ab84c6904d82a3>:0 
  at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection) [0x000b2] in <84cab7821ddb41c897ab84c6904d82a3>:0 
  at ConnectionManager.Update () [0x00053] in <84cab7821ddb41c897ab84c6904d82a3>:0​​
Wulf
uMod Admin
Meredith
Hi, We too are having this exact problem. The server host (ServerBlend) and I had to simply uninstall Umods. We weren't working with any experimental either. Hoping to see resolution on this, would love to use Umods again. 
That doesn't look like the same issue that this thread is about, but I'll look into that specific hook error.
Meredith
Oh, ok. Im sorry to have placed this issue in the wrong place. Just seemed similar to me with the problem. Thanks for looking at it in any case. 
Wulf
uMod Admin
Meredith
Oh, ok. Im sorry to have placed this issue in the wrong place. Just seemed similar to me with the problem. Thanks for looking at it in any case. 
Should be fixed now, thanks for the report. Please let me know if this or other issues persist, but please post in a new thread.
FTMagic
Original Poster
The server Host Havoc has installed the Oxide and has it running on the stable version, but none of the mods are loading or working... Here is what I get in the log:
19:41 [Info] Loading Oxide Core v2.0.3867...
19:41 [Info] Loading extensions...
19:41 [Error] Failed to load extension Oxide.CSharp (TypeLoadException: Could not load type of field 'System.Net.HttpWebRequest:tlsProvider' (51) due to: Could not resolve type with token 01000032 (from typeref, class/assembly Mono.Security.Interface.MonoTlsProvider, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:Mono.Security.Interface.MonoTlsProvider member:(null) signature:)
at Oxide.Plugins.PluginCompiler.CheckCompilerBinary () [0x00074] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Plugins.CSharpPluginLoader..ctor (Oxide.Plugins.CSharpExtension extension) [0x0001d] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Plugins.CSharpExtension.Load () [0x00000] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename, System.Boolean forced) [0x00168] in <4452f821def6406d834e4149849fe7ea>:0
19:41 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
19:41 [Info] Loaded extension SevenDays v2.0.3821 by Oxide and Contributors
19:41 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
19:41 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
19:41 [Info] Using Covalence provider for game '7 Days to Die'
19:41 [Info] Loading plugins...
19:41 [Info] Loaded plugin 7 Days to Die v2.0.3821 by Oxide and Contributors
19:41 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
19:42 [Error] WebRequests worker: (TypeLoadException: Could not load type of field 'System.Net.HttpWebRequest:tlsProvider' (51) due to: Could not resolve type with token 01000032 (from typeref, class/assembly Mono.Security.Interface.MonoTlsProvider, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:Mono.Security.Interface.MonoTlsProvider member:(null) signature:)
at Oxide.Core.Libraries.WebRequests.Worker () [0x00064] in <4452f821def6406d834e4149849fe7ea>:0​
Wulf
uMod Admin
FTMagic
The server Host Havoc has installed the Oxide and has it running on the stable version, but none of the mods are loading or working... Here is what I get in the log:
19:41 [Info] Loading Oxide Core v2.0.3867...
19:41 [Info] Loading extensions...
19:41 [Error] Failed to load extension Oxide.CSharp (TypeLoadException: Could not load type of field 'System.Net.HttpWebRequest:tlsProvider' (51) due to: Could not resolve type with token 01000032 (from typeref, class/assembly Mono.Security.Interface.MonoTlsProvider, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:Mono.Security.Interface.MonoTlsProvider member:(null) signature:)
at Oxide.Plugins.PluginCompiler.CheckCompilerBinary () [0x00074] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Plugins.CSharpPluginLoader..ctor (Oxide.Plugins.CSharpExtension extension) [0x0001d] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Plugins.CSharpExtension.Load () [0x00000] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename, System.Boolean forced) [0x00168] in <4452f821def6406d834e4149849fe7ea>:0
19:41 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
19:41 [Info] Loaded extension SevenDays v2.0.3821 by Oxide and Contributors
19:41 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
19:41 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
19:41 [Info] Using Covalence provider for game '7 Days to Die'
19:41 [Info] Loading plugins...
19:41 [Info] Loaded plugin 7 Days to Die v2.0.3821 by Oxide and Contributors
19:41 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
19:42 [Error] WebRequests worker: (TypeLoadException: Could not load type of field 'System.Net.HttpWebRequest:tlsProvider' (51) due to: Could not resolve type with token 01000032 (from typeref, class/assembly Mono.Security.Interface.MonoTlsProvider, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:Mono.Security.Interface.MonoTlsProvider member:(null) signature:)
at Oxide.Core.Libraries.WebRequests.Worker () [0x00064] in <4452f821def6406d834e4149849fe7ea>:0​

I'd suggest trying either a fresh install or making sure the -validate option is used when updating the server with Steam. There's a file we used to replace that we no longer replace (Mono.Security.dll) that causes that I believe.

FTMagic
Original Poster
Ok, new install on a different server host, and when installing the Oxide, it wants to overwrite files:

Assembly-CSharp.dll  (Different file size and Newer creation date)

logLibrary.dll  (Same file size older creation date)

So does this mean that I need to reinstall Qxide every time I do a steam update, or should I let the steam updates overwite the files Oxide wants to replace?
Wulf
uMod Admin
FTMagic
Ok, new install on a different server host, and when installing the Oxide, it wants to overwrite files:

Assembly-CSharp.dll  (Different file size and Newer creation date)

logLibrary.dll  (Same file size older creation date)

So does this mean that I need to reinstall Qxide every time I do a steam update, or should I let the steam updates overwite the files Oxide wants to replace?
Oxide is a direct mod, so files like Assembly-CSharp.dll will be modified when you install Oxide; if those are repleased with Steam, Oxide would be uninstalled and need to be re-installed.
FTMagic
Original Poster
OK, I have tried it again, setting up a new server via the Steam Dedicated Server on another host computer on a different network with no mods or anything else installed, then started a new game with settings:

<!-- World -->
<property name=GameWorld value="RWG" />
<property name=WorldGenSeed value="2271268" />
<property name=WorldGenSize value="8192" />
<property name=GameName value="Avalon" />
<property name=GameMode value="GameModeSurvival" />

I was able to log into the game, download the map, and spawn in...  I closed down the server, downloaded the Oxide zip file, extracted it in the 7 days 2 die folder, then restarted the server... It did create the Oxide folder with the sub folders in it...

Although the server does load up, During server startup I get this console error in red: 

ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.

Once the server is up and showing in the ingame list, it allows you to select the server, even enter the password, then goes to the connecting to server screen, then just sits there, which I tried several times as well as a few other members did... The last attempt I waited 20 mins to see if it would ever go past that to actually downloading the world, but it just hangs there on that screen... When I checked the server console, it is giving this error when someone tries to join:

2019-11-10T14:43:21 175.739 INF [NET] PlayerConnected EntityID=-1, PlayerID='', OwnerID='', PlayerName=''
2019-11-10T14:43:21 175.823 INF NPCID.Write
2019-11-10T14:43:21 176.046 INF NPPL.Read
InvalidProgramException: Invalid IL code in GameManager:PlayerLoginRPC (ClientInfo,string,string,string,string): IL_0412: ret

I stopped the server, and ran the file validation, it downloaded something and installed it, then restarted the server and did not get the same error again during startup, and now we can join the server again... I stopped the server, reinstalled the Oxide again, and had the exact same issues...

I deleted the server, reinstalled the base server with the seed 426318, and had exactly the same results...

Any ideas what I can do now?
 
Wulf
uMod Admin
Thanks for the update. I've pushed a couple changes that should address this and a couple other issues, but the build won't be available until one of the services we use for building is back online. You should see an update to the game page and notification once it is available.
FTMagic
Original Poster
Hello,
Here is an update...

I have loaded the new updated Oxide, and it loads now and people are able to join the server, also all the .CS files are creating the .json files to be edited and they are all working in the game...

I don't know if or how it effects the game in any way, but I wanted to let you know from playing the same server with the Oxide not installed as to with it installed, there is 1 red error that comes up during the server start when Oxide is installed:

ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.

Also once logging into the server I noticed it throws another red error in the console:    

NullReferenceException: Object reference not set to an instance of an object

It will then send a double error:
There are no graphs in the scene
There are no graphs in the scene


This error repeats over and over... Example below:
NullReferenceException: Object reference not set to an instance of an object
2019-11-13T16:51:03 670.598 INF GMSG: Player 'FTMagic' joined the game
2019-11-13T16:51:03 670.620 INF PlayerSpawnedInWorld (reason: JoinMultiplayer, position: -4618, 3, 593): EntityID=171, PlayerID='76561197993692089', OwnerID='76561197993692089', PlayerName='FTMagic'
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:51:06 673.217 INF Time: 9.72m FPS: 17.95 Heap: 3590.3MB Max: 3590.3MB Chunks: 289 CGO: 18 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.3MB
2019-11-13T16:51:38 705.201 INF Time: 10.22m FPS: 23.39 Heap: 3563.2MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:52:08 735.225 INF Time: 10.72m FPS: 35.67 Heap: 3565.3MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:52:38 765.275 INF Time: 11.22m FPS: 36.60 Heap: 3569.7MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:53:02 790.023 INF VehicleManager saving 0 (0 / 0)
2019-11-13T16:53:08 795.296 INF Time: 11.72m FPS: 37.56 Heap: 3576.2MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:53:40 827.335 INF Time: 12.22m FPS: 23.33 Heap: 3563.3MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:54:10 857.346 INF Time: 12.72m FPS: 36.38 Heap: 3565.8MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:54:40 887.363 INF Time: 13.22m FPS: 36.64 Heap: 3569.0MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
2019-11-13T16:55:04 912.048 INF VehicleManager saving 0 (0 / 0)
There are no graphs in the scene
There are no graphs in the scene
2019-11-13T16:55:10 917.411 INF Time: 13.72m FPS: 36.46 Heap: 3574.7MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
2019-11-13T16:55:42 949.414 INF Time: 14.22m FPS: 24.00 Heap: 3563.4MB Max: 3590.3MB Chunks: 306 CGO: 15 Ply: 1 Zom: 1 Ent: 2 (2) Items: 0 CO: 1 RSS: 5379.4MB
There are no graphs in the scene
There are no graphs in the scene​