erxes icon indicating copy to clipboard operation
erxes copied to clipboard

error: unknown option '--elkSyncer=false'

Open 0x7466 opened this issue 2 years ago • 2 comments

Describe the bug I tried to install Erxes using the Quick Start Installation docs.

On Ubuntu 18.04 I got the following error:

The following packages have unmet dependencies:
 erlang-base : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.6 is to be installed
               Depends: libgcc-s1 (>= 3.4) but it is not installable
               Depends: libtinfo6 (>= 6) but it is not installable
               Recommends: libsctp1 (>= 1.0.18+dfsg) but it is not going to be installed

On Ubuntu 20.04 I get the following error:

success Installed "[email protected]" with binaries:
      - create-erxes-app
[############################################################] 60/60error: unknown option '--elkSyncer=false'
error Command failed.
Exit code: 1
Command: /home/erxes/.yarn/bin/create-erxes-app
Arguments: erxes --quickStart --domain=xos.tfm-edv.com --mongoUrl=mongodb://erxes:3904cc042ba691ca664f9ad7ff2d19cd@localhost/erxes?authSource=admin\&replicaSet=rs0 --elasticsearchUrl=http://localhost:9200 --redisHost=localhost --rabbitmqHost=amqp://localhost --elkSyncer=false
Directory: /home/erxes/erxes.io
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Bad Request</pre>
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"73803d77bb7c6967","token":"4e031eb218ab4d398f7cee67fe3e1591","version":"2022.6.0","si":100}' crossorigin="anonymous"></script>
</body>
</html>

Maybe you should also update the docs to support Ubuntu 20.4. Ubuntu 18.04 has an EOL in April next year.

To Reproduce Steps to reproduce the behavior:

  1. Set up a fresh Ubuntu instance.
  2. Update all packages (apt update && apt upgrade)
  3. Run bash -c "$(wget -O - https://raw.githubusercontent.com/erxes/erxes/develop/scripts/install/ubuntu18.sh)"
  4. Answer to all install questions with y/yes
  5. Get the error as explained above.

Expected behavior Finish the installation as described in docs.

Context (please include the related information if applicable):

  • OS: Ubuntu 18.04 / 20.04
  • erxes version: Most recent
  • installation type Quick Start

0x7466 avatar Aug 09 '22 11:08 0x7466

Hey @0x7466,

Sorry for not giving you prior notice that our Quickstart Installation guide is no longer accurate as we've made significant improvements on erxes architecture recently. And re-writing documentation is in process, we now have step by step docker installation guide available only, please try again with this guideline. And give us your feedback afterward.

Cheers,

naurenbatjargal avatar Aug 09 '22 12:08 naurenbatjargal

Sorry again for the trouble.

naurenbatjargal avatar Aug 09 '22 12:08 naurenbatjargal