Skip to content

Nextcloud 16.0.5 -> 17.0.0

Nextcloud
1 1 263
  • Nextcloud verteilt die Updates in Wellen. So, jetzt helfen wir mal ein wenig nach 🙂

    Nur nachmachen, wenn ihr wisst was ihr macht. Backup vorher erstellen!!

    Im Backend auf Beta Update-Kanal umgestellt. Danach zeigt er dann das Update auf 17.0.0 an. Das wollen wir jetzt mal installieren. Alles läuft wieder immer, dann der Klick auf den Webupdater -> White Screen. Nix geht mehr...... 😞

    Hmm!? Ok, im Browser einmal zurück, das Ganze nochmal und dann auf Konsolenupdater geklickt. Jetzt soll ich auf dem Server ein

    ./occ upgrade machen
    

    Dafür muss das File erst mal die nötigen Rechte haben.

    chmod +x occ
    

    Danach meckert er über den falschen Benutzer, möchte sudo haben.

    apt install sudo
    

    Danach neuer Versuch

    sudo -u www-data ./occ upgrade
    

    Das Update wird ausgeführt. Danach ist die Nextcloud Installation im Maintenance Modus. In der Config das hier ändern.

      'maintenance' => true,
    

    in

      'maintenance' => false,
    

    Danach kann man sich wieder an der Nextcloud Installation anmelden. Im Backend bekomme ich eine Warnmeldung bzgl. X-Frame-Options "SAMEORIGIN" In der NGINX Konfiguration der Nextcloud Installation habe ich folgendes ergänzt.

    add_header X-Frame-Options "SAMEORIGIN";
    

    Danach ein

    nginx -s reload
    

    und die Warnmeldung war weg.Warum der Webupdater nicht ging? Keine Ahnung. Bis eben, ging das immer. Aber gut, das es noch diese Möglichkeit gibt.

    Zum Schluss dem File occ die Rechte wieder nehmen.

    chmod -x occ
    

    und das sudo wieder deinstallieren.

    apt remove sudo
    

    Den Update-Kanal danach wieder auf Stabil umschalten!

  • Nextcloud - Update auf 31.0.0

    Nextcloud nextcloud linux
    2
    1
    0 Stimmen
    2 Beiträge
    652 Aufrufe
    FrankMF
    Und nicht vergessen service php8.2-fpm restart Damit sieht man dann auch alle Files und Kalendereinträge LOL
  • Nextcloud - Update auf 28.0.2

    Nextcloud nextcloud linux
    2
    0 Stimmen
    2 Beiträge
    259 Aufrufe
    FrankMF
    Für den, der sich alle Änderungen ansehen möchten -> https://github.com/nextcloud/server/releases
  • Nextcloud - Update auf 27.0.1

    Nextcloud nextcloud
    1
    0 Stimmen
    1 Beiträge
    144 Aufrufe
    Niemand hat geantwortet
  • Nextcloud API Zugriff

    Nextcloud nextcloud
    4
    0 Stimmen
    4 Beiträge
    374 Aufrufe
    FrankMF
    Ok, es gab noch ein Problem und zwar '/'. Habe das Script jetzt nochmal umgebaut, jetzt bin ich soweit zufrieden. Die Textdatei ist auf meine Bedürfnisse angepasst worden 1.2.01 1.2.01.1 Text1.1 1.2.01.2 Text1.2 1.2.02 1.2.02.1 Text2.1/Testing 1.2.02.2 Text2.2 1.2.01 und 1.2.02 erzeugt dann einen Ordner, der Rest sind dann Unterordner. """ Tool to create folders using the Nextcloud API """ ############################################### # Imports ############################################### import subprocess from pathlib import Path ############################################### # Constant ############################################### # Get home directory from user USERHOME = str(Path.home()) NCPATH = 'https://DOMAIN/remote.php/dav/files/Frank/Python_Script/' USERNAME = 'USER' PASSWORD = 'PASSWORD' ############################################### # Function to crate folder with nextcloud api ############################################### def read_textobject(): # read folders to create from textfile with open(f'{USERHOME}/Textdatei.txt', 'r') as obj: # create object for line in obj: line_split = line.split(' ') elements = line_split[0].split('.') try: if elements[3]: main_folder = 0 # replace whitespaces with %20, and / with _ and remove linefeed (\n) path = Path((line.replace(' ', '%20').replace('/', '_')).rstrip('\n')) except IndexError: print("Element is main folder") main_folder = 1 # replace whitespaces with %20, and / with _ and remove linefeed (\n) main = Path((line.replace(' ', '%20').replace('/', '_')).rstrip('\n')) else: print("Element is not a main folder") ############################################### # Create directory ############################################### if main_folder == 1: # Main folder try: args = ['curl', '-u', f'{USERNAME}:{PASSWORD}', f'{NCPATH}{main}', '-X', 'MKCOL'] result = subprocess.run(args, check=True, capture_output=True, text=True) except subprocess.CalledProcessError as error: print(result.stderr) else: if result.stdout: print(result.stdout) else: print('Directory created successful') else: # Not a main folder try: args = ['curl', '-u', f'{USERNAME}:{PASSWORD}', f'{NCPATH}{main}/{path}', '-X', 'MKCOL'] result = subprocess.run(args, check=True, capture_output=True, text=True) except subprocess.CalledProcessError as error: print(result.stderr) else: if result.stdout: print(result.stdout) else: print('Directory created successful') else: print(result.stdout) obj.close() if __name__ == '__main__': read_textobject()
  • Nextcloud Talk

    Nextcloud nextcloud coturn linux talk
    5
    2
    0 Stimmen
    5 Beiträge
    986 Aufrufe
    FrankMF
    All I needed to do was setting the permissions to 744 for the archive directory and the symlinks resolved correctly after a reboot of coturn My turnserver installation on Debian runs as the user turnserver and not as root, nor is the user turnserver in any group owning the letsencrypt directory. If your turnserver does run as root, it should be fine just adding execute permissions. I hope this helps some of you. Quelle: https://help.nextcloud.com/t/lets-encrypt-symlink-breaks-coturn-configuration/70166 Was zum Testen die Tage....
  • Nextcloud - Update auf 17.0.3

    Nextcloud nextcloud
    1
    0 Stimmen
    1 Beiträge
    231 Aufrufe
    Niemand hat geantwortet
  • Nextcloud - Desktop Integration

    Nextcloud nextcloud debian linux
    1
    3
    0 Stimmen
    1 Beiträge
    325 Aufrufe
    Niemand hat geantwortet
  • Nextcloud - nach Federation Verbindung extrem langsam

    Verschoben Nextcloud nextcloud
    1
    0 Stimmen
    1 Beiträge
    1k Aufrufe
    Niemand hat geantwortet