- with the next UCS minor release, python(2) is being removed
- this patch was provided by Univention 🙇
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
The join script installed the collabora binary to the Nextcloud Docker
container, when no online office app like Collabora or ONLYOFFICE was
detected on the system.
The respective pieces of code have been removed from the join script.
When the fallback was installed, it broke automatic configurations when
the Collabora app was installed afterwards via the App Center.
The wopi_url for Collabora was not changed, because it already had a
valid value. Therefore, Nextcloud still used the Collabora binary
installed inside the Nextcloud container, instead of the separate app in
Univention App Center.
For the administrator this is very confusing and time consuming in
support cases.
Signed-off-by: Nico Gulden <gulden@univention.de>
For the ONLYOFFICE Document Server Integration Edition the autodetection
needs to work accordingly and activate the ONLYOFFICE plugin in
Nextcloud.
Signed-off-by: Nico Gulden <gulden@univention.de>
- the joinscript does not run each update
- ship the config directly in the container
- make the cert available through preinst
- put the cert on the right spot and call update-ca-certificates in setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
The ONLYOFFICE document server URL was not set automatically in the
Nextcloud join script. The error was:
rpc error: code = 2 desc = oci runtime error: exec failed:
container_linux.go:247: starting container process caused "exec:
\"occ\": executable file not found in $PATH"
This is fixed now.
When the apps are installed in Nextcloud in the docker image, they are
disabled by default. There is no need to disable them. Running the inst
script upon update could disable the online office apps unintentionally.
This is avoided now.
When either Collabora Online, Collabora CODE or ONLYOFFICE are installed
on a UCS system when Nextcloud is going to be installed, the respective
apps in Nextcloud are activated. If no URL to the services are
configured, they are set to the given system.
If no online office is installed, the join script will deactivate the
respective app in Nextcloud.