Skip to content

Bug: Update to version 26.1.x results in bad gateway/Java permission denied #33

@Weatherlights

Description

@Weatherlights

Reproduction steps

Just updated to the latest version using sudo docker compose up -d with the provided compose.yml.
The docker does not come up. When I manually edit to 26.0.3 the docker starts again.

2026-04-14T09:58:33.754231775Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) 2026-04-14T09:58:33.754274554Z at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) 2026-04-14T09:58:33.754335768Z Caused by: java.io.IOException: Permission denied 2026-04-14T09:58:33.754341369Z at java.base/java.io.UnixFileSystem.createFileExclusively0(Native Method) 2026-04-14T09:58:33.754376324Z at java.base/java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:258) 2026-04-14T09:58:33.754391172Z at java.base/java.io.File.createTempFile(File.java:2184) 2026-04-14T09:58:33.754433230Z at io.relution.boot.Main.checkTempDirectory(Main.java:291) 2026-04-14T09:58:33.754438881Z at io.relution.boot.Main.main(Main.java:216) 2026-04-14T09:58:33.754475260Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) 2026-04-14T09:58:33.754483405Z ... 4 more 2026-04-14T09:58:34.616791290Z The rootfs is read-write 2026-04-14T09:58:34.631139514Z tput: No value for $TERM and no -T specified 2026-04-14T09:58:34.631894764Z tput: No value for $TERM and no -T specified 2026-04-14T09:58:34.632591307Z tput: No value for $TERM and no -T specified 2026-04-14T09:58:34.632776051Z Testing /usr/lib/jvm/jre/bin/java 2026-04-14T09:58:34.637353186Z Binary found in /usr/lib/jvm/java-21-openjdk-21.0.10.0.7-1.el9.alma.1.x86_64/bin/java 2026-04-14T09:58:35.273232479Z Exception in thread "main" java.lang.reflect.InvocationTargetException 2026-04-14T09:58:35.273259109Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) 2026-04-14T09:58:35.273263317Z at java.base/java.lang.reflect.Method.invoke(Method.java:580) 2026-04-14T09:58:35.273266553Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:106) 2026-04-14T09:58:35.273269969Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) 2026-04-14T09:58:35.273273807Z at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) 2026-04-14T09:58:35.273277443Z Caused by: java.io.IOException: Permission denied 2026-04-14T09:58:35.273281140Z at java.base/java.io.UnixFileSystem.createFileExclusively0(Native Method) 2026-04-14T09:58:35.273284737Z at java.base/java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:258) 2026-04-14T09:58:35.273288384Z at java.base/java.io.File.createTempFile(File.java:2184) 2026-04-14T09:58:35.273295217Z at io.relution.boot.Main.checkTempDirectory(Main.java:291) 2026-04-14T09:58:35.273298332Z at io.relution.boot.Main.main(Main.java:216) 2026-04-14T09:58:35.273301398Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) 2026-04-14T09:58:35.273304825Z ... 4 more 2026-04-14T09:58:36.674225822Z The rootfs is read-write 2026-04-14T09:58:36.686993381Z tput: No value for $TERM and no -T specified 2026-04-14T09:58:36.687783018Z tput: No value for $TERM and no -T specified 2026-04-14T09:58:36.689250499Z Testing /usr/lib/jvm/jre/bin/java 2026-04-14T09:58:36.689253376Z tput: No value for $TERM and no -T specified 2026-04-14T09:58:36.693039109Z Binary found in /usr/lib/jvm/java-21-openjdk-21.0.10.0.7-1.el9.alma.1.x86_64/bin/java 2026-04-14T09:58:37.269468252Z Exception in thread "main" java.lang.reflect.InvocationTargetException 2026-04-14T09:58:37.269807965Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) 2026-04-14T09:58:37.269821070Z at java.base/java.lang.reflect.Method.invoke(Method.java:580) 2026-04-14T09:58:37.269825438Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:106) 2026-04-14T09:58:37.269829205Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) 2026-04-14T09:58:37.269843001Z at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) 2026-04-14T09:58:37.269891843Z Caused by: java.io.IOException: Permission denied 2026-04-14T09:58:37.269900930Z at java.base/java.io.UnixFileSystem.createFileExclusively0(Native Method) 2026-04-14T09:58:37.269944010Z at java.base/java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:258) 2026-04-14T09:58:37.269952386Z at java.base/java.io.File.createTempFile(File.java:2184) 2026-04-14T09:58:37.269978505Z at io.relution.boot.Main.checkTempDirectory(Main.java:291) 2026-04-14T09:58:37.269984687Z at io.relution.boot.Main.main(Main.java:216) 2026-04-14T09:58:37.270028268Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) 2026-04-14T09:58:37.270035732Z ... 4 more

Expected behavior

Docker container should start.

Actual Behavior

Docker container keeps restarting with the given error.

Logs

2026-04-14T09:58:33.754231775Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64)
2026-04-14T09:58:33.754274554Z at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40)
2026-04-14T09:58:33.754335768Z Caused by: java.io.IOException: Permission denied
2026-04-14T09:58:33.754341369Z at java.base/java.io.UnixFileSystem.createFileExclusively0(Native Method)
2026-04-14T09:58:33.754376324Z at java.base/java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:258)
2026-04-14T09:58:33.754391172Z at java.base/java.io.File.createTempFile(File.java:2184)
2026-04-14T09:58:33.754433230Z at io.relution.boot.Main.checkTempDirectory(Main.java:291)
2026-04-14T09:58:33.754438881Z at io.relution.boot.Main.main(Main.java:216)
2026-04-14T09:58:33.754475260Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
2026-04-14T09:58:33.754483405Z ... 4 more
2026-04-14T09:58:34.616791290Z The rootfs is read-write
2026-04-14T09:58:34.631139514Z tput: No value for $TERM and no -T specified
2026-04-14T09:58:34.631894764Z tput: No value for $TERM and no -T specified
2026-04-14T09:58:34.632591307Z tput: No value for $TERM and no -T specified
2026-04-14T09:58:34.632776051Z Testing /usr/lib/jvm/jre/bin/java
2026-04-14T09:58:34.637353186Z Binary found in /usr/lib/jvm/java-21-openjdk-21.0.10.0.7-1.el9.alma.1.x86_64/bin/java
2026-04-14T09:58:35.273232479Z Exception in thread "main" java.lang.reflect.InvocationTargetException
2026-04-14T09:58:35.273259109Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
2026-04-14T09:58:35.273263317Z at java.base/java.lang.reflect.Method.invoke(Method.java:580)
2026-04-14T09:58:35.273266553Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:106)
2026-04-14T09:58:35.273269969Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64)
2026-04-14T09:58:35.273273807Z at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40)
2026-04-14T09:58:35.273277443Z Caused by: java.io.IOException: Permission denied
2026-04-14T09:58:35.273281140Z at java.base/java.io.UnixFileSystem.createFileExclusively0(Native Method)
2026-04-14T09:58:35.273284737Z at java.base/java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:258)
2026-04-14T09:58:35.273288384Z at java.base/java.io.File.createTempFile(File.java:2184)
2026-04-14T09:58:35.273295217Z at io.relution.boot.Main.checkTempDirectory(Main.java:291)
2026-04-14T09:58:35.273298332Z at io.relution.boot.Main.main(Main.java:216)
2026-04-14T09:58:35.273301398Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
2026-04-14T09:58:35.273304825Z ... 4 more
2026-04-14T09:58:36.674225822Z The rootfs is read-write
2026-04-14T09:58:36.686993381Z tput: No value for $TERM and no -T specified
2026-04-14T09:58:36.687783018Z tput: No value for $TERM and no -T specified
2026-04-14T09:58:36.689250499Z Testing /usr/lib/jvm/jre/bin/java
2026-04-14T09:58:36.689253376Z tput: No value for $TERM and no -T specified
2026-04-14T09:58:36.693039109Z Binary found in /usr/lib/jvm/java-21-openjdk-21.0.10.0.7-1.el9.alma.1.x86_64/bin/java
2026-04-14T09:58:37.269468252Z Exception in thread "main" java.lang.reflect.InvocationTargetException
2026-04-14T09:58:37.269807965Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
2026-04-14T09:58:37.269821070Z at java.base/java.lang.reflect.Method.invoke(Method.java:580)
2026-04-14T09:58:37.269825438Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:106)
2026-04-14T09:58:37.269829205Z at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64)
2026-04-14T09:58:37.269843001Z at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40)
2026-04-14T09:58:37.269891843Z Caused by: java.io.IOException: Permission denied
2026-04-14T09:58:37.269900930Z at java.base/java.io.UnixFileSystem.createFileExclusively0(Native Method)
2026-04-14T09:58:37.269944010Z at java.base/java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:258)
2026-04-14T09:58:37.269952386Z at java.base/java.io.File.createTempFile(File.java:2184)
2026-04-14T09:58:37.269978505Z at io.relution.boot.Main.checkTempDirectory(Main.java:291)
2026-04-14T09:58:37.269984687Z at io.relution.boot.Main.main(Main.java:216)
2026-04-14T09:58:37.270028268Z at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
2026-04-14T09:58:37.270035732Z ... 4 more

Environment

Rocky Linux 10.1
Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions