2.7.0.beta2 upgrade failed with ERROR: duplicate key

I got the site back up by renaming postgres_data_old back to postgres_data and then running ./launcher start app to start the old image.

So, I’m back to square 1, but at least the site is up.

I tried to find the duplicate key, by entering this:

select * from users WHERE username = 'DaveW';

(username = DaveW was the problem key as shown in the error message in my first post in this thread.)

The command returned just one row, one user. What am I missing?

Thanks,
Gunnar