Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I'm using Docker to run a server, how ever when I try to add Forge it fails to start. at this point this is a vanilla server and only trying to add forge.

my log when trying to start the latest Forge version

Actions  
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwsrwx 8 1000 1000 4096 Jan  2 20:57 /data'
[init] Resolved version given LATEST into 1.18.1
[init] Resolving type given FORGE
[init] Checking Forge version information.
[init] server.properties already created, skipping
[init] Updating ops
[init] Checking for JSON files.
[init] Setting initial memory to 8G and max to 8G
[init] Starting the Minecraft server...
Error: Invalid or corrupt jarfile /data/run.sh
2022-01-04T01:33:23.433Z    WARN    mc-server-runner    sub-process failed    {"exitCode": 1}
2022-01-04T01:33:23.433Z    INFO    mc-server-runner    Done

here is the installer log

https://github.com/Marshin386/forge-1.18.1-39.0.10/blob/d8e66c66a8ce37c3f3d7439739638692fdde9eb5/forge-1.18.1-39.0.10-installer.jar.log

Edited by Marshin

  • Author

Being is that I am starting the server via a stack in docker I don't know that I have any control as to how the .sh file is ran.

I know I am not as experienced as the majority of the people on this forum. so if someone want to explain to me how I can change how file get ran inside the docker stack I will gladly try it.

Please let me know if you need me to provide more info.

  • Author

here is the stack from my docker

version: "2"
services:
  minecraft-server:
    image: itzg/minecraft-server:java17
    container_name: MC118
    network_mode: host
    environment:
      - PUID=998
      - PGID=100
      - EULA=TRUE
      - VERSION=LATEST
      - MEMORY=8G
      - ANNOUNCE_PLAYER_ACHIEVEMENTS=true
      - ALLOW_NETHER=true
      - GENERATE_STRUCTURES=true
      - PVP=false
      - TYPE=FORGE
    ports:
      - 25565:25565
    volumes:
      - /srv/dev-disk-by-label-data/MC118:/data
    restart: unless-stopped

 

Edited by Marshin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.