stderr: 'fatal: destination path '/usr/src/nginx/modules/ngx_http_substitutions_filter_module' already exists and is not an empty directory.
See original GitHub issuelsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core
When run second time get error:
./main.py build -f example.config.yaml
builder - INFO - Parse yaml file: example.config.yaml
builder - INFO - /usr/src/nginx dir already exist
builder - INFO - Download scripts for build rpm package
builder - INFO - Running command: rpmdev-setuptree
builder - INFO -
builder - INFO - Downloading nginx src...
builder - INFO - Running command: rpm --upgrade --verbose --hash http://nginx.org/packages/mainline/centos/7/SRPMS/nginx-1.13.9-1.el7_4.ngx.src.rpm
warning: /var/tmp/rpm-tmp.LZDJZS: Header V4 RSA/SHA1 Signature, key ID 7bd9bf62: NOKEY
warning: user builder does not exist - using root
warning: group builder does not exist - using root
builder - INFO - Retrieving http://nginx.org/packages/mainline/centos/7/SRPMS/nginx-1.13.9-1.el7_4.ngx.src.rpm
Updating / installing...
nginx-1:1.13.9-1.el7_4.ngx ########################################
builder - INFO - Downloading 3d-party modules...
builder - INFO - /usr/src/nginx/modules dir already exist
builder - INFO - Module nginx-auth-ldap will download by branch
builder - ERROR - Cmd('git') failed due to: exit code(128)
cmdline: git clone --branch=master -v https://github.com/kvspb/nginx-auth-ldap.git /usr/src/nginx/modules/nginx-auth-ldap
stderr: 'fatal: destination path '/usr/src/nginx/modules/nginx-auth-ldap' already exists and is not an empty directory.
'
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
destination path already exists and is not an empty directory
This error comes up when you try to clone a repository in a folder which still contains .git folder (Hidden folder).
Read more >Message "destination path 'XXX' already exists and is not an ...
The message destination path'XXX' already exists and is not empty directory is displayed during code clone from a cloud repository.
Read more >Solution for : fatal: destination path '.' already exists and is not ...
Solution for : fatal: destination path '.' already exists and is not an empty directory in git ... This error message will show...
Read more >fatal: destination path 'xxxx' already exists and is not an empty ...
fatal : destination path 'cdnjs/cdnjs' already exists and is not an empty directory. The command "eval git clone --depth=1 --branch=master git:// ...
Read more >fatal: destination path '/my/path' already exists and is not an ...
Summary I have two jobs. First job displays information about the repository. The second job clones another repository because it's needed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Тут все очень ‘depends on’ люди иногда вносят изменения в локальные модули тоже и мы не хотели бы влиять на что-то находящееся на конечной машине на которой производится сборка. Наш инструмент предназначен для сборки в автоматизированном режиме и не имеет интерактивного режима в котором мы могли бы пообщаться с пользователем. Без интерактивного режима принимать решения о том что является не важным для конечного пользователя мы не можем.
Мы думали над этим, но решили если человек видит данную ошибку он должен знать что делает, что-то не так и может выстрелить себе в ногу. Мы также не знаем на каких системах будет запускаться наше приложение и не имеем морального права удалять что-то из системы. Вдруг человек собирал эти модули годами или не дай бог писал модуль к NGINX у себя на локальной машине не делая бекапов последние 5 дней. Звучит бредово, но именно такие ситуации иногда случаются.