Skip to content

[docker] Add more logs regarding rights modification

Nicolas Frandeboeuf requested to merge nicofrand/kresus:docker-entrypoint into master

Starting a Kresus docker image takes a really long time (10+ minutes sometimes) on my server, and a user reported the same thing on the forum too. Most of this time is on [ENTRYPOINT] Changing rights. I would like to know from where this really comes from, hence the addition of logs here.

I also have

[ENTRYPOINT] Changing rights...
chown: cannot access '/usr/local/lib/node_modules/kresus': No such file or directory
(no kresus found in /usr/local/lib)

which makes me think we should mute the chown call. I also don't remember why this is needed even with the comment # TODO temporary fix until we get a proper location for the weboob data dir.

Merge request reports