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?
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
Under Java Settings, have you set 17 or 20?