Closed Slebby closed 3 months ago
At this point in log garrysmod loads your workshop collection. Try loading without workshop collection
Alright, I will try. Can I just remove the ID in environment variable? or I need to remove addons in the directory folder?
Edit: can i add the addons later after the server works fine?
Yes you can remove the ID from both variables. Create a new container for each test. Garrysmod loads what is in the folder. doesn't matter where it comes from.
This will not work because of how steam works:
source: /mnt/Storage1/CasaShare/garry-mod-server target: /opt/steam
unsupported behaviour. You can mount your config (ex.
/opt/steam/garrysmod/cfg/server.cfg
) or any other file or mount/opt/overlay
(which is only copied into the server but not out).
I tried doing what you said on mounting parts. The problem is that everytime I restart the server the volumes would change and download the assets again, which cause so much time just to start a same server and consume more storage. Is it intentional behaviors?
Here is what it looks like when I try to mount the file and folder according to your suggestion and from the example:
also, I tried install in a new container. The same issues still occurs.
The problem is that everytime I restart the server the volumes would change and download the assets again, which cause so much time just to start a same server and consume more storage. Is it intentional behaviors?
On restart the server updates. Do to it's nature of Garrysmod you have to update 2 packages which partially overwritting each other. But the server is not download all data. Only verify/update files. The Server downloads all files only on (re)creation.
APPS="4020 -language en,232330 -language en"
if you set this, it starts a bit faster because it skips validation
I tried to start the server with your parameters. It works on my system.
On restart the server updates. Do to it's nature of Garrysmod you have to update 2 packages which partially overwritting each other. But the server is not download all data. Only verify/update files. The Server downloads all files only on (re)creation.
Apparently, docker ends up create a new volumes for it. which make the Garrysmod download the packages again.
The unused one is the previous one (mark as red), while the other one (mark as black) is a new one that create after I restart docker or update some environment variable like this command below.
APPS="4020 -language en,232330 -language en"
here is the screenshot of it
I tried to start the server with your parameters. It works on my system.
I have tried set the env APPS="4020 -language en,232330 -language en"
as you said, the same issues still happened meaning there might be something wrong on my ends, which kinda odds since you said that it works fine on your system.
Docker should create a new volume if you create/recreate a new docker container (this happens already if you change an env variable). The Volume should be reused if you pull a newer container image.
I never used CasaOS. Sorry that i can't help you with that more. If you find anything new, let me know
No Problem, Thanks for your time. I will try another way. I appreciated your helps.
Hi, I tried to start the server but it ends up stuck at the "Network: ..." line. I believe the output should end up with VAC secure mode.
Here is the output when i start the server:
Also, here is my docker compose file (the format might be a bit confusing due to that I use CasaOS):