Upgrade 8.4.2>9.0.5 Error: syntax error, unexpected identifier "https", expecting ")"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbrands
    Junior Member
    • Feb 2018
    • 24

    Upgrade 8.4.2>9.0.5 Error: syntax error, unexpected identifier "https", expecting ")"

    I am trying to asses any problems for upgrading our production instance and made a copy to test the upgrade.

    After the usual actions like fix the configs, file permissions etc, I keep running into the following error by trying to upgrade trough CLI:
    Right after running
    Code:
    Before upgrade script execution...
    it says:

    Code:
    Reverting...
    Error: syntax error, unexpected identifier "https", expecting ")"
    The log file (with debug on) shows the same error with no additional information.
    After the last row from Schema\Builder :
    Code:
    [2025-03-17 14:56:35] DEBUG: Schema\Builder - End
    it shows pretty much the same error as shown in the CLI
    Code:
    [2025-03-17 14:56:35] ERROR: Upgrade Error: Error: syntax error, unexpected identifier "https", expecting ")"
    Could it be related to any extensions or anybody got an idea where to look first?
  • item
    Active Community Member
    • Mar 2017
    • 1512

    #2
    Hi,
    upgrade to V9 check all your files... so this error find a "bad php file". certainly customisation or not espocrm extension.
    look here, i have modified a file in upgrade zip file, so i have find where is the bad file.

    Hi teams, really, the new upgrade process is perfect.. i have find many error :) some sintax error, some forget file.. some bad file.. but it's hard .. i have add in "BeforeUpgrade.php" a "echo $file;" and then... Now my issue is with my custom vendor library. - some library are not "ready" (if i


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

    Comment

    Working...