Cate
@Jtey1 after I delete those two lines do I run "docker-compose up" again? Thank you!

Yes. docker-compose up to provision and run all services. docker-compose up -d to run it in the background. If you do that, you can stop the background job with docker-compose down

@Jtey1 just want to double check in case I mess something up; above is a screenshot of the commented lines 54 and 61 that I'm about to delete.

Cate
@Jtey1 just want to double check in case I mess something up; above is a screenshot of the commented lines 54 and 61 that I'm about to delete.

I'm not sure if you can comment it like that. Just delete those lines. If you need it back you can copy it from GitHub

Okay I've deleted them & I'm now running "docker-compose up".

I also ran "docker-compose up -d" just now and checked localhost:3000/block/1 but it still doesn't work. Should I wait for it?

Cate after following some of the help / guidance from people above, with the changes you have been making, what do you see from the console output when running docker-compose without the -d I'm going to guess your REST gateway service is still failing to launch

using without -d is a simple way to track what's going on. you aren't `D`aemonizing the process

from some of the screenshots above, looks like you may be having environment issues with bash not being found

check for the error logs,"docker logs -f --tail 100 container-name-or-id"

Gars
check for the error logs,"docker logs -f --tail 100 container-name-or-id"

this not so useful for actively debugging, given the amount of information produced and multiple containers

doesn't hurt to just open another terminal window xD

@symball I'll run docker-compose up again & see what I get.

before doing that

add the following flags

docker-compose up --force-recreate --build

from what i see, looks like the containers themselves are not built properly

if can't even get through this lot, problem before database

I've just typed "docker-compose up -- force-recreate --build" & it says "Error: No such service: --" .

remove spacing here -- force-recreate

So just "docker-compose up force-recreate"?

docker-compose up --force-recreate --build

Okay, I didn't get an error this time. 🙂

that will be 8 cookies please :3

Do I check localhost now?

if the output from your docker process is showing that no processes have exited

should be ok to try

if you see anything along the lines of exited with code 126, please show details here

wait... perhaps the rest-gateway version?

I did get "exited with code 126"; I'll post screenshots here.

that's environment issues with all the base service images...hmmm

just to confirm, you are using the bootstrap from here? https://github.com/tech-bureau/catapult-service-bootstrap

you are using windows, yes?

it looks like you have opened these files in an editor at some point which has added some extra end-of-line characters where they shouldn't be

so, first off, would recommend installing a text editor like Notepad++, VSCode, or Atom if you're going to be looking at these files

secondly, reset your file system state back to the repository and then try running the setup procedure again with clean files. this can be done using a simple git reset git reset --hard

all the ^M and \r are not so healthy!

you won't see these characters in your text editor but, they are there and the scripts don't like them

99.99% guarantee above will work

And yes I'm using Windows 10.

I'm also using VS Code.

i'll be leaving work now so, crossing my fingers for you 🙈

one last quick thing about VSCode

Thank you @symball for your time and help!

along the bottom toolbar