Skip to content

Nextcloud - Update auf 17.0.2

Nextcloud
  • Das Nextcloud Update auf 17.0.2 durchgeführt. Alles geklappt, aber im Backend schreibt NC, das man ein paar DB Spalten aktualisieren muss. Das macht NC nicht automatisch. Ok, dann von Hand. Dafür muss NC im Wartungsmodus sein.

    Maintenance Modus

    In der Config /nextcloud/config/config.php das hier ändern.

    'maintenance' => false,
    

    in

    'maintenance' => true,
    

    Danach befindet sich NC im Wartungsmodus.

    occ

    Schauen wir mal ob das File occ die nötigen Berechtigungen hat.

    chmod +x occ
    

    sudo

    Zur Durchführung des Befehles, benutzen wir sudo.

    apt install sudo
    

    Update Befehl

    sudo -u www-data ./occ db:convert-filecache-bigint
    

    Das Update wird ausgeführt.

    root@debian:/nginx/nextcloud# sudo -u www-data ./occ db:convert-filecache-bigint
    Nextcloud is in maintenance mode - no apps have been loaded
    
    Following columns will be updated:
    
    * mounts.storage_id
    * mounts.root_id
    * mounts.mount_id
    
    This can take up to hours, depending on the number of files in your instance!
    Continue with the conversion (y/n)? [n] y
    

    Aufräumen

    Danach den Wartungsmodus wieder ausschalten. Nun läuft NC wieder und man kann im Backend nachsehen, ob alles wieder funktioniert.

    Zum Schluss dem File occ die Rechte wieder nehmen.

    chmod -x occ
    

    und das sudo wieder deinstallieren.

     apt remove sudo
    

    Fertig!

    9a78bb9d-2998-4989-b7b3-b9d047d2d49b-image.png

  • 0 Stimmen
    2 Beiträge
    302 Aufrufe
    FrankMF

    Noch eine Ergänzung. Wenn ihr jetzt viele User habt und das nur auf eine Gruppe beschränken wollt, könnt ihr das so machen.

    Unter Apps, Nextcloud Assistant suchen und die gewünschten Gruppen eintragen. Fertig 😉

    197deae4-d72a-4729-bba7-bfa9b4bef334-grafik.png

  • 0 Stimmen
    1 Beiträge
    117 Aufrufe
    Niemand hat geantwortet
  • Nextcloud - Update auf 27.0.1

    Nextcloud
    1
    0 Stimmen
    1 Beiträge
    78 Aufrufe
    Niemand hat geantwortet
  • Nextcloud - Deck

    Nextcloud
    2
    0 Stimmen
    2 Beiträge
    380 Aufrufe
    FrankMF

    Für meine Lieblings App gibt es auch eine mobile App.

    Link Preview Image Nextcloud Deck - Apps on Google Play

    Client for Nextcloud Deck

    favicon

    (play.google.com)

    Diese App kostet 2,99€, ich denke das ist gut investiert.

    Deck.jpg

    Und so was müßte es jetzt noch bei meinem Arbeitgeber geben 😞

  • Nextcloud - Upgrade auf 19.0.1

    Nextcloud
    1
    0 Stimmen
    1 Beiträge
    213 Aufrufe
    Niemand hat geantwortet
  • Restic & Rclone & Nextcloud

    Linux
    3
    0 Stimmen
    3 Beiträge
    688 Aufrufe
    FrankMF

    Hier mal eine Ausgabe vom ersten Durchgang

    root@frank-MS-7C37:~# restic --password-file /root/passwd -r rclone:Nextcloud:HOME_UBUNTU backup --files-from /root/includes.txt repository 99xxxxa0 opened successfully, password is correct created new cache in /root/.cache/restic rclone: 2020/05/08 17:47:57 ERROR : locks: error listing: directory not found rclone: 2020/05/08 17:47:58 ERROR : index: error listing: directory not found rclone: 2020/05/08 17:47:58 ERROR : snapshots: error listing: directory not found Files: 3503 new, 0 changed, 0 unmodified Dirs: 2 new, 0 changed, 0 unmodified Added to the repo: 16.872 GiB processed 3503 files, 21.134 GiB in 1:02:56 snapshot fdxxxxec saved

    Der erste Durchgang hat also etwa eine Stunde benötigt. Durch die Deduplikation der Daten, ist der Vorgang beim zweiten Durchgang viel schneller weil nur neue oder geänderte Daten gesichert werden. Und außerdem sind alle Daten AES-256 verschlüsselt. Also perfekt zur Ablage in irgendeiner Cloud 😉

    root@frank-MS-7C37:~# restic --password-file /root/passwd -r rclone:Nextcloud:HOME_UBUNTU backup --files-from /root/includes.txt repository 99xxxxa0 opened successfully, password is correct Files: 57 new, 41 changed, 3449 unmodified Dirs: 0 new, 2 changed, 0 unmodified Added to the repo: 22.941 MiB processed 3547 files, 21.137 GiB in 0:13 snapshot c6xxxxe4 saved

    Wie ihr seht, hat der zweite Durchgang nur ein paar neue und geänderte Daten gesichert. Der Rest ist ja schon vorhanden. Und das kann man dann auch problemlos täglich, wöchentlich oder was auch immer mal eben schnell durchführen.

    Eines meiner absoluten Lieblingstool 🙂

  • Nextcloud 16.0.5 -> 17.0.0

    Nextcloud
    1
    0 Stimmen
    1 Beiträge
    221 Aufrufe
    Niemand hat geantwortet
  • 0 Stimmen
    1 Beiträge
    1k Aufrufe
    Niemand hat geantwortet