Created on 8 February 2024, 5 months ago
Updated 7 March 2024, 4 months ago

Problem/Motivation

Unable to do a composer install

Steps to reproduce

Command (on boa/AEgir):

composer create-project drutopia/drutopia_template:dev-master --no-interaction drutopia2

terminal output:

Creating a "drutopia/drutopia_template:dev-master" project at "./drutopia2"
Installing drutopia/drutopia_template (dev-master 7fa66d7f47a98bfb5911a6e5c619e238fe3dc602)
- Installing drutopia/drutopia_template (dev-master 7fa66d7): Extracting archive
Created project in /data/disk/o2/static/drutopia2
Loading composer repositories with package information

In Git.php line 472:

Failed to execute git clone --mirror -- 'git@gitlab.com:drutopia/drutopia.git' '/home/o2.ftp
/.composer/cache/vcs/git-gitlab.com-drutopia-drutopia.git/'

Cloning into bare repository '/home/o2.ftp/.composer/cache/vcs/git-gitlab.com-drutopia-druto
pia.git'...
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Nothing was extracted. Only a .gitignore, a README and a composer.json file were written to the directory, which was created.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom EM-fast1

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

Comments & Activities

  • Issue created by @EM-fast1
  • 🇮🇳India dineshkumarbollu

    Hi @EM-fast1

    In Module → page there is no way to install the module using composer, can you provide steps to reproduce the issue.

  • 🇬🇧United Kingdom EM-fast1

    I have never used GitLab before, and I don't understand the error message. I hope I am not required to install gitlab on our drupal hosting server - I don't want that. Do I need to subscribe to GitLab and then upload an ssh key of the server on which I am trying to install drutopia 2.0-dev to my new gitlab account? (I don't consider this to be secure at all - letting a third-party or anyone, in fact, haev our servers ssh keys.

    Could someone fro the drutopia team please clarify this, because this is new - and didn't exist in the 9.5.11 versions of drutopia - as fas as I know. I am just trying to bring a drutopia 1 (with drupal 9.5.11) up to date so it runs drupal 10.1 or 10.2. Thank you for any guidance on this Gitlab problem.

  • 🇺🇸United States MegaKeegMan

    The documentation on the project page is out of date, and needs to be updated. Please try the following:

    composer create-project drutopia/drutopia_template:2.x-dev --no-interaction DIRECTORY (replacing DIRECTORY with your project name)

  • 🇺🇸United States MegaKeegMan

    I just created and related this to an issue about upgrading an existing site to Drutopia 2 / Drupal 10. It can be simpler or more complex, depending on your goals, but feel free to leave any questions you have about this process in that issue.

  • 🇬🇧United Kingdom EM-fast1

    Thank you so much. This allowed the install of a drutopia 2.x platform with a drupal core version of 10.1.8.

Production build 0.69.0 2024