Chapter 6: PostgreSQL - Thread 1: Fatal error: Error raised at top level:

:cry::cry::cry::cry::cry:

I get this error. SQLite and MySQL sections worked fine. The problem is only in the PostgreSQL.

Page 90. Make sure you have the Run scheme selected with the deployment target My Mac, then build and run your application. Look for the migration messages in the console.

Any Idea :question:

Screenshot

Docker is running
image

Same Error with the β€œFinal” project in the β€œFinal” folder

In Terminal i just went to the folder and build with vapor

vapor xcode -y

Even with Final project I get the same error

image

In Terminal: docker ps
image

@0xtim Can you please help with this when you get a chance? Thank you - much appreciated! :]

:grinning::grinning::grinning::grinning:

I managed to run it by using

docker kill postgres

docker start postgres

Now gives me a hello world message

image

But I am scared that i will not be able to figure out how to solve this non sense message errors in the future and get stagnated.

:disappointed_relieved::disappointed_relieved::disappointed_relieved::disappointed_relieved::disappointed_relieved:

The Vapor forums are a great place if you ever get stuck!