Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Apache Rechteproblem

    Scheduled Pinned Locked Moved Betrieb
    2 Posts 2 Posters 199 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      martinkk11
      last edited by martinkk11

      Hallo,
      habe gestern ein yum update auf meinem i-doit Server gefahren und seitdem habe ich folgendes Problem wenn ich versuche i-doit im Browser aufzurufen:

      Temp/Cache Problem: The apache process is not able to write inside the following temporary i-doit directories: 
      
      /var/www/html/i-doit/temp/,
      /var/www/html/i-doit/upload/files/,
      /var/www/html/i-doit/upload/fonts/,
      /var/www/html/i-doit/upload/images/
      
      Please provide the appropriate permissions (e.g. "chmod 777 path").
      

      idoit-rights.sh set und unset habe ich bereits ausgeführt.

      ebenso wie:

      sudo chown www-data:www-data -R .
      sudo find . -type d -name \* -exec chmod 775 {} \;
      sudo find . -type f -exec chmod 664 {} \;
      

      Mein Verzeichnis sieht wie folgt aus:

      drwxrwxr-x.  5 apache apache     4096 Sep 10  2018 admin
      -rw-r--r--.  1 apache apache   391545 Apr  8 15:41 CHANGELOG
      -rw-r--r--.  1 apache apache     6581 Apr  8 15:41 checkmk_transfer.sh
      -rw-r--r--.  1 apache apache      746 Apr  8 15:41 console.php
      -rw-r--r--.  1 apache apache    10650 Sep 10  2018 CONTRIBUTING.md
      -rwxr-xr-x.  1 apache apache      337 Apr  8 15:41 controller
      -rw-r--r--.  1 apache apache    16300 Apr  8 15:41 controller.php
      -rw-r--r--.  1 apache apache 15282428 Apr  8 15:37 idoit-open-1.11.2-update.zip
      -rw-r--r--.  1 apache apache 15019993 Apr  8 15:42 idoit-open-1.12-1update.zip
      -rwxr-xr-x.  1 apache apache     3093 Apr  8 15:41 idoit-rights.sh
      -rw-r--r--.  1 apache apache 15019993 Apr  8 14:06 i-doit_update.zip
      drwxrwxr-x. 12 apache apache     4096 Sep 10  2018 images
      drwxrwxrwx.  4 apache apache       46 Sep 10  2018 imports
      -rw-r--r--.  1 apache apache     7332 Apr  8 15:41 index.php
      drwxrwxr-x.  2 apache apache     4096 Sep 24 15:19 log
      -rw-r--r--.  1 apache apache     4388 Apr  8 15:41 proxy.php
      -rw-r--r--.  1 apache apache     3819 Jan 23  2019 README
      -rw-r--r--.  1 apache apache     3819 Sep 10  2018 README.md
      -rw-r--r--.  1 apache apache       10 Apr  8 15:41 REVISION
      drwxrwxr-x.  4 apache apache     4096 Oct 18  2018 setup
      drwxrwxrwx.  9 apache apache     4096 Apr  8 15:41 src
      drwxrwxrwx.  4 apache apache     4096 Apr  9 16:05 temp
      drwxrwxr-x.  6 apache apache     4096 Apr  8 15:43 updates
      drwxrwxr-x.  5 apache apache       43 Sep 10  2018 upload
      drwxrwxr-x. 32 apache apache     4096 Apr  8 15:41 vendor
      -rw-r--r--.  1 apache apache       13 Jan 23  2019 VERSION
      drwxrwxr-x.  2 apache apache       38 Sep 10  2018 xsl
      

      Wäre dankbar für Lösungsansätze.

      Viele Grüße
      Martin

      1 Reply Last reply Reply Quote 0
      • PatrickFeilerP Offline
        PatrickFeiler i-doit Team
        last edited by

        Hallo Martin,

        ich geh mal davon aus, dass der Pfad korrekt ist.

        /var/www/html/i-doit/
        

        Der vorschlag in der Ausgabe oben wäre ein Anfang

        Please provide the appropriate permissions (e.g. "chmod 777 path").
        

        Folgende Commands einfach mal ausführen

        chmod 777 -R /var/www/html/i-doit/temp/
        chmod 777 -R /more/of/my/server..
        

        Ich glaube aber das sich ein Blick in das temp Verzeichnis lohnen würde. Hier kann es durchaus sein, dass dort Files mit dem Besitzer Root abgelegt sind. Diese dann einfach löschen.

        Gruß
        Patrick

        1 Reply Last reply Reply Quote 0
        • First post
          Last post