System Information
Field |
Value |
Operating System |
Linux - Debian GNU/Linux 12 on x86_64 |
Product |
AMP ‘Phobos’ v2.6.2.0 (Mainline) |
Virtualization |
QEMU_KVM |
Application |
Minecraft Bedrock |
Module |
GenericModule |
Running in Container |
No |
Current State |
Failed |
Problem Description
Issue
This task could not be completed: Running Update Tasks - - State: 3.
/bin/bash failed with exit code 1
Reproduction Steps
- Update to the current version
- Automatik start of the instance fails
- Trying to start manually Sprints this error
Update your instance from the main page - return to the instances page, click on down arrow icon on the Bedrock instance
Same issue, this is not the fix that works for me
This task could not be completed: Performing Upgrade - For instance Minecraft NEW - State: 3.
Thanks Ryan, this does not solve it for me either.
Unable to complete task
This task could not be completed: Performing Upgrade - For instance name - State: 3.
Console is printing:
bash
17:53:44
/bin/bash: line 1: jq: command not found
wget: missing URL
Usage: wget [OPTION]… [URL]…
Try `wget --help’ for more options.
My fix was to run the command:
sudo apt install jq
Your linux install is missing that program “jq”
1 Like
Thanks Ryan, that solved the issue.
1 Like
Your instance is out of date anyway. The template no longer runs bash commands that rely on jq
But good idea to have it installed anyway, since other templates rely on it
If you can’t update your instance, then you have a deeper problem with the config repos that needs to be fixed, or you won’t get further updates to templates. Check the ADS logs when trying to update it
Interesting! How would one fix that?
Need to check the logs first to see what they are saying
I clicked the update button from the instance list:
The error popped up:
Unable to complete task
This task could not be completed: Performing Upgrade - For instance Minecraft NEW - State: 3.
However, in the deployment log it has this:
21:18:22
Changing setting Core.Monitoring.LogLevel to 0
21:18:27
Upgrading instance MinecraftNEW01
User: AMP
Home Dir: /home/AMP
Target path: /home/AMP/.ampdata/Versions/Mainline/20250617.1/AMP_x86_64.zip
Running command line: “/usr/bin/unzip -qq -o “/home/AMP/.ampdata/Versions/Mainline/20250617.1/AMP_x86_64.zip”” from “/home/AMP/.ampdata/instances/MinecraftNEW01”
21:18:30
Fetching metadata for GenericModule from /home/AMP/.ampdata/instances/ADS01/Plugins/GenericModule/GenericModule.dll…
Saving instances to /home/AMP/.ampdata/instances.json…
Wrote 4 instances to temporary file: /home/AMP/.ampdata/instances.json.tmp
Renamed original instances manifest to backup file: /home/AMP/.ampdata/instances.json-20250619.bak
Renamed temporary file to instances manifest: /home/AMP/.ampdata/instances.json
21:18:32
Task Performing Upgrade (For instance Minecraft NEW) ended: Acknowledged
I removed the “jq” package and i once again get the error.
Not sure how to correct this.
[00:26:23] [Core:ryan Activity/32] : Updating the application.
/bin/bash: line 1: jq: command not found
wget: missing URL
Usage: wget [OPTION]… [URL]…
Try `wget --help’ for more options.
I suspect the issue is a breaking bug that was introduced into AMP several months ago
Search for “configuration repositories” at the main AMP screen, what shows there?
Also, in the datastore for your Bedrock server, open GenericModule.kvp. What’s the line for Meta.OriginalSource
show?
in the repositories I had CubeCoders/AMPTemplates
but one of the support folks got me to change it to:
CubeCoders/AMPTemplates:main
in the file i currently have
Meta.OriginalSource=CubeCoders-AMPTemplates-main
That should then fix it for you. Though if any older instances still refer to the old repo name in their config, then they will be broken
Pretty major bug, completely ignored
Thanks so much.
When i stop the server and try to update i get this in the console log:
18:31:47
[2025-06-24 18:31:47:229 INFO] Server stop requested.
[2025-06-24 18:31:47:240 INFO] Stopping server…
Quit correctly
bash
18:31:51
/bin/bash: line 1: jq: command not found
18:31:52
wget: missing URL
Usage: wget [OPTION]… [URL]…
Try `wget --help’ for more options.
Did you update the instance from the main instances page (click on the down arrow on the instance) after changing the config repos settings?
What’s in the Deployment Log when you do so?
Error that pops up is:
Unable to complete task
This task could not be completed: Performing Upgrade - For instance Minecraft NEW - State: 3.
deployment log:
Upgrading instance MinecraftNEW01
19:11:40
Updating remote source CubeCoders/AMPTemplates:main
Updating existing remote source https://github.com/CubeCoders/AMPTemplates.git...
No stash entries found.
In the main file manager, go to ADS01/Plugins/ADSModule/DeploymentTemplates
Delete any CubeCoders-* directories there
Then try to update the instance again from the main instances page
I did that, restarted AMP with ampinstmgr -o and then -b
i updated the config repositories
I updated from outside the instance
error:
Unable to complete task
This task could not be completed: Performing Upgrade - For instance Minecraft NEW - State: 3.
deployment log:
:51:58
Updating remote source CubeCoders/AMPTemplates:main
Updating existing remote source https://github.com/CubeCoders/AMPTemplates.git...
No stash entries found.
19:52:05
Upgrading instance MinecraftNEW01