upgrade ends with Syntax error in manifest.json

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • haggy
    Junior Member
    • Jun 2014
    • 17

    upgrade ends with Syntax error in manifest.json

    I receive an Error during upload upgrade File v.1.2.1. at the moment we use 1.2.0

    from LOG:
    [2014-07-08 10:11:28] Espo.ERROR: Display Error: Syntax error in manifest.json., Code: 500 URL: /api/v1/Admin/action/uploadUpgradePackage [] []

    Can it be a problem of .htaccess in api/v1 ?
  • tarasm
    Super Moderator
    • Mar 2014
    • 573

    #2
    It can be related with permission in "data" directory. Please check it. It should be 775 for directories and 664 for files.
    If you're able to open http://<ESPO-URL>/api/v1/Settings and you see the data, then .htaccess works fine.
    Job Offers and Requests

    Comment

    • haggy
      Junior Member
      • Jun 2014
      • 17

      #3
      I check it http://www.crm2.lifetime24.com/api/v1/Settings it works, but Error still there.
      Any Idea?

      Comment

      • tarasm
        Super Moderator
        • Mar 2014
        • 573

        #4
        It can be permission or some unzip issue when upgrading. Please check the file /data/upload/upgrades/<Upgrade-id>/manifest.json.
        Job Offers and Requests

        Comment

        • haggy
          Junior Member
          • Jun 2014
          • 17

          #5
          Sorry, I can not found such file. (see pict from ftp)

          Comment

          • tarasm
            Super Moderator
            • Mar 2014
            • 573

            #6
            Haggy, I know the problem.
            You are using EspoCRM package to upgrade. It's not an uprgade package. You can download the upgrade package here http://sourceforge.net/projects/espo...1.zip/download
            Last edited by tarasm; 07-09-2014, 08:09 AM.
            Job Offers and Requests

            Comment

            • haggy
              Junior Member
              • Jun 2014
              • 17

              #7
              ThankĀ“s this one is function! :-) one more thing, during upgrade you also overwrite .htaccess in api/v1 if there are changes they will be deleted, maybe it will be good idea to not overwrite during upgrade.

              Comment

              Working...