Jump to content
ich777

[Support] ich777 - Gameserver Dockers

2114 posts in this topic Last Reply

Recommended Posts

1 hour ago, ich777 said:

Have you even tried my command?

I think you should never use anything else than $SERVER_DIR (/serverdata/serverfiles) as the install directory

I honestly thought that $SERVER_DIR was a place holder for whatever my dir was. My apologies, I misunderstood you.

I tried the command that you had suggested. This was the output:

 

Steam>root@Tower:~# docker exec -it Left4Dead2 sh
# ${STEAMCMD_DIR}/steamcmd.sh +login anonymous +force_install_dir ${SERVER_DIR} +workshop_download_item 222860 2032670332 +quit
Redirecting stderr to '/root/Steam/logs/stderr.txt'
/tmp/dumps is not owned by us - delete and recreate
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API.../data/src/clientdll/applicationmanager.cpp (4149) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
/data/src/clientdll/applicationmanager.cpp (4149) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
/data/src/clientdll/applicationmanager.cpp (4312) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
OK.

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
/data/src/clientdll/applicationmanager.cpp (4312) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
Downloading item 2032670332 ...
ERROR! Download item 2032670332 failed (No match).#   

 

Is it not finding the workshop item? I'm certain that I have the correct ID number for the workshop item. For context, here is workshop item I'm trying to install:
https://steamcommunity.com/sharedfiles/filedetails/?id=2032670332&searchtext=helms

Edited by ss1gohan13
Extra context and info

Share this post


Link to post
11 minutes ago, ss1gohan13 said:

I honestly thought that $SERVER_DIR was a place holder for whatever my dir was. My apologies, I misunderstood you.

I tried the command that you had suggested. This was the output:

 

Steam>root@Tower:~# docker exec -it Left4Dead2 sh
# ${STEAMCMD_DIR}/steamcmd.sh +login anonymous +force_install_dir ${SERVER_DIR} +workshop_download_item 222860 2032670332 +quit
Redirecting stderr to '/root/Steam/logs/stderr.txt'
/tmp/dumps is not owned by us - delete and recreate
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API.../data/src/clientdll/applicationmanager.cpp (4149) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
/data/src/clientdll/applicationmanager.cpp (4149) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
/data/src/clientdll/applicationmanager.cpp (4312) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
OK.

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
/data/src/clientdll/applicationmanager.cpp (4312) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
Downloading item 2032670332 ...
ERROR! Download item 2032670332 failed (No match).#   

 

Is it not finding the workshop item? I'm certain that I have the correct ID number for the workshop item. For context, here is workshop item I'm trying to install:
https://steamcommunity.com/sharedfiles/filedetails/?id=2032670332&searchtext=helms

I would do it this way:

 

  1. Connect to your server via SSH or open the web terminal window.
  2. Type in 'docker exec -ti Left4Dead2 /bin/bash'
  3. Type in '$USER' <- I think this part you forgot to type in and that's also important so that you are the user 'steam' and not 'root'
  4. And then give the command a try '${STEAMCMD_DIR}/steamcmd.sh +login anonymous +force_install_dir ${SERVER_DIR} +workshop_download_item 550 2032670332 +quit'

I think the right app id for L4D2 is: 550 Click

222860 is the dedicated server itself

Share this post


Link to post
10 minutes ago, ich777 said:

I would do it this way:

 

  1. Connect to your server via SSH or open the web terminal window.
  2. Type in 'docker exec -ti Left4Dead2 /bin/bash'
  3. Type in '$USER' <- I think this part you forgot to type in and that's also important so that you are the user 'steam' and not 'root'
  4. And then give the command a try '${STEAMCMD_DIR}/steamcmd.sh +login anonymous +force_install_dir ${SERVER_DIR} +workshop_download_item 550 2032670332 +quit'

I think the right app id for L4D2 is: 550 Click

222860 is the dedicated server itself

Thank you very much for the assistance with this! I am very new to all of this and still am struggling.

I've opened the web terminal window and typed in 'docker exec -ti Left4Dead2 /bin/bash' and pushed enter. After doing that, I know see 'root@62f1d9651aaa:'


Where do I need to type in the '$USER'? If I enter '$USER' here, and push enter, I'm prompted with a command error. If I run '${STEAMCMD_DIR}/steamcmd.sh +login anonymous +force_install_dir ${SERVER_DIR} +workshop_download_item 550 2032670332 +quit' it appears to begin downloading and then prompts me a timeout error eventually. 

Share this post


Link to post
6 minutes ago, ss1gohan13 said:

Where do I need to type in the '$USER'?

Oh sorry my fault, don't read two different threads at the same time... :D

The right command would be 'su $USER'

 

7 minutes ago, ss1gohan13 said:

it appears to begin downloading and then prompts me a timeout error eventually. 

Try it with the right user account, because if you don't type in su $USER it could mess up privileges and such... :P

Share this post


Link to post
2 minutes ago, ich777 said:

Oh sorry my fault, don't read two different threads at the same time... :D

The right command would be 'su $USER'

 

Try it with the right user account, because if you don't type in su $USER it could mess up privileges and such... :P

I made progress! Still getting a timeout error though:

 

steam@62f1d9651aaa:/$ ${STEAMCMD_DIR}/steamcmd.sh +login anonymous +force_install_dir ${SERVER_DIR} +workshop_download_item 550 2032670332 +quit
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
/tmp/dumps is not owned by us - delete and recreate
Unable to delete /tmp/dumps. Continuing anyway.
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
Downloading item 2032670332 ...Warning: failed to init SDL thread priority manager: SDL not found

ERROR! Download item 2032670332 failed (Timeout).

Share this post


Link to post
2 minutes ago, ss1gohan13 said:

ERROR! Download item 2032670332 failed (Timeout).

Then there is an error with the connection, there I really can't help, have you somewhere installed PiHole or something else?

 

This has something to do with Steam or your network itself but there I can't really help...

Share this post


Link to post
7 minutes ago, ich777 said:

Then there is an error with the connection, there I really can't help, have you somewhere installed PiHole or something else?

 

This has something to do with Steam or your network itself but there I can't really help...

I did just RECENTLY install PiHole. I can try temp disabling it and trying again

Share this post


Link to post
3 minutes ago, ss1gohan13 said:

I did just RECENTLY install PiHole. I can try temp disabling it and trying again

Don't know if that's really the problem but at least try it. ;)

 

One recommendation would be to also try another mod.

Sorry but there my knowlege ends because this is more a network or Steam problem than a problem with the container itself.

But I think you now got how this works ;)

Share this post


Link to post
4 minutes ago, ich777 said:

Don't know if that's really the problem but at least try it. ;)

 

One recommendation would be to also try another mod.

Sorry but there my knowlege ends because this is more a network or Steam problem than a problem with the container itself.

But I think you now got how this works ;)

I sincerely appreciate the assistance!

Can I also side bar a question related to this? If I had this workshop mod already installed on my L4D2 client, could I copy the core files and customize a config file to permit access as well? I know it's not a container question, but the thought came up :P

Thank you again!

Share this post


Link to post
8 minutes ago, ss1gohan13 said:

Can I also side bar a question related to this? If I had this workshop mod already installed on my L4D2 client, could I copy the core files and customize a config file to permit access as well?

Puh... :D

Think so, but don't count on that... :P

Share this post


Link to post
On 10/16/2020 at 8:06 PM, Morikami said:

 

Hey there,

 

first thank u a lot for sharing ur xml files and also ich777 for all the Docker containers. They helped me extremly. Going crazy for 2 days cause i could not get multiple servers running.

 

But now to my question. How can i change the dynamicconfig.ini? If i want a higher harvesting rate for example. If i want to save it, i cant overwrite the existing one. 

Second how can i add Mods now? do i need to write into every GameUserSettings "ActiveMods=849372965,895711211,1831041877,1891446920,1999447172" or is there an easier option for that?

I do my dynamicconfig.ini editing from an ssh shell as root ... which I know I probably shouldn’t ;). I looked and the permissions on the file are 0770. So you have two choices there, ether use a shell on the host or “chmod o+rw” on the file then you could edit it from the app data share. I will update the docker container to add the permissions on the default file so that it can be edited in the app data share tomorrow.

 

The way I set it up you will have to make changes to each config. But any mods will only have to be downloaded once. I wanted to be able to have different settings by server. There isn’t any reason you couldn’t put soft links in the 2-10 config directories pointed at the 1 folder... but ark does write to its config file too so you would then end up with a bunch of redundant lines and other garbage all in the one config file.

 

i am working on automating the update of mods, right now it is a manual process of downloading them and then placing them in the content/mods folder.

Share this post


Link to post
1 hour ago, Cyd said:

 

i am working on automating the update of mods, right now it is a manual process of downloading them and then placing them in the content/mods folder.

Can you do me. a favour and tell me if it would be enough if I make a variable where you could put in the workshop contemt numbers and the container downloads it at the start like the Conan Exiles container does?

Share this post


Link to post
8 hours ago, ich777 said:

Can you do me. a favour and tell me if it would be enough if I make a variable where you could put in the workshop contemt numbers and the container downloads it at the start like the Conan Exiles container does?

If i understand what you're saying, this would be amazing.

Share this post


Link to post
On 10/17/2020 at 11:32 AM, ich777 said:

Don't know if that's really the problem but at least try it. ;)

 

One recommendation would be to also try another mod.

Sorry but there my knowlege ends because this is more a network or Steam problem than a problem with the container itself.

But I think you now got how this works ;)

Hey ich777!

 

I was doing some more research into my SDL issue I was having and some other people were suggesting that SDL needed to be installed. Could this be true? How would I go about updating/installing SDL?

Share this post


Link to post
8 hours ago, ss1gohan13 said:

How would I go about updating/installing SDL?

I don't think that would solve the issue, who said that?

This is just a warning that you are seeing in the logs and not relevant for SteamCMD.

 

But you can try it by opening a console for the container (be sure to be root) and type in:

  1. apt-get update
  2. apt-get -y install libsdl2-2.0-0

Share this post


Link to post
On 10/18/2020 at 12:18 AM, ich777 said:

Can you do me. a favour and tell me if it would be enough if I make a variable where you could put in the workshop contemt numbers and the container downloads it at the start like the Conan Exiles container does?

I looked at the code block in the conan, I think it would, salted to taste anyway. ark handles mod IDs differently than conan but i think we can get it figured out ;) 

Share this post


Link to post
19 minutes ago, Cyd said:

I looked at the code block in the conan, I think it would, salted to taste anyway. ark handles mod IDs differently than conan but i think we can get it figured out ;) 

A little bit more explanation would be helpfull how does ARK handle the workshop ID's differnetly since it's downloaded through SteamCMD?

Share this post


Link to post

Hopefully this isn't more confusing.  For Conan Exiles mods, its supposed to be able to just use the mods file name in a text file, each mod on its own line.  I've had issues with this part in the past, idk if they fixed it.  There are 2 other alternatives to this, 1. mapping the exact location in the folder, (ie on windows c:\servers\conan exiles\mods\mod.pak) Example is not accurate path.  2. mapping the full steam workshop link (ie. https://steamcommunity.com/sharedfiles/filedetails/?id=880454836)  IIRC this is being run with WINE, however I've never dealt with WINE, I am assuming that it uses the same setup as windows for pathing?  IMO if the text file works, that would probably be the best option.  With all this being said, I haven't run a CE server in around a year-ish.

Share this post


Link to post

having an issue spinning up a terraria+tshock server

im getting this error out of the gate.

"Cannot open assembly 'TerrariaServer.exe': No such file or directory." i verified that inside the docker is the following folder "deploy" and that folder has the TerrariaServer.exe file present. 

 

 

Are there some setup instructions i missed?

Share this post


Link to post
27 minutes ago, campbebj said:

having an issue spinning up a terraria+tshock server

im getting this error out of the gate.

"Cannot open assembly 'TerrariaServer.exe': No such file or directory." i verified that inside the docker is the following folder "deploy" and that folder has the TerrariaServer.exe file present. 

 

 

Are there some setup instructions i missed?

Nice, the developers changed again something, I think they are working against me... :D

Have released a fix for this please update the container (force update) and it should start.

 

Have you tried only the Tshock container or others too?

EDIT: The others work fine... ;)

Share this post


Link to post
21 minutes ago, campbebj said:

It looks like im having issues with tmodLoader as well

 

 

Regular terraria does work fine.

What is the issue? It loads just fine on my machine.

Can you provide a log? I can't help without a log.

 

Here are the last few lines from my log:

Terraria-tModloader.log

 

Please don't ignore the wrong version number at the bottom this is a known issue...

Share this post


Link to post

I thought i had updated the thread to add the error. its no longer happening. like as though i let it retry enough times it started to work?

the errors were problems unzipping things... unsure why those happened and then went away. same sort of thing was happening with the tShock. but the errors transformed from unzip issues to the assemply not found issue mentioned above.

Share this post


Link to post
4 hours ago, campbebj said:

I thought i had updated the thread to add the error. its no longer happening. like as though i let it retry enough times it started to work?

the errors were problems unzipping things... unsure why those happened and then went away. same sort of thing was happening with the tShock. but the errors transformed from unzip issues to the assemply not found issue mentioned above.

So everything is working now?

Share this post


Link to post

no. sorry to be confusing.

terraria:

-worked right away

 

tModLoader:

-gave a bunch of zip errors for 5ish minutes and then started working

 

tshock:

-gave a bunch of zip errors AND a terrariaServer.exe error for 5ish minutes and then ONLY the zip errors disseapeared leaving the terrariaServer.exe error.

 

EDIT:

and now this morning its all working fine. what the hell......

Edited by campbebj

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.