Announcement

Collapse
No announcement yet.

Error: Permission denied:

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

  • Error: Permission denied:

    Hello together,

    i try to do an update from 5.8.4 to 5.8.5 using the interface and it fails with the following message:
    Error: Permission denied:
    tests/unit/testData/FileManager/getFileList/Dir1/Dir2/file3.json
    tests/unit/testData/FileManager/getFileList/Dir1
    tests/unit/testData/FileManager/getFileList
    tests/unit/testData/FileManager/setContent
    tests/unit/testData/FileManager/unsets/test.json
    Does somebody have an idea what to do?

    Kind regards
    Aalnase

  • #2
    Hello,

    Please check for the error description in a log file in the /data/logs directory. Make sure that you have the proper permissions https://docs.espocrm.com/administrat...n/#permissions.

    Comment


    • #3
      Hello,
      i found that:
      [QUOTE]
      P[2020-07-14 11:08:38] Espo.INFO: Installation process [5f0d92340a59a1c99]: Start "init" step. [] []
      [2020-07-14 11:08:38] Espo.INFO: Installer: Restore previous files. [] []
      [2020-07-14 11:08:38] Espo.ERROR: (500) Permission denied: <br>tests/unit/testData/FileManager/getFileList/Dir1/Dir2/file3.json<br>tests/unit/testData/FileManager/getFileList/D$

      /QUOTE]
      I understand it right, that this folder(s) should be there?

      Regards
      Aalnase
      Last edited by aalnase; 07-14-2020, 11:47 AM.

      Comment


      • #4
        > I understand it right, that this folder(s) should be there?

        Yes. You can find the /data/ directory in the EspoCRM root directory. Please, read this https://docs.espocrm.com/administrat...crm-error-logs.

        Comment


        • #5
          Thank you, but i mean this folder(s)

          tests/unit/testData/FileManager/getFileList/Dir1/Dir2/

          Comment


          • #6
            It is weird. As far as I know, there shouldn't be such directory. Did you previously create those files?
            Could you cut/remove the whole tests/ directory from EspoCRM and try to run upgrade again? Also, you can try to run upgrade from CLI https://docs.espocrm.com/administrat...grade-from-cli.

            UPD.
            If you don't have /tests directory then please do this:
            1. unzip the upgarde pack
            2. Open the manifest.json file and remove this part
            Code:
            "delete": [
                "tests/unit/testData/FileManager/getFileList/Dir1/Dir2/file3.json",
                "tests/unit/testData/FileManager/getFileList/Dir1/file2.json",
                "tests/unit/testData/FileManager/getFileList/file1.json",
                "tests/unit/testData/FileManager/getFileList/file1.php",
                "tests/unit/testData/FileManager/setContent/test.json",
                "tests/unit/testData/FileManager/setContent/test2.json",
                "tests/unit/testData/FileManager/unsets/test.json"
            ]
            Also, remove comma in the previous line: "description": "",
            3. Create a new zip file.
            4. Upgrade the system.
            Last edited by Maximus; 07-14-2020, 01:19 PM.

            Comment

            Working...
            X