1. so this is the second time this has happened (happened yesterday the first time), my server has just up and wiped, no reason, i never wiped it. logged off for an hour and when i came back on the server was wiped, this time i couldnt roll back to early in the day i had to roll back to the 1st of april (its now teh 3rd) cause once it wiped there was a game save every 5 mins and there were only 6 saves in the folder.

    i messaged the server provider to look in to any one else accessing my server and any other possibilities it might be.
    but i was wondering if it was possible for plugins to possibly be messing up and causing this to happen. maybe its not a wipe at all and a plugin messed up and deleted all the player buildings.

    no one else has admin/owner status but me that i know of... is there a way to tell who has status?
     
  2. Wulf

    Wulf Community Admin

    It's not possible for plugins to wipe your server, but it is possible for them to remove animals, sleepers, structures, etc. If your server is set to autoupdate, or your host automatically updates it, then it's likely your server was wiped due to a Rust update which changed the save version, making the old incompatible.
     
  3. nope its not set to do that, they dont have that function. and since there was no update yetserday, there wouldnt be an auto update anyways.

    the saves arent incompatible.... there is just no saves for today before the wipe happenened. i had to use a save from a few days ago.

    how can i check to see how many owners and admins are set. or maybe clear out the owners and admins and start again
     
  4. Wulf

    Wulf Community Admin

    I'd recommend checking your save interval, as it may be set too high. It's also possible your server crashed, which would mean it didn't get to save before the last save. Rust's owners/moderators are saved under server/identity/users.cfg.
     
  5. there were only 6 saves all within 5 mins, there went any from earlier than that. its been up and running all day, i dont get why it would only have 6 saves.

    good im the only person saved as owner/admin.
    how do i check the save interval?
     
  6. Wulf

    Wulf Community Admin

    Save interval is generally set via your startup parameters or server.cfg.
     
  7. my server.cfg is blank there is nothing written in there
    [DOUBLEPOST=1428048001][/DOUBLEPOST]is there supposed to be something written in the server.cfg?
     
  8. We are having similar and not the only ones, it's either an oxide issue or a server build issue
     
  9. Wulf

    Wulf Community Admin

    Only if you added commands in there. It's a replacement to your command-line parameters.
    It wouldn't be Oxide, but it could be a plugin that messes with structures, entities, etc.
     
  10. Here's an error I'm finding in the exceptions log, save related. Our auto saves also don't run....
    Code:
    [4/3/2015 10:29:13 PM] NullReferenceException: Object reference not set to an instance of an object
    BaseNetworkable.Save (.SaveInfo info)
    BaseEntity.Save (.SaveInfo info)
    BaseCombatEntity.Save (.SaveInfo info)
    StorageContainer.Save (.SaveInfo info)
    BaseEntity.SaveAll (ProtoBuf.Save save)
    SaveRestore.Save (System.String strFilename)
    SaveRestore.DoAutomatedSave ()
    SaveRestore.Save ()
    server.save (.Arg arg)
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)
    ConsoleSystem+Index+<BuildFunctions>c__AnonStorey18.<>m__1F (.Arg arg)
    ConsoleSystem+Run.Internal (.Arg arg, Boolean bWantReply)
    UnityEngine.Debug:LogException(Exception)
    Run:Internal(Arg, Boolean)
    ConsoleSystem:OnClientCommand(Message)
    ServerMgr:OnNetworkMessage(Message)
    Network.Implementation.Raknet.Server:ConnectedPacket(RaknetConnection)
    Network.Implementation.Raknet.Server:Cycle()
    ServerMgr:Update()
    [DOUBLEPOST=1428147199][/DOUBLEPOST]
    I will when I get time, it's a big list lol
    [DOUBLEPOST=1428154109][/DOUBLEPOST]It's the save plugin causing this, here's what to do to fix. Reload that plugin with oxide.reload save in the console. Then do a server.save

    Now unload that plugin with oxide.unload Save, remove it from your server until a fix is issued. Restart your server and you should be good. Make sure you do the first steps first or you'll get another wipe. I'll post to the plugin thread now.
    [DOUBLEPOST=1428157479,1428147169][/DOUBLEPOST]This method works for an hour then the auto saves stop. Saving manually with server.save works still though.
     
    Last edited by a moderator: Apr 4, 2015
  11. Wulf

    Wulf Community Admin

    I'd recommend trying without plugins that work with entities. From what @bawNg mentioned to me, it sounds like the server is trying to save one or more entities that essentially do not exist anymore. The Pets plugin would be what I'd start with, as I've seen some nasty errors come from it.
     
  12. After the saves stop working I know that doing oxide.reload * fixes it. So the next time the saves stopped working I restarted each plugin one at a time and attempted a save to narrow it down.

    I found it.... restarting the Build plugin fixed the saves. I'm unloading that for now and removing from the server... I presume it's safe to use the Save plugin and it was just affected by something to do with Build. I'll post to the Build thread now....

    This also fits with what Wulf said and about plugins that work with entities....
     
  13. I too have had a wipe that removed every single players buildings. I had only 5 saves listed all from that day the mystery wipe occurred and I do not run the save plug in. I run alot of plug ins and one of them Im seeing that most have in common is the pets plug in. I use both build and pets.
     
  14. reload build with oxide.reload Build
    Then unload it with oxide.unload Build
    Then server.save
    Then delete build from your plugin folder and restart
    Let us know if that works for you too.

    I'm pretty sure it isn't Pets
     
  15. Im probably going to remove both of them and just not use them for now. but Ill still do your steps to ensure I have a usable save.
    [DOUBLEPOST=1428231530][/DOUBLEPOST]It is a problem with the pets plug in as shown here:

    http://oxidemod.org/threads/pets.7368/page-4#post-77198
     
  16. I look at what happens with my server. An hour on and it's still autosaving.
     
  17. We've had the same problem for the last few days, had pets installed, but after removing pets and most other plugins, the problem persists.
    Players are getting cranky about daily wipes, and it's frustrating not being able to find the cause.

    Code:
    5:24 AM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    5:24 AM [Debug]   at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.proccessKitGiven (.BasePlayer player, System.String kitname, System.Collections.Generic.Dictionary`2 kitdata, Int32 kitleft) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    5:24 AM [Error] Failed to call hook 'cmdChatKits' on plugin 'Kits' (NullReferenceException: Object reference not set to an instance of an object)
    5:24 AM [Debug]   at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.proccessKitGiven (.BasePlayer player, System.String kitname, System.Collections.Generic.Dictionary`2 kitdata, Int32 kitleft) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKits (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    Is kits causing this? After this error the server crashes and kits doesn't reload, other plugins do. It keeps happening around the same time every night. According the my host, deinserverhost.de, the server experiences a memory around 3,5GB and shuts down.
     
    Last edited by a moderator: Apr 6, 2015
  18. Update your Pets Plugin http://oxidemod.org/plugins/pets.851/update?update=4307
     
  19. We're not running the pets plugin anymore, problems remain though.