Announcement

Collapse
No announcement yet.

Error: Permission denied 4.1.5 to 4.1.6 Upgrade

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

  • Error: Permission denied 4.1.5 to 4.1.6 Upgrade

    Hello,
    While upgrading from 4.1.5 to 4.1.6 have the issue:
    Error: Permission denied for
    application/Espo/Resources/metadata/app/aclPortal.json
    file aclPortal.json has 644 rights
    Please advise

  • #2
    Under which user is your webserver running? Try this: chmod 666 to aclPortal.json and if it helped you have wrong setup for your webserver.

    Comment


    • #3
      You were right, changing to 666 helped. It's wierd, I haven't change anythig since the last upgrade and that was OK. Probably the first line (process 2092) is the problem one. Should be also www-data...
      root@CRM:/var/www/application/Espo/Resources/metadata/app# ps aux | grep apache2
      root 2092 0.0 0.1 226076 11896 ? Ss 19:12 0:00 /usr/sbin/apache2 -k start
      www-data 2307 0.1 0.3 235860 20508 ? S 19:12 0:12 /usr/sbin/apache2 -k start
      www-data 2308 0.1 0.2 230492 15824 ? S 19:12 0:11 /usr/sbin/apache2 -k start
      www-data 3472 0.1 0.3 235860 20508 ? S 19:13 0:10 /usr/sbin/apache2 -k start
      www-data 3473 0.1 0.3 235872 20600 ? S 19:13 0:12 /usr/sbin/apache2 -k start
      www-data 3475 0.1 0.3 236372 21244 ? S 19:13 0:10 /usr/sbin/apache2 -k start
      www-data 3648 0.0 0.3 233812 18892 ? S 19:35 0:06 /usr/sbin/apache2 -k start
      www-data 3873 0.2 0.3 235856 20384 ? S 20:21 0:07 /usr/sbin/apache2 -k start
      www-data 3875 0.2 0.3 234324 19520 ? S 20:22 0:07 /usr/sbin/apache2 -k start
      www-data 4201 0.6 0.2 230508 15772 ? S 21:17 0:01 /usr/sbin/apache2 -k start
      www-data 4208 0.2 0.2 229968 14568 ? S 21:18 0:00 /usr/sbin/apache2 -k start
      UPD:
      APACHE_RUN_USER=www-data
      APACHE_RUN_GROUP=www-data
      everything correct in config. Just wierd...

      Last edited by Dominion; 07-14-2016, 06:37 PM.

      Comment


      • #4
        Soved, sorry.

        Comment

        Working...
        X