Unable to login as a test user on my local ghost installation in development environment

Hi,
-I’m using the latest local installation of ghost i.e. v5 on windows in development mode.
-I’m also using an external mysql database

  • Both the database and ghost site are containerized on docker.
  • My node version is 16.17.0
  • I have added myself as a member to test the login functionality but when I try to log in, a message come up that says “failed to log in, please try again.” In the network tab I see “internal server error” on send-magic-link POST request. These issues persist whether I use the containerized version or even a fresh installation of ghost local. What should I do? Please help me.

That’s consistent to the dev installation not being able to send mail. Did you configure it?

No I did not configure the mail as I thought that adding a member through ghost admin and then signing in instead of signing up shouldn’t cause any issue since in signing in newsletter isn’t involved.

and here’s my config.development.json

{
“url”: “http://localhost:2368/”,
“server”: {
“port”: 2368,
“host”: “127.0.0.2”
},
“database”: {
“client”: “mysql”,
“connection”: {
“host”: “127.0.0.1”,
“port”: “3306”,
“user”: “root”,
“password”: “password”,
“database”: “ghost-db”
}
},
“mail”: {
“transport”: “Direct”
},
“logging”: {
“transports”: [
“file”,
“stdout”
]
},
“process”: “local”,
“paths”: {
“contentPath”: “D:\Projects\ghost\ghost-local\content”
},
“secure”: false
}