GeyserMC install issues

OS Name/Version: Ubuntu 22.04

Product Name/Version: AMP 2.4.3.6

Problem Description: When I’m trying to install GeyserMC I get a error message:

This task could not be completed: Running Update Tasks - - State: 3.

chmod returned code 1

Im on a Oracle Cloud server BTW
Steps to reproduce:

  • install amp
  • Add GeyserMC instance
  • press start or install button

Actions taken to resolve so far:
Tried running su -l amp -c “ampinstmgr --nocache --upgradeall” from another post but it didn’t do anything

The template is not currently configured for ARM systems. Tho AMP recently got that functionality - I will update the template to allow for native ARM running. If you are using CPx on ARM then you can still run the x64 version.

Anyway, you probably didn’t select the correct Java version - current versions available on the Oracle website are 17 (LTS) or 20 (latest).

Now my java edition is saying java is not installed and get stuck on installing components. While geyser just works so I have java installed.

The Geyser instance has its own java installed (in the instance).

Minecraft relies on java installed on the system. So you need to do that.

Now geyser just keeps restarting.

Everytime it says done it just restarts

What do the logs say? Also is the correct Java version selected?

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x000000010a37125e, pid=169190, tid=169207

JRE version: Java™ SE Runtime Environment (20.0.1+9) (build 20.0.1+9-29)

Java VM: Java HotSpot™ 64-Bit Server VM (20.0.1+9-29, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)

Problematic frame:

J 3983 c1 sun.security.util.math.intpoly.IntegerPolynomial$MutableElement.setValue(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/intpoly/IntegerPolynomial$MutableElement; java.base@20.0.1 (60 bytes) @ 0x000000010a37125e [0x000000010a3711c0+0x000000000000009e]

Core dump will be written. Default location: Core dumps may be processed with “/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g – %E” (or dumping to /home/amp/.ampdata/instances/Geyser01/geyser/core.169190)

An error report file with more information is saved as:

How was Java originally installed?

I originally installed it when I installed amp but I also tried to install it manually because it gave this error.

I now have this error again after trying to reinstall the instance
This task could not be completed: Running Update Tasks - - State: 3.

chmod returned code 1

Uninstall Java from your system entirely, and verify that you’ve done so by running locate java (may be whereis java depending on your distro) and let me know once you’ve done that.

I think it is uninstalled. Now just reinstall?

Assuming you’re on the latest version of AMP, run:

sudo getamp installJava as root

I get error: command not found.

Okay you’re not on the latest version, in that case do:

bash <(wget -qO- getamp.sh) installJava

As root

Done, should it work now?

Next you’ll need to restart AMP:

su -l amp
ampinstmgr restartall

Then try again and let me know what happens.

Getting This task could not be completed: Running Update Tasks - - State: 3.

chmod returned code 1
again

As root, run:

ampinstmgr fixperms

Then try again.

Under Java Settings, have you set 17 or 20?

20

This error again:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0000000000050433, pid=171947, tid=171999

JRE version: Java™ SE Runtime Environment (20.0.1+9) (build 20.0.1+9-29)

Java VM: Java HotSpot™ 64-Bit Server VM (20.0.1+9-29, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)

Problematic frame:

C 0x0000000000050433

Core dump will be written. Default location: Core dumps may be processed with “/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g – %E” (or dumping to /home/amp/.ampdata/instances/Geyser01/geyser/core.171947)

An error report file with more information is saved as: