Skip to content

User table isn't created during installation #35

@sepro

Description

@sepro

Hi @hariszaf !

I've tried to run the tool locally but ran across a few minor issues setting up and linking docker (which I'd rather discuss in person later on as this might be my setup or a bit of extra documentation that needs to be added for windows users). But one thing I think is an issue is that a Users table, required by the app isn't created during the setup. I've logged into the docker container running mysql and there is a table structure but no spot for the Users data.

ProgrammingError
sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'bacterialgrowth.users' doesn't exist")
[SQL: SELECT `Users`.id, `Users`.uuid, `Users`.`orcidId`, `Users`.`orcidToken`, `Users`.name, `Users`.`isAdmin`, `Users`.`createdAt`, `Users`.`updatedAt`, `Users`.`lastLoginAt` 
FROM `Users` 
WHERE `Users`.uuid = %(uuid_1)s 
 LIMIT %(param_1)s]
[parameters: {'uuid_1': '8bb059ad-e553-49d3-aa92-1fd672abc485', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/f405)

Of note: I don't have the ORCID api so I left that blank in the config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions