feat(entrypoint): add debug mode for entrypoint#2311
feat(entrypoint): add debug mode for entrypoint#2311joshtrichards wants to merge 3 commits intomasterfrom
Conversation
Signed-off-by: Josh <josh.t.richards@gmail.com>
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
|
Cc: @tzerber You might find this of interest too |
I do like it, neat. Would also help debugging fresh installs like the one we had few weeks(months? can't remember) ago where upon fresh install on slower hardware it was reporting weird errors and the only solution was to down/up the container. Good job! |
|
This would be an option would work exclusively on the Nextcloud image. |
@J0WI Well, it also turns on verbose mode for rsync and the installer (added in v28: see nextcloud/server#41214) too. Perhaps verbose mode for the installer should on by default in the entrypoint (with or without this PR). After all, updating is already fairly verbose. The installer just isn't by default. It's a one-off event so maybe that's the approach there. Verbose mode for rsync could be helpful in troubleshooting situations that arise with folks with whacky NFS storage/etc. (seems to arise with k8s/helm users most often), but having it on by default doesn't make sense. |
This PR does two things:
IMAGE_DEBUG) that toggles on a verbose/debug mode for key image functions (entrypoint, install, rsync)Details:
entrypoint.shitselfocc maintennace:installrsyncocc upgradedidn't need it because it's already fairly verbose by defaultNew retry output:
TODO:
shdebugging / verbose modeocc maintenance:installdebugging / verbose mode(only adds timestamps so not necessary)occ upgradeocccalls (other than the simple ones)?