UPDATE: Started with GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext, but just got blank page post ‘docker-compose up -d’ command at port 8000. Though all relevant containers are running:
Later, I came across GitHub - donysukardi/docker-frappe, but fails to buid (# IMAGE_NAME=donysukardi/frappe:stable ./hooks/build .) with:
Successfully installed Click-6.7 GitPython-0.3.2rc1 MarkupSafe-1.0 bench certifi-2017.11.5 chardet-3.0.4 gitdb-0.6.4 honcho-1.0.1 idna-2.6 jinja2-2.10 psutil-5.4.2 python-crontab-2.2.8 python-dateutil-2.6.1 requests-2.18.4 semantic-version-2.6.0 six-1.11.0 smmap-0.9.0 urllib3-1.22 virtualenv-15.1.0
INFO:bench.utils:virtualenv -q env -p /usr/bin/python2
Already using interpreter /usr/bin/python2
INFO:bench.utils:./env/bin/pip -q install --upgrade pip
INFO:bench.utils:./env/bin/pip -q install wheel
INFO:bench.utils:./env/bin/pip -q install six
INFO:bench.utils:./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit
INFO:bench.utils:npm install socket.io redis express superagent cookie babel-core less chokidar babel-cli babel-preset-es2015 babel-preset-es2016 babel-preset-es2017 babel-preset-babili
Segmentation fault
Traceback (most recent call last):
File “/usr/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/bench-repo/bench/commands/setup.py”, line 130, in setup_socketio
setup_socketio()
File “/home/frappe/bench-repo/bench/utils.py”, line 152, in setup_socketio
babel-cli babel-preset-es2015 babel-preset-es2016 babel-preset-es2017 babel-preset-babili", cwd=bench_path)
File “/home/frappe/bench-repo/bench/utils.py”, line 140, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: npm install socket.io redis express superagent cookie babel-core less chokidar babel-cli babel-preset-es2015 babel-preset-es2016 babel-preset-es2017 babel-preset-babili
The command ‘/bin/sh -c git clone -b $BENCH_BRANCH --depth 1 https://github.com/$FRAPPE_USER/bench bench-repo && sudo pip install -e /home/$FRAPPE_USER/bench-repo --no-cache-dir && mkdir -p frappe-bench && cd frappe-bench && mkdir -p apps logs sites/localhost config && bench setup env && sudo bench setup sudoers $FRAPPE_USER && bench setup socketio && bench get-app frappe GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --branch $FRAPPE_BRANCH’ returned a non-zero code: 1
Even after pulling the docker image from the same repo at dockerhub, it gives “Internal Server Error”
No clues even from this thread: ERPNext docker discussion - #48 by RWEMA_Aimable
Any clues appreciated! Thanks!