grandma-collaboration / skyportal_grandma_dev

Little Git Repo to keep track of the work done by the A4 ESILV TEAM
2 stars 0 forks source link

Issue on Skyportal #37

Closed jolyanem closed 1 year ago

jolyanem commented 1 year ago

Hello @Theodlz ! :smile: sorry to bother you during christmas vacations. I would like to show my errors on SP in order to fix it. When I try to make run and then make log : makerunmakelog

Then I tried : make db_clear && make db_init && make run. And here is the make log Screenshot_2022-12-24_09_08_56 So I thought the problem came from my pg_hba.conf but I don't really see how can I change it to make it work. Screenshot_2022-12-24_09_09_55

Thank you ! :rocket:

Theodlz commented 1 year ago

Hi! So the lines you added in the pg_hba.conf should be added between the last local line, and the first host line, not on top of all the config as you did.

To make it easier during development, I suggest removing what you added and simply adding host all all 127.0.0.1/32 trust which will allow all connections.

Also, make sure that your postgresql is running! To do so, open a terminal and run sudo systemctl status <name_of_your_postgresql_service>

I guess the name will be postgresql, but it might be postgresql-14.

Keep me updated, and have a lovely christmas.

jolyanem commented 1 year ago

Hello @Theodlz ! 👋 I'm coming back for some updates. So, I checked if my postgresql was running and it is! Then, I moved the lines and add the line host all all 127.0.0.1/32 trust before all the host lines (and I make sure that everything was like at the beginning with no other changes). It looks like this now :

image

but errors still remain on my make log when I try make run

image image

And when I try make db_clear && make db_init && make run :

image