Unable to create a new user on the 1st attempt

When I try to create a new user (enter Email, First Name and clicking Save), this is the error is thrown:

pymysql.err.OperationalError: (4091, "Unknown SEQUENCE: 'docshare_id_seq'")

But if I click on the Save button again, it creates the user successfully.

This happens for every new user.

How do I fix this on v14.15.0?

The solution is to bench...migrate the site and rerun docker compose...up -d.