Can't rebuild app stuck extracting one layer

Hi, Im trying to change domain name for my instance and after I’ve change app.yml
I did ./launcher rebuild app ( but last time I ran out of storage and that killed my VM.
After recovering VM I’m still trying run ./launcher rebuild app but it’s getting error while extracting layer (might be corrupted coz of last VM faill)

I did ./launcher cleanup but that doesn’t change anything…

my log:

652eb042dd5e: Extracting [==================================================>]     573B/573B
cd51257f4ecd: Download complete 
5eed14ae58f0: Download complete 
f257509e0958: Download complete 
a6bde524645d: Download complete 
82dfc29f3ce5: Download complete 
07c39acaa3b7: Download complete 
e7935f12e648: Download complete 
bd02e1a59800: Download complete 
0ae6893dd88b: Download complete 
91be6e9ac724: Download complete 
584172ab2718: Download complete 
docker: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/1ad4b88844a7dc9c9a26a760a9591d8ba00523eed253dcd50cb116b146060f03/merged: too many levels of symbolic links.
See 'docker run --help'.
Your Docker installation is not working correctly

Every time can’t extract that:

652eb042dd5e: Extracting [==================================================>]     573B/573B

Please help :slight_smile:

Is any option to force launcher to pull everything again to overwrite corrupted files?

Purging and reinstalling Docker might work, assuming there’s nothing else on your VM that uses docker.

Unfortunately, there is a lot of it :frowning:


The solution in my case was:

systemctl stop docker
rm -rf /var/lib/docker/*
docker rm -f $(docker ps -aq)
docker rmi -f $(docker images -q)
systemctl start docker
docker system prune -a
./launcher rebuild app

cheers :smiley: