# Rebuilding of TaskManager fails due to permission errors

**URL:** <https://community.orangeqs.com/t/rebuilding-of-taskmanager-fails-due-to-permission-errors/129>\
**Category:** Community Support\
**Created:** [July 30, 2026, 10:21am UTC](https://community.orangeqs.com/t/rebuilding-of-taskmanager-fails-due-to-permission-errors/129 "2026-07-30T10:21:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimVroomans](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@TimVroomans](https://community.orangeqs.com/u/TimVroomans)\
**Post date:** [July 30, 2026, 10:21am UTC](https://community.orangeqs.com/t/rebuilding-of-taskmanager-fails-due-to-permission-errors/129/1 "2026-07-30T10:21:14Z")

</div>

Juice version: 26.31.0

Today I’ve updated to Juice 26.31.0 on two setups. In one setup the update went smoothly, but in the other setup an error is raised when the TaskManager is being rebuilt.

The following error is visible via journalctl:

![image](https://canada1.discourse-cdn.com/flex029/uploads/orangeqs/original/1X/837a9dc10016be4bdb9547547c870c06e4c81ac2.png)

What can be the reason for this permission error?

---

<div class="post-metadata">

**Author:** ![Koushik](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@Koushik](https://community.orangeqs.com/u/Koushik)\
**Post date:** [July 30, 2026, 11:14am UTC](https://community.orangeqs.com/t/rebuilding-of-taskmanager-fails-due-to-permission-errors/129/2 "2026-07-30T11:14:24Z")

</div>

Hi Tim,

Can you try manually clearing the uv cache on the host?

You should be able to do this be running:

```auto
[root@a1a7eab1aeb6 /]# sudo -i
[root@a1a7eab1aeb6 ~]# ls
[root@a1a7eab1aeb6 ~]# cd /var/lib/juice/user/shared/
[root@a1a7eab1aeb6 shared]# rm -rf .uv-cache/*
[root@a1a7eab1aeb6 shared]# juice install --restart --rebuild

```

This was a bug that [fix(orchestration): update existing user/group UID/GID instead of skipping (!466) · Merge requests · Orange Quantum Systems / OrangeQS Juice · GitLab](https://gitlab.com/orangeqs/juice/-/merge_requests/466) should have fixed, unclear how it is still occurring

---

<div class="post-metadata">

**Author:** ![TimVroomans](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@TimVroomans](https://community.orangeqs.com/u/TimVroomans)\
**Post date:** [July 30, 2026, 1:51pm UTC](https://community.orangeqs.com/t/rebuilding-of-taskmanager-fails-due-to-permission-errors/129/3 "2026-07-30T13:51:27Z")

</div>

That hasn’t fixed it I’m afraid.

On this computer there have been permission issues ever since Juice has been installed. In a previous debugging session (via mattermost) we did agree to run a few chmod commands. Maybe that has messed things up?

---

<div class="post-metadata">

**Author:** ![TimVroomans](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@TimVroomans](https://community.orangeqs.com/u/TimVroomans)\
**Post date:** [July 30, 2026, 1:55pm UTC](https://community.orangeqs.com/t/rebuilding-of-taskmanager-fails-due-to-permission-errors/129/4 "2026-07-30T13:55:40Z")

</div>

Here `ls -la` printouts of (what I think are) the relevant folders:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/orangeqs/original/1X/eca39fbd567d07a2189ea42b6f6ae3abf0f1be9a.png)

---

<div class="post-metadata">

**Author:** ![TimVroomans](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@TimVroomans](https://community.orangeqs.com/u/TimVroomans)\
**Post date:** [July 30, 2026, 2:09pm UTC](https://community.orangeqs.com/t/rebuilding-of-taskmanager-fails-due-to-permission-errors/129/5 "2026-07-30T14:09:11Z")

</div>

I was able to fix it.

The `data_folder.user_id` and `data_folder.group_id` settings were set to the wrong values.

I got the correct user\_id by running `id -u juice-data`

I got the correct group\_id by running `getent group juice-data`
