Polis: Report container failing to build

Created on 14 Jan 2021  路  7Comments  路  Source: compdemocracy/polis

_Originally posted by @micahstubbs in https://github.com/pol-is/polis/issues/734#issuecomment-760004126_

made it this far, will add this comment as a bookmark for my repro efforts:

git clone [email protected]:pol-is/polis.git
cd polis 
docker-compose up --detach

Then I see:

Skipping 'fsevents' build as platform linux is not supported
npm WARN lifecycle [email protected]~postinstall: cannot run in wd [email protected] npm run build (wd=/app)
added 1034 packages in 24.201s
ERROR: Service 'client-report' failed to build : sync /var/lib/docker/image/overlay2/layerdb/tmp/write-set-966991775/diff: input/output err

Most helpful comment

FWIW, this issue seems to have been that @micahstubbs didn't have enough hard drive space for the images to build. This is similar to the error @colinmegill had getting the docker setup to work on his smaller machine.

Thanks folks!

All 7 comments

Hey @micahstubbs. Thanks for trying this out.

I'm not sure why the client-report isn't building for you. I just recloned and ran from scratch and couldn't reproduce. I'm also on Linux, FWIW, and the fsevents thing should be optional.

Would you please check a few things for us?

  • Was anything else printed out leading up to this?
  • Is there any logging in that /var/lib/docker/image/... file?
  • Have you tried running a second time? Same error?
  • Are you able to run npm run build from within the client-report directory (sans docker)?
  • What happens if you try running docker-compose up --scale polis-client-report=0?

Thanks again!

Also, docker and docker-compose versions?

Thinking this might address it btw: https://github.com/docker/for-mac/issues/1396#issuecomment-284471057

Thanks @patcon.

I'm not sure if that's the same issue, but could be worth trying if nothing else works.

Heh yeah, def the "have you tried turning it on and then off again" of overlayFS 馃

FWIW, this issue seems to have been that @micahstubbs didn't have enough hard drive space for the images to build. This is similar to the error @colinmegill had getting the docker setup to work on his smaller machine.

Thanks folks!

Yeah, these images get big when rebuilding often. A makefile with some helpers would make this simpler. Found an even better one to steal from:
https://github.com/bitspossessed/culturestake-provisioning/blob/master/Makefile

Screen Shot 2021-02-02 at 11 09 56 PM

Screen Shot 2021-01-27 at 12 02 54 PM

Was this page helpful?
0 / 5 - 0 ratings