Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By digitaldrz on
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
=-=
check the user table in the database and make sure the question name is there and is uid 1
I checked users_field_data
The users_fiedl_data table has the correct data. users_data and users seem similar to other functioning sites.
Are users shared between
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?
Create new password
I cannot access the site to create a new pw. Can I do this via drush?
You can use the 'forgot
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.I tried drush
I tried:
drush user-password USERNAME --password="SOMEPASSWORD"
It did not help the problem
Did you use drush uli as I
Did you use drush uli as I suggested?
Drush uli
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.