Mx
Mx
HHomarr
Created by Mx on 12/18/2024 in #💬・get-help
v1 Beta - Cannot use Reverse Proxy
👍
10 replies
HHomarr
Created by Mx on 12/18/2024 in #💬・get-help
v1 Beta - Cannot use Reverse Proxy
Are all of those being pushed to the beta tag for the image, or is the new image under the tag above. I'm assuming the later as skopeo inspect says that beta.4 is also a tag
"RepoTags": [
"alpha",
"early-adopters",
"dev",
"v1.0.0-beta.1",
"beta",
"v1.0.0-beta.3",
"experimental-docker-permission-issue",
"fix-startup-permission-issue",
"v1.0.0-beta.4"
],
"RepoTags": [
"alpha",
"early-adopters",
"dev",
"v1.0.0-beta.1",
"beta",
"v1.0.0-beta.3",
"experimental-docker-permission-issue",
"fix-startup-permission-issue",
"v1.0.0-beta.4"
],
10 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
So - bad news https://github.com/moby/moby/issues/3206 doing VOLUME appdata is going to create the directory 'appdata' on the host as root if it doesn't exist. There is no way around that. It's created by the docker Daemon which is running as root. There is no 'automated' solution here via the dockerfile. Options - User creates directory prior to running compose - User chown's after (worse option considering it'll have failed once, and requires restarting container) - Pre-script which just mkdir's then can launch into docker compose. (Common option) This wouldn't really affect helm/K8s because it's a PVC and they do their own permissions. But for docker runtime, no solution. For docker, it's standard for directories to pre-exist with proper permissions before mounting to them. (Lots of OS projects require this, either manually, or via pre-script usually ran via curl) This is per my colleague is well versed in docker. There are some 'gotchas' like helm where this doesn't apply, like if you are using a GUi that wraps all docker commands, or has their own file perms. Otherwise, this is the summary
48 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
# gettext is required for envsubst
RUN apk add --no-cache redis nginx bash gettext
RUN mkdir /appdata
RUN mkdir /secrets

RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs

RUN chown -R 1001:1001 /appdata
RUN chown -R 1001:1001 /secrets

VOLUME /appdata
VOLUME /secrets
# gettext is required for envsubst
RUN apk add --no-cache redis nginx bash gettext
RUN mkdir /appdata
RUN mkdir /secrets

RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs

RUN chown -R 1001:1001 /appdata
RUN chown -R 1001:1001 /secrets

VOLUME /appdata
VOLUME /secrets
No luck here
48 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
someone gotta hop in that public chat and screenshare lol
48 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
fwiw, even using user 1000 (my UID) or 1001, no dice - Still failling to perms on the subdirs. (Ubuntu) :slowfrog:
48 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
Shouldn't default root user still work then?
48 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
> ll
total 4.0K
drwxr-xr-x 2 root root 4.0K Dec 17 16:19 appdata
> ll appdata
total 0
> ll
total 4.0K
drwxr-xr-x 2 root root 4.0K Dec 17 16:19 appdata
> ll appdata
total 0
Mine has root user
48 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
looks like it created the appdata dir, just nothing under it
48 replies
HHomarr
Created by Heavensong on 12/17/2024 in #💬・get-help
500 Internal Error | 1.0 Beta
Same error here
48 replies