1. Hello. I have a problem with plugins.
    I updated :
    Oxide 2.0.1818
    All Plugins
    System Ubuntu 12.04 LTS
    The logs show errors:
    Code:
    23:47 [Warning] CallHook 'cmdClan' on plugin 'HWClans v1.3.1' took: 2961ms
    23:47 [Info] [Better Chat] [Player] wiktorex7771: siema
    23:48 [Error] Failed to call hook 'cmdClan' on plugin 'HWClans v1.3.1' (UnauthorizedAccessException: Access to the path "/home/hwserver/serverfiles/oxide/data/ClansData.json" is denied.)
    23:48 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[List`1] (System.Collections.Generic.List`1 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.WriteObject[List`1] (System.String name, System.Collections.Generic.List`1 Object, Boolean sync) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HWClans.SaveClans () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HWClans.cmdClan (.PlayerSession session, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HWClans.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    23:48 [Warning] CallHook 'cmdClan' on plugin 'HWClans v1.3.1' took: 1174ms
    00:09 [Warning] CallHook 'OnPlayerConnected' on plugin 'ReservedNames v0.0.8' took: 723ms
    00:12 [Info] [Better Chat] [Player] BrzozaKwik: lag ?
    00:12 [Warning] CallHook 'OnPlayerChat' on plugin 'BetterChat v1.1.3' took: 4914ms
    00:13 [Info] [Better Chat] [GM] Szymi: ta
    00:13 [Warning] CallHook 'OnPlayerChat' on plugin 'BetterChat v1.1.3' took: 1537ms
    00:13 [Warning] CallHook 'getClanTag' on plugin 'HWClans v1.3.1' took: 1160ms
    00:13 [Info] [Better Chat] [Grab] wiktorex7771: ta !!!
    00:13 [Warning] CallHook 'OnPlayerChat' on plugin 'BetterChat v1.1.3' took: 3377ms
    00:14 [Info] [Better Chat] [Grab] wiktorex7771: jaki lag
    00:16 [Warning] CallHook 'CommandHome' on plugin 'ExtTeleport v1.0.1' took: 16445ms
    16:47 [Error] Failed to call hook 'cmdClan' on plugin 'HWClans v1.3.1' (UnauthorizedAccessException: Access to the path "/home/hwserver/serverfiles/oxide/data/ClansData.json" is denied.)
    16:47 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[List`1] (System.Collections.Generic.List`1 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.WriteObject[List`1] (System.String name, System.Collections.Generic.List`1 Object, Boolean sync) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HWClans.SaveClans () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HWClans.cmdClan (.PlayerSession session, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HWClans.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    17:50 [Error] Failed to call hook 'CmdPm' on plugin 'PrivateMessage v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    17:50 [Debug]   at Oxide.Plugins.PrivateMessage.GetSession (.PlayerSession playerDoingPM, System.String identifier) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PrivateMessage.CmdPm (.PlayerSession session, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PrivateMessage.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    
    I have second server with system Debian 8.0 the same plugins and there is no problem.

    What's the problem?

    Sorry translated translator.
     
  2. I don't usually mess with Ubuntu, but it seems that there is a problem with permissions on the Data folder, try completely reinstalling the plugin or giving the Data folder full control to all users. Don't really know if that'll work...
     
  3. Wulf

    Wulf Community Admin

    That would be the issue. It's basically saying that the permissions are not correct, and the user that the server is running under is not allowed to write there.
     
  4. rights files 644

    Last error log :

    Code:
    21:44 [Info] Unloaded plugin AdminTools v1.2.5 by Noviets
    21:44 [Info] Loaded plugin AdminTools v1.2.5 by Noviets
    21:44 [Error] AdminTools v1.2.5: Failed to save config file (does the config have illegal objects in it?) (Access to the path "/home/hwserver/serverfiles/oxide/config/AdminTools.json" is denied.)
    21:44 [Error] Failed to call hook 'GodmodeCommand' on plugin 'AdminTools v1.2.5' (UnauthorizedAccessException: Access to the path "/home/hwserver/serverfiles/oxide/data/AdminTools/Godlist.json" is denied.)
    21:44 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[List`1] (System.Collections.Generic.List`1 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.WriteObject[List`1] (System.String name, System.Collections.Generic.List`1 Object, Boolean sync) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdminTools.SaveGodlist () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdminTools.GodmodeCommand (.PlayerSession session, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdminTools.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  5. Wulf

    Wulf Community Admin

    Same thing, the folder they are under needs to be 744 or 755 or set the the same user the server is ran under.
     
  6. Okay. On the server, you can not sow Pitcher Seeds? Still wirtes incorrect location all over the map.