Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make demo fails with Access denied for user 'root'@'isle-dc_drupal_1.isle-dc_default' #240

Closed
kayakr opened this issue Mar 18, 2022 · 9 comments

Comments

@kayakr
Copy link

kayakr commented Mar 18, 2022

isle-dc on 3e77d34 commit, vanilla .env, MacOS:

Waiting for up to 300 seconds to connect to Database mariadb:3306
Waiting for 3306 on mariadb to open.
Database found
Validating Database credentials
Credentials are valid
ERROR 1045 (28000): Access denied for user 'root'@'isle-dc_drupal_1.isle-dc_default' (using password: YES)
make[1]: *** [drupal-database] Error 1
make: *** [demo] Error 2
@kayakr
Copy link
Author

kayakr commented Mar 18, 2022

Try changing .env to USE_SECRETS=false, make demo gets a little further then prompts for a password but it's not clear what component is asking for credentials or which credentials to supply...

isle-dc_blazegraph_1 is up-to-date
Recreating isle-dc_homarus_1 ... 
Recreating isle-dc_recast_1  ... 
isle-dc_solr_1 is up-to-date
Recreating isle-dc_hypercube_1 ... 
Recreating isle-dc_homarus_1    ... done
Recreating isle-dc_recast_1     ... done
Recreating isle-dc_hypercube_1  ... done
Recreating isle-dc_cantaloupe_1 ... done
Recreating isle-dc_milliner_1   ... done
Recreating isle-dc_alpaca_1     ... done
Recreating isle-dc_activemq_1   ... done
Recreating isle-dc_houdini_1    ... done
Recreating isle-dc_mariadb_1    ... done
Recreating isle-dc_matomo_1     ... done
Recreating isle-dc_fcrepo_1     ... done
Recreating isle-dc_drupal_1     ... done
PHP Notice:  Uninitialized string offset: 0 in /var/www/drupal/vendor/drush/drush/src/Preflight/ArgsPreprocessor.php on line 72
PHP Notice:  Uninitialized string offset: 0 in /var/www/drupal/vendor/drush/drush/src/Preflight/ArgsPreprocessor.php on line 72
PHP Notice:  Uninitialized string offset: 0 in /var/www/drupal/vendor/drush/drush/src/Preflight/ArgsPreprocessor.php on line 72
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: 3 incorrect password attempts
make[1]: *** [update-settings-php] Error 1
make: *** [demo] Error 2

@kayakr
Copy link
Author

kayakr commented Mar 18, 2022

Looks like local user password was needed prior to
docker cp "{redacted}/projects/isle-dc/demo-data/public-files.tgz" $(docker-compose ps -q drupal):/tmp/public-files.tgz

@kayakr
Copy link
Author

kayakr commented Mar 18, 2022

make demo just ends after
Action processing results: Emit a media event to a queue/topic (121).
It doesn't announce that make is completed or what URL to visit.

Tried to login to https://islandora.traefik.me/ using 'admin' and 'password' but rejected. Used docker-compose exec -T drupal with-contenv bash -lc 'drush --root /var/www/drupal/web uli 1' instead.

  • docs need updating now make demo doesn't work ootb.
  • docs should mention local password may be required
  • Are non-secrets mode Drupal credentials really admin:password?
  • make demo should announce successful completion

@rosiel
Copy link
Contributor

rosiel commented Mar 23, 2022

Unfortunately it is my belief that the "demo box on docker hub" which is used by make demo was clobbered over with the "demo box on docker hub" which was meant for make demo-install-profile. So you're probably getting the install profile box but trying to run some commands that don't work.

The documentation hasn't been updated in part because the install profile pull request on isle-dc is still open. But this seems broken enough that an update is warranted.

There's a "discussion" about what options should do, here: Islandora/documentation#2037

And yes, it really is/was "admin/password" 🥺

@noahwsmith
Copy link
Contributor

@nigelgbanks can you comment on Rosie's assessment, please?

@noahwsmith
Copy link
Contributor

Oh, and Willow re-tested #160 again this week - we're ready to sign off on that. Me/Don/Danny are the primary authors. Do we need someone else to hit the merge button, now that Willow is on our team too?

@rosiel
Copy link
Contributor

rosiel commented Mar 25, 2022

@noahwsmith
Copy link
Contributor

Beautiful! Thanks Rosie!

@joecorall
Copy link
Contributor

This sounds like it may have been closed already but the make demo command has been replaced by documentation.

$ make demo
make demo has been removed. To create a demo site, please follow the instructions at https://islandora.github.io/documentation/installation/docker-local/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants