Comments (9)
Post the output of docker logs csgo-ds
please
from csgo.
If everything had went as planned there should've been another output from my plugin:
--> blah plugin loaded
from csgo.
Yeah, looks like the image didn't download metamod or sourcemod. Did the bind mount location have any files in it before the first launch of your container?
Metamod and sourcemod only gets downloaded if the entry.sh
can't find a server.cfg
. I should probably split that up.
https://github.com/CM2Walki/CSGO/blob/master/etc/entry.sh#L10
from csgo.
This is weird I had rebuilt the image without having changed the contents of the server folder. I imply that I thought it would already have been downloaded previously.
So I have to just delete the server.cfg?
from csgo.
Did the bind mount location have any files in it before the first launch of your container?
Yes, it had the entire server structure already in it. As I mentioned I only rebuilt the image (tbh I don't know anymore why I did).
from csgo.
So I have to just delete the server.cfg?
You can, however back it up before you do it of course. Then restart the container, that should cause metamod and sourcemod to get downloaded. After that you can replace the server.cfg
with your previous one.
EDIT: It could be that you ran a non-sourcemod csgo server before this. That's a use-case I didn't think about, I'll change the entry.sh
to take that into account.
from csgo.
Oh god now I get permission errors. I think that one is on me though as I chown
'ed the server folder to modify files. Could this cause the other issues as well?
EDIT: It could be that you ran a non-sourcemod csgo server before this. That's a use-case I didn't think about, I'll change the entry.sh to take that into account.
I am pretty sure I ran the sourcemod image. I was looking for a docker image to do my plugin development.
from csgo.
Quick update: After deleting the server.cfg
I now get the message from my plugin on load. This means metamod and sourcemod are working now. Thank you.
I think I have a clue on why it wouldn't work before. As I chown
'ed the server directory recursively the .vdf files also got owned by me (I did chmod a=rwx -R server/
also). Now that I also saw that if a server update gets downloaded the files are owned by 100999 again.
Content of server/csgo/addons/
drwxrwxrwx - michi 3 Mär 15:41 metamod
drwxrwxrwx - michi 3 Mär 15:41 sourcemod
.rw------- 50 100999 27 Mai 2014 metamod.vdf
.rw------- 58 100999 20 Dez 2017 metamod_x64.vdf
Is there a better way to manage file permissions to be able to edit (and also execute e.g. spcomp) files?
from csgo.
Related to CM2Walki/TF2#16
from csgo.
Related Issues (20)
- Issue Running Docker Image HOT 2
- esl configs are outdated HOT 5
- My server is unable to list in the CSGO Community Servers HOT 2
- Server not showing on LAN tab when running on WSL2 HOT 1
- entry.sh
- Running on OS X on Docker Desktop HOT 2
- CS2 HOT 10
- Volume owner and group HOT 1
- Getting `SteamAPI_Init() failed; create pipe failed.free(): invalid pointer` on sourcemod build HOT 5
- Container is not starting on Ubuntu 18.10 HOT 13
- Malware found in container HOT 1
- How to change the server port after created a container HOT 2
- Server suddenly not starting anymore HOT 10
- Instance is not accessible from Internet HOT 2
- 100% CPU Usage can't kill container HOT 3
- missing configuration files HOT 3
- [Feature Request] Update only execution HOT 1
- Get5 mod compatibility question HOT 1
- Container don't start with Debian 11 HOT 1
- Permission denied HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csgo.