Howto: Revert To a Previous Version of an Nextcloud App

kudos @support_ti

In case you need to revert to an ealier version of an app insode of you Nextcloud container.

  1. In nexcloud active apps page disable the apps “Collabora Online” 3.6.0

  2. In nexcloud disable apps page remove the apps “Collabora Online” 3.6.0

  3. In ssh on the UCS server you need to find docker container id
    root@cloud:/# docker ps
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    2fedffc6d0d7 docker.software-univention.de/collabora:4.2.2.1 “/bin/sh -c 'bash st…” 12 hours ago Up 12 hours 0.0.0.0:9980->9980/tcp wonderful_brattain
    d9c5ae57ed42 docker.software-univention.de/nextcloud:18.0.4-0 “/bin/sh -c /usr/sbi…” 21 hours ago Up 12 hours 0.0.0.0:40000->80/tcp determined_shamir

  4. Transfer the richdocuments.tar.gz to the UCS server with WinSCP. The file can be download here
    https://github.com/nextcloud/richdocuments/releases/download/v3.5.3/richdocuments.tar.gz

  5. Copy the gz file in the docker container - docker cp richdocuments.tar.gz :
    root@cloud:~# docker cp richdocuments.tar.gz d9c5ae57ed42:/var/www/html/apps

  6. Go inside nextcloud docker container
    root@cloud:~# univention-app shell nextcloud
    root@nextc-57258297:/#

  7. Extract the .gz file and give the same permission as other folder
    root@nextc-57258297:/var/www/html/apps# tar zxvf richdocuments.tar.gz
    root@nextc-57258297:/var/www/html/apps# chown -R www-data:nogroup richdocuments

  8. Return in nexcloud apps page and enable the apps “Collabora Online” version 3.5.3

Collobara Online 3.5.3 works again

1 Like
Mastodon