You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script create_and_promote_user.sh is important for us for test deployments and administration of related test accounts.
Currently the script does not function.
sudo docker exec micro-pkc-mediawiki php maintenance/createAndPromote.php testuser mypassword --sysop
my_wiki: Creating and promoting User:testuser into sysop...
[fc613ae78c76492234795ddd] [no req] PasswordError: The authentication data change was not handled. Maybe no provider was configured?
Backtrace:
from /var/www/html/maintenance/createAndPromote.php(140)
#0 /var/www/html/maintenance/includes/MaintenanceRunner.php(309): CreateAndPromote->execute() #1 /var/www/html/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run() #2 /var/www/html/maintenance/createAndPromote.php(166): require_once(string) #3 {main}
The text was updated successfully, but these errors were encountered:
You cannot use this script with OIDC setups. You can temporarely disable OIDC, run the script and re-enable. But even if you created the user, how will you login with this user later?
The script create_and_promote_user.sh is important for us for test deployments and administration of related test accounts.
Currently the script does not function.
The underlaying functionality is https://www.mediawiki.org/wiki/Manual:CreateAndPromote.php which fails if run with:
sudo docker exec micro-pkc-mediawiki php maintenance/createAndPromote.php testuser mypassword --sysop
my_wiki: Creating and promoting User:testuser into sysop...
[fc613ae78c76492234795ddd] [no req] PasswordError: The authentication data change was not handled. Maybe no provider was configured?
Backtrace:
from /var/www/html/maintenance/createAndPromote.php(140)
#0 /var/www/html/maintenance/includes/MaintenanceRunner.php(309): CreateAndPromote->execute()
#1 /var/www/html/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()
#2 /var/www/html/maintenance/createAndPromote.php(166): require_once(string)
#3 {main}
The text was updated successfully, but these errors were encountered: