Closed thefringeninja closed 3 months ago
Share your entire log file, please. Sharing 4 lines is not helpful. There are multiple places where an account can be updated during the account creation flow. Regardless, the update would fail if the account didn't exist (as would all the other inserts, e.g. roles, users, etc. since they depend on an account foreign key), so this points to a deeper issue in your setup run.
You were right, further up the log I see that insert statements were indeed executed. When I changed the database name it worked.
I am running the setup rake task but no account is created when it completes. I turned on postgresql logging and this saw this:
Although I can see here that it's calling
create!
which afaik should always result in anINSERT
statement.