Maybe could this be put into the native application template?
I haven’t rebuilt the app on disk for a while now, since the upgrade via web admin console works like a charm. Upgrading in the docker container works different to the shell rebuild as far as I would guess for now.
git pulled plenty of changes.
1392 files changed, 63951 insertions(+), 41658 deletions(-)
I don’t have exact times, but I’d say 10 minutes at least where the Docker container was just idle with chown (did a docker exec to inspect what it was doing). System here is running with limited IOPs on a hosting platform.
One could also install parallel or alter the way find executes chown in multiple processes, e.g. per directory. Would such make sense for a PR?