[GH-ISSUE #1636] kf2 server missing file #1278

Closed
opened 2026-02-27 02:56:16 +03:00 by kerem · 12 comments
Owner

Originally created by @dementedusa on GitHub (Oct 1, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1636

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

Originally created by @dementedusa on GitHub (Oct 1, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1636 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
kerem 2026-02-27 02:56:16 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@dgibbs64 commented on GitHub (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

<!-- gh-comment-id:333403632 --> @dgibbs64 commented on GitHub (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
Author
Owner

@dementedusa commented on GitHub (Oct 3, 2017):

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

<!-- gh-comment-id:333719553 --> @dementedusa commented on GitHub (Oct 3, 2017): 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
Author
Owner

@UltimateByte commented on GitHub (Oct 3, 2017):

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

<!-- gh-comment-id:333810173 --> @UltimateByte commented on GitHub (Oct 3, 2017): This error is LGSM related, check in info_config.sh :)
Author
Owner

@paradoxtech commented on GitHub (Oct 4, 2017):

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

image

<!-- gh-comment-id:334106008 --> @paradoxtech commented on GitHub (Oct 4, 2017): Same here, have had to manually create KFWeb.ini but still failing to launch. ![image](https://user-images.githubusercontent.com/31586464/31169878-070075ae-a8f2-11e7-9503-706883884b0d.png)
Author
Owner

@dgibbs64 commented on GitHub (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.

<!-- gh-comment-id:334884737 --> @dgibbs64 commented on GitHub (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.
Author
Owner

@dementedusa commented on GitHub (Oct 7, 2017):

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?

<!-- gh-comment-id:334941106 --> @dementedusa commented on GitHub (Oct 7, 2017): 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?
Author
Owner

@dementedusa commented on GitHub (Oct 7, 2017):

haha. that was correct. it worked. YAY

<!-- gh-comment-id:334945467 --> @dementedusa commented on GitHub (Oct 7, 2017): haha. that was correct. it worked. YAY
Author
Owner

@ExodiusUK commented on GitHub (Oct 10, 2017):

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

<!-- gh-comment-id:335323173 --> @ExodiusUK commented on GitHub (Oct 10, 2017): I'm still running into this issue no matter what I try :O am I missing something?
Author
Owner

@dementedusa commented on GitHub (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

<!-- gh-comment-id:335331010 --> @dementedusa commented on GitHub (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
Author
Owner

@ExodiusUK commented on GitHub (Oct 10, 2017):

Thank you so much :) that worked :)

<!-- gh-comment-id:335376670 --> @ExodiusUK commented on GitHub (Oct 10, 2017): Thank you so much :) that worked :)
Author
Owner

@dgibbs64 commented on GitHub (Oct 11, 2017):

This fix will be in the next release

<!-- gh-comment-id:335944457 --> @dgibbs64 commented on GitHub (Oct 11, 2017): This fix will be in the next release
Author
Owner

@lock[bot] commented on GitHub (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.

<!-- gh-comment-id:429124299 --> @lock[bot] commented on GitHub (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.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1278
No description provided.