On upgrade via CLI - Upgrade package file is not specified.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    On upgrade via CLI - Upgrade package file is not specified.

    I try to upgrade from 6.1.10 or 7.0.2 via CLI command and get this error: Upgrade package file is not specified. Nothing in log-file.
    In one installation no custom code, merely a blank espoCRM installation.

    In Apache Logfile:

    Code:
    [core:crit] (13)Permission denied: AH00529: [URL="https://main.bitpalast.net:8443/smb/file-manager/code-editor?currentDir=%2Ftest.kunstservice.net%2Fvar%2Fwww%2Fvhosts%2Fkunstservice.net%2Ftest.kunstservice.net%2Fpublic&subscriptionId=45&file=.htaccess&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F525"]/var/www/vhosts/++++++++++++++/public/.htaccess[/URL] pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/[URL="https://main.bitpalast.net:8443/smb/file-manager/code-editor?currentDir=%2Ftest.kunstservice.net%2Fvar%2Fwww%2Fvhosts%2Fkunstservice.net%2Ftest.kunstservice.net%2Fpublic&subscriptionId=45&file=.htaccess&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F525"]++++++++++++++[/URL]/public/' is executable, referer: [url]https://test.kunstservice.net/[/url]
    but in folder public there is no htaccess, in none of my installations.
    Last edited by shalmaxb; 10-14-2021, 10:22 PM.
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    #2
    Hi, I am really lost with that problem. Rebuild or upgrade from CLI does not work. Checked all folder/file permissions without result. Nothing in log-file only the statement in Apache log-file.
    Upgrade files are present in the upgrade folder.
    Re-installed all from a Backup before Upgrade to 7.0.2, error stays.

    I have that problem either on local installation as well as in a webhosting, where in both cases other installations work and before that error even the mentioned installations worked without problems.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      How you run the upgrade command?
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • shalmaxb
        Senior Member
        • Mar 2015
        • 1602

        #4
        local: CLI php upgrade.php
        on hosting via plesk, execute php file

        normally both works and with the other installations it also works. Only some do not work and I don`t know why, I do not see a pattern.

        Comment

        • item
          Active Community Member
          • Mar 2017
          • 1476

          #5
          If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

          Comment

          • shalmaxb
            Senior Member
            • Mar 2015
            • 1602

            #6
            item , I did everything as written there, the last one with command:

            php upgrade.php -y --file="EspoCRM-upgrade-7.0.2-to-7.0.3.zip" as well as

            php upgrade.php -y --file="data/upload/upgrades/EspoCRM-upgrade-7.0.2-to-7.0.3.zip"

            Result: Package file does not exist. What is not true, as I uploaded before.

            Even a complete Re-Install from a previous backup (Version 6.1.10) did not work.

            Comment

            • item
              Active Community Member
              • Mar 2017
              • 1476

              #7
              easy way : php command.php upgrade

              php command.php upgrade -y --file="EspoCRM-upgrade.zip"


              For EspoCRM versions lower than 5.6.0. Not recommended for versions greater than 5.6.0. php upgrade.php /path/to/upgrade/package.zip
              If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

              Comment

              • shalmaxb
                Senior Member
                • Mar 2015
                • 1602

                #8
                Oh my god: Now I see, I did try without command.php by using right away upgrade.php.
                Many thanks item

                Comment

                Working...