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

Git repository not found in: /var/aegir/devmaster-1.x #736

Closed
socialnicheguru opened this issue Apr 15, 2023 · 1 comment
Closed

Git repository not found in: /var/aegir/devmaster-1.x #736

socialnicheguru opened this issue Apr 15, 2023 · 1 comment

Comments

@socialnicheguru
Copy link

The install fails with the following error:

Git repository not found in: /var/aegir/devmaster-1.x                [error]
[Running composer install in /var/aegir] composer install --no-interaction --no-progress --no-dev --no-suggest --ansi
You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
Composer could not find a composer.json file in /var/aegir
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage
Composer Install failed.                                             [warning]
[Git Status] git -c color.ui=always log --oneline --max-count=1 && git -c color.ui=always status && git -c color.ui=always diff --minimal
fatal: not a git repository (or any of the parent directories): .git
Unable to run git status.                                            [warning]
An error occured while preparing code in /var/aegir/devmaster-1.x:   [error]
DRUSH_PROVISION_GIT_PULL_FAILED: Git repository not found in:
/var/aegir/devmaster-1.x | stderr: 
In DevmasterUpgrade.php line 222:

Not sure what composer file should be there

@socialnicheguru
Copy link
Author

I went back and re-installed and this is no longer an issue.

I know that it is highly recommended that this be installed on a BRAND NEW server.

So I went against that and installed it on my aegir server.

If you do the same remove old drush that was installed. OpenDevshop installs it's own drush in a different location.

I think that might have caused this and other unforseen errors.

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

1 participant