Well,
I would advise you to manually create a user from the console, SSH to the server, export RAILS_ENV = production, rails c, and then find the user you want if it exists, then update the password manually or simply create a new user. What do you want, and depending on your version of Spree, you simply manually insert the entry into the replacement_ role, where role_id is 1 and user_id is the identifier of the user you just created.
This may depend on the version you are using. But I just do it from the console, it's easier in my opinion.
You can also simply register for an account on your own site, then go to the console, find this user and add a role. There really is a million and one way to do this.
J. Martin
source share