Can't start forge server

Hey, I’m fairly new to MineOS, only been running a vanill server on it for 3 months or so. This is my first time trying to run a modded server here (done it before i Windows just not in MineOS). I am trying to start an All The Mods 4 server. I am running the latest turnkey version.

I first used wget the download the files from curse forge. Then I downloaded the 1.14.4 forge profile. I started the server with the forge-1.14.4-28.2.0-installer.jar, and it did create forge-1.14.4-28.2.0.jar. But when I start the server it says running for a couple of seconds then goes back offline.

After it failed a few times I attempted to start it manually with “java -jar forge-1.14.4-28.2.0.jar” and it started successfully. So it’s something that MineOS is doing when it starts that it doesn’t like, but I can’t figure out what I need to change or what I did wrong.

This is what it shows in the debug.log:

[08Feb2020 20:02:17.861] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [–gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 28.2.0, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, nogui]
[08Feb2020 20:02:17.868] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 4.1.0+62+5bfa59b starting: java version 1.8.0_232 by Oracle Corporation
[08Feb2020 20:02:17.882] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,testharness,fmlclient,fmlserver]
[08Feb2020 20:02:17.902] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : []
[08Feb2020 20:02:17.926] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner]
[08Feb2020 20:02:17.947] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
[08Feb2020 20:02:18.018] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: []
[08Feb2020 20:02:18.042] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml]
[08Feb2020 20:02:18.043] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading
[08Feb2020 20:02:18.045] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml
[08Feb2020 20:02:18.045] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR.
[08Feb2020 20:02:18.051] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 28.2
[08Feb2020 20:02:18.051] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 28.2 loading
[08Feb2020 20:02:18.051] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 4.1.0+62+5bfa59b
[08Feb2020 20:02:18.051] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Initializing modjar URL handler
[08Feb2020 20:02:18.053] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 1.0.1-milestone.0.1+94458e7+46+94458e7
[08Feb2020 20:02:18.054] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 1.0.0+54+3f83a9e
[08Feb2020 20:02:18.054] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner
[08Feb2020 20:02:18.059] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 1.0.0+4+e6fed88
[08Feb2020 20:02:18.059] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 1.5.0+6+478760f
[08Feb2020 20:02:18.059] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 3
[08Feb2020 20:02:18.244] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[08Feb2020 20:02:18.246] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml
[08Feb2020 20:02:18.250] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services
[08Feb2020 20:02:18.268] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing
[08Feb2020 20:02:18.269] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml
[08Feb2020 20:02:18.269] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories
[08Feb2020 20:02:18.271] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : /var/games/minecraft/servers/ATM4
[08Feb2020 20:02:18.272] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is /var/games/minecraft/servers/ATM4
[08Feb2020 20:02:18.273] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : /var/games/minecraft/servers/ATM4/mods
[08Feb2020 20:02:18.273] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is /var/games/minecraft/servers/ATM4/mods
[08Feb2020 20:02:18.273] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : /var/games/minecraft/servers/ATM4/config
[08Feb2020 20:02:18.273] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is /var/games/minecraft/servers/ATM4/config
[08Feb2020 20:02:18.274] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is /var/games/minecraft/servers/ATM4/config/fml.toml
[08Feb2020 20:02:18.274] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration
[08Feb2020 20:02:18.341] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: com.electronwill.nightconfig.core.io.WritingException: An I/O error occured
[08Feb2020 20:02:18.342] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:90)
[08Feb2020 20:02:18.343] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.save(WriteSyncFileConfig.java:61)
[08Feb2020 20:02:18.344] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.save(AutoreloadFileConfig.java:36)
[08Feb2020 20:02:18.344] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.save(AutosaveCommentedFileConfig.java:80)
[08Feb2020 20:02:18.345] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:63)
[08Feb2020 20:02:18.346] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:69)
[08Feb2020 20:02:18.346] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:81)
[08Feb2020 20:02:18.347] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
[08Feb2020 20:02:18.347] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107)
[08Feb2020 20:02:18.348] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap$Values.forEach(HashMap.java:981)
[08Feb2020 20:02:18.349] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107)
[08Feb2020 20:02:18.349] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59)
[08Feb2020 20:02:18.350] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:75)
[08Feb2020 20:02:18.350] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[08Feb2020 20:02:18.351] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[08Feb2020 20:02:18.352] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[08Feb2020 20:02:18.352] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[08Feb2020 20:02:18.353] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.nio.file.AccessDeniedException: /var/games/minecraft/servers/ATM4/config/fml.toml
[08Feb2020 20:02:18.354] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
[08Feb2020 20:02:18.355] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
[08Feb2020 20:02:18.355] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
[08Feb2020 20:02:18.356] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
[08Feb2020 20:02:18.356] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
[08Feb2020 20:02:18.357] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.nio.file.Files.newOutputStream(Files.java:216)
[08Feb2020 20:02:18.357] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:87)
[08Feb2020 20:02:18.358] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: … 16 more

Well i know it is a bit late but since noone answered you i will try it.

I guess your problem is that your downloaded the installer. Curseforge server packs are containing everything you need to start the server. You do not need another installer. wget it to import directory at /var/games/minecraft and then go to webui and go to import section and create a server from it. Then select your created server and then select the forge.*.universal.jar as the jar starter.

If I am not too late then please response if it has solved it.

Hi,
I try it too with the latest MineOS version and Forge server 1.19.3 still is there this problem.
Is there any possibility that I don’t need to do it manually for each server that I will run and it will install there and run it correctly or the correct jar to save to profile?
What is the difference between Forge and CurseForge?
Thanks.