nextcloud / docker

⛴ Docker image of Nextcloud
https://hub.docker.com/_/nextcloud/
GNU Affero General Public License v3.0
5.95k stars 1.82k forks source link

Disabled app list stays empty due to missing diffutils on Alpine #1911

Open bjo81 opened 1 year ago

bjo81 commented 1 year ago

Hi, when using the Alpine image, the diff regarding the disabled apps on upgrade always stays empty. This is due to output of busybox-diff:

--- list_before
+++ list_after
@@ -1,10 +1,10 @@
 Enabled:
   - activity: 2.17.0
-  - calendar: 4.2.2
+  - calendar: 4.2.3
   - circles: 25.0.0
   - cloud_federation_api: 1.8.0
   - comments: 1.15.0
-  - contacts: 5.0.3
+  - contacts: 5.1.0
   - contactsinteraction: 1.6.0
   - dashboard: 7.5.0
   - dav: 1.24.0
@@ -44,6 +44,5 @@
   - updatenotification: 1.15.0
   - user_status: 1.5.0
   - viewer: 1.9.0
-  - weather_status: 1.5.0
   - workflowengine: 2.7.0
 Disabled:

So diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1 could not work. apk add diffutils fixes it.

J0WI commented 1 year ago

That's probably a good reason for https://github.com/nextcloud/docker/pull/1213