I’ve just managed to set up a local Mastodon development on my Fedora system. When
bundle exec rails db:setup
to create the DB schema, an error occurs:
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["email", "admin@localhost:3000"], ["LIMIT", 1]] rails aborted! BCrypt::Errors::InvalidHash: invalid hash /home/thomas/Code/mastodon/db/seeds.rb:7:in `<top (required)>' bin/rails:4:in `<main>' Tasks: TOP => db:setup => db:seed (See full trace by running task with --trace)
I have no idea what could be the cause. Can you give me a hint?