Closed dAAAb closed 2 years ago
It seems that memory on Raspberry Pi is not enough for building LikeChain. Since some libraries we used are using C libraries, cross compilation is not supported, so we need an ARM machine running Linux to build LikeChain for Raspberry Pi.
One possible solution is to shutdown X Window, login Ubuntu and build LikeChain in pure command line, to see if we can spare enough memory by cutting the GUI part.
That said, in our internal testing, the LikeChain node may crash in machines with only 1 GB memory during heavy loading, so Raspberry Pi is probably not a suitable choice for running LikeChain node.
It seems to be the issue about docker-compose version in ./docker-compose.yml? Because I create a new droplet on DigitalOcean with 2 GB Memory / 50 GB Disk / SGP1 - Ubuntu 18.04.2 x64 , the problem still there.
root@LikeChain:~/likechain# docker-compose up
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
The new problem is different from the previous one. The original problem happened in the build process, while the new one is about running the already built services.
The new problem should be fixed by upgrading Docker and Docker Compose. We are using Docker Compose file version 3.6, which should be compatible with Docker Compose 1.20+ and Docker 18.02.0+.
Please try to update Docker and Docker Compose and try again.
Please try again with the new Dockerfile. If problem persist, please reopen the issue.
Full log: https://pastebin.com/a7wcYFDp