nextcloud: Fix existing installs to upgrade properly
Fixes: #2433 (closed).
Tests:
-
Without the patches, as described in the bug, create an installation that is facing the problem. Ensure that 'podman exec --user www-data nextcloud-freedombox /var/www/html/occ config:system:get overwrite.cli.url' shows an empty value.
-
Apply patches, nextcloud app is updated and configuration value is set to 'http://localhost/nextlcoud' by running 'podman exec --user www-data nextcloud-freedombox /var/www/html/occ config:system:get overwrite.cli.url'.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org
CC: @nbenedek