netreconlab / parse-hipaa

HIPAA & GDPR compliant ready parse-server with postgres/mongo, parse-hipaa-dashboard. Compatible with ParseCareKit
MIT License
100 stars 43 forks source link

exec ./wait-for-postgres.sh: no such file or directory #110

Open NGoren613 opened 1 week ago

NGoren613 commented 1 week ago

I cloned the repo. Didn't change anything. Tried basic docker compose up for initial testing. db and dashboard seem to run fine. parse-hipaa gives this message and shuts down:

parse-hipaa-parse-1      | exec ./wait-for-postgres.sh: no such file or directory
parse-hipaa-parse-1 exited with code 1
cbaker6 commented 1 week ago

I suspect there is something you cloned incorrectly as I just tried the instructions here: https://github.com/netreconlab/parse-hipaa?tab=readme-ov-file#postgres and don't see the warning you mentioned. Note that the script is in the docker file here: https://github.com/netreconlab/parse-hipaa/blob/main/scripts/wait-for-postgres.sh.

In terminal, navigate to the the parse-hipaa directory and type: docker compose up -d

I also tested mongo which works as well https://github.com/netreconlab/parse-hipaa?tab=readme-ov-file#mongo

cbaker6 commented 1 week ago

It's possible you have old versions of the images (if you used parse-hipaa years ago on your computer) you can check for this by typing the following in your terminal: docker images. You should see something like:

(base) x-guestwireless-upc-newsc20622 parse-hipaa % docker images
REPOSITORY                                                                                             TAG       IMAGE ID       CREATED        SIZE
netreconlab/hipaa-postgres                                                                             latest    a8feb0054add   4 days ago     579MB
netreconlab/hipaa-mongo                                                                                latest    bc32193b960e   2 weeks ago    897MB
netreconlab/parse-hipaa-dashboard                                                                      latest    a7e5a0921878   2 weeks ago    267MB
netreconlab/parse-hipaa                                                                                latest    c8c2e982a94e   2 weeks ago    381MB
NGoren613 commented 1 week ago

That could be it. Tested it on my laptop this morning and it seems to run fine. I'll have to look for those on my desktop this weekend. I did test it with mongo on my desktop yesterday and it seemed to work okay. Thanks