Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #3
      How you run the upgrade command?

      Comment


      • #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


        • #5

          Comment


          • #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


            • #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

              Comment


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

                Comment

                Working...
                X