MantisAI / prodigy-service

3 stars 0 forks source link

Make up throws error #1

Closed nsorros closed 1 year ago

nsorros commented 3 years ago

make up for the prodigy service in Overton throws

mkdir -p /prodigy
cat prodigy.json.template | envsubst > /prodigy/prodigy.json
/bin/sh: 1: cannot create /prodigy/prodigy.json: Permission denied
make: *** [Makefile:20: /prodigy/prodigy.json] Error 2
nsorros commented 3 years ago

possibly related with the env variable prodigy_home being set up to /prodigy instead of prodigy. @ivyleavedtoadflax can confirm

ivyleavedtoadflax commented 3 years ago

Yes could be, in which case you should check what permissions are set on /prodigy.

Note that /prodigy is not an mistake. Setting prodigy home to this ensures that that the location on the instance and in the container are the same, so that when you pass a prodigy command you can use the same paths. If you set it to ./prodigy things get more complicated.