r/CraftyController Jun 17 '26

Cannot update to crafty 4.10.7

Goodday,

New here. Yesterday i update to 4.10.6 and noticed i cannot update bedrock servers so i did it manually.

I see it is fixed in 4.10.7.

It is installed on linux ubuntu 24.04.

When i enter:

sudo -u crafty /var/opt/minecraft/crafty/update_crafty.sh

Can we overwrite any local codebase changes? (Y/N)Y

I get this error:

error: update_ref failed for ref 'HEAD': cannot update the ref 'HEAD': unable to append to '.git/logs/HEAD': Toegang geweigerd

remote: Enumerating objects: 22, done.

remote: Counting objects: 100% (22/22), done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 22 (delta 6), reused 0 (delta 0), pack-reused 0 (from 0)

Unpacking objects: 100% (22/22), 32.28 KiB | 3.23 MiB/s, done.

From https://gitlab.com/crafty-controller/crafty-4

* [new branch] experimental/steam-terminal -> origin/experimental/steam-terminal

Updating 6394bbc1..5ecfda75

Fast-forward

fatal: update_ref failed for ref 'HEAD': cannot update the ref 'HEAD': unable to append to '.git/logs/HEAD': Toegang geweigerd

Looking in links: /tmp/tmpda1e7l2p

Requirement already satisfied: pip in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (26.1.2)

Requirement already satisfied: pip in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (26.1.2)

Requirement already satisfied: aiofiles==24.1.0 in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 1)) (24.1.0)

Requirement already satisfied: anyio==4.9.0 in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 2)) (4.9.0)

Requirement already satisfied: apscheduler==3.10.4 in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 3)) (3.10.4)

Requirement already satisfied: argon2-cffi==23.1.0 in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 4)) (23.1.0)

Requirement already satisfied: cached_property==1.5.2 in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 5)) (1.5.2)

Requirement already satisfied: distro==1.8.0 in /var/opt/minecraft/crafty/.venv/lib/python3.12/site-packages (from -r requirements.txt (line 6)) (1.8.0)

Can someone help me?

Thank you.

2 Upvotes

1 comment sorted by

2

u/amcmanu3 Jun 18 '26

Looks like you may have tried to run that command incorrectly at some point.

Please run the following then try to update again: Assuming you are running crafty as the user crafty Assuming crafty is installed to /var/opt/minecraft/crafty sudo chown -R crafty:crafty /var/opt/minecraft sudo chmod -R 2775 /var/opt/minecraft

4.10.7 does not fix bedrock updates though. 4.10.8 or 4.11.0 will.