Skip to content

Cannot read properties of null (reading 'account_count') #404

@Tobjoern

Description

@Tobjoern

Hello,
I followed the steps in the docker setup (Docker.README.md) exactly, but when I try to log-in, I get the error

"0|user.server | TypeError: Cannot read properties of null (reading 'account_count')
0|user.server | at default (file:///usr/socioboard/app/socioboard-api/User/middleware/authentication.middleware.js:31:71)"

When I start the compose file for the first time, I get the following log:

Running first time setup
Initializing MySQL Database
npm WARN exec The following package was not found and will be installed: [email protected]
sh: sequelize: Permission denied
Setup complete
Starting API

I suspect it has something to do with am error in the db initialization. Can anyone help me with that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions