Ad Widget

Collapse

Insufficient file system permissions. Assets cache directory is not writable.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sancho
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2015
    • 295

    #16
    Originally posted by ma-kom
    SOLVED:
    sudo chmod -R 777 /usr/share/zabbix/assets
    Thanks ma-kom

    Comment

    • chopard
      Junior Member
      • May 2019
      • 1

      #17
      Originally posted by mustapha.aisssat
      On CentOS 7, I fix this issue by adding RW permission to apache by :
      # setfacl -d -m apache:rwX /usr/share/zabbix/assets/
      # setfacl -R -m apache:rwX /usr/share/zabbix/assets/

      and Selinux problems by :
      # semanage fcontext -a -t httpd_sys_rw_content_t "/usr/share/zabbix/assets(/.*)?"
      # restorecon -R /usr/share/zabbix/assets
      Work for me in Centos 7 and Zabbix 4.2.2

      Comment

      • mbuyukkarakas
        Member
        • Aug 2014
        • 49

        #18
        Hello all,

        I had the same problem on my Centos 7, Zbx 4.2.2 server. I applied all the selinux commands but not solved my issue. I had to revert to taken snapshot.
        Fyi.

        Mehmet

        Comment


        • mbuyukkarakas
          mbuyukkarakas commented
          Editing a comment
          Unfortunately a dirty solution worked.

          # chmod -R 775 /usr/share/zabbix/assets
      • Infra_HDC
        Junior Member
        • May 2019
        • 5

        #19
        Hello, thanks for this topic start.
        Under Ubuntu 18.04 LTS, I did this to solve the problem:

        sudo chgrp -R www-data /usr/share/zabbix/assets
        sudo chmod -R g+w /usr/share/zabbix/assets

        Comment


        • Carlo
          Carlo commented
          Editing a comment
          Hi. Thanks.
          This solved the problem.

        • maruscya
          maruscya commented
          Editing a comment
          Thanks.

          It works fine.
      • Fregi Ventum
        Junior Member
        • May 2019
        • 3

        #20
        4.2.3 is out and it successfully upgraded 4.2.1 without issue for me, whereas I rolled back from snapshot the 4.2.2 upgrade.

        Comment

        • onionsgalore
          Junior Member
          • May 2019
          • 7

          #21
          Originally posted by Fregi Ventum
          4.2.3 is out and it successfully upgraded 4.2.1 without issue for me, whereas I rolled back from snapshot the 4.2.2 upgrade.
          Where do you see 4.2.3 being out?

          Thanks


          e: nvrm I see it on repo.zabbix.com now.

          Comment

          Working...