[GH-ISSUE #269] Permission error #159

Closed
opened 2026-02-22 18:18:08 -05:00 by yindo · 0 comments
Owner

Originally created by @parsh78 on GitHub (Oct 6, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/269

Hello,

I trying to deploy in Docker, but I am not able to complete image build. Please help, not sure what is missing in my setup.

Output of id command:
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),105(lxd),1001(docker)

.env UID GUID settings
UID='1000'
GID='1000'

Error details:
#0 67.36 [Errno 13] Permission denied: '/usr/lib/python3.10/pycache/future.cpython-310.pyc.139969042422384'dpkg: error processing package python3.10-minimal (--configure):
#0 67.36 installed python3.10-minimal package post-installation script subprocess returned error exit status 1
#0 67.66 Errors were encountered while processing:
#0 67.66 python3.10-minimal
#0 67.68 E: Sub-process /usr/bin/dpkg returned an error code (1)

failed to solve: executor failed running [/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends curl libgfortran5 python3 python3-pip tzdata netcat libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -yq --no-install-recommends nodejs && curl -LO https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb && dpkg -i yarn_1.22.19_all.deb && rm yarn_1.22.19_all.deb && curl -LO https://github.com/jgm/pandoc/releases/download/3.1.3/pandoc-3.1.3-1-amd64.deb && dpkg -i pandoc-3.1.3-1-amd64.deb && rm pandoc-3.1.3-1-amd64.deb && rm -rf /var/lib/apt/lists/* /usr/share/icons && dpkg-reconfigure -f noninteractive tzdata && python3 -m pip install --no-cache-dir virtualenv]: exit code: 100

Originally created by @parsh78 on GitHub (Oct 6, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/269 Hello, I trying to deploy in Docker, but I am not able to complete image build. Please help, not sure what is missing in my setup. Output of id command: uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),105(lxd),1001(docker) .env UID GUID settings UID='1000' GID='1000' Error details: #0 67.36 [Errno 13] Permission denied: '/usr/lib/python3.10/__pycache__/__future__.cpython-310.pyc.139969042422384'dpkg: error processing package python3.10-minimal (--configure): #0 67.36 installed python3.10-minimal package post-installation script subprocess returned error exit status 1 #0 67.66 Errors were encountered while processing: #0 67.66 python3.10-minimal #0 67.68 E: Sub-process /usr/bin/dpkg returned an error code (1) ------ failed to solve: executor failed running [/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends curl libgfortran5 python3 python3-pip tzdata netcat libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -yq --no-install-recommends nodejs && curl -LO https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb && dpkg -i yarn_1.22.19_all.deb && rm yarn_1.22.19_all.deb && curl -LO https://github.com/jgm/pandoc/releases/download/3.1.3/pandoc-3.1.3-1-amd64.deb && dpkg -i pandoc-3.1.3-1-amd64.deb && rm pandoc-3.1.3-1-amd64.deb && rm -rf /var/lib/apt/lists/* /usr/share/icons && dpkg-reconfigure -f noninteractive tzdata && python3 -m pip install --no-cache-dir virtualenv]: exit code: 100
yindo added the question label 2026-02-22 18:18:08 -05:00
yindo closed this issue 2026-02-22 18:18:08 -05:00
yindo changed title from Permission error to [GH-ISSUE #269] Permission error 2026-06-05 14:33:47 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#159