Docker error using install.sh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eelgani
    Junior Member
    • Nov 2021
    • 4

    #1

    Docker error using install.sh

    Hi,
    I'm trying to install EspoCRM by using the install script and I keep getting the following Docker error during the execution:

    unknown shorthand flag: 'f' in -f

    I'm installing on the latest version of Ubuntu and Docker is updated to the last version.

    I tried looking it up in the forum but couldn't find an answer.

    Thanks for any help.
  • lazovic
    Super Moderator
    • Jan 2022
    • 1128

    #2
    Hi eelgani,

    Can you please provide the exact command you use to install EspoCRM via script?

    Comment

    • eelgani
      Junior Member
      • Nov 2021
      • 4

      #3
      Hi lazovic,

      I'm following the instructions in the documentation under the section " Installer migration from v1 to v2". I have an installation that is at version 7.2.7 and I'm trying to update it to the latest. It was originally installed with the install script (Docker image with Nginx and MySQL) and so I'm following the upgrade for that type of install.

      I used the instructions to backup the DB and the data files in the /var/www/espocrm directory, then I proceeded to install the fresh version of software using the commands below:

      wget -N https://github.com/espocrm/espocrm-i...oad/install.sh
      sudo bash install.sh --db-root-password=YOUR_ROOT_PASSWORD --db-password=YOUR_ESPOCRM_DB_PASSWORD --admin-password=YOUR_ADMIN_PASSWORD --clean

      Naturally, I've inserted my passwords in the correct places. During the execution of the install.sh script I'm seeing the errors reported, and the script terminates without installing anything.

      The installation is on a virtual machine (hosted at a provider) with Ubuntu 24.04.2 LTS and Docker is version 20.10.14, build a224086.

      Please let me know if you need any other information and thanks for any help you can give me.

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 1128

        #4
        eelgani,

        Try replacing all instances of "docker compose" with "docker-compose" in the install.sh file and run the script again.

        Comment

        • eelgani
          Junior Member
          • Nov 2021
          • 4

          #5
          Ok, thanks. I will try it as soon as possible (production system) and I'll let you know.

          Comment

          Working...