something related to docker container. monkey can you please take a look?
2023-01-30 03035, 2023
ShivamAwasthi98 has quit
2023-01-30 03002, 2023
ShivamAwasthi58 joined the channel
2023-01-30 03025, 2023
ShivamAwasthi58 has quit
2023-01-30 03058, 2023
ShivamAwasthi has quit
2023-01-30 03047, 2023
anonn joined the channel
2023-01-30 03036, 2023
monkey
Sorry I'm AFK this week, can look next week.
2023-01-30 03011, 2023
Shelly joined the channel
2023-01-30 03008, 2023
Shelly
If you don't mind I can try to help. Can you give me log of the error you are getting other than node version error?
2023-01-30 03045, 2023
Shelly has quit
2023-01-30 03057, 2023
Shelly joined the channel
2023-01-30 03005, 2023
Shelly has quit
2023-01-30 03020, 2023
ShivamAwasthi joined the channel
2023-01-30 03044, 2023
ShivamAwasthi
Sure thing @Shelly. this is the error https://pastebin.com/JVw5VPSE. I'm trying to start the server using `develop.sh` script. It fails in the 19th step.
Seems alright. Can you try to run docker-compose build bookbrainz-site
2023-01-30 03016, 2023
ShivamAwasthi
same error
2023-01-30 03003, 2023
ShivamAwasthi
For context, It has been a while since I tried running bookbrainz on my local machine. I pulled all the latest code yesterday and then ran the `develop.sh` script.
The bookbrainz container seems to be up and running.
2023-01-30 03003, 2023
Shelly
Can you run docker exec -it bookbrainz-site bash
2023-01-30 03019, 2023
Shelly
and then run node --version
2023-01-30 03005, 2023
ShivamAwasthi
I'm getting `Error response from daemon: Container efba0c000e7a83b78d06e86673c0f6070a641df1762090d9ec99f41aa44c6a7b is not running
2023-01-30 03005, 2023
ShivamAwasthi
`
2023-01-30 03040, 2023
Shelly
Try this docker run -it bookbrainz-site /bin/bash
2023-01-30 03046, 2023
Shelly
if still throws error, check if docker containers are up by running docker px
2023-01-30 03055, 2023
Shelly
docker ps ***
2023-01-30 03045, 2023
ShivamAwasthi
redis postgres and elasticsearch containers are up
2023-01-30 03049, 2023
ShivamAwasthi
not bookbrainz-site
2023-01-30 03018, 2023
Shelly
Hmm I am running out of ways to resolve this. What node version are you using?
2023-01-30 03013, 2023
ShivamAwasthi
I mean it makes sense that it is not running because it is failing on the 19th step of building the container. my package.json file does say that the node engine version should be >= 16.16.0 . But in the Docker file, it is using metabrainz/node:16. So my guess is that perhaps that loads up 16.1.0 instead of the required version. I'm just guessing
2023-01-30 03034, 2023
ShivamAwasthi
my node version is 19.5
2023-01-30 03012, 2023
Shelly
That should not happen because I setup my environment this month with the latest code and my DockerFile also uses metabrainz/node:16. And the version my docker exec -it bookbrainz-site bash executes is v16.16.0