Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=4
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘not applicable’
- Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
bookworm 0 - Kernel version |
uname --all
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux - Architecture |
dpkg --print-architecture
arm64 - SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)
RPi4 - Power supply used | (EG: 5V 1A RAVpower)
Official Raspberry Pi 15W USB-C - SD card used | (EG: SanDisk ultra)
SanDisk MicroSDXC Endurance 32Gb
Additional Information (if applicable)
- Software title | (EG: Nextcloud)
PaperMC - Was the software title installed freshly or updated/migrated?
Fresh install - Can this issue be replicated on a fresh installation of DietPi?
I have not tried
Steps to reproduce
- Install PaperMC from dietpi-software
- ???
- Profit
Expected behaviour
It should have the right permissions to create the files.
Actual behaviour
Installer is not able the required files thus not completing pre configuration.
Extra details
[FAILED] File does not exist or cannot be written to by current user│
Please verify the existence of the file $3│
/mnt/dietpi_userdata/papermc/server.properties
Retry with proper permissions or apply the setting manually:
enable-rcon=true
Also seems to be a separate issue with the default JDK version selected for the PaperMC install (OpenJDK version 17) as when I true to launch it manually I get the following.
root@DietPi:/opt/papermc# java -jar paperclip.jar
Downloading mojang_1.20.6.jar
Applying patches
Starting org.bukkit.craftbukkit.Main
Exception in thread "ServerMain" java.lang.UnsupportedClassVersionError: org/bukkit/craftbukkit/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:38)
at java.base/java.lang.Thread.run(Thread.java:840)
root@DietPi:/opt/papermc# java -version
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment (build 17.0.11+9-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.11+9-Debian-1deb12u1, mixed mode, sharing)
The latest version of OpenJDK available in stable is 17 unfortunately, there are later versions available in testing.