Categories

Rust server crashes on startup or randomly

Created by: LOW.MS Staff

Last modified: 6th June 2023

Rust server crashing randomly or on startup? A plugin is the most likely cause

There are a number of reasons why your server might be crashing, here are a few debugging steps:

  • Firstly run the steam update as a file might have got corrupted or deleted by accident

    • If you are running Oxide/UMod ensure you update/reinstall that as well
  • Secondly check server logs

    • In the LOW.MS UI - you can click 'Log Viewer' on the left hand side to see the server.log and any Oxide logs.
    • If you are running the server yourself, you can find the server.log inside the logs folder where the server is installed
    • The Oxide log will be found in Oxide\Logs\ - for example: Oxide_2023-06-06.txt

You can find which plugins are causing errors or if a certain startup parameter is crashing the server. A example of a plugin causing a crash can be seen here:

00:00 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'PlayerGravestone v1.2.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PlayerGravestone.OnEntityTakeDamage (BaseEntity entity, HitInfo info) [0x00040] in <af7a5b7d5ae84b0ba1c0968e2389b479>:0
at Oxide.Plugins.PlayerGravestone.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a0] in <af7a5b7d5ae84b0ba1c0968e2389b479>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

The plugin PlayerGravestone is crashing the server, you can do the following: Update the plugin, disable the plugin or check over the config of the plugin to ensure it is correctly setup.

If your server is still crashing after debugging the server logs, feel free to contact us and we will help you get your server back online.

Find a mistake or want to contribute? Contact us

A Rust guide, let us know what other guides you want to see and we will get them published!

Want to know more?

We'll be happy to answer any questions you may have. Get in touch!