I just recently got amodded server running a few days ago. I am writing this post because I need a solution for the workshop item version different from server's error. I am very well aware of the cause of this is due to when you make a server with mods and a mod updates, and you try to load into your server it give you that error because you no longer have the version you started the server with. Is there anyway to lock steam workshop mods from updating.
And yes, I do know a way to fix it by deleting the mods on your workshop folder for zomboid and forcing your steam account to install that version but is there a more convenient fix to this problem. Or do I have to manually do it every time when a mod updates
#Workshop item version is different from server's
40 messages · Page 1 of 1 (latest)
my work around was to auto restart the server every 6 hours or so to pull the latest versions
Mods update virtually daily, any time a mod updates, you will need to restart the server. (Everytime you will have to do this if a mod gets an update, otherwise people joining will not be able to join).
Mods on servers do not update until the server is restarted.
You are running a new version of the mod, so you won't be able to connect until the server restarts.
#mod_support for mod related queries
is there a way to run an auto save command every 6 hours
how are you hosting it?
You can set the server to restart, it will be in your server.ini
But remember if you have it set to restart every 6 hours, you could have a mod that updates before that time period, so you would have to manually restart.
Udderly (Udderly up to date) has a mod that auto restarts the server upon detection of a mod update.
On the mod page it will tell you what you need to do to set it up.
If you are hosting with the likes of "Indifferent Broccoli", they have options for server auto restarts, but there should be an option in your Server.ini file
I'm hosting it through linux ubuntu on a seperate computer at a friends house
would it be better then to just have saves?
every 6 hours
and pick out the saves before an update
wdym
you asked me how im hosting it right
wdym by this
I have mine set up where it will auto restart every time a mod updates, but then I have a small mod list for my server.
If you have like, 100 mods, your server is going to be going up and down pretty regularly.
But 6 hours is fine, or 24 hours.
You can always restart manually when people try to join and it needs to be restarted
yeah I have a bunch of mods, so I do 6hours restarts
plus I gave my friends the ability to manually restart it
you can probably do a cronjob to do 6hour restarts
how did you give your friends the ability to restart it
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
i run it through this
kind of a pain to set up, but if you host a bunch of different servers it pays off to set it up
I have like about 300 including their dependencies and the mods that come with them
oof
yeah you are better off setting restarts at an interval then
Your server would be up and down like a yo yo
yeah two mods updated today
I figured
we're kinda just running a draft of mods for this server atm, so we can finalize the rest of the mods once I have everyone's opinions
yeah I wish you could set it up so the client downloads the mods directly from the server 
I dont exactly know how it works but the way I resolve my updated mods was I just checked my subscribed mod in pz and sorted by updated and got their mod ids
then deleted them from the workshop folder in steam on the server pc
so when I start it it forces the download from the ini file
i think there is a flag in one of the server files to auto update mods on server boot
pretty sure it's enabled by default
No need to delete or unsubscribe and re-subscribe to the mods as it is not on your side.
Steam will automatically download mods that have been updated to your files, the one that is on the server though, will never update until a restart has been performed.
Subbing and un-subbing will not do anything
Oh I see
I just have to restart the server
I'll look into it
thanks
for a hacky solution to restarting the server with cron, you can probably do something like:
set up RCON in server.ini,
install rcon-cli:https://github.com/gorcon/rcon-cli
create a restart script for the server that does something like the following:
#!/bin/bash
./rcon -a 127.0.0.1:27015 -p mypassword save
./rcon -a 127.0.0.1:27015 -p mypassword quit
./start-server.sh
then create a cronjob for that script 0 */6 * * * ./rebootpz.sh