Skip to content

[Bug]: 7DTD - copying config file [ serverconfig.xml ]: cp: option '--update' doesn't allow an argument #4700

@Scott-GMI

Description

@Scott-GMI

User story

Installing a 7DTD server the script gave error when copying the serverconfig.xml file - issue with cp command.

Game

7 Days to Die

Linux distro

RedHat 9, Other

Command

command: install

Further information

Using Rocky Linux 9

Relevant log output

Success! App '294420' fully installed.
Complete! Installing sdtdserver: SteamCMD

=================================
Was the install successful? [Y/n] Y
fetching GitHub check_gamedig.sh...OK
fetching GitHub install_config.sh...OK

Copying 7 Days To Die Configs
=================================
Copying default configs.
copying config file [ serverconfig.xml ]: cp: option '--update' doesn't allow an argument
Try 'cp --help' for more information.
FAIL
Config Locations
=================================
Config file: /home/sdtdserver/serverfiles/sdtdserver.xml (FILE MISSING)
LinuxGSM Config: /home/sdtdserver/lgsm/config-lgsm/sdtdserver
Documentation: https://docs.linuxgsm.com/configuration/game-server-config
fetching GitHub fix.sh...OK
fetching GitHub install_stats.sh...OK

LinuxGSM Stats
=================================
Assist LinuxGSM development by sending anonymous stats to developers.
Collected data is publicly available: https://linuxgsm.com/data/usage
More info: https://docs.linuxgsm.com/configuration/linuxgsm-stats
The following info will be sent:
* game server
* distro
* game server resource usage
* server hardware info
Allow anonymous usage statistics? [Y/n] Y
Information! Stats setting is now enabled in common.cfg.
fetching GitHub install_complete.sh...OK

=================================
Install Complete!

To start server type:
./sdtdserver start

fetching GitHub core_exit.sh...OK
[sdtdserver@localhost ~]$

Steps to reproduce

Tried the install twice - same error both times.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions