Upgrade from 5.3.5 to 5.3.6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iconberg
    Senior Member
    • Oct 2015
    • 103

    Upgrade from 5.3.5 to 5.3.6

    Hi,

    i still cant find the problem, if i try to update i get:

    Fehler: Permission denied for
    install/core,
    install/css/install.css

    But the only place i find these files is under
    ./data/upload/upgrades/5be1a12d37a49/files/install

    I still tried with no help for this:
    chmod -R 775 application
    chmod -R 775 client

    added log output:
    [2018-11-06 14:48:03] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => Admin [action] => runUpgrade ) , InputData: {"id":"5be1a9a1a5f99"} - Permission denied for <br>install/core, <br>install/css
    /install.css [] []
    [2018-11-06 14:48:03] Espo.ERROR: Display Error: Permission denied for <br>install/core, <br>install/css/install.css, Code: 500 URL: /espocrm/api/v1/Admin/action/runUpgrade [] []



    What should i do?

    sincerly
    Last edited by iconberg; 11-06-2018, 02:50 PM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello,
    according to the message you have permission problem with install folder, not with application or client
    this folder is in espodir in core (https://github.com/espocrm/espocrm/tree/master/install) and permissions are 755 for folders and 644 for files

    Comment

    • supercsd
      Junior Member
      • Oct 2017
      • 12

      #3
      Hi Tanya,
      I get same error as #iconberg
      I execute on espo web folder your recommended scripts to set permissions:

      find . -type d -exec chmod 755 {} + && find . -type f -exec chmod 644 {} +; find data custom client/custom -type d -exec chmod 775 {} + && find data custom client/custom -type f -exec chmod 664 {} +; chmod 775 application/Espo/Modules client/modules;


      So install dir has 755 for dirs and 644 for files, but when I try to update from 5.3.6 to 5.4.5 I still get the error:

      Error: Permission denied for frontend/less/espo/misc/fontawesome/fontawesome.

      Never had errors before updating EspoCRM. What can I do? Thanks

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Hello,
        what is the user/group of server and what default user/group in espo config?
        after the upgrade how permission of files are changed?

        Comment

        Working...