My Resolved Upgrade Issues

Perhaps this will help some people here.
I read a thread where the Nextcloud’s upgrade policy was criticized.
Many people don’t agree with the short time between major releases.
Perhaps this thread here can become an indicator why they are unhappy with this.
I’ will update this thread here when I have some issues by upgrading and I know how to resolve.
My configuration is very basic.
First my Nextcloud is working under Ubuntu 22.04.04 LTS with ESM latest patches installed and OnlyOffice Community Server 8 latest patches installed. All is running under Proxmox VE 8.1 in 2 virtual machines.

I’ll write the issues and solutions in german, feel free to translate.

Update von 27.1.8 → 28.04
(27.1.8 hat keine Fehler angezeigt und im Protokoll ware nur Hinweise.
Allerdings wurde mir einer gemeldet, er betraf Gruppenordner. Wenn in einem Gruppenordner ein Ordner umbenannt wurde, erschien nach einiger Zeit der alte Ordner wieder allerdings leer. Das wurde mir zum 1. Mal nach dem Update 27.1.7 → 27.1.8 gemeldet.)

  1. Onlyoffice erzeugt fehler – desktop.js nicht verfügbar
    Änderung in /var/www/XXX/apps/onlyoffice/lib/Listeners/WidgetListener.php Util::addScript(“onlyoffice”, “desktop”);
    zu
    Util::addScript(“onlyoffice”, “onlyoffice-desktop”);
    Reboot Nextcloud Fehler beseitigt. i.O.

  2. Cron Job wird nicht ausgefĂĽhrt.
    /etc/php/8.1/mods-available/apcu.ini
    Folgende Zeilen ergänzen sofern noch nicht vorhanden.
    extension=apcu.so
    apc.enabled=1
    apc.shm_size=32M
    apc.ttl=7200
    apc.enable_cli=1

  3. Konfigurationsfehler Wartungsfenster nicht vorhanden.
    sudo www-data php occ config:system:set maintenance_window_start --type=integer --value=1
    Beseitigt die Warung und lässt die Wartung ab 01.00 Uhr starten.

  4. Protokoll löschen, damit wir nicht gleich mit Warungen starten.
    sudo -u www-data truncate var/www/XXX/data/nextcloud.log --size 0
    danach war bei mir zunächst mal auch wieder alles mit grünen Haken versehen und hoffe das bleibt so.

Complete Upgrade with Backup etc… round about 3-4 hours.
I’m very exited how much time I’ll need for the next upgrade.
Have a good time and stay happy with Nextcloud.

Thanks for sharing your experiences, it can be a bit of a hassle, to gather single solutions when confronted with a number of issues after upgrades. Steps 2-4 should not affect futures upgrades for you since you already solved it.

Regarding step1:
It’s really great that you manage to debug such issues yourself. If you find fixes to apps, please report this back to the developers, so they can implement a fix for all users, create a bug report, mention how you fixed it, or even provide a pull request. For only office this would be: https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues (if you already reported it or there is a solution, you can put a link here as well).

1 Like

OO was updated for v29 yesterday[1] and includes the mentioned change in that release: v9.2.0[2].

[1] Support for Nextcloud 29 · Issue #988 · ONLYOFFICE/onlyoffice-nextcloud · GitHub
[2] Release/9.2.0 by LinneyS · Pull Request #987 · ONLYOFFICE/onlyoffice-nextcloud · GitHub

So far so good.
Update 28.04 → 28.05
OnlyOffice Client 9.2.0 integration is not working.
No configuration changes can be saved.

No solution so far. I made a rollback to 28.04.
(Ca. 1h Recherche ohne Ergebnis)

Nach dem Update war das OnlyOffice Plugin ohne Funktion.
Abspeichern oder ändern der Clientdaten ist nicht möglich.
Deinstallation und manuelle Löschung und Neuinstallation haben keine Besserung gebracht.
Nach Recherche habe ich dann bei github unter Fehlern jemanden gefunden der anscheinend das selbe Problem hat. Gemeldet bereits vor drei Tagen, scheint aber wohl nicht zu interessieren.
Das Ganze hat neben dem Update und Rollback ca. 1,5h Stunde gedauert und das ganze wie geschrieben, ohne Lösung.

I’ll try to get the price for nextcloud community edition for one month.
I will take the serviceprices from here:

Normally in 90.- €uro/h in 2021 (without tax). In my opinion I’ll need round about 6-12 month and then we can calculate the price. :wink: