Error with Umami demo

Created on 27 December 2022, almost 2 years ago
Updated 31 August 2023, over 1 year ago

Problem/Motivation

Umami demo is not working in simplytest. The error is

63aa809d0645501a1ec54180# /bin/sh -c php -d memory_limit=-1 ${DOCROOT}/vendor/bin/drush si demo_umami --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat --account-name=admin --account-pass=admin -y
Could not open input file: /var/www/html/vendor/bin/drush
Command Failed (Tugboat Error 1064): Exit code (1)

Steps to reproduce

Go to https://simplytest.me/
Click on Umami demo

Proposed resolution

Identify the issue and fix it.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇮🇳India Akhil Babu Chengannur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States eojthebrave Minneapolis, MN

    Marked #3358751: Unami Demo one-click not working as a duplicate of this. Would be nice to get this fix deployed so the one click Umami demo works again. Let me know if there's any additional testing I can do to help.

  • 🇬🇧United Kingdom 2dareis2do

    Similar problem:

    This may be the error:
    
    649c47f7757563ca3724878f# /bin/sh -c php -d memory_limit=-1 ${DOCROOT}/vendor/bin/drush si demo_umami --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat --account-name=admin --account-pass=admin -y
    Could not open input file: /var/www/html/vendor/bin/drush
  • Status changed to Needs work over 1 year ago
  • Status changed to RTBC over 1 year ago
  • 🇬🇧United Kingdom Eli-T Manchester

    It would be awesome to have this fix committed.

    In the meantime, you can still spin up Umami if you don't select the Umami Demo button in the One Click installs section, but instead select Drupal core as the project to evaluate, then select Manual Installation in the advanced options. You will then be able to select the Umami profile during the manual installation, it will not hit the error condition caused by using the One Click install, and will successfully build.

  • Below are activities, I have performed to launch the sandbox:-

    Firstly I have installed the simplytest profile on my local machine. Also, I have done an analysis of the module structure/workflow.
    Then I got to know there are two dependencies:-
    1. Github (any repertory )In the repository, I have added .tugboat/config.yml file and updated the required docker and Drupal configuration.
    2. Tugboatqa: I have created an account on the tugboat and integrated the pipeline process with Git Hub. Also created a sandbox with Drupal latest version.

    If we talk about the Drupal org issue. here we are using own repo. to make the sandbox for each version.repo: git@github.com:nerdstein/simplytest-instances.gitbranch name is: base-umami

    Solution to this issue:-

    simplytest\modules\simplytest_ocd\src\Plugin\OneClickDemo\Umami.php need to be updated line no. 29 with below :

    $commands[] = 'cd "${DOCROOT}" && php -d memory_limit=-1 ../vendor/bin/drush si demo_umami --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat --account-name=admin --account-pass=admin -y';
    in the Umami.php file.

  • PR have been rasied for issue, please review and merge :

    https://github.com/simplytestme/website/pull/267

  • Status changed to Fixed over 1 year ago
  • 🇺🇸United States mglaman WI, USA

    Thanks @Akhil Babu for fix and @pkghang re-rolling it to Github. Merged and it'll be deployed shortly.

    https://github.com/simplytestme/website/commit/5baa268e0619e4028341a40a5...

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024