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

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

Open
Seedling1154 opened this issue Feb 9, 2025 · 0 comments

Comments

@Seedling1154
Copy link

Seedling1154 commented Feb 9, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New Issues
Development

No branches or pull requests

1 participant