Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Plugins Locked While Server is Running


JoeWeems

Recommended Posts

I am doing some custom plugins leveraging the ArkApi (now AtlasApi). Plugins work that is all fine but I noticed that even if I unload the plugin I can not replace the file as it says it is locked. Best guess I had was that it is locked from "redis" but I am not seeing a feasible way to stop that temporarily to test my theory.

 

I know this might not seem pressing but as people get plugins I am sure this will become more of an issue. 

 

Thanks!

 

 

Share this post


Link to post
Share on other sites

Redis related files are locked while Redis is running. Outside of that there should only be file locks if the game service is running. You shouldn't ever modify the Redis files, there isn't really reason to.

 

If you are trying to upload an exe then it is a file restriction (exe cannot upload due to security) - please submit a support ticket and we can upload for you.

Share this post


Link to post
Share on other sites

I think you are misunderstanding. 

 

AtlasApi is a server addon that allows server admins to run plugins (similar to the oxide platform on Rust). The issue I am seeing is the .dll plugin files are locked. So when I upload a plugin and then need to change it for a new version I must shutdown the server, replace the .dll, and reload the server. As a plugin developer this is unbearable. 

 

Talking with other developers this is not an issue on their servers so I figured it was native to SurvivalServers. That being said, one of them mentioned stopping redis reloading plugin, reloading redis. I figured I'd mention it. 

 

If this cannot be resolved or an alternate solution provided please advise. I don't think I can run a server that I need to reboot over and over again while testing my plugins.

 

Thanks as always!

 

Share this post


Link to post
Share on other sites

No misunderstanding at all actually!

 

> The issue I am seeing is the .dll plugin files are locked.

 

I stated "Outside of that there should only be file locks if the game service is running." That's literally the only way those dlls would be locked. Also I don't even think those dlls would be locked. So you must be doing something wrong with your setup.

 

Further than that you can create a ticket with screenshots of error messages to diagnose what is going on.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...