Upgrading to Sales Pack v4 via CLI

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Triggerz
    Senior Member
    • May 2024
    • 156

    #1

    Upgrading to Sales Pack v4 via CLI

    Hi,

    I when upgrading my Sales Pack extension to V4 do I need to upload the file in my Server or can it my placed on my local computer?

    Code from documentation
    Code:
    bin/command extension --file="path/to/extension/package.zip"
    Code:
    Updated Code
    bin/command extension --file="c:/espocrm-upgrades/sales-pack-4.0.0.zip"

    Thanks
  • Triggerz
    Senior Member
    • May 2024
    • 156

    #2
    I uploaded the sales-pack-4.0.0.zip file to my Server (/home/my-crm/htdocs/crm.mysite.net/custom) and executed the command below but nothing is happening

    bin/command extension --file="/home/my-crm/htdocs/crm.mysite.net/custom/sales-pack-4.0.0.zip"

    Please help and thanks in advance...
    Attached Files

    Comment

    • victor
      Active Community Member
      • Aug 2022
      • 1137

      #3
      I copied the sales-pack-4.0.0.zip file where you are. I ran the command from the folder where my instance is located.
      Code:
      sviktor@sviktor:/var/www/html/myinstancename$ sudo bin/command extension --file="/var/www/html/myinstancename/custom/sales-pack-4.0.0.zip"
      Installing... Do not close the terminal. This may take a while...
      Extension 'Sales Pack' v4.0.0 is installed.
      Extension ID: 'id_of_extension'.
      Everything is successful, no problems.

      Where are you running the command from? Is there anything in the EspoCRM logs?

      Comment

      • Triggerz
        Senior Member
        • May 2024
        • 156

        #4
        Thanks victor . I will try your code with sudo.

        Comment

        Working...