FTBTeam / FTB-Modpack-Issues

Any and all FTB Modpack issues are here! Please create a new issue, add to an existing one or maybe even suggest a feature in the discussions
https://feed-the-beast.com/modpack
41 stars 12 forks source link

FTB Infinity Evolved Skyblock Server crashes during startup caused by java.lang.NoClassDefFoundError: Llumien/resourceloader/loader/NormalResourceLoader #5917

Open mufsalup opened 3 days ago

mufsalup commented 3 days ago

Modpack

FTB Infinity Evolved Skyblock

Modpack version

2.0.1

Launcher

Server

Has the pack been modified

No

Log Files

ftb_ie_skyblock.log.txt

Describe the bug

Thrown Exceptions causing server to crash at startup:

2024-10-07 21:27:07 [19:27:07] [Server thread/ERROR] [FML]: Caught exception from ResourceLoader 2024-10-07 21:27:07 java.lang.NoClassDefFoundError: Llumien/resourceloader/loader/NormalResourceLoader; ... 2024-10-07 21:27:07 Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/resources/IResourcePack ... 2024-10-07 21:27:07 Caused by: java.lang.NullPointerException ... 2024-10-07 21:27:07 [19:27:07] [Server thread/ERROR] [extracells]: Skipping event FMLServerStoppedEvent and marking errored mod extracells since required dependency appliedenergistics2 has errored 2024-10-07 21:27:07 [19:27:07] [Server thread/INFO] [mcjty.lib.varia.Logging]: RFTools: server is stopping. Shutting down gracefully

I am running the server inside a docker container inside an ubuntu image.

Dockerfile:

FROM ubuntu:20.04
WORKDIR /opt/server

# Update server, install resources and cleanup
RUN apt update -y
RUN apt upgrade -y
RUN apt autoremove -y
RUN apt clean -y
RUN apt install curl -y

# Download the server to /tmp, make the script executable and execute it
RUN curl -o /tmp/serverInstaller_20_102 https://api.feed-the-beast.com/v1/modpacks/public/modpack/20/102/server/linux
RUN chmod +x /tmp/serverInstaller_20_102
RUN /tmp/serverInstaller_20_102

# Move needed files to server folder (e.g.: eula.txt and copy_to_server files)
RUN echo "eula=true" >> eula.txt
COPY ./copy_to_server/. .

# Expose needed port(s)
EXPOSE 25565/tcp
EXPOSE 25565/udp

# Run the start.sh script
CMD ["bash", "start.sh"]

Steps to reproduce

  1. Run the Dockerfile to download and start all needed ressources.

Expected behaviour

The Server is not crashing

Screenshots

No response

Additional information

No response

Gaz492 commented 3 days ago

It looks like a few client only mods made their way onto the server. If you add RUN to the dockerfile you are using to remove the following files, your server should start up.

I will also pass this on to our developers to fix

mufsalup commented 3 days ago

Updated my Dockerfile

FROM ubuntu:20.04
WORKDIR /opt/server

# Update server, install resources and cleanup
RUN apt update -y
RUN apt upgrade -y
RUN apt autoremove -y
RUN apt clean -y
RUN apt install curl -y

# Download the server to /tmp, make the script executable and execute it
RUN curl -o /tmp/serverInstaller_20_102 https://api.feed-the-beast.com/v1/modpacks/public/modpack/20/102/server/linux
RUN chmod +x /tmp/serverInstaller_20_102
RUN /tmp/serverInstaller_20_102

# ===== Bugfix for current version (client only mods sneaked into server files) =====
RUN rm -rdf /opt/server/mods/ResourceLoader-MC1.7.10-1.3.jar
RUN rm -rdf /opt/server/mods/CustomMainMenu-MC1.7.10-1.9.2.jar
RUN rm -rdf /opt/server/mods/Lockdown-1.7.2-2.0.0-universal.jar

# Move needed files to server folder (e.g.: eula.txt and copy_to_server files)
RUN echo "eula=true" >> eula.txt
COPY ./copy_to_server/. .

# Expose needed port(s)
EXPOSE 25565/tcp
EXPOSE 25565/udp

# Run the start.sh script
CMD ["bash", "start.sh"]

The server is now starting properly. (I posted the Dockerfile again in order for others to reproduce). Thank you for your quick help. For me the ticket can be closed now.