
Freppe
Members-
Posts
13 -
Joined
-
Last visited
Freppe's Achievements
Newbie (1/14)
1
Reputation
-
Glad to hear that the cause of the problem has been found. Personally I think I will just stick to the working -02 version for now until there is an official solution.
-
Still the same. Also tried on a different non-unraid machine: # docker run -d -p 8222:8222/tcp -p 25565:25565 --name=minecraftserver -v /apps/docker/minecraftserver:/config binhex/arch-minecraftserver:test2 Unable to find image 'binhex/arch-minecraftserver:test2' locally test2: Pulling from binhex/arch-minecraftserver a80ea52ba1f5: Already exists cefdd3643fda: Already exists 46803e3faf06: Already exists 445bf2a9da6c: Already exists 0d719328ea91: Already exists 286698634699: Pull complete 6cb8e617575a: Pull complete 2fbb8c82c6ea: Pull complete 447407499607: Pull complete Digest: sha256:7a00d597e19ed6bf833eb8b3d592fc1fe6c3851de1e468ae4c1a897605928872 Status: Downloaded newer image for binhex/arch-minecraftserver:test2 e0562763dbad5672dfb45535980c792132e0431d2376ef5bc8747ad184231c25 # docker logs minecraftserver Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2021-03-26 11:06:41.136663 [info] System information Linux e0562763dbad 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 GNU/Linux 2021-03-26 11:06:41.175756 [info] OS_ARCH defined as 'x86-64' 2021-03-26 11:06:41.213247 [warn] PUID not defined (via -e PUID), defaulting to '99' 2021-03-26 11:06:41.464994 [warn] PGID not defined (via -e PGID), defaulting to '100' 2021-03-26 11:06:41.676832 [warn] UMASK not defined (via -e UMASK), defaulting to '000' 2021-03-26 11:06:41.714252 [info] Permissions already set for volume mappings 2021-03-26 11:06:41.753249 [info] Deleting files in /tmp (non recursive)... 2021-03-26 11:06:41.792767 [info] CREATE_BACKUP_HOURS not defined,(via -e CREATE_BACKUP_HOURS), defaulting to '12' 2021-03-26 11:06:41.830753 [info] PURGE_BACKUP_DAYS not defined,(via -e PURGE_BACKUP_DAYS), defaulting to '14' 2021-03-26 11:06:41.868449 [info] ENABLE_WEBUI_CONSOLE not defined,(via -e ENABLE_WEBUI_CONSOLE), defaulting to 'yes' 2021-03-26 11:06:41.906617 [warn] ENABLE_WEBUI_AUTH not defined (via -e ENABLE_WEBUI_AUTH), defaulting to 'yes' 2021-03-26 11:06:41.944594 [warn] WEBUI_USER not defined (via -e WEBUI_USER), defaulting to 'admin' 2021-03-26 11:06:41.982307 [warn] WEBUI_PASS not defined (via -e WEBUI_PASS), using randomised password (password stored in '/config/minecraft/security/WEBUI_PASS') 2021-03-26 11:06:42.023652 [info] WEBUI_CONSOLE_TITLE not defined,(via -e WEBUI_CONSOLE_TITLE), defaulting to 'Minecraft Java' 2021-03-26 11:06:42.061628 [info] CUSTOM_JAR_PATH not defined,(via -e CUSTOM_JAR_PATH), defaulting to '/config/minecraft/minecraft_server.jar' (Mojang Minecraft Java) 2021-03-26 11:06:42.100347 [info] JAVA_VERSION not defined,(via -e JAVA_VERSION), defaulting to '8' '/usr/lib/jvm/java-8-openjdk/jre' is not a valid Java environment path
-
No, still the same unfortunately. Did the whole thing with removing the old image as well.
-
OK, will stop trying to figure this out for now then, new attempt tomorrow and thanks for the help
-
Actually, is this the change you were going for? Looks like you changed the location of java 11, but not java 8. ln -fs /usr/lib/jvm/java-8-openjdk/jre/bin/java /usr/bin/java archlinux-java set java-8-openjdk/jre elif [[ "${JAVA_VERSION}" == "11" ]]; then ln -fs /usr/lib/jvm/java-11-openjdk/jre/bin/java /usr/bin/java ln -fs /usr/lib/jvm/java-11-openjdk/bin/java /usr/bin/java archlinux-java set java-11-openjdk else echo "[warn] Java version '${JAVA_VERSION}' not installed, defaulting to Java version 8" | ts '%Y-%m-%d %H:%M:%.S' Not the best quote there, but it's from the commit in github: https://github.com/binhex/arch-minecraftserver/commit/1b38ba9537d32a6235b14ea632590ac20ae694cf
-
Getting late here, but I will absolutely try again tomorrow.
-
Can confirm that 1.16.5-02 is working fine, as was mentioned earlier.
-
Really strange this, I really can't understand why it isn't working. I have done the above and verified that the :test image that I have is the one with digest 40cdb50132cd as is the latest updated version on docker hub, but i still see the exact same issue with the path to the jre.
-
Yes, I am indeed. I also tried removing it completely and reinstalling but that also did not change anything. Is there a tag you need to move or something in order for the latest change to get pulled? (I'm just guessing here, although I do work with software development I have never done any work with github or creating dockers).
-
Yes, not sure why it isn't doing that though. I see that you made a change in github, and yet: Pulling image: binhex/arch-minecraftserver:test IMAGE ID [test]: Pulling from binhex/arch-minecraftserver. Status: Image is up to date for binhex/arch-minecraftserver:test TOTAL DATA PULLED: 0 B Removing container: binhex-minecraftserver-viktor Successfully removed container 'binhex-minecraftserver-viktor' Command: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='binhex-minecraftserver-viktor' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'CREATE_BACKUP_HOURS'='12' -e 'PURGE_BACKUP_DAYS'='14' -e 'ENABLE_WEBUI_CONSOLE'='yes' -e 'ENABLE_WEBUI_AUTH'='yes' -e 'WEBUI_USER'='admin' -e 'WEBUI_PASS'='openop' -e 'WEBUI_CONSOLE_TITLE'='Minecraft Java Viktor' -e 'CUSTOM_JAR_PATH'='/config/minecraft/minecraft_server.jar' -e 'JAVA_VERSION'='8' -e 'JAVA_INITIAL_HEAP_SIZE'='512M' -e 'JAVA_MAX_HEAP_SIZE'='1024M' -e 'JAVA_MAX_THREADS'='1' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '25565:25565/tcp' -p '8222:8222/tcp' -v '/mnt/user/appdata/binhex-minecraftserver-viktor':'/config':'rw' 'binhex/arch-minecraftserver:test' 5dd73ad10b806b81a754aa3341ea7f22246aa49f4e210e95f7349549eee7f494 The command finished successfully! And then: 2021-03-25 21:40:15.250566 [info] CUSTOM_JAR_PATH defined as '/config/minecraft/minecraft_server.jar' 2021-03-25 21:40:15.316635 [info] JAVA_VERSION defined as '8' '/usr/lib/jvm/java-8-openjdk/jre' is not a valid Java environment path I'm new to unraid, so I'm certainly likely to be doing something wrong, but I am using the force update link in advanced view.
-
Doesn't seem to make a difference, and doesn't seem to pull any new data either.
-
2021-03-25 21:10:49.563568 [info] Host is running unRAID 2021-03-25 21:10:49.620413 [info] System information Linux f78befaf8e79 5.10.21-Unraid #1 SMP Sun Mar 7 13:39:02 PST 2021 x86_64 GNU/Linux 2021-03-25 21:10:49.701046 [info] OS_ARCH defined as 'x86-64' 2021-03-25 21:10:49.786526 [info] PUID defined as '99' 2021-03-25 21:10:50.341465 [info] PGID defined as '100' 2021-03-25 21:10:50.671134 [info] UMASK defined as '000' 2021-03-25 21:10:50.728471 [info] Permissions already set for volume mappings 2021-03-25 21:10:50.846302 [info] Deleting files in /tmp (non recursive)... 2021-03-25 21:10:50.925339 [info] CREATE_BACKUP_HOURS defined as '12' 2021-03-25 21:10:50.986025 [info] PURGE_BACKUP_DAYS defined as '14' 2021-03-25 21:10:51.047798 [info] ENABLE_WEBUI_CONSOLE defined as 'yes' 2021-03-25 21:10:51.109415 [info] ENABLE_WEBUI_AUTH defined as 'yes' 2021-03-25 21:10:51.172856 [info] WEBUI_USER defined as 'XXXXXXXX' 2021-03-25 21:10:51.233998 [info] WEBUI_PASS defined as 'XXXXXXXX' 2021-03-25 21:10:51.294337 [info] WEBUI_CONSOLE_TITLE defined as 'Minecraft Java Viktor' 2021-03-25 21:10:51.355745 [info] CUSTOM_JAR_PATH defined as '/config/minecraft/minecraft_server.jar' 2021-03-25 21:10:51.418489 [info] JAVA_VERSION defined as '8' '/usr/lib/jvm/java-8-openjdk/jre' is not a valid Java environment path
-
I just had the same problem after I attempted to install this docker for the first time today. I tried the fix with the test image, but that did not work unfortunately. [19:09:15] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [19:09:15] [main/FATAL]: Failed to start the minecraft server java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted at cyg.<init>(SourceFile:98) ~[minecraft_server.jar:?] at cyg.a(SourceFile:105) ~[minecraft_server.jar:?] at net.minecraft.server.Main.main(SourceFile:117) [minecraft_server.jar:?] Caused by: java.nio.file.FileSystemException: .: Operation not permitted at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) ~[?:1.8.0_282] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_282] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_282] at sun.nio.fs.UnixPath.toRealPath(UnixPath.java:837) ~[?:1.8.0_282] at cyg.<init>(SourceFile:96) ~[minecraft_server.jar:?] ... 2 more