Skip to content

Update needed exception on app upgrades #39682

@voroyam

Description

@voroyam

update_needed

before upgrade of files_pdfviewer

MariaDB [owncloud]> select * from oc_appconfig where appid='files_pdfviewer';
+-----------------+-------------------+-------------+
| appid           | configkey         | configvalue |
+-----------------+-------------------+-------------+
| files_pdfviewer | enabled           | yes         |
| files_pdfviewer | installed_version | 0.12.1      |
| files_pdfviewer | signed            | true        |
| files_pdfviewer | types             |             |
+-----------------+-------------------+-------------+

after upgrade of files_pdfviewer

MariaDB [owncloud]> select * from oc_appconfig where appid='files_pdfviewer';
+-----------------+-------------------+-------------+
| appid           | configkey         | configvalue |
+-----------------+-------------------+-------------+
| files_pdfviewer | enabled           | yes         |
| files_pdfviewer | installed_version | 0.12.2      |
| files_pdfviewer | signed            | true        |
| files_pdfviewer | types             |             |
+-----------------+-------------------+-------------+

before upgrade of files_pdfviewer

root@ucsd:/var/lib/univention-appcenter/apps/owncloud/data/custom# ls -la
total 32
drwxr-xr-x  8 www-data root     4096 Jan 11 11:17 .
drwxr-xr-x  7 www-data www-data 4096 Jan  5  2021 ..
drwxr-xr-x  9 www-data root     4096 May 14  2021 contacts
drwxr-xr-x  8 www-data root     4096 May 14  2021 files_pdfviewer
drwxr-xr-x  8 www-data root     4096 Jan 11 11:17 files_texteditor
drwxr-xr-x  8 www-data root     4096 Jan 11 11:17 market
drwxr-xr-x 13 www-data root     4096 Dec  2 17:05 onlyoffice
drwxr-xr-x 10 www-data root     4096 Dec  2 17:05 richdocuments
<version>0.12.1</version>
root@6ba36322fad1: /var/www/owncloud # ls -la apps/files_pdfviewer/
total 44
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 .
drwxrwxrwx 1 www-data root 4096 Nov 23 15:30 ..
-rw-r--r-- 1 www-data root 3695 Jul 20 18:22 CHANGELOG.md
-rw-r--r-- 1 www-data root 1355 Jul 20 18:22 README.md
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 appinfo
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 css
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 img
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 js
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 l10n
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 lib
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 templates
<version>0.12.2</version>

after upgrade of files_pdfviewer

    <version>0.12.2</version>
root@6ba36322fad1: /var/www/owncloud # ls -la apps/files_pdfviewer/
total 44
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 .
drwxrwxrwx 1 www-data root 4096 Nov 23 15:30 ..
-rw-r--r-- 1 www-data root 3695 Jul 20 18:22 CHANGELOG.md
-rw-r--r-- 1 www-data root 1355 Jul 20 18:22 README.md
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 appinfo
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 css
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 img
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 js
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 l10n
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 lib
drwxr-xr-x 1 www-data root 4096 Jul 20 18:22 templates
root@ucsd:/var/lib/univention-appcenter/apps/owncloud/data# ls -la custom/
total 32
drwxr-xr-x  8 www-data root     4096 Jan 11 12:21 .
drwxr-xr-x  7 www-data www-data 4096 Jan  5  2021 ..
drwxr-xr-x  9 www-data root     4096 May 14  2021 contacts
drwxr-xr-x  9 www-data www-data 4096 Jan 11 12:21 files_pdfviewer
drwxr-xr-x  8 www-data root     4096 Jan 11 11:17 files_texteditor
drwxr-xr-x  8 www-data root     4096 Jan 11 11:17 market
drwxr-xr-x 13 www-data root     4096 Dec  2 17:05 onlyoffice
drwxr-xr-x 10 www-data root     4096 Dec  2 17:05 richdocuments
<version>0.12.2</version>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions