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

Tekkit Legends error "Please make sure you are using the server version of the FTB modpack!" #1461

Closed
darioschmid opened this issue Apr 9, 2022 · 7 comments · Fixed by #1605

Comments

@darioschmid
Copy link

darioschmid commented Apr 9, 2022

Describe the problem

I try to run a Tekkit Legends Server, but I can't get it to run. I get the error "Please make sure you are using the server version of the FTB modpack!"

Things I've already tried:

  • Set Version to 1.7.10 (Minecraft Version Tekkit Legends runs on)
  • Set Ftb Legacy Java Fixer to true
  • used both :latest and :java8
  • Disabled Health Check
  • Omitting the volume mount
  • Set Use Modpack Start Script to false

When downloading the https://servers.technicpack.net/Technic/servers/tekkit-legends/Tekkit_Legends_Server_v1.1.1.zip file and starting the server manually (without using docker), it runs fine. So the error shouldn't be the TechnicPack's fault.

Container definition

version: '3.3'
services:
itzg-tekkit-legends:
image: itzg/minecraft-server:java8
container_name: itzg-tekkit-legends
environment:
- EULA=TRUE
- TYPE=FTB
- 'FTB_SERVER_MOD=https://servers.technicpack.net/Technic/servers/tekkit-legends/Tekkit_Legends_Sends_Server_v1.1.1.zip'
restart: unless-stopped
ports:
- '25567:25565'
volumes:
- /srv/minecraft/itzg-tekkit-legends:/data

Container logs

[init] Changing ownership of /data to 1000 ...
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Apr 9 14:31 /data'
[init] Resolved version given LATEST into 1.18.2 and major version 1.18
[init] Resolving type given FTB
[init] Looking for Feed-The-Beast / CurseForge server modpack.
[init] Downloading modpack from https://servers.technicpack.net/Technic/servers/tekkit-legends/Tekkit_Legends_Server_v1.1.1.zip...
[init] Unpacking FTB server modpack /data/Tekkit_Legends_Server_v1.1.1.zip ...
...........................................................................................................................................................................................................................................................................................................................................................................................................
[init] Please make sure you are using the server version of the FTB modpack!

@itzg
Copy link
Owner

itzg commented Apr 13, 2022

Sorry for the delay in responding.

The modpack handling is currently unable to detect and handle some modpack layouts and this appears to be one of them. I plan on overhauling the modpack support and will include this one as a test case.

In the meantime, you can try running this with the zip referenced from GENERIC_PACK, TYPE=FORGE, and VERION set appropriately.

@darioschmid
Copy link
Author

darioschmid commented Apr 15, 2022

I found the reason it wasn't working! When trying to start the server, the docker image is looking for start scripts called "ServerStart.sh", "serverstart.sh", "ServerStartLinux.sh", etc., but for Tekkit Legends the start script is just called "start.sh" which isn't searched for. DEBUG=true helped a lot here.
For a hotfix you can just rename "start.sh" to "serverstart.sh", but adding "start.sh" as a valid start script name is obviously the better option. Unfortulately, I couldn't create a branch and merge request in order to fix it myself.

TLDR; In your docker volume in ./FeedTheBeast, rename "start.sh" to "serverstart.sh"

@itzg
Copy link
Owner

itzg commented Apr 15, 2022

Great find. That's an easy change I can make in the image's script.

@itzg itzg added this to To do in Docker Minecraft Apr 15, 2022
Docker Minecraft automation moved this from To do to Done Apr 15, 2022
@darioschmid darioschmid reopened this Apr 15, 2022
Docker Minecraft automation moved this from Done to In progress Apr 15, 2022
@fpatrick
Copy link

fpatrick commented Apr 26, 2022

"start.sh" to "serverstart.sh"

In the last 2 hours I have been reading issues and the documentation, trying to run https://www.curseforge.com/minecraft/modpacks/better-minecraft-fabric without success.

Changing start.sh to serverstart.sh was enough to run the forge version using the generic_pack type. Fabric version failed in any way I tried, always missing something.

Fabric error:
Screenshot 2022-04-26 at 13 00 48

Crawl is still using the traditional Early Riser initialisation
[12:11:29] [main/INFO]: I used the json to destroy the json

@itzg
Copy link
Owner

itzg commented Apr 26, 2022

@fpatrick That's a different modpack. Open a new issue and provide full container logs and configs.

@itzg itzg moved this from In progress to To do in Docker Minecraft May 3, 2022
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.

@github-actions github-actions bot added the status/stale No recently activity has been seen and will be closed soon. label May 27, 2022
@itzg itzg removed the status/stale No recently activity has been seen and will be closed soon. label May 27, 2022
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.

@github-actions github-actions bot added the status/stale No recently activity has been seen and will be closed soon. label Jun 26, 2022
@github-actions github-actions bot closed this as completed Jul 1, 2022
Docker Minecraft automation moved this from To do to Done Jul 1, 2022
@itzg itzg removed the status/stale No recently activity has been seen and will be closed soon. label Jul 1, 2022
@itzg itzg reopened this Jul 1, 2022
Docker Minecraft automation moved this from Done to In progress Jul 1, 2022
Docker Minecraft automation moved this from In progress to Done Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants