conifer
conifer copied to clipboard
Problems running latest dockerized webrecorder
Hi,
First off, thanks for this project.
I am trying to install a dockerized webrecorder on my local machine, and have been able to setup the docker images. However, when I run the webrecorder_frontend_1
app, it exits with the following logs (obtained by sudo docker logs webrecorder_frontend_1
):
running production build
> [email protected] build /code
> better-npm-run build
sh: 1: better-npm-run: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build: `better-npm-run build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-01-26T06_05_22_994Z-debug.log
> [email protected] docker-prod /code
> concurrently --kill-others "npm run start-docker-prod"
sh: 1: concurrently: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] docker-prod: `concurrently --kill-others "npm run start-docker-prod"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] docker-prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-01-26T06_05_23_470Z-debug.log
The above causes webrecorder_nginx_1
to leave the message:
2019/01/26 06:05:45 [error] 7#7: *1 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.21.0.1, server: , request: "GET / HTTP/1.1", upstream: "http://172.21.0.9:8095/", host: "localhost:8089"
172.21.0.1 - - [26/Jan/2019:06:05:45 +0000] "GET / HTTP/1.1" 502 9603 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
I am trying to install this on Arch, however, I feel the problem is that webrecorder_frontend_1
somehow can't find the run.sh
script. Could you help me?
Hi @fosshelper, are you running the project as root? Could you see if this permissions tweak resolves it?
Hi @m4rk3r, yes I was running the project as root. As such permissions shouldn't matter, but just for the sake of testing, I did test it with your permissions tweak (I had also seen that issue before, and already tried it).