[GH-ISSUE #4761] [Bug]: getting jq is not installed even though i do have it installed on Ubuntu server LTS #2954

Closed
opened 2026-02-27 03:06:30 +03:00 by kerem · 2 comments
Owner

Originally created by @Seedling1154 on GitHub (Feb 9, 2025).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4761

User story

not able to run the install script cause i get error jq is not installed even though i do have it installed. desired outcome is having the installer work without my work around

Game

minecraft

Linux distro

Ubuntu 24.04

Command

command: install

Further information

for a temp fix i went into vanillamcserver/lgsm/modules/update_mc.sh

just deleted this part of the script for now and it worked no issued i was able to start the mc server

if [ "$(command -v jq 2> /dev/null)" ]; then
fn_print_fail_nl "jq is not installed"
fn_script_log_fail "jq is not installed"
core_exit.sh
fi

Relevant log output

Feb 09 18:16:49.803 mcserver: INSTALL: INFO: Logs installed
Feb 09 18:16:50.148 mcserver: INSTALL: PASS: Downloading check_deps.sh...
Feb 09 18:16:50.899 mcserver: INSTALL: PASS: Checking ubuntu-24.04.csv
Feb 09 18:16:51.463 mcserver: INSTALL: PASS: Downloading ubuntu-24.04.csv...
Feb 09 18:16:54.642 mcserver: INSTALL: WARN: Missing dependencies: binutils bsdmainutils bzip2 lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 openjdk-21-jre>
Feb 09 18:16:54.765 mcserver: INSTALL: WARN: vanillamcserver does not have sudo access. Manually install dependencies or run ./mcserver install as root.
Feb 09 18:16:55.115 mcserver: INSTALL: PASS: Downloading install_server_files.sh...
Feb 09 18:16:55.461 mcserver: INSTALL: PASS: Downloading install_eula.sh...
Feb 09 18:17:10.740 mcserver: INSTALL: PASS: Downloading update_mc.sh...
Feb 09 18:17:10.855 mcserver: INSTALL: FAIL: jq is not installed
Feb 09 18:17:11.575 mcserver: INSTALL: PASS: Downloading core_exit.sh...
Feb 09 18:17:11.588 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3
Feb 09 18:17:11.591 mcserver: INSTALL: PASS: core_exit.sh exiting with code: 0
Feb 09 18:32:57.587 mcserver: CORE: PASS: Display commands
Feb 09 18:32:57.598 mcserver: CORE: INFO: LinuxGSM version: v25.1.3
Feb 09 18:32:57.601 mcserver: CORE: PASS: core_exit.sh exiting with code: 0
Feb 09 18:33:00.527 mcserver: CORE: ERROR: Unknown command: ./mcserver intall
Feb 09 18:33:00.738 mcserver: CORE: PASS: Display commands
Feb 09 18:33:00.749 mcserver: CORE: INFO: LinuxGSM version: v25.1.3
Feb 09 18:33:00.752 mcserver: CORE: PASS: core_exit.sh exiting with code: 0
Feb 09 18:33:14.824 mcserver: INSTALL: INFO: Logs installed
Feb 09 18:33:18.525 mcserver: INSTALL: WARN: Missing dependencies: bsdmainutils bzip2 openjdk-21-jre pigz unzip
Feb 09 18:33:18.647 mcserver: INSTALL: WARN: vanillamcserver does not have sudo access. Manually install dependencies or run ./mcserver install as root.
Feb 09 18:33:55.247 mcserver: INSTALL: FAIL: jq is not installed
Feb 09 18:33:55.259 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3
Feb 09 18:33:55.261 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1
Feb 09 18:35:27.958 mcserver: INSTALL: INFO: Logs installed
Feb 09 18:35:31.740 mcserver: INSTALL: INFO: Required dependencies already installed.
Feb 09 18:35:33.341 mcserver: INSTALL: FAIL: jq is not installed
Feb 09 18:35:33.353 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3
Feb 09 18:35:33.355 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1
Feb 09 18:37:58.550 mcserver: INSTALL: INFO: Logs installed
Feb 09 18:38:02.329 mcserver: INSTALL: INFO: Required dependencies already installed.
Feb 09 18:38:04.108 mcserver: INSTALL: FAIL: jq is not installed
Feb 09 18:38:04.119 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3
Feb 09 18:38:04.122 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1
Feb 09 18:42:35.741 mcserver: INSTALL: INFO: Logs installed
Feb 09 18:42:39.527 mcserver: INSTALL: INFO: Required dependencies already installed.
Feb 09 18:42:40.888 mcserver: INSTALL: FAIL: jq is not installed
Feb 09 18:42:40.900 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3
Feb 09 18:42:40.903 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1
Feb 09 18:48:04.607 mcserver: INSTALL: INFO: Logs installed
Feb 09 18:48:08.444 mcserver: INSTALL: INFO: Required dependencies already installed.
Feb 09 18:48:09.719 mcserver: INSTALL: FAIL: jq is not installed
Feb 09 18:48:09.731 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3
Feb 09 18:48:09.734 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1
Feb 09 18:54:50.912 mcserver: INSTALL: INFO: Logs installed
Feb 09 18:54:54.753 mcserver: INSTALL: INFO: Required dependencies already installed.
Feb 09 18:54:55.944 mcserver: INSTALL: FAIL: jq is not installed
Feb 09 18:54:55.956 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3
Feb 09 18:54:55.959 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1

Steps to reproduce

  1. install ubuntu server
  2. add vanillamcsever user profile
  3. run the usual linuxgsm install instructions found on the website
  4. ./mcserver install
  5. files with jq is not installed
Originally created by @Seedling1154 on GitHub (Feb 9, 2025). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4761 ### User story not able to run the install script cause i get error jq is not installed even though i do have it installed. desired outcome is having the installer work without my work around ### Game minecraft ### Linux distro Ubuntu 24.04 ### Command command: install ### Further information for a temp fix i went into vanillamcserver/lgsm/modules/update_mc.sh just deleted this part of the script for now and it worked no issued i was able to start the mc server if [ "$(command -v jq 2> /dev/null)" ]; then fn_print_fail_nl "jq is not installed" fn_script_log_fail "jq is not installed" core_exit.sh fi ### Relevant log output ```shell Feb 09 18:16:49.803 mcserver: INSTALL: INFO: Logs installed Feb 09 18:16:50.148 mcserver: INSTALL: PASS: Downloading check_deps.sh... Feb 09 18:16:50.899 mcserver: INSTALL: PASS: Checking ubuntu-24.04.csv Feb 09 18:16:51.463 mcserver: INSTALL: PASS: Downloading ubuntu-24.04.csv... Feb 09 18:16:54.642 mcserver: INSTALL: WARN: Missing dependencies: binutils bsdmainutils bzip2 lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 openjdk-21-jre> Feb 09 18:16:54.765 mcserver: INSTALL: WARN: vanillamcserver does not have sudo access. Manually install dependencies or run ./mcserver install as root. Feb 09 18:16:55.115 mcserver: INSTALL: PASS: Downloading install_server_files.sh... Feb 09 18:16:55.461 mcserver: INSTALL: PASS: Downloading install_eula.sh... Feb 09 18:17:10.740 mcserver: INSTALL: PASS: Downloading update_mc.sh... Feb 09 18:17:10.855 mcserver: INSTALL: FAIL: jq is not installed Feb 09 18:17:11.575 mcserver: INSTALL: PASS: Downloading core_exit.sh... Feb 09 18:17:11.588 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3 Feb 09 18:17:11.591 mcserver: INSTALL: PASS: core_exit.sh exiting with code: 0 Feb 09 18:32:57.587 mcserver: CORE: PASS: Display commands Feb 09 18:32:57.598 mcserver: CORE: INFO: LinuxGSM version: v25.1.3 Feb 09 18:32:57.601 mcserver: CORE: PASS: core_exit.sh exiting with code: 0 Feb 09 18:33:00.527 mcserver: CORE: ERROR: Unknown command: ./mcserver intall Feb 09 18:33:00.738 mcserver: CORE: PASS: Display commands Feb 09 18:33:00.749 mcserver: CORE: INFO: LinuxGSM version: v25.1.3 Feb 09 18:33:00.752 mcserver: CORE: PASS: core_exit.sh exiting with code: 0 Feb 09 18:33:14.824 mcserver: INSTALL: INFO: Logs installed Feb 09 18:33:18.525 mcserver: INSTALL: WARN: Missing dependencies: bsdmainutils bzip2 openjdk-21-jre pigz unzip Feb 09 18:33:18.647 mcserver: INSTALL: WARN: vanillamcserver does not have sudo access. Manually install dependencies or run ./mcserver install as root. Feb 09 18:33:55.247 mcserver: INSTALL: FAIL: jq is not installed Feb 09 18:33:55.259 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3 Feb 09 18:33:55.261 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1 Feb 09 18:35:27.958 mcserver: INSTALL: INFO: Logs installed Feb 09 18:35:31.740 mcserver: INSTALL: INFO: Required dependencies already installed. Feb 09 18:35:33.341 mcserver: INSTALL: FAIL: jq is not installed Feb 09 18:35:33.353 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3 Feb 09 18:35:33.355 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1 Feb 09 18:37:58.550 mcserver: INSTALL: INFO: Logs installed Feb 09 18:38:02.329 mcserver: INSTALL: INFO: Required dependencies already installed. Feb 09 18:38:04.108 mcserver: INSTALL: FAIL: jq is not installed Feb 09 18:38:04.119 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3 Feb 09 18:38:04.122 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1 Feb 09 18:42:35.741 mcserver: INSTALL: INFO: Logs installed Feb 09 18:42:39.527 mcserver: INSTALL: INFO: Required dependencies already installed. Feb 09 18:42:40.888 mcserver: INSTALL: FAIL: jq is not installed Feb 09 18:42:40.900 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3 Feb 09 18:42:40.903 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1 Feb 09 18:48:04.607 mcserver: INSTALL: INFO: Logs installed Feb 09 18:48:08.444 mcserver: INSTALL: INFO: Required dependencies already installed. Feb 09 18:48:09.719 mcserver: INSTALL: FAIL: jq is not installed Feb 09 18:48:09.731 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3 Feb 09 18:48:09.734 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1 Feb 09 18:54:50.912 mcserver: INSTALL: INFO: Logs installed Feb 09 18:54:54.753 mcserver: INSTALL: INFO: Required dependencies already installed. Feb 09 18:54:55.944 mcserver: INSTALL: FAIL: jq is not installed Feb 09 18:54:55.956 mcserver: INSTALL: INFO: LinuxGSM version: v25.1.3 Feb 09 18:54:55.959 mcserver: INSTALL: FAIL: core_exit.sh exiting with code: 1 ``` ### Steps to reproduce 1. install ubuntu server 2. add vanillamcsever user profile 3. run the usual linuxgsm install instructions found on the website 4. ./mcserver install 5. files with jq is not installed
Author
Owner

@dgibbs64 commented on GitHub (Feb 10, 2025):

A hotfix has release to fix this issue

<!-- gh-comment-id:2649257386 --> @dgibbs64 commented on GitHub (Feb 10, 2025): A hotfix has release to fix this issue
Author
Owner

@github-actions[bot] commented on GitHub (Feb 16, 2026):

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:3905660900 --> @github-actions[bot] commented on GitHub (Feb 16, 2026): 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#2954
No description provided.