unable to install Bacularis using composer create-project bacularis/bacularis-app

85 views
Skip to first unread message

Гига

unread,
Feb 5, 2024, 8:09:11 AM2/5/24
to bacularis
Hello!

i`m installing   Bacularis using  composer create-project bacularis/bacularis-app  and facing same error
I will be grateful for any hint

thanks!



odmin@bacula:/home$ sudo composer create-project bacularis/bacularis-app
[sudo] password for odmin:
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y
Creating a "bacularis/bacularis-app" project at "./bacularis-app"
Installing bacularis/bacularis-app (2.4.0)
    Failed to download bacularis/bacularis-app from dist: The zip extension and unzip/7z commands are both missing, skippi                                                          ng.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bacularis/bacularis-app (2.4.0) into cache
  - Installing bacularis/bacularis-app (2.4.0): Cloning 1d06ca6ca2 from cache
Created project in /home/bacularis-app
> [ ! -e 'protected/tools/update.sh' ] || protected/tools/update.sh backup
Loading composer repositories with package information
Updating dependencies
Lock file operations: 44 installs, 0 updates, 0 removals
  - Locking bacularis/bacularis-api (2.4.0)
  - Locking bacularis/bacularis-common (2.4.0)
  - Locking bacularis/bacularis-web (2.4.0)
  - Locking bower-asset/clipboard (v2.0.11)
  - Locking bower-asset/datatables.net (1.13.6)
  - Locking bower-asset/datatables.net-buttons (2.3.5)
  - Locking bower-asset/datatables.net-buttons-dt (2.3.5)
  - Locking bower-asset/datatables.net-dt (3.2.2)
  - Locking bower-asset/datatables.net-responsive (2.4.0)
  - Locking bower-asset/datatables.net-responsive-dt (2.4.0)
  - Locking bower-asset/datatables.net-select (1.7.0)
  - Locking bower-asset/fontawesome (6.5.1)
  - Locking bower-asset/gaugejs (v1.3.7)
  - Locking bower-asset/highlightjs (v9.16.2)
  - Locking bower-asset/highlightjs-line-numbers.js (v2.8.0)
  - Locking bower-asset/jquery (3.7.1)
  - Locking bower-asset/jquery-ui (1.12.1)
  - Locking bower-asset/opentip (v2.4.5)
  - Locking bower-asset/tinymce (5.10.7)
  - Locking cweagans/composer-patches (1.7.3)
  - Locking erusev/parsedown (1.7.4)
  - Locking ezyang/htmlpurifier (v4.17.0)
  - Locking firephp/firephp-core (v0.5.3)
  - Locking mrclay/jsmin-php (2.4.3)
  - Locking nikic/php-parser (v5.0.0)
  - Locking npm-asset/flotr2 (0.1.0)
  - Locking npm-asset/qrcodejs (1.0.0)
  - Locking pradosoft/prado (4.2.2)
  - Locking pradosoft/prado-tinymce3 (3.5.12.2)
  - Locking pradosoft/prado-wsdlgenerator (1.1)
  - Locking pradosoft/tinymce-langs (5.0.0)
  - Locking psr/container (1.1.2)
  - Locking psy/psysh (v0.12.0)
  - Locking symfony/console (v5.4.35)
  - Locking symfony/deprecation-contracts (v2.5.2)
  - Locking symfony/polyfill-ctype (v1.28.0)
  - Locking symfony/polyfill-intl-grapheme (v1.28.0)
  - Locking symfony/polyfill-intl-normalizer (v1.28.0)
  - Locking symfony/polyfill-mbstring (v1.28.0)
  - Locking symfony/polyfill-php73 (v1.28.0)
  - Locking symfony/polyfill-php80 (v1.28.0)
  - Locking symfony/service-contracts (v2.5.2)
  - Locking symfony/string (v5.4.35)
  - Locking symfony/var-dumper (v5.4.35)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 44 installs, 0 updates, 0 removals
    Failed to download cweagans/composer-patches from dist: The zip extension and unzip/7z commands are both missing, skip                                                          ping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing cweagans/composer-patches (1.7.3) into cache
    Failed to download symfony/polyfill-php80 from dist: The zip extension and unzip/7z commands are both missing, skippin                                                          g.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/polyfill-php80 (v1.28.0) into cache
    Failed to download symfony/polyfill-mbstring from dist: The zip extension and unzip/7z commands are both missing, skip                                                          ping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/polyfill-mbstring (v1.28.0) into cache
    Failed to download symfony/var-dumper from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/var-dumper (v5.4.35) into cache
    Failed to download symfony/polyfill-intl-normalizer from dist: The zip extension and unzip/7z commands are both missin                                                          g, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/polyfill-intl-normalizer (v1.28.0) into cache
    Failed to download symfony/polyfill-intl-grapheme from dist: The zip extension and unzip/7z commands are both missing,                                                           skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/polyfill-intl-grapheme (v1.28.0) into cache
    Failed to download symfony/polyfill-ctype from dist: The zip extension and unzip/7z commands are both missing, skippin                                                          g.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/polyfill-ctype (v1.28.0) into cache
    Failed to download symfony/string from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/string (v5.4.35) into cache
    Failed to download symfony/deprecation-contracts from dist: The zip extension and unzip/7z commands are both missing,                                                           skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/deprecation-contracts (v2.5.2) into cache
    Failed to download psr/container from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing psr/container (1.1.2) into cache
    Failed to download symfony/service-contracts from dist: The zip extension and unzip/7z commands are both missing, skip                                                          ping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/service-contracts (v2.5.2) into cache
    Failed to download symfony/polyfill-php73 from dist: The zip extension and unzip/7z commands are both missing, skippin                                                          g.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/polyfill-php73 (v1.28.0) into cache
    Failed to download symfony/console from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing symfony/console (v5.4.35) into cache
    Failed to download nikic/php-parser from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing nikic/php-parser (v5.0.0) into cache
    Failed to download psy/psysh from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing psy/psysh (v0.12.0) into cache
    Failed to download pradosoft/tinymce-langs from dist: The zip extension and unzip/7z commands are both missing, skippi                                                          ng.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing pradosoft/tinymce-langs (5.0.0) into cache
    Failed to download pradosoft/prado-wsdlgenerator from dist: The zip extension and unzip/7z commands are both missing,                                                           skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing pradosoft/prado-wsdlgenerator (1.1) into cache
    Failed to download pradosoft/prado-tinymce3 from dist: The zip extension and unzip/7z commands are both missing, skipp                                                          ing.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing pradosoft/prado-tinymce3 (3.5.12.2) into cache
    Failed to download mrclay/jsmin-php from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing mrclay/jsmin-php (2.4.3) into cache
    Failed to download firephp/firephp-core from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing firephp/firephp-core (v0.5.3) into cache
    Failed to download ezyang/htmlpurifier from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing ezyang/htmlpurifier (v4.17.0) into cache
    Failed to download erusev/parsedown from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing erusev/parsedown (1.7.4) into cache
    Failed to download bower-asset/tinymce from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/tinymce (5.10.7) into cache
    Failed to download bower-asset/jquery from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/jquery (3.7.1) into cache
    Failed to download bower-asset/jquery-ui from dist: The zip extension and unzip/7z commands are both missing, skipping                                                          .
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/jquery-ui (1.12.1) into cache
    Failed to download bower-asset/highlightjs-line-numbers.js from dist: The zip extension and unzip/7z commands are both                                                           missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/highlightjs-line-numbers.js (v2.8.0) into cache
    Failed to download bower-asset/highlightjs from dist: The zip extension and unzip/7z commands are both missing, skippi                                                          ng.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/highlightjs (v9.16.2) into cache
    Failed to download bower-asset/clipboard from dist: The zip extension and unzip/7z commands are both missing, skipping                                                          .
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/clipboard (v2.0.11) into cache
    Failed to download pradosoft/prado from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing pradosoft/prado (4.2.2) into cache
    Failed to download bower-asset/fontawesome from dist: The zip extension and unzip/7z commands are both missing, skippi                                                          ng.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/fontawesome (6.5.1) into cache
    Failed to download bower-asset/datatables.net from dist: The zip extension and unzip/7z commands are both missing, ski                                                          pping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/datatables.net (1.13.6) into cache
    Failed to download bower-asset/datatables.net-select from dist: The zip extension and unzip/7z commands are both missi                                                          ng, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/datatables.net-select (1.7.0) into cache
    Failed to download bower-asset/datatables.net-responsive from dist: The zip extension and unzip/7z commands are both m                                                          issing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Syncing bower-asset/datatables.net-responsive (2.4.0) into cache
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
When working with _public_ GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Co                                                          mposer+on+bacula+2024-02-05+1302 to retrieve a token.
This token will have read-only permission for public information only.
When you need to access _private_ GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&de                                                          scription=Composer+on+bacula+2024-02-05+1302
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in "/root/.config/composer/auth.json" for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
Token (hidden):
bac.png

Marcin Haba

unread,
Feb 5, 2024, 7:16:26 PM2/5/24
to Гига, bacularis
Hello,

Welcome to the Bacularis user group.

It looks to be a general problem with the Composer environment. To
solve it I think you need to install the php-zip package. It is the
system package from the system repository.

Thanks in advance for letting us know if it helped.

Best regards,
Marcin Haba (gani)
> --
> You received this message because you are subscribed to the Google Groups "bacularis" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bacularis+...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/bacularis/f7632056-63fa-4e73-ae19-4d3cd262b211n%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

Гига

unread,
Feb 6, 2024, 4:30:41 AM2/6/24
to Marcin Haba, bacularis
thanks you so much,   installing the php-zip package really solved this issueBut next step got a new error.   i`m quite sure it is about not executable  script file, but have no idea how to solve it
many thanks in advance

image.png


вт, 6 февр. 2024 г. в 04:16, Marcin Haba <gani...@gmail.com>:

Marcin Haba

unread,
Feb 6, 2024, 2:16:52 PM2/6/24
to Гига, bacularis
Hello Гига,

Yes, I think you are right that it can be the executable permission script problem. However I don't know why it happens on your side. I am not able to reproduce it in my environment.

Could I ask you about telling us what operating system you use, what are permissions for the protected/tools/update.sh and what exact command you run to start the installation by composer? This information will help to find what is going wrong that the permission error happens.

Thanks in advance.


Best regards,
Marcin Haba (gani)
Reply all
Reply to author
Forward
0 new messages