Open hassanayoub85 opened 4 years ago
Hi @hassanayoub85! Do you know how much RAM you have available? The js:webpack_production
step generally requires 6GB+ of RAM.
Hi @djbender, 8 cores and 8 GB RAM
@hassanayoub85 OK! If you're able we can try to diagnose the issue by commenting out the last line of the Dockerfile
and running docker-compose build
followed by docker-compose run --rm web yarn run webpack-production
.
Also, if you don't need production assets right away (i.e. running the app in development mode instead of production mode) you can also safely ignore them for now with the following workaround:
Comment out the last line of the Dockerfile
# RUN COMPILE_ASSETS_NPM_INSTALL=0 bundle exec rake canvas:compile_assets
run the script/docker_dev_setup.sh
script again.
compile the dev assets manually:
$ docker-compose run --rm web yarn run build:css $ docker-compose run --rm web yarn run webpack-development
@djbender hi my friend thank you for your response, i upgraded ram to 16gb, and installation worked and finished. However i am facing anothet issue, since yesterday, i run the command docker-compose up and alot of sql commands issues are keep appearing, and the url canvas.docker is not working, any idea?
@djbender I have the same issue on a machine with 16gb RAM.
Hi, On Ubuntu 18.04 I run these commands:
then i reply yes to all questions, installer stuck here: