DOCKER_MODS failing

I find the docker mods to be unreliable for LazyLibrarian. Only about 20% of the time do they load. The other 80% I get this below. The image does come up with the mods missing but I would rather it failed when this happened and retried.

thanks for any help!

[mod-init] Attempting to run Docker Modification Logic

[mod-init] Applying linuxserver/calibre-web:calibre files to container

gzip: stdin: unexpected end of file

tar: Child returned status 1

tar: Error is not recoverable: exiting now

[mod-init] Applying linuxserver/mods:lazylibrarian-ffmpeg files to container

gzip: stdin: unexpected end of file

tar: Child returned status 1

tar: Error is not recoverable: exiting now

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.

[s6-init] ensuring user provided files have correct perms…exited 0.

[fix-attrs.d] applying ownership & permissions fixes…

[fix-attrs.d] done.

It occurs to me that I have this in a portainer stack networked through another openvpn container. Would this happen because the openvpn is not established yet? Could you make the docker mod installation retry on failure for this kind of circumstance or wait for the network to be ready somehow? Or is there a port I can expose for this so it doesn’t wait for the vpn tunnel. That could work too.

All of our containers expect to have an active and working internet connection during start. You should look into staggering the container starts so the internet connection is ready when your container starts (or restart it again)