Aktualisierung im Backend nicht möglich

  • Im Backens sehe ich dass es eine Aktualisierung für Joomla gibt. Wenn ich eine Aktualisierung versuche kommt die Meldung:
    ERROR:
    Could not open archive part file tmp/Joomla_3.8.1-Stable-Update_Package.zip for reading. Check that the file exists, is readable by the web server and is not in a directory made out of reach by chroot, open_basedir restrictions or any other restriction put in place by your host.


    Hat das etwas mit der tmp (siehe hier) zu tun?


    Falls ja wir kann ich den Schreibschutz abschalten?


    LG Beate

  • Hallo Beate,


    hier passt wohl wie du schon vermutest der tmp Pfad nicht.


    Erstelle im Root der Joomla Installation (sprich dort, wo auch die configuration.php liegt) eine Datei "pfad.php" mit dem Inhalt


    PHP
    <?php
    
    
    echo $_SERVER['DOCUMENT_ROOT'];
    
    
    ?>


    Wenn du diese Datei aufrufst (example.org/path.php), bekommst du den absoluten Webserver Pfad angezeigt.


    Z.B.
    /www/htdocs/vXXXXX/


    Tmp und Log Pfade müssen dann
    '/www/htdocs/vXXXXX/tmp'
    bzw. '/www/htdocs/vXXXXX/logs'
    sein (direkt in der configuration.php in entspr. Zeile - public $tmp_path/public $log_path - anpassen).


    Gruß


    Pascal

  • Hallo Pascal, die php habe ich erstellt und aufgerufen der Pfad wird so angezeigt:


    /var/www/vhosts/kbgur.de/httpdocs/tmp


    was muß ich davon in die configuration.php eintragen?
    So sieht es z.Z. aus:


    public $log_path = 'administrator/logs';
    public $tmp_path = 'tmp';


    Entschuldige die nochmalige Nachfrage aber ich bin Neuling in Sachen Joomla.
    Liebe Grüße
    Beate