From 1cf24e664497895d30a10c0d767a751a4e578229 Mon Sep 17 00:00:00 2001 From: user22300 Date: Fri, 12 Jun 2026 10:37:57 +1000 Subject: [PATCH 1/5] Update Dockerfile.cuda fix: resolve UID 1000 conflict with ubuntu user in CUDA base images on Ubuntu 24.04 Ubuntu 24.04 ships with a default ubuntu user at UID/GID 1000 which conflicts with appuser creation, causing persistent permission errors on volume mounts. Fix removes the ubuntu user first before creating appuser at UID 1000. --- Dockerfile.cuda | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile.cuda b/Dockerfile.cuda index 76d6c4eb2..6b51bc533 100644 --- a/Dockerfile.cuda +++ b/Dockerfile.cuda @@ -94,9 +94,13 @@ RUN curl -fsSL https://deno.land/install.sh | sh \ && deno --version # Create default user (will be modified at runtime if needed) -# Use 10001 to avoid conflicts with existing users in CUDA base image -RUN groupadd -g 10001 appuser \ - && useradd -m -u 10001 -g 10001 appuser \ +# Previously used 10001 to avoid conflicts with existing user in CUDA base image +# Ubuntu 24.04 ships with a default 'ubuntu' user at UID/GID 1000, causing permission conflicts with default appuser account. +# Remove it first, then create appuser at UID 1000 to match the entrypoint script. +RUN userdel -r ubuntu 2>/dev/null || true \ + && groupdel ubuntu 2>/dev/null || true \ + && groupadd -g 1000 appuser \ + && useradd -m -u 1000 -g 1000 appuser \ && mkdir -p /app/data/uploads /app/data/transcripts \ && chown -R appuser:appuser /app From e47c5a172de6b60ee36939257e5fabe48e16cd5c Mon Sep 17 00:00:00 2001 From: user22300 Date: Fri, 12 Jun 2026 10:38:54 +1000 Subject: [PATCH 2/5] Update Dockerfile.cuda.12.9 fix: resolve UID 1000 conflict with ubuntu user in CUDA base images on Ubuntu 24.04 Ubuntu 24.04 ships with a default ubuntu user at UID/GID 1000 which conflicts with appuser creation, causing persistent permission errors on volume mounts. Fix removes the ubuntu user first before creating appuser at UID 1000. --- Dockerfile.cuda.12.9 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile.cuda.12.9 b/Dockerfile.cuda.12.9 index f8398a23d..6d91b8b0e 100644 --- a/Dockerfile.cuda.12.9 +++ b/Dockerfile.cuda.12.9 @@ -96,9 +96,13 @@ RUN curl -fsSL https://deno.land/install.sh | sh \ && deno --version # Create default user (will be modified at runtime if needed) -# Use 10001 to avoid conflicts with existing users in CUDA base image -RUN groupadd -g 10001 appuser \ - && useradd -m -u 10001 -g 10001 appuser \ +# Previously used 10001 to avoid conflicts with existing user in CUDA base image +# Ubuntu 24.04 ships with a default 'ubuntu' user at UID/GID 1000, causing permission conflicts with default appuser account. +# Remove it first, then create appuser at UID 1000 to match the entrypoint script. +RUN userdel -r ubuntu 2>/dev/null || true \ + && groupdel ubuntu 2>/dev/null || true \ + && groupadd -g 1000 appuser \ + && useradd -m -u 1000 -g 1000 appuser \ && mkdir -p /app/data/uploads /app/data/transcripts \ && chown -R appuser:appuser /app From 525871b09eed055707f6fabbfffd546a631e31ed Mon Sep 17 00:00:00 2001 From: user22300 Date: Fri, 12 Jun 2026 11:00:26 +1000 Subject: [PATCH 3/5] Update README.md Add explanation of why this fork exists, identify to users that this repo will not be maintained and is intended to be merged with original repo. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3cc8f8884..a70d22564 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,10 @@ Scriberr is an open-source, and completely offline audio transcription applicati Scriberr Desktop App + +## Why this fork? +Hi everyone, this is a simple fork of Scriberr put together to make some simple dockerfile fixes to resolve UID permission conflicts in the CUDA 12.9 version of the image. At present, the current build with CUDA 12.9 on blackwell gpus errors out due to these permission conflicts, I can confirm that my version here is tested and confirmed to work on an RTX 5090 system. I have no intentions of maintaining this package, this was a one off contribution as I know that others may benefit. I have accordingly committed these changes to the original developer so that they can update the original repository accordingly and all can benefit :) + ## Update on project status Hi everyone, It’s been a while since the last update, so I wanted to share what’s been going on with Scriberr. From 74abe66db54930d9694be12d1c7505b2a965fd00 Mon Sep 17 00:00:00 2001 From: user22300 Date: Fri, 12 Jun 2026 11:01:18 +1000 Subject: [PATCH 4/5] Update README.md Add explanation of why this fork exists, identify to users that this repo will not be maintained and is intended to be merged with original repo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a70d22564..14ae5114b 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Scriberr is an open-source, and completely offline audio transcription applicati ## Why this fork? -Hi everyone, this is a simple fork of Scriberr put together to make some simple dockerfile fixes to resolve UID permission conflicts in the CUDA 12.9 version of the image. At present, the current build with CUDA 12.9 on blackwell gpus errors out due to these permission conflicts, I can confirm that my version here is tested and confirmed to work on an RTX 5090 system. I have no intentions of maintaining this package, this was a one off contribution as I know that others may benefit. I have accordingly committed these changes to the original developer so that they can update the original repository accordingly and all can benefit :) +Hi everyone, this is a simple fork of Scriberr put together to make some simple dockerfile fixes to resolve UID permission conflicts in the CUDA 12.9 version of the image. At present, the current build with CUDA 12.9 on blackwell gpus errors out due to these permission conflicts, I can confirm that my version here is tested and confirmed to work on an RTX 5090 system. I have no intentions of maintaining this package, this was a one off contribution. I have accordingly committed these changes to the original developer so that they can update the original repository and all can benefit :) ## Update on project status Hi everyone, From acd91dd9ec6c91926c66b2a461af131c14f740c2 Mon Sep 17 00:00:00 2001 From: user22300 Date: Fri, 12 Jun 2026 11:01:51 +1000 Subject: [PATCH 5/5] Update README.md Add explanation of why this fork exists, identify to users that this repo will not be maintained and is intended to be merged with original repo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 14ae5114b..7bf13d5f8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Scriberr is an open-source, and completely offline audio transcription applicati ## Why this fork? -Hi everyone, this is a simple fork of Scriberr put together to make some simple dockerfile fixes to resolve UID permission conflicts in the CUDA 12.9 version of the image. At present, the current build with CUDA 12.9 on blackwell gpus errors out due to these permission conflicts, I can confirm that my version here is tested and confirmed to work on an RTX 5090 system. I have no intentions of maintaining this package, this was a one off contribution. I have accordingly committed these changes to the original developer so that they can update the original repository and all can benefit :) +Hi everyone, this is a simple fork of Scriberr put together to make some simple dockerfile fixes to resolve UID permission conflicts in the CUDA 12.9 version of the image. At present, the current build with CUDA 12.9 on blackwell gpus errors out due to these permission conflicts, I can confirm that my version here is tested and working on an RTX 5090 system. I have no intentions of maintaining this package, this was a one off contribution. I have accordingly committed these changes to the original developer so that they can update the original repository and all can benefit :) ## Update on project status Hi everyone,