Pterodactyl Issues? Both Carbon & OxideSolved

Currently I'm using the default Rust egg that comes with pterodactyl panel. Theres a few issues at hand here. For Pterodactyl panel, i'm getting the following errors when copying a base. I can paste just fine on oxide and carbon.

Carbon:

Failed to execute OnFrame callback (Access to the path "/home/container/carbon/data/copypaste/Hard001.json" is denied.)
   at new System.IO.FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool anonymous, FileOptions options) x 2
   at new System.IO.StreamWriter(string path, bool append, Encoding encoding, int bufferSize) x 2
   at void System.IO.File.WriteAllText(string path, string contents)
   at void Oxide.Core.Configuration.DynamicConfigFile.Save(string filename)
   at DynamicConfigFile Oxide.Core.DataFileSystem.GetDatafile(string name)
   at void Oxide.Plugins.CopyPaste.CopyLoop(CopyData copyData) in /home/container/carbon/plugins/CopyPaste.cs:line 504
   at void Oxide.Plugins.CopyPaste.CopyLoop(CopyData copyData)+() => { } in /home/container/carbon/plugins/CopyPaste.cs:line 499
   at void Carbon.Managers.CarbonProcessor.Update()​

Oxide:
Exception while calling NextTick callback (UnauthorizedAccessException: Access to the path "/home/container/oxide/data/copypaste/test.json" is denied.)
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <4889cca7f3644a7fa341501beb4caacb>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <4889cca7f3644a7fa341501beb4caacb>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <4889cca7f3644a7fa341501beb4caacb>:0 
  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <4889cca7f3644a7fa341501beb4caacb>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <4889cca7f3644a7fa341501beb4caacb>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.Save (System.String filename) [0x0003f] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 
  at Oxide.Core.DataFileSystem.GetDatafile (System.String name) [0x0001a] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 
  at Oxide.Plugins.CopyPaste.CopyLoop (Oxide.Plugins.CopyPaste+CopyData copyData) [0x001e9] in <98c7f2f5e2174847b13b736d86a7631e>:0 
  at Oxide.Plugins.CopyPaste+<>c__DisplayClass31_0.<CopyLoop>b__0 () [0x00000] in <98c7f2f5e2174847b13b736d86a7631e>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 ​

Then I thought to myself, ok, so maybe its an issue with pterodactyl. So I tried it out on my local servers (running on windows), and Carbon is giving an error of "Couldn't find the player" when pasting a base. On oxide in my local environment, i'm able to use the plugin without any issues. Copy and pasting both work.

Not really sure where to go from here. I'm going to test some more things, using a different egg on pterodactyl to see if i can't get it to work, and if theres any updates i'll be sure to post them.

If you could reach out via Discord to help get this issue resolved a bit quicker, thatd be awesome: @BippyMiester

I got it to run on oxide using my custom pterodactyl egg, which is weird, cause i only changed some variables and stuff like that. Here's the link for it.

https://codefling.com/tools/custom-rust-pterodactyl-egg

Its using the same yolk as the default rust egg, so I'm not thinking that this is a docker container file/folder permissions issue.

Merged post

Ok, so somehow i fixed it. I believe the installation was screwed up. I tried again after a while with the default egg on both carbon and oxide, and it worked. So if anyone else comes across this, try to delete the server, and reinstall it. It should work.

I'm getting the same "Couldn't find the player" message ingame when trying to copy or paste. If i only type /copy i get a syntax with all commands but none of them work.

This is what i'm getting on my console: Failed GetStorage<BasePlayer>(players, players_playerfilterpl): Specified cast is not valid.

I tried everything but nothing works to fix this problem. 

Locked automatically