Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kf2 server missing file #1636

Closed
dementedusa opened this issue Oct 1, 2017 · 12 comments
Closed

kf2 server missing file #1636

dementedusa opened this issue Oct 1, 2017 · 12 comments
Labels
type: bug Something isn't working

Comments

@dementedusa
Copy link

just did an install of kf2 on Ubuntu 16.04.3 LTS. when I do the start command it fails to start and says this
[ OK ] Starting kf2server:
gameservers@s94535:~/kf2server$ ./kf2server details
fetching command_details.sh...OK
grep: /home/gameservers/kf2server/serverfiles/KFGame/Config/kf2server/KFWeb.ini: No such file or directory
grep: /home/gameservers/kf2server/serverfiles/KFGame/Config/kf2server/KFWeb.ini: No such file or directory
grep: /home/gameservers/kf2server/serverfiles/KFGame/Config/kf2server/KFWeb.ini: No such file or directory
grep: /home/gameservers/kf2server/serverfiles/KFGame/Config/kf2server/KFWeb.ini: No such file or directory

@dgibbs64
Copy link
Member

dgibbs64 commented Oct 1, 2017

Yes I have noticed this as well. I am not sure why this is happening currently. I didnt get this during tests. I will investigate and resolve

@dementedusa
Copy link
Author

ok so I was messing around and trying things cause why not science. and created a KFWeb.ini file in the location it says it is not found and that stopped that error. But now it say
[ FAIL ] Starting kf2server: Unable to start NOT SET
so I am trying to google some info on how to fix and learn what the hell needs to be done

@UltimateByte
Copy link
Contributor

UltimateByte commented Oct 3, 2017

This error is LGSM related, check in info_config.sh :)

@UltimateByte UltimateByte added the type: bug Something isn't working label Oct 3, 2017
@paradoxtech
Copy link

Same here, have had to manually create KFWeb.ini but still failing to launch.

image

@dgibbs64
Copy link
Member

dgibbs64 commented Oct 6, 2017

I have figured out the issue.

All the config files are not present at first in KFGame/Config/ when downloading from SteamCMD.

To generate all required config files the server has to run without the ConfigSubDir= parm one time.

This creates all the required config files in the default location KFGame/Config/.

Once this is completed ConfigSubDir= can be added again and this will then copy all the newly generated config files to the KFGame/Config/kf2server directory.

This is really annoying and I will have to figure out the best way to do this. I may contact Tripwire to see if they can simply have the default configs in place in SteamCMD. Would save a lot of issues.

@dementedusa
Copy link
Author

good luck on getting tripwire to do anything.. The only place I can find that line of code in is the kf2server/lgsm/config-lgsm/kf2server/_default.cfg Do I just copy the file into the common.cfg and delete it there, then start, then put it back in?

@dementedusa
Copy link
Author

haha. that was correct. it worked. YAY

@ExodiusUK
Copy link

I'm still running into this issue no matter what I try :O am I missing something?

@dementedusa
Copy link
Author

dementedusa commented Oct 10, 2017

ok go to kf2server/lgsm/config-lgsm/kf2server/_default.cfg copy everything in that file and put it in /kf2server/lgsm/config-lgsm/kf2server/common.cfg search the file for ConfigSubDir= and remove ConfigSubDir= then restart the server. after that stop the server. then put ConfigSubDir= back in where you removed it. Hope this helps

@ExodiusUK
Copy link

Thank you so much :) that worked :)

@dgibbs64
Copy link
Member

This fix will be in the next release

@lock
Copy link

lock bot commented Oct 11, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants