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

ff init command does not work #301

Open
lucianoacsilva opened this issue Apr 18, 2024 · 2 comments
Open

ff init command does not work #301

lucianoacsilva opened this issue Apr 18, 2024 · 2 comments

Comments

@lucianoacsilva
Copy link

Hello,

I installed Firefly binary and cannot initiate a stack.

After inserting the stack name and the number of nodes on it via prompt, the CLI returns: "Error: no version for docker-compose has been detected". although I hvve Docker Compose installed on my local machine.

Here follows a printscreen of my terminal.

firefly$ docker-compose --version
Docker Compose version v2.14.2
firefly$ ff init ethereum
initializing new FireFly stack...
stack name: dev
You selected dev
number of members: 3
Error: no version for docker-compose has been detected
Usage:
  ff init ethereum [stack_name] [member_count] [flags]

Flags:
      --block-period int              Block period in seconds. Default is variable based on selected blockchain provider. (default -1)
  -c, --blockchain-connector string   Blockchain connector to use. Options are: [evmconnect ethconnect] (default "evmconnect")
  -n, --blockchain-node string        Blockchain node type to use. Options are: [geth besu remote-rpc] (default "geth")
      --chain-id int                  The chain ID - also used as the network ID (default 2021)
      --contract-address string       Do not automatically deploy a contract, instead use a pre-configured address
  -h, --help                          help for ethereum
      --remote-node-url string        For cases where the node is pre-existing and running remotely

Global Flags:
      --ansi string                   control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
      --channel string                Select the FireFly release channel to use. Options are: [stable head alpha beta rc] (default "stable")
      --connector-config string       The path to a yaml file containing extra config for the blockchain connector
      --core-config string            The path to a yaml file containing extra config for FireFly Core
  -d, --database string               Database type to use. Options are: [sqlite3 postgres] (default "sqlite3")
  -e, --external int                  Manage a number of FireFly core processes outside of the docker-compose stack - useful for development and debugging
  -p, --firefly-base-port int         Mapped port base of FireFly core API (1 added for each member) (default 5000)
      --ipfs-mode string              Set the mode in which IFPS operates. Options are: [private public] (default "private")
  -m, --manifest string               Path to a manifest.json file containing the versions of each FireFly microservice to use. Overrides the --release flag.
      --multiparty                    Enable or disable multiparty mode (default true)
      --node-name stringArray         Node name
      --org-name stringArray          Organization name
      --prometheus-enabled            Enables Prometheus metrics exposition and aggregation to a shared Prometheus server
      --prometheus-port int           Port for the shared Prometheus server (default 9090)
      --prompt-names                  Prompt for org and node names instead of using the defaults
  -r, --release string                Select the FireFly release version to use. Options are: [stable head alpha beta rc] (default "latest")
      --remote-node-deploy            Enable or disable deployment of FireFly contracts on remote nodes
      --request-timeout int           Custom request timeout (in seconds) - useful for registration to public chains
      --sandbox-enabled               Enables the FireFly Sandbox to be started with your FireFly stack (default true)
  -s, --services-base-port int        Mapped port base of services (100 added for each member) (default 5100)
  -t, --token-providers stringArray   Token providers to use. Options are: [none erc1155 erc20_erc721] (default [erc20_erc721])
  -v, --verbose                       verbose log output

Error: no version for docker-compose has been detected
firefly$

Does anyone know how to fix that issue? How to make Firefly recognize Docker Compose version?

@EnriqueL8
Copy link
Contributor

Ah it's the same problem as this PR fixed #307

@erionrb
Copy link

erionrb commented Sep 12, 2024

Ah it's the same problem as this PR fixed #307

Hi @EnriqueL8 I see that the latest version of the package already has these changes but I am still facing the same issue when trying to execute the same command here for my mac os ARM arch.

I am using this version:
https://github.com/hyperledger/firefly-cli/releases/tag/v1.3.1

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

3 participants