[GH-ISSUE #2599] jq: error (at <stdin>:0): Cannot iterate over null (null) #1890

Closed
opened 2026-02-27 02:59:38 +03:00 by kerem · 15 comments
Owner

Originally created by @JasonPosterUpd on GitHub (Nov 19, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2599

Basic info

  • Distro: Ubuntu 16.04
  • Game: CS:GO
  • Command: start

Further Information

I have updated both lgsm and cs:go today and now I can't start server.
Every time I get this "server@vds111:~$ ./csgoserver start[ .... ]
Starting csgoserver: jq: error (at :0): Cannot iterate over null (null)"

Originally created by @JasonPosterUpd on GitHub (Nov 19, 2019). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2599 ## Basic info * Distro: Ubuntu 16.04 * Game: CS:GO * Command: start ## Further Information I have updated both lgsm and cs:go today and now I can't start server. Every time I get this "server@vds111:~$ ./csgoserver start[ .... ] Starting csgoserver: jq: error (at <stdin>:0): Cannot iterate over null (null)"
kerem 2026-02-27 02:59:38 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@issue-label-bot[bot] commented on GitHub (Nov 19, 2019):

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.89. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

<!-- gh-comment-id:555502613 --> @issue-label-bot[bot] commented on GitHub (Nov 19, 2019): Issue-Label Bot is automatically applying the label `type: bug` to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/GameServerManagers/LinuxGSM) and [code](https://github.com/hamelsmu/MLapp) for this bot.
Author
Owner

@dgibbs64 commented on GitHub (Nov 20, 2019):

This issue will be resolved in the next release

<!-- gh-comment-id:556209267 --> @dgibbs64 commented on GitHub (Nov 20, 2019): This issue will be resolved in the next release
Author
Owner

@mgjuhler commented on GitHub (Feb 26, 2020):

Have this bug been fixed?

Distro: Ubuntu 18.04.4 LTS
Game: csgo
LinuxGSM version: v19.12.5

lanu@csgo:~$ ./csgo27010 start
jq: error (at <stdin>:0): Cannot iterate over null (null)
jq: error (at <stdin>:0): Cannot iterate over null (null)
[ INFO ] Starting csgo27010: Check IP: 10.50.0.10
jq: error (at <stdin>:0): Cannot iterate over null (null)
[  OK  ] Starting csgo27010: Server 1
<!-- gh-comment-id:591387227 --> @mgjuhler commented on GitHub (Feb 26, 2020): Have this bug been fixed? Distro: Ubuntu 18.04.4 LTS Game: csgo LinuxGSM version: v19.12.5 ``` lanu@csgo:~$ ./csgo27010 start jq: error (at <stdin>:0): Cannot iterate over null (null) jq: error (at <stdin>:0): Cannot iterate over null (null) [ INFO ] Starting csgo27010: Check IP: 10.50.0.10 jq: error (at <stdin>:0): Cannot iterate over null (null) [ OK ] Starting csgo27010: Server 1 ```
Author
Owner

@Tobstr02 commented on GitHub (Feb 26, 2020):

I also got the problem today with Ubuntu 18.04.4 LTS
Game: ark
LinuxGSM version: v19.12.5

<!-- gh-comment-id:591556661 --> @Tobstr02 commented on GitHub (Feb 26, 2020): I also got the problem today with Ubuntu 18.04.4 LTS Game: ark LinuxGSM version: v19.12.5
Author
Owner

@EmiliaB0nes commented on GitHub (Feb 26, 2020):

I also got the problem today with Ubuntu 18.04.4 LTS
Game: ark
LinuxGSM version: v19.12.5

Did you check the permissions of the Engine/Binaries/Linux?

Try sudo chown -R arkserver:arkserver /home/arkserver/serverfiles and chmod 775 -R /home/arkserver/serverfiles/Engine/Binaries/Linux/.

For me it fixed the error.

<!-- gh-comment-id:591562423 --> @EmiliaB0nes commented on GitHub (Feb 26, 2020): > I also got the problem today with Ubuntu 18.04.4 LTS > Game: ark > LinuxGSM version: v19.12.5 Did you check the permissions of the Engine/Binaries/Linux? Try `sudo chown -R arkserver:arkserver /home/arkserver/serverfiles` and `chmod 775 -R /home/arkserver/serverfiles/Engine/Binaries/Linux/`. For me it fixed the error.
Author
Owner

@calvinsands commented on GitHub (Feb 26, 2020):

Did you check the permissions of the Engine/Binaries/Linux?

Try sudo chown -R arkserver:arkserver /home/arkserver/serverfiles and chmod 775 -R /home/arkserver/serverfiles/Engine/Binaries/Linux/.

For me it fixed the error.

This helped me to discover that I'm actually missing /home/arkserver/serverfiles/Engine/Binaries/Linux/. This problem appeared immediately after I performed an automated force-update this morning at 10am EST. Curious to know if this is actually an ARK problem, not LGSM's.

<!-- gh-comment-id:591603604 --> @calvinsands commented on GitHub (Feb 26, 2020): > Did you check the permissions of the Engine/Binaries/Linux? > > Try `sudo chown -R arkserver:arkserver /home/arkserver/serverfiles` and `chmod 775 -R /home/arkserver/serverfiles/Engine/Binaries/Linux/`. > > For me it fixed the error. This helped me to discover that I'm actually missing /home/arkserver/serverfiles/Engine/Binaries/Linux/. This problem appeared immediately after I performed an automated force-update this morning at 10am EST. Curious to know if this is actually an ARK problem, not LGSM's.
Author
Owner

@Tobstr02 commented on GitHub (Feb 27, 2020):

I also got this problem.
@calvinsands Just go on https://survivetheark.com/index.php?/forums/topic/507564-genesis-dedicated-server-error/

Just download the file(from Google Drive from sirvulcan) and load it in the right directory.
It is missing since the last patch.

ARK - Official Community Forums
Genesis dedicated server error Hello, Getting an error when launching the dedicated server on Linux: .../ShooterGame/Binaries/Linux/ShooterGameServer: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory Anyone else getting this?
<!-- gh-comment-id:591821011 --> @Tobstr02 commented on GitHub (Feb 27, 2020): I also got this problem. @calvinsands Just go on https://survivetheark.com/index.php?/forums/topic/507564-genesis-dedicated-server-error/ Just download the file(from Google Drive from sirvulcan) and load it in the right directory. It is missing since the last patch. <blockquote><img src="https://survivetheark.com/applications/core/interface/file/index.php?file=/monthly_2019_04/ARK_Logo_Mixer.jpg.a203b1040d0d82841d013479cc3effb8.jpg" width="48" align="right"><div>ARK - Official Community Forums</div><div><strong><a href="https://survivetheark.com/index.php?/forums/topic/507564-genesis-dedicated-server-error/">Genesis dedicated server error</a></strong></div><div>Genesis dedicated server error Hello, Getting an error when launching the dedicated server on Linux: .../ShooterGame/Binaries/Linux/ShooterGameServer: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory Anyone else getting this?</div></blockquote>
Author
Owner

@dgibbs64 commented on GitHub (Jul 13, 2020):

I believe this is now resolved. Please re-open if the issues returns

<!-- gh-comment-id:657593776 --> @dgibbs64 commented on GitHub (Jul 13, 2020): I believe this is now resolved. Please re-open if the issues returns
Author
Owner

@Tiscan commented on GitHub (Aug 21, 2020):

@dgibbs64

This is happening to me on a fresh install of LGSM & 7days2die.

Any thoughts on what could be causing it?

sdtd@jinnix:~$ ./sdtdserver details
jq: error (at <stdin>:0): Cannot iterate over null (null)
jq: error (at <stdin>:0): Cannot iterate over null (null)

Distro Details
=================================
Distro:    Ubuntu 20.04.1 LTS
Arch:      x86_64
Kernel:    5.4.0-42-generic
Hostname:  jinnix
Uptime:    1d, 19h, 28m
tmux:      tmux 3.0a
glibc:     2.31
<!-- gh-comment-id:678409173 --> @Tiscan commented on GitHub (Aug 21, 2020): @dgibbs64 This is happening to me on a fresh install of LGSM & 7days2die. Any thoughts on what could be causing it? ``` sdtd@jinnix:~$ ./sdtdserver details jq: error (at <stdin>:0): Cannot iterate over null (null) jq: error (at <stdin>:0): Cannot iterate over null (null) Distro Details ================================= Distro: Ubuntu 20.04.1 LTS Arch: x86_64 Kernel: 5.4.0-42-generic Hostname: jinnix Uptime: 1d, 19h, 28m tmux: tmux 3.0a glibc: 2.31 ```
Author
Owner

@UltimateByte commented on GitHub (Sep 1, 2020):

Same on 7Days to die. I believe it comes from the gathering of the config file.
Looking into it but cannot find the reason for now.

<!-- gh-comment-id:685045007 --> @UltimateByte commented on GitHub (Sep 1, 2020): Same on 7Days to die. I believe it comes from the gathering of the config file. Looking into it but cannot find the reason for now.
Author
Owner

@Robomikel commented on GitHub (Sep 6, 2020):

I am getting the same thing when running the details command.

sdtdserver@sdtdserver:~$ ./sdtdserver details
[ INFO ] Viewing details sdtdserver: Check IP: x.x.x.x
jq: error (at <stdin>:0): Cannot iterate over null (null)
jq: error (at <stdin>:0): Cannot iterate over null (null)
I also noticed the port in the details is not accurate. I tried changing the port number from default in the server /home/sdtdserver/serverfiles/sdtdserver.xml and has no effect. still shows

Server IP: x.x.x.x:2690026900269052701527020
Internet IP: 96.78.12.26:2690026900269052701527020
DESCRIPTION DIRECTION PORT PROTOCOL
> Game/RCON INBOUND 2690026900269052701527020 udp
> Query INBOUND 2690026900269052701527020 udp

Distro Details
=================================
Distro: Ubuntu 18.04.5 LTS
Arch: x86_64
Kernel: 4.15.0-115-generic
Hostname: sdtdserver
Uptime: 0d, 0h, 17m
tmux: tmux 2.6
glibc: 2.27

<!-- gh-comment-id:687689351 --> @Robomikel commented on GitHub (Sep 6, 2020): I am getting the same thing when running the details command. `sdtdserver@sdtdserver:~$ ./sdtdserver details ` `[ INFO ] Viewing details sdtdserver: Check IP: x.x.x.x ` `jq: error (at <stdin>:0): Cannot iterate over null (null) ` `jq: error (at <stdin>:0): Cannot iterate over null (null) ` I also noticed the port in the details is not accurate. I tried changing the port number from default in the server /home/sdtdserver/serverfiles/sdtdserver.xml and has no effect. still shows `Server IP: x.x.x.x:2690026900269052701527020 ` `Internet IP: 96.78.12.26:2690026900269052701527020` `DESCRIPTION DIRECTION PORT PROTOCOL` `> Game/RCON INBOUND 2690026900269052701527020 udp ` `> Query INBOUND 2690026900269052701527020 udp` `Distro Details` `=================================` `Distro: Ubuntu 18.04.5 LTS` `Arch: x86_64` `Kernel: 4.15.0-115-generic` `Hostname: sdtdserver` `Uptime: 0d, 0h, 17m` `tmux: tmux 2.6` `glibc: 2.27`
Author
Owner

@Tiscan commented on GitHub (Sep 6, 2020):

Hey, this has been discussed and fixed here.

<!-- gh-comment-id:687779980 --> @Tiscan commented on GitHub (Sep 6, 2020): Hey, this has been discussed and fixed [here](https://github.com/GameServerManagers/LinuxGSM/issues/3006).
Author
Owner

@Robomikel commented on GitHub (Sep 6, 2020):

Hey, this has been discussed and fixed here.

Nice, thanks. that worked. I thought a fix was pushed already.

If you are reading this -
Edit: /home/sdtdserver/serverfiles/sdtdserver.xml
line 13 -
Delete: " Keep it in the ranges 26900 to 26905 or 27015 to 27020 if you want PCs on the same LAN to find it as a LAN server. "
Save.
Then run the details command again.

<!-- gh-comment-id:687793036 --> @Robomikel commented on GitHub (Sep 6, 2020): > Hey, this has been discussed and fixed [here](https://github.com/GameServerManagers/LinuxGSM/issues/3006). Nice, thanks. that worked. I thought a fix was pushed already. If you are reading this - Edit: /home/sdtdserver/serverfiles/sdtdserver.xml line 13 - Delete: " Keep it in the ranges 26900 to 26905 or 27015 to 27020 if you want PCs on the same LAN to find it as a LAN server. " Save. Then run the details command again.
Author
Owner

@h3o66 commented on GitHub (Sep 13, 2020):

Closing as this is a differnt issue and the issue is discussed here: #3006

<!-- gh-comment-id:691721933 --> @h3o66 commented on GitHub (Sep 13, 2020): Closing as this is a differnt issue and the issue is discussed here: #3006
Author
Owner

@github-actions[bot] commented on GitHub (Sep 14, 2021):

This issue 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:918673055 --> @github-actions[bot] commented on GitHub (Sep 14, 2021): This issue 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#1890
No description provided.