I have a multi-site installation using D8.1.8 that has 6 sites functioning as expected. One of the sites does not allow login by the admin user. I can install the site but cannot login. I have asked for a pw reset and get the reset in email, but that leads me to no access rather than a way to change password. I have deleted the dir and re-created it as well as clearing and resetting the database.
The problem only exists with a single domain.

Comments

VM’s picture

check the user table in the database and make sure the question name is there and is uid 1

digitaldrz’s picture

The users_fiedl_data table has the correct data. users_data and users seem similar to other functioning sites.

Jaypan’s picture

Are users shared between sites in a D8 multi-site install? They weren't in D6 and D7, without some extra steps.

Why not just create a new password?

digitaldrz’s picture

I cannot access the site to create a new pw. Can I do this via drush?

Jaypan’s picture

You can use the 'forgot password' link.

But yes, you can also use drush uli. Note that you'll need to navigate to the site-specific folder before running this, to ensure that it is run for the correct site.

digitaldrz’s picture

I tried:
drush user-password USERNAME --password="SOMEPASSWORD"

It did not help the problem

Jaypan’s picture

Did you use drush uli as I suggested?

digitaldrz’s picture

I used drush uli uid browser=firefox admin/settings/performance
It did not give me an error, but but did not open a browser.

I have deleted the dir and database and re-installed, but the same thing happens. It is as if the domain name has a block. I never heard of that, but if I use a different domain, I have no problem.

So I use a different domain.