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

packwiz bootstrap isn't found, container stops #1562

Closed
envyniv opened this issue Jun 13, 2022 · 2 comments · Fixed by #1571
Closed

packwiz bootstrap isn't found, container stops #1562

envyniv opened this issue Jun 13, 2022 · 2 comments · Fixed by #1571

Comments

@envyniv
Copy link
Contributor

envyniv commented Jun 13, 2022

Describe the problem

issue in title, also I've tried adding the -bootstrap-no-update to both PACKWIZ_URL and to the symlink generated by the container, which solves the same issue on clients, but here it seems to have no effect

Container definition

mc-modded:
    image: itzg/minecraft-server:java8
    ports:
      - 25566:25565
    environment:
      EULA: "true"
      TYPE: "forge"
      VERSION: "1.7.10"
      PACKWIZ_URL: "https://envyniv.github.io/modpack/pack.toml"
      MEMORY: 3G
      ENFORCE_WHITELIST: "true"
      WHITELIST: notfunny_,supercatge73,GIOgame99,ZORDASIX23
      OPS: notfunny_
      MAX_PLAYERS: 4
      OVERRIDE_WHITELIST: "true"
      MOTD: "Server §l§cPazzosgravatoanoinonpia§r Ufficiale 2.0 - Docker Update"
      ICON: "https://thumbs.dreamstime.com/b/funny-man-watermelon-helmet-googles-looks-like-parasitic-caterpillar-34231117.jpg"
      OVERRIDE_ICON: "true"
      #ENABLE_RCON: "true"
      #RCON_PASSWORD: "docker"
      FORCE_GAMEMODE: "true"
      #SNOOPER_ENABLED: "false"
      #MAX_TICK_TIME: 30000
      MODE: "survival"
      #VIEW_DISTANCE: 8
      #LEVEL_TYPE: "BIOMESOP"
      DEBUG: "true"
      DEBUG_EXEC: "true"
      ENABLE_AUTOPAUSE: "true"
      AUTOPAUSE_TIMEOUT_INIT: 300
      AUTOPAUSE_TIMEOUT_EST: 30
      GUI: "false"
      LOG_TIMESTAMP: "true"
    tty: true
    stdin_open: true
    restart: unless-stopped
    volumes:
      - ./modded-data:/data

Container logs

envy-mc-modded-1   | + MAX_TICK_TIME=315360000000
envy-mc-modded-1   | + export MAX_TICK_TIME
envy-mc-modded-1   | + /autopause/autopause-daemon.sh
envy-mc-modded-1   | + isTrue false
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | + return 1
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + versionLessThan 1.7
envy-mc-modded-1   | + mc-image-helper compare-versions 1.7.10 lt 1.7
envy-mc-modded-1   | + log 'Resolving type given forge'
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | [init] 2022-06-13 22:16:43+00:00 Resolving type given forge
envy-mc-modded-1   | + case "${TYPE^^}" in
envy-mc-modded-1   | + evaluateJavaCompatibilityForForge
envy-mc-modded-1   | ++ mc-image-helper java-release
envy-mc-modded-1   | + javaRelease=8
envy-mc-modded-1   | + versionLessThan 1.18
envy-mc-modded-1   | + mc-image-helper compare-versions 1.7.10 lt 1.18
envy-mc-modded-1   | + ((  javaRelease > 8  ))
envy-mc-modded-1   | + exec /start-deployForge
envy-mc-modded-1   | + resolve_versions
envy-mc-modded-1   | + [[ -z '' ]]
envy-mc-modded-1   | + [[ -z '' ]]
envy-mc-modded-1   | + norm=1.7.10
envy-mc-modded-1   | + case $VANILLA_VERSION in
envy-mc-modded-1   | + norm=1.7.10
envy-mc-modded-1   | + promosUrl=http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
envy-mc-modded-1   | + log 'Checking Forge version information.'
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | [init] 2022-06-13 22:16:45+00:00 Checking Forge version information.
envy-mc-modded-1   | + case $FORGEVERSION in
envy-mc-modded-1   | ++ get --json-path '.promos['\''1.7.10-recommended'\'']' --json-value-when-missing '' http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
envy-mc-modded-1   | ++ flags=()
envy-mc-modded-1   | ++ local flags
envy-mc-modded-1   | ++ isTrue false
envy-mc-modded-1   | ++ local oldState
envy-mc-modded-1   | +++ shopt -po xtrace
envy-mc-modded-1   | ++ oldState='set -o xtrace'
envy-mc-modded-1   | ++ shopt -u -o xtrace
envy-mc-modded-1   | ++ return 1
envy-mc-modded-1   | ++ mc-image-helper get --json-path '.promos['\''1.7.10-recommended'\'']' --json-value-when-missing '' http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
envy-mc-modded-1   | + FORGE_VERSION=10.13.4.1614
envy-mc-modded-1   | + normForgeVersion=1.7.10-10.13.4.1614-1.7.10
envy-mc-modded-1   | + shortForgeVersion=1.7.10-10.13.4.1614
envy-mc-modded-1   | + FORGE_INSTALLER=/tmp/forge-1.7.10-10.13.4.1614-installer.jar
envy-mc-modded-1   | + installMarker=/data/.forge-installed-1.7.10-10.13.4.1614
envy-mc-modded-1   | + '[' '!' -e /data/.forge-installed-1.7.10-10.13.4.1614 ']'
envy-mc-modded-1   | + isTrue false
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | + return 1
envy-mc-modded-1   | ++ cat /data/.forge-installed-1.7.10-10.13.4.1614
envy-mc-modded-1   | + SERVER=forge-1.7.10-10.13.4.1614-1.7.10-universal.jar
envy-mc-modded-1   | + export SERVER
envy-mc-modded-1   | + '[' '!' -e forge-1.7.10-10.13.4.1614-1.7.10-universal.jar ']'
envy-mc-modded-1   | + export FAMILY=FORGE
envy-mc-modded-1   | + FAMILY=FORGE
envy-mc-modded-1   | + exec /start-setupWorld
envy-mc-modded-1   | + '[' forge = CURSEFORGE ']'
envy-mc-modded-1   | + worldDest=/data/world
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + exec /start-setupVanillaTweaks
envy-mc-modded-1   | + VT_VERSION=
envy-mc-modded-1   | + DATAPACKS_DIR=/data/world/datapacks
envy-mc-modded-1   | + RESOURCEPACKS_DIR=/data/resourcepacks
envy-mc-modded-1   | + isTrue false
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | + return 1
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + exec /start-setupDatapack
envy-mc-modded-1   | + out_dir=/data/world/datapacks
envy-mc-modded-1   | + isTrue false
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | + return 1
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + [[ -n '' ]]
envy-mc-modded-1   | + exec /start-setupForgeApiMods
envy-mc-modded-1   | + isTrue false
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | + return 1
envy-mc-modded-1   | + '[' '' ']'
envy-mc-modded-1   | + '[' '' ']'
envy-mc-modded-1   | + exec /start-setupModpack
envy-mc-modded-1   | + CURSE_URL_BASE=https://minecraft.curseforge.com/projects
envy-mc-modded-1   | + isTrue false
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | + return 1
envy-mc-modded-1   | + [[ -n https://envyniv.github.io/modpack/pack.toml ]]
envy-mc-modded-1   | ++ curl -fsSL https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/latest
envy-mc-modded-1   | + latestPackwiz='{
envy-mc-modded-1   |   "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812",
envy-mc-modded-1   |   "assets_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets",
envy-mc-modded-1   |   "upload_url": "https://uploads.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets{?name,label}",
envy-mc-modded-1   |   "html_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/tag/v0.0.3",
envy-mc-modded-1   |   "id": 28483812,
envy-mc-modded-1   |   "author": {
envy-mc-modded-1   |     "login": "comp500",
envy-mc-modded-1   |     "id": 1138417,
envy-mc-modded-1   |     "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |     "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |     "gravatar_id": "",
envy-mc-modded-1   |     "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |     "html_url": "https://github.com/comp500",
envy-mc-modded-1   |     "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |     "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |     "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |     "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |     "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |     "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |     "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |     "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |     "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |     "type": "User",
envy-mc-modded-1   |     "site_admin": false
envy-mc-modded-1   |   },
envy-mc-modded-1   |   "node_id": "MDc6UmVsZWFzZTI4NDgzODEy",
envy-mc-modded-1   |   "tag_name": "v0.0.3",
envy-mc-modded-1   |   "target_commitish": "master",
envy-mc-modded-1   |   "name": "Release v0.0.3",
envy-mc-modded-1   |   "draft": false,
envy-mc-modded-1   |   "prerelease": false,
envy-mc-modded-1   |   "created_at": "2020-07-12T21:45:12Z",
envy-mc-modded-1   |   "published_at": "2020-07-12T21:47:00Z",
envy-mc-modded-1   |   "assets": [
envy-mc-modded-1   |     {
envy-mc-modded-1   |       "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/assets/22812004",
envy-mc-modded-1   |       "id": 22812004,
envy-mc-modded-1   |       "node_id": "MDEyOlJlbGVhc2VBc3NldDIyODEyMDA0",
envy-mc-modded-1   |       "name": "packwiz-installer-bootstrap.jar",
envy-mc-modded-1   |       "label": null,
envy-mc-modded-1   |       "uploader": {
envy-mc-modded-1   |         "login": "comp500",
envy-mc-modded-1   |         "id": 1138417,
envy-mc-modded-1   |         "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |         "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |         "gravatar_id": "",
envy-mc-modded-1   |         "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |         "html_url": "https://github.com/comp500",
envy-mc-modded-1   |         "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |         "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |         "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |         "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |         "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |         "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |         "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |         "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |         "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |         "type": "User",
envy-mc-modded-1   |         "site_admin": false
envy-mc-modded-1   |       },
envy-mc-modded-1   |       "content_type": "application/octet-stream",
envy-mc-modded-1   |       "state": "uploaded",
envy-mc-modded-1   |       "size": 98989,
envy-mc-modded-1   |       "download_count": 11627,
envy-mc-modded-1   |       "created_at": "2020-07-12T21:46:48Z",
envy-mc-modded-1   |       "updated_at": "2020-07-12T21:46:49Z",
envy-mc-modded-1   |       "browser_download_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"
envy-mc-modded-1   |     }
envy-mc-modded-1   |   ],
envy-mc-modded-1   |   "tarball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/tarball/v0.0.3",
envy-mc-modded-1   |   "zipball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/zipball/v0.0.3",
envy-mc-modded-1   |   "body": "Fix more threading issues.",
envy-mc-modded-1   |   "reactions": {
envy-mc-modded-1   |     "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/reactions",
envy-mc-modded-1   |     "total_count": 3,
envy-mc-modded-1   |     "+1": 0,
envy-mc-modded-1   |     "-1": 0,
envy-mc-modded-1   |     "laugh": 0,
envy-mc-modded-1   |     "hooray": 3,
envy-mc-modded-1   |     "confused": 0,
envy-mc-modded-1   |     "heart": 0,
envy-mc-modded-1   |     "rocket": 0,
envy-mc-modded-1   |     "eyes": 0
envy-mc-modded-1   |   }
envy-mc-modded-1   | }'
envy-mc-modded-1   | + [[ -z {
envy-mc-modded-1   |   "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812",
envy-mc-modded-1   |   "assets_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets",
envy-mc-modded-1   |   "upload_url": "https://uploads.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets{?name,label}",
envy-mc-modded-1   |   "html_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/tag/v0.0.3",
envy-mc-modded-1   |   "id": 28483812,
envy-mc-modded-1   |   "author": {
envy-mc-modded-1   |     "login": "comp500",
envy-mc-modded-1   |     "id": 1138417,
envy-mc-modded-1   |     "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |     "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |     "gravatar_id": "",
envy-mc-modded-1   |     "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |     "html_url": "https://github.com/comp500",
envy-mc-modded-1   |     "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |     "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |     "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |     "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |     "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |     "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |     "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |     "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |     "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |     "type": "User",
envy-mc-modded-1   |     "site_admin": false
envy-mc-modded-1   |   },
envy-mc-modded-1   |   "node_id": "MDc6UmVsZWFzZTI4NDgzODEy",
envy-mc-modded-1   |   "tag_name": "v0.0.3",
envy-mc-modded-1   |   "target_commitish": "master",
envy-mc-modded-1   |   "name": "Release v0.0.3",
envy-mc-modded-1   |   "draft": false,
envy-mc-modded-1   |   "prerelease": false,
envy-mc-modded-1   |   "created_at": "2020-07-12T21:45:12Z",
envy-mc-modded-1   |   "published_at": "2020-07-12T21:47:00Z",
envy-mc-modded-1   |   "assets": [
envy-mc-modded-1   |     {
envy-mc-modded-1   |       "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/assets/22812004",
envy-mc-modded-1   |       "id": 22812004,
envy-mc-modded-1   |       "node_id": "MDEyOlJlbGVhc2VBc3NldDIyODEyMDA0",
envy-mc-modded-1   |       "name": "packwiz-installer-bootstrap.jar",
envy-mc-modded-1   |       "label": null,
envy-mc-modded-1   |       "uploader": {
envy-mc-modded-1   |         "login": "comp500",
envy-mc-modded-1   |         "id": 1138417,
envy-mc-modded-1   |         "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |         "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |         "gravatar_id": "",
envy-mc-modded-1   |         "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |         "html_url": "https://github.com/comp500",
envy-mc-modded-1   |         "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |         "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |         "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |         "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |         "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |         "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |         "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |         "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |         "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |         "type": "User",
envy-mc-modded-1   |         "site_admin": false
envy-mc-modded-1   |       },
envy-mc-modded-1   |       "content_type": "application/octet-stream",
envy-mc-modded-1   |       "state": "uploaded",
envy-mc-modded-1   |       "size": 98989,
envy-mc-modded-1   |       "download_count": 11627,
envy-mc-modded-1   |       "created_at": "2020-07-12T21:46:48Z",
envy-mc-modded-1   |       "updated_at": "2020-07-12T21:46:49Z",
envy-mc-modded-1   |       "browser_download_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"
envy-mc-modded-1   |     }
envy-mc-modded-1   |   ],
envy-mc-modded-1   |   "tarball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/tarball/v0.0.3",
envy-mc-modded-1   |   "zipball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/zipball/v0.0.3",
envy-mc-modded-1   |   "body": "Fix more threading issues.",
envy-mc-modded-1   |   "reactions": {
envy-mc-modded-1   |     "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/reactions",
envy-mc-modded-1   |     "total_count": 3,
envy-mc-modded-1   |     "+1": 0,
envy-mc-modded-1   |     "-1": 0,
envy-mc-modded-1   |     "laugh": 0,
envy-mc-modded-1   |     "hooray": 3,
envy-mc-modded-1   |     "confused": 0,
envy-mc-modded-1   |     "heart": 0,
envy-mc-modded-1   |     "rocket": 0,
envy-mc-modded-1   |     "eyes": 0
envy-mc-modded-1   |   }
envy-mc-modded-1   | } ]]
envy-mc-modded-1   | + isDebugging
envy-mc-modded-1   | + isTrue true
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | + return 0
envy-mc-modded-1   | + return 0
envy-mc-modded-1   | + log 'Latest packwiz {
envy-mc-modded-1   |   "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812",
envy-mc-modded-1   |   "assets_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets",
envy-mc-modded-1   |   "upload_url": "https://uploads.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets{?name,label}",
envy-mc-modded-1   |   "html_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/tag/v0.0.3",
envy-mc-modded-1   |   "id": 28483812,
envy-mc-modded-1   |   "author": {
envy-mc-modded-1   |     "login": "comp500",
envy-mc-modded-1   |     "id": 1138417,
envy-mc-modded-1   |     "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |     "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |     "gravatar_id": "",
envy-mc-modded-1   |     "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |     "html_url": "https://github.com/comp500",
envy-mc-modded-1   |     "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |     "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |     "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |     "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |     "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |     "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |     "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |     "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |     "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |     "type": "User",
envy-mc-modded-1   |     "site_admin": false
envy-mc-modded-1   |   },
envy-mc-modded-1   |   "node_id": "MDc6UmVsZWFzZTI4NDgzODEy",
envy-mc-modded-1   |   "tag_name": "v0.0.3",
envy-mc-modded-1   |   "target_commitish": "master",
envy-mc-modded-1   |   "name": "Release v0.0.3",
envy-mc-modded-1   |   "draft": false,
envy-mc-modded-1   |   "prerelease": false,
envy-mc-modded-1   |   "created_at": "2020-07-12T21:45:12Z",
envy-mc-modded-1   |   "published_at": "2020-07-12T21:47:00Z",
envy-mc-modded-1   |   "assets": [
envy-mc-modded-1   |     {
envy-mc-modded-1   |       "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/assets/22812004",
envy-mc-modded-1   |       "id": 22812004,
envy-mc-modded-1   |       "node_id": "MDEyOlJlbGVhc2VBc3NldDIyODEyMDA0",
envy-mc-modded-1   |       "name": "packwiz-installer-bootstrap.jar",
envy-mc-modded-1   |       "label": null,
envy-mc-modded-1   |       "uploader": {
envy-mc-modded-1   |         "login": "comp500",
envy-mc-modded-1   |         "id": 1138417,
envy-mc-modded-1   |         "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |         "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |         "gravatar_id": "",
envy-mc-modded-1   |         "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |         "html_url": "https://github.com/comp500",
envy-mc-modded-1   |         "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |         "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |         "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |         "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |         "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |         "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |         "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |         "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |         "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |         "type": "User",
envy-mc-modded-1   |         "site_admin": false
envy-mc-modded-1   |       },
envy-mc-modded-1   |       "content_type": "application/octet-stream",
envy-mc-modded-1   |       "state": "uploaded",
envy-mc-modded-1   |       "size": 98989,
envy-mc-modded-1   |       "download_count": 11627,
envy-mc-modded-1   |       "created_at": "2020-07-12T21:46:48Z",
envy-mc-modded-1   |       "updated_at": "2020-07-12T21:46:49Z",
envy-mc-modded-1   |       "browser_download_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"
envy-mc-modded-1   |     }
envy-mc-modded-1   |   ],
envy-mc-modded-1   |   "tarball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/tarball/v0.0.3",
envy-mc-modded-1   |   "zipball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/zipball/v0.0.3",
envy-mc-modded-1   |   "body": "Fix more threading issues.",
envy-mc-modded-1   |   "reactions": {
envy-mc-modded-1   |     "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/reactions",
envy-mc-modded-1   |     "total_count": 3,
envy-mc-modded-1   |     "+1": 0,
envy-mc-modded-1   |     "-1": 0,
envy-mc-modded-1   |     "laugh": 0,
envy-mc-modded-1   |     "hooray": 3,
envy-mc-modded-1   |     "confused": 0,
envy-mc-modded-1   |     "heart": 0,
envy-mc-modded-1   |     "rocket": 0,
envy-mc-modded-1   |     "eyes": 0
envy-mc-modded-1   |   }
envy-mc-modded-1   | }'
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | [init] 2022-06-13 22:16:47+00:00 Latest packwiz {
envy-mc-modded-1   |   "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812",
envy-mc-modded-1   |   "assets_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets",
envy-mc-modded-1   |   "upload_url": "https://uploads.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets{?name,label}",
envy-mc-modded-1   |   "html_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/tag/v0.0.3",
envy-mc-modded-1   |   "id": 28483812,
envy-mc-modded-1   |   "author": {
envy-mc-modded-1   |     "login": "comp500",
envy-mc-modded-1   |     "id": 1138417,
envy-mc-modded-1   |     "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |     "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |     "gravatar_id": "",
envy-mc-modded-1   |     "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |     "html_url": "https://github.com/comp500",
envy-mc-modded-1   |     "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |     "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |     "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |     "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |     "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |     "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |     "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |     "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |     "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |     "type": "User",
envy-mc-modded-1   |     "site_admin": false
envy-mc-modded-1   |   },
envy-mc-modded-1   |   "node_id": "MDc6UmVsZWFzZTI4NDgzODEy",
envy-mc-modded-1   |   "tag_name": "v0.0.3",
envy-mc-modded-1   |   "target_commitish": "master",
envy-mc-modded-1   |   "name": "Release v0.0.3",
envy-mc-modded-1   |   "draft": false,
envy-mc-modded-1   |   "prerelease": false,
envy-mc-modded-1   |   "created_at": "2020-07-12T21:45:12Z",
envy-mc-modded-1   |   "published_at": "2020-07-12T21:47:00Z",
envy-mc-modded-1   |   "assets": [
envy-mc-modded-1   |     {
envy-mc-modded-1   |       "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/assets/22812004",
envy-mc-modded-1   |       "id": 22812004,
envy-mc-modded-1   |       "node_id": "MDEyOlJlbGVhc2VBc3NldDIyODEyMDA0",
envy-mc-modded-1   |       "name": "packwiz-installer-bootstrap.jar",
envy-mc-modded-1   |       "label": null,
envy-mc-modded-1   |       "uploader": {
envy-mc-modded-1   |         "login": "comp500",
envy-mc-modded-1   |         "id": 1138417,
envy-mc-modded-1   |         "node_id": "MDQ6VXNlcjExMzg0MTc=",
envy-mc-modded-1   |         "avatar_url": "https://avatars.githubusercontent.com/u/1138417?v=4",
envy-mc-modded-1   |         "gravatar_id": "",
envy-mc-modded-1   |         "url": "https://api.github.com/users/comp500",
envy-mc-modded-1   |         "html_url": "https://github.com/comp500",
envy-mc-modded-1   |         "followers_url": "https://api.github.com/users/comp500/followers",
envy-mc-modded-1   |         "following_url": "https://api.github.com/users/comp500/following{/other_user}",
envy-mc-modded-1   |         "gists_url": "https://api.github.com/users/comp500/gists{/gist_id}",
envy-mc-modded-1   |         "starred_url": "https://api.github.com/users/comp500/starred{/owner}{/repo}",
envy-mc-modded-1   |         "subscriptions_url": "https://api.github.com/users/comp500/subscriptions",
envy-mc-modded-1   |         "organizations_url": "https://api.github.com/users/comp500/orgs",
envy-mc-modded-1   |         "repos_url": "https://api.github.com/users/comp500/repos",
envy-mc-modded-1   |         "events_url": "https://api.github.com/users/comp500/events{/privacy}",
envy-mc-modded-1   |         "received_events_url": "https://api.github.com/users/comp500/received_events",
envy-mc-modded-1   |         "type": "User",
envy-mc-modded-1   |         "site_admin": false
envy-mc-modded-1   |       },
envy-mc-modded-1   |       "content_type": "application/octet-stream",
envy-mc-modded-1   |       "state": "uploaded",
envy-mc-modded-1   |       "size": 98989,
envy-mc-modded-1   |       "download_count": 11627,
envy-mc-modded-1   |       "created_at": "2020-07-12T21:46:48Z",
envy-mc-modded-1   |       "updated_at": "2020-07-12T21:46:49Z",
envy-mc-modded-1   |       "browser_download_url": "https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"
envy-mc-modded-1   |     }
envy-mc-modded-1   |   ],
envy-mc-modded-1   |   "tarball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/tarball/v0.0.3",
envy-mc-modded-1   |   "zipball_url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/zipball/v0.0.3",
envy-mc-modded-1   |   "body": "Fix more threading issues.",
envy-mc-modded-1   |   "reactions": {
envy-mc-modded-1   |     "url": "https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/reactions",
envy-mc-modded-1   |     "total_count": 3,
envy-mc-modded-1   |     "+1": 0,
envy-mc-modded-1   |     "-1": 0,
envy-mc-modded-1   |     "laugh": 0,
envy-mc-modded-1   |     "hooray": 3,
envy-mc-modded-1   |     "confused": 0,
envy-mc-modded-1   |     "heart": 0,
envy-mc-modded-1   |     "rocket": 0,
envy-mc-modded-1   |     "eyes": 0
envy-mc-modded-1   |   }
envy-mc-modded-1   | }
envy-mc-modded-1   | ++ echo '{' '"url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812",' '"assets_url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets",' '"upload_url":' '"https://uploads.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets{?name,label}",' '"html_url":' '"https://github.com/packwiz/packwiz-installer-bootstrap/releases/tag/v0.0.3",' '"id":' 28483812, '"author":' '{' '"login":' '"comp500",' ++ jq --raw-output .tag_name'"id":' 
envy-mc-modded-1   | 1138417, '"node_id":' '"MDQ6VXNlcjExMzg0MTc=",' '"avatar_url":' '"https://avatars.githubusercontent.com/u/1138417?v=4",' '"gravatar_id":' '"",' '"url":' '"https://api.github.com/users/comp500",' '"html_url":' '"https://github.com/comp500",' '"followers_url":' '"https://api.github.com/users/comp500/followers",' '"following_url":' '"https://api.github.com/users/comp500/following{/other_user}",' '"gists_url":' '"https://api.github.com/users/comp500/gists{/gist_id}",' '"starred_url":' '"https://api.github.com/users/comp500/starred{/owner}{/repo}",' '"subscriptions_url":' '"https://api.github.com/users/comp500/subscriptions",' '"organizations_url":' '"https://api.github.com/users/comp500/orgs",' '"repos_url":' '"https://api.github.com/users/comp500/repos",' '"events_url":' '"https://api.github.com/users/comp500/events{/privacy}",' '"received_events_url":' '"https://api.github.com/users/comp500/received_events",' '"type":' '"User",' '"site_admin":' false '},' '"node_id":' '"MDc6UmVsZWFzZTI4NDgzODEy",' '"tag_name":' '"v0.0.3",' '"target_commitish":' '"master",' '"name":' '"Release' 'v0.0.3",' '"draft":' false, '"prerelease":' false, '"created_at":' '"2020-07-12T21:45:12Z",' '"published_at":' '"2020-07-12T21:47:00Z",' '"assets":' '[' '{' '"url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/assets/22812004",' '"id":' 22812004, '"node_id":' '"MDEyOlJlbGVhc2VBc3NldDIyODEyMDA0",' '"name":' '"packwiz-installer-bootstrap.jar",' '"label":' null, '"uploader":' '{' '"login":' '"comp500",' '"id":' 1138417, '"node_id":' '"MDQ6VXNlcjExMzg0MTc=",' '"avatar_url":' '"https://avatars.githubusercontent.com/u/1138417?v=4",' '"gravatar_id":' '"",' '"url":' '"https://api.github.com/users/comp500",' '"html_url":' '"https://github.com/comp500",' '"followers_url":' '"https://api.github.com/users/comp500/followers",' '"following_url":' '"https://api.github.com/users/comp500/following{/other_user}",' '"gists_url":' '"https://api.github.com/users/comp500/gists{/gist_id}",' '"starred_url":' '"https://api.github.com/users/comp500/starred{/owner}{/repo}",' '"subscriptions_url":' '"https://api.github.com/users/comp500/subscriptions",' '"organizations_url":' '"https://api.github.com/users/comp500/orgs",' '"repos_url":' '"https://api.github.com/users/comp500/repos",' '"events_url":' '"https://api.github.com/users/comp500/events{/privacy}",' '"received_events_url":' '"https://api.github.com/users/comp500/received_events",' '"type":' '"User",' '"site_admin":' false '},' '"content_type":' '"application/octet-stream",' '"state":' '"uploaded",' '"size":' 98989, '"download_count":' 11627, '"created_at":' '"2020-07-12T21:46:48Z",' '"updated_at":' '"2020-07-12T21:46:49Z",' '"browser_download_url":' '"https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"' '}' '],' '"tarball_url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/tarball/v0.0.3",' '"zipball_url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/zipball/v0.0.3",' '"body":' '"Fix' more threading 'issues.",' '"reactions":' '{' '"url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/reactions",' '"total_count":' 3, '"+1":' 0, '"-1":' 0, '"laugh":' 0, '"hooray":' 3, '"confused":' 0, '"heart":' 0, '"rocket":' 0, '"eyes":' 0 '}' '}'
envy-mc-modded-1   | + latestPackwizVer=v0.0.3
envy-mc-modded-1   | ++ jq --raw-output '.assets[] | select(.name | match("packwiz-installer-bootstrap.jar")) | .url'
envy-mc-modded-1   | ++ echo '{' '"url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812",' '"assets_url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets",' '"upload_url":' '"https://uploads.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/assets{?name,label}",' '"html_url":' '"https://github.com/packwiz/packwiz-installer-bootstrap/releases/tag/v0.0.3",' '"id":' 28483812, '"author":' '{' '"login":' '"comp500",' '"id":' 1138417, '"node_id":' '"MDQ6VXNlcjExMzg0MTc=",' '"avatar_url":' '"https://avatars.githubusercontent.com/u/1138417?v=4",' '"gravatar_id":' '"",' '"url":' '"https://api.github.com/users/comp500",' '"html_url":' '"https://github.com/comp500",' '"followers_url":' '"https://api.github.com/users/comp500/followers",' '"following_url":' '"https://api.github.com/users/comp500/following{/other_user}",' '"gists_url":' '"https://api.github.com/users/comp500/gists{/gist_id}",' '"starred_url":' '"https://api.github.com/users/comp500/starred{/owner}{/repo}",' '"subscriptions_url":' '"https://api.github.com/users/comp500/subscriptions",' '"organizations_url":' '"https://api.github.com/users/comp500/orgs",' '"repos_url":' '"https://api.github.com/users/comp500/repos",' '"events_url":' '"https://api.github.com/users/comp500/events{/privacy}",' '"received_events_url":' '"https://api.github.com/users/comp500/received_events",' '"type":' '"User",' '"site_admin":' false '},' '"node_id":' '"MDc6UmVsZWFzZTI4NDgzODEy",' '"tag_name":' '"v0.0.3",' '"target_commitish":' '"master",' '"name":' '"Release' 'v0.0.3",' '"draft":' false, '"prerelease":' false, '"created_at":' '"2020-07-12T21:45:12Z",' '"published_at":' '"2020-07-12T21:47:00Z",' '"assets":' '[' '{' '"url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/assets/22812004",' '"id":' 22812004, '"node_id":' '"MDEyOlJlbGVhc2VBc3NldDIyODEyMDA0",' '"name":' '"packwiz-installer-bootstrap.jar",' '"label":' null, '"uploader":' '{' '"login":' '"comp500",' '"id":' 1138417, '"node_id":' '"MDQ6VXNlcjExMzg0MTc=",' '"avatar_url":' '"https://avatars.githubusercontent.com/u/1138417?v=4",' '"gravatar_id":' '"",' '"url":' '"https://api.github.com/users/comp500",' '"html_url":' '"https://github.com/comp500",' '"followers_url":' '"https://api.github.com/users/comp500/followers",' '"following_url":' '"https://api.github.com/users/comp500/following{/other_user}",' '"gists_url":' '"https://api.github.com/users/comp500/gists{/gist_id}",' '"starred_url":' '"https://api.github.com/users/comp500/starred{/owner}{/repo}",' '"subscriptions_url":' '"https://api.github.com/users/comp500/subscriptions",' '"organizations_url":' '"https://api.github.com/users/comp500/orgs",' '"repos_url":' '"https://api.github.com/users/comp500/repos",' '"events_url":' '"https://api.github.com/users/comp500/events{/privacy}",' '"received_events_url":' '"https://api.github.com/users/comp500/received_events",' '"type":' '"User",' '"site_admin":' false '},' '"content_type":' '"application/octet-stream",' '"state":' '"uploaded",' '"size":' 98989, '"download_count":' 11627, '"created_at":' '"2020-07-12T21:46:48Z",' '"updated_at":' '"2020-07-12T21:46:49Z",' '"browser_download_url":' '"https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"' '}' '],' '"tarball_url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/tarball/v0.0.3",' '"zipball_url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/zipball/v0.0.3",' '"body":' '"Fix' more threading 'issues.",' '"reactions":' '{' '"url":' '"https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/28483812/reactions",' '"total_count":' 3, '"+1":' 0, '"-1":' 0, '"laugh":' 0, '"hooray":' 3, '"confused":' 0, '"heart":' 0, '"rocket":' 0, '"eyes":' 0 '}' '}'
envy-mc-modded-1   | + latestPackwizUrl=https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/assets/22812004
envy-mc-modded-1   | + : packwiz-installer-bootstrap_v0.0.3.jar
envy-mc-modded-1   | + [[ ! -e packwiz-installer-bootstrap_v0.0.3.jar ]]
envy-mc-modded-1   | + [[ ! -e packwiz-installer-bootstrap.jar ]]
envy-mc-modded-1   | + log 'ERROR: Packwiz not available or could not be downloaded from Github!'
envy-mc-modded-1   | + local oldState
envy-mc-modded-1   | ++ shopt -po xtrace
envy-mc-modded-1   | + oldState='set -o xtrace'
envy-mc-modded-1   | + shopt -u -o xtrace
envy-mc-modded-1   | [init] 2022-06-13 22:16:47+00:00 ERROR: Packwiz not available or could not be downloaded from Github!
envy-mc-modded-1   | + exit 1
envy-mc-modded-1 exited with code 1
@envyniv envyniv changed the title packwiz-installer-bootstrap always tries downloading from GH, fails, Container stuck in bootloop packwiz always tries downloading from GH, fails, Container stuck in bootloop Jun 14, 2022
@envyniv envyniv changed the title packwiz always tries downloading from GH, fails, Container stuck in bootloop PACKWIZ_URL prompts GH download, can't find symlink, Container stuck in bootloop Jun 17, 2022
@envyniv
Copy link
Contributor Author

envyniv commented Jun 17, 2022

finally taking a look at the scripts;
start-setupModpack:25-48

# If packwiz url passed, bootstrap packwiz and update mods before other modpack processing
if [[ "${PACKWIZ_URL}" ]]; then
  # Ensure we have the latest packwiz bootstrap installer
  latestPackwiz=$(curl -fsSL https://api.github.com/repos/packwiz/packwiz-installer-bootstrap/releases/latest)
  if [[ -z "${latestPackwiz}" ]]; then
    log "WARNING: Could not retrieve Packwiz bootstrap installer release information"
  else
    isDebugging && log "Latest packwiz ${latestPackwiz}"
    latestPackwizVer=$(echo ${latestPackwiz} | jq --raw-output '.tag_name')
    latestPackwizUrl=$(echo ${latestPackwiz} | jq --raw-output '.assets[] | select(.name | match("packwiz-installer-bootstrap.jar")) | .url')
    : "${PACKWIZ_JAR:=packwiz-installer-bootstrap_${latestPackwizVer}.jar}"
    if [[ ! -e $PACKWIZ_JAR ]]; then
      log "Downloading Packwiz ${latestPackwizVer}"
      curl -H "Accept:application/octet-stream" -o "$PACKWIZ_JAR" -fsSL ${latestPackwizUrl}
      ln -sf "${PACKWIZ_JAR}" packwiz-installer-bootstrap.jar
    fi
  fi
  if [[ ! -e packwiz-installer-bootstrap.jar ]]; then ################################################## <------
    log "ERROR: Packwiz not available or could not be downloaded from Github!"
    exit 1
  fi
  log "Running packwiz against URL: ${PACKWIZ_URL}"
  java -jar packwiz-installer-bootstrap.jar -g -s server "${PACKWIZ_URL}"
fi

it is my belief that if [[ ! -e packwiz-installer-bootstrap.jar ]]; then is the cause of this issue; is this the proper way to check for existance of the symlink? was the -e a mistype of -f? not familiar with bash, but checking an env var doesn't seem right; then again it may just be my unfamiliarity with bash.

also, i would like to take issue with line 47 - java -jar packwiz-installer-bootstrap.jar -g -s server "${PACKWIZ_URL}" - while nothing is fundamentally wrong about the arguments, at least until this packwiz issue is solved, i feel there should be a check to see whether the download failed, if so; download the installer proper, and run packwiz with the -bootstrap-no-update argument; as i have forked this repo, i'm going to implement these changes myself and ask for a PR.

@envyniv envyniv changed the title PACKWIZ_URL prompts GH download, can't find symlink, Container stuck in bootloop PACKWIZ_URL prompts GH download, can't find symlink, container stops Jun 17, 2022
@envyniv
Copy link
Contributor Author

envyniv commented Jun 17, 2022

the bootloop was accidentally caused by me setting restart: unless-stopped in the container definition; lol.

also, please excuse the numerous title changes, but i'm unsure of a proper titling for this issue.

@envyniv envyniv changed the title PACKWIZ_URL prompts GH download, can't find symlink, container stops packwiz bootstrap isn't found, container stops Jun 17, 2022
@itzg itzg linked a pull request Jun 17, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant