Customization with Minecraft - trouble modding the server

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.2.6 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Stopped

Problem Description

Issue

and after that the server will not start or with a certain modpack it starts but I try joining and it says mods are different from client to server but it makes no sense I copied all my mods onto the server.

Reproduction Steps

  • I’ve tried multiple times with different modpacks I put all the mods into the servers mod folder
  • and then select the right version of forge or fabric depending on the modpack
  • and then I start the server and it will fail

See Setting Up A Modded Java Minecraft Server