Friday, January 12, 2024
apps@conference.yunohost.org
January
Mon Tue Wed Thu Fri Sat Sun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
             

[01:35:32] <Yunohost Git/Infra notifications> App horde stays at level 4 in job [#22149](https://ci-apps.yunohost.org/ci/job/22149)
[01:58:15] <Yunohost Git/Infra notifications> App minetest failed all tests in job [#22153](https://ci-apps.yunohost.org/ci/job/22153) :(
[03:53:42] <Yunohost Git/Infra notifications> App kimai2 stays at level 2 in job [#22152](https://ci-apps.yunohost.org/ci/job/22152)
[04:29:11] <limezy> Hello everybody, for the app Dex, I discovered something strange : the "name" key is correctly set to something (in my case `Outline`) but when the upgrade script fills in the config.yaml file, it replaces `__NAME__` with "dex" (which is the name of the app). Is there something conflicting here, like for instance `__NAME__` being populated by the name of the app by default instead of the "name" key of that app ? Thanks !
[06:23:24] <Yunohost Git/Infra notifications> App wikijs goes down from level 8 to 6 in job [#22158](https://ci-apps.yunohost.org/ci/job/22158)
[06:23:24] <Yunohost Git/Infra notifications> App paheko rises from level 7 to 8 in job [#22159](https://ci-apps.yunohost.org/ci/job/22159) !
[06:23:31] <Yunohost Git/Infra notifications> App chatonsinfos failed all tests in job [#22164](https://ci-apps.yunohost.org/ci/job/22164) :(
[06:29:27] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to v2_PostgreSQL: Update upgrade ([c39600e7](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/c39600e756f190ab734876871e804900e14096c8))
[06:38:51] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to enh-configpanel: Update install ([eb749246](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/eb749246eb7c32dd4e2c3f6a80f87003a93d0393))
[06:46:19] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to enh-configpanel: Revert "Update install" This reverts commit eb749246eb7c32dd4e2c3f6a80f87003a93d0393. ([ca908766](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/ca908766c0b8834a18a30aa0498017176f5f3c49))
[06:46:42] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar changes_requested [pull request #638](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/638#pullrequestreview-1817498297) Nextcloud parameters in config panel
[06:47:02] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/638#discussion_r1449916534) on pull request #638 Nextcloud parameters in config panel: we get this warning with the CI WARNING ./install: line 13: maintenance: unbound variable
[06:55:33] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to enh-configpanel: Fix merge from testing :/ ([8dbc2e98](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/8dbc2e98dc69ba46e8844ebf222bceaae6839341))
[06:56:11] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar deleted a [comment](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/638#discussion_r1449916534) on pull request #638 Nextcloud parameters in config panel: we get this warning with the CI WARNING ./install: line 13: maintenance: unbound variable
[07:02:56] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar deleted a [comment](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/638#discussion_r1449915809) on pull request #638 Nextcloud parameters in config panel: suggestion ynh_app_setting_set --app=app --key=maintenance --value=maintenance
[07:19:06] <tituspijean> limezy: I think so, IIRC $app and $name get populated with the app ID.
[07:26:06] <limezy> OK, thanks. Then I'll have to change
[07:29:41] <tituspijean> I've just checked the code, and indeed the `__NAME__` is replaced by the value of the `name` key from the manifest: https://github.com/YunoHost-Apps/dex_ynh/blob/65e0269e3290351f6f4edd53a38ce5047ddff1fc/manifest.json#L2
[07:31:11] <limezy> The problem is here : https://github.com/YunoHost-Apps/dex_ynh/blob/testing/manifest.toml
[07:31:37] <limezy> On the testing branch (by the way thanks eric_G for doing it all)
[07:32:02] <limezy> There is probably a conflict between the `name` of the app and the `install.name` key
[07:32:18] <limezy> I guess the `name` is used in priority over `install.name` ?
[07:35:17] <tituspijean> that's quite possible indeed, simply replace `install.name` by `install.connectedappid` or whatever 🙂 and replace references accordingly 🙂
[07:36:40] <limezy> > <@titus:pijean.ovh> that's quite possible indeed, simply replace `install.name` by `install.connectedappid` or whatever 🙂 and replace references accordingly 🙂

Yep, thanks ! I was just willing to discuss this here because maybe this could be considered as a bug ? Shouldn't the `install.name` key be banned and trigger a CI error ?
[07:36:58] <limezy> (I agree that it's a real border case)
[08:52:12] <nicofrand> Thanks for the Nextcloud upgrade, that's life-changing
[09:02:08] <limezy> > Thanks for the Nextcloud upgrade, that's life-changing

Can't wait ! my upgrade is still bugging :)
[09:03:40] <limezy> Life is better with a bit of risk sometimes
[09:03:46] <nicofrand> I have to say I could not wait. I wanted to do a full backup first but reached a "Too many files open" error. Did the upgrade anyway :D
[09:03:51] <kayou> > <@limezy:matrix.org> Can't wait ! my upgrade is still bugging :)

What's your problem?
[09:04:08] <limezy> https://forum.yunohost.org/t/nextcloud-a-cloud-for-personal-or-group-use/9223/570
[09:04:47] <limezy> The upgrade exits because it thinks that my SQL db is empty (which is true) AND that my PostgreSQL db is empty (which is not true)
[09:06:54] <kayou> wut, you are talking about the psql upgrade
[09:07:22] <kayou> i thought it was about NC 28.0
[09:07:35] <limezy> Hum, yes, I was assuming nicofrand was talking about Nextcloud 28 with Psql, but maybe I'm wrong ?!
[09:09:00] <nicofrand> I was talking about the 28+ upgrade indeed
[09:09:15] <nicofrand> not postgresql
[09:09:34] <limezy> I see. So you see a big speed bump from 27 to 28 ?
[09:09:36] <kayou> limezy is in the future
[09:09:56] <nicofrand> I mean, the last upgrade available in master
[09:10:25] <limezy> So I hope my server will be flying with NC 28 + PostgreSQL (when future will work 😬😅)
[09:10:27] <nicofrand> There were several seconds lost on the client-side too, solved in version 28.
[09:11:28] <limezy> My biggest speedbump so far was migrating from MySQL to PostgreSQL
[09:36:45] <limezy> https://aria.im/_matrix/media/v1/download/matrix.org/nWpsvbFiWmYInXrrfHoqmfhF
[09:36:45] <limezy> Sounds promising indeed
[11:28:08] <eric_G> a lot of failed Nextcloud upgrades comes from apps not compatible with the last Nextcloud version. We are deactivating mail app before update (I don't know if this really works). But we should deactivate all (non compatible) apps before update. I don't know if that is possible.
[11:31:32] <Aleks (he/him/il/lui)> yeah maybe there's so command line that would allow to know which apps are compatible and which arent beforehand
[11:32:33] <limezy> eric_G: not related to that non compatible apps thing, but could you please also kindly have a look at my upgrade fail ? Thanks !
[11:38:26] <Aleks (he/him/il/lui)> > <@Alekswag:matrix.org> yeah maybe there's so command line that would allow to know which apps are compatible and which arent beforehand

zblerg there is this thread https://help.nextcloud.com/t/apps-not-compatible-with-nc-28/176234 but i cant believe they keep track of everything manually ..
[11:39:30] <Aleks (he/him/il/lui)> https://help.nextcloud.com/t/check-app-compatibility-before-upgrade/159503/2
[11:40:50] <Aleks (he/him/il/lui)> ah so their app catalog is for example https://apps.nextcloud.com/api/v1/platform/25.0.0/apps.json for version 25.0.0
[11:41:56] <Aleks (he/him/il/lui)> could try to list enabled apps with something like `php occ app:list --output json | jq .enabled` and check that every app is in the catalog of the next version
[11:53:18] <Aleks (he/him/il/lui)> i'll try to draft something
[12:16:24] <Aleks (he/him/il/lui)> or maybe not, I got caught into something more urgent sorry 😅
[12:42:18] <eric_G> https://aria.im/_matrix/media/v1/download/matrix.org/wVsaAjuFXdYuBsoibRuvrJft
[12:47:23] <eric_G> The PHP version is not showing in the Nextcloud admin page (I have an old/new Nextcloud install. maybe it is already fixed.)
Is this fixed?
[12:50:38] <eric_G> miro5001: Sorry I wasn't clear enough, but I was talking about the YunoHost Nextcloud admin app page where `__YNH_PHP_VERSION__` doesn't get replaced
[12:51:39] <miro5001> https://aria.im/_matrix/media/v1/download/matrix.org/mCpvBmeOXqraQFZnEkUpMpNO
[12:53:34] <kayou> > <@ericg:matrix.org> The PHP version is not showing in the Nextcloud admin page (I have an old/new Nextcloud install. maybe it is already fixed.)
> Is this fixed?

same on my side
[12:53:34] <Aleks (he/him/il/lui)> > <@Alekswag:matrix.org> ah so their app catalog is for example https://apps.nextcloud.com/api/v1/platform/25.0.0/apps.json for version 25.0.0

hmm but it looks like this is only the "community apps" maybe, not the official ones ?
[12:54:34] <kayou> O.O
[12:54:34] <Aleks (he/him/il/lui)> oooh i never opened the nextcloud app store actually https://apps.nextcloud.com/
[12:54:34] <eric_G> `__YNH_PHP_VERSION__` doesn't get replaced...
[12:54:34] <eric_G> any idea on how we can get the right PHP version on ADMIN.md? : `sudo -u __APP__ php__YNH_PHP_VERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...`
[12:54:34] <kayou> me neither
[12:54:38] <eric_G> > <@Alekswag:matrix.org> oooh i never opened the nextcloud app store actually https://apps.nextcloud.com/

notre store est plus beau 😶‍🌫️
[12:57:42] <Aleks (he/him/il/lui)> ah
[12:57:42] <Aleks (he/him/il/lui)> that's `__PHPVERSION__`
[12:57:42] <Aleks (he/him/il/lui)> because the actual setting is $phpversion
[12:57:56] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to testing: Fix ([b678d77e](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/b678d77ee9f1f8c797ba5187838a6d843fad9e17))
[12:59:07] <Aleks (he/him/il/lui)> > <@Alekswag:matrix.org> hmm but it looks like this is only the "community apps" maybe, not the official ones ?

can somebody with a real life nextcloud instance + 3rd party app run the following ?

```
cd /var/www/nextcloud
su nextcloud -s /bin/bash
apps="$(php8.2 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json | jq -r ".enabled | keys[]")"
for app in $apps; do ls -ld /var/www/nextcloud/apps/$app; done
```

and confirm that the 3rd party app is not listed in /var/www/nextcloud/apps/ but is listed in /var/www/nextcloud/3rdparty ?
[13:04:20] <lapineige> > <@Alekswag:matrix.org> yeah maybe there's so command line that would allow to know which apps are compatible and which arent beforehand

https://help.nextcloud.com/t/apps-not-compatible-with-nc-28/176234
[13:13:29] <eric_G> > <@Alekswag:matrix.org> can somebody with a real life nextcloud instance + 3rd party app run the following ?
>
> ```
> cd /var/www/nextcloud
> su nextcloud -s /bin/bash
> apps="$(php8.2 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json | jq -r ".enabled | keys[]")"
> for app in $apps; do ls -ld /var/www/nextcloud/apps/$app; done
> ```
>
> and confirm that the 3rd party app is not listed in /var/www/nextcloud/apps/ but is listed in /var/www/nextcloud/3rdparty ?

```
root@domain.tld:/var/www/nextcloud# apps="$(sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json | jq -r ".enabled | keys[]")"
root@domain.tld:/var/www/nextcloud# for app in $apps; do ls -ld /var/www/nextcloud/apps/$app; done
drwxr-xr-x 11 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/activity
drwxr-xr-x 6 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/admin_audit
drwxr-xr-x 6 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/cloud_federation_api
drwxr-xr-x 7 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/comments
drwxr-xr-x 6 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/contactsinteraction
drwxr-xr-x 9 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/dav
drwxr-xr-x 9 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/federatedfilesharing
drwxr-xr-x 11 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/files
drwxr-xr-x 12 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/files_external
drwxr-xr-x 9 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/files_pdfviewer
drwxr-xr-x 7 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/files_reminders
drwxr-xr-x 10 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/files_sharing
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/files_trashbin
drwxr-xr-x 7 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/files_versions
drwxr-xr-x 10 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/logreader
drwxr-xr-x 6 nextcloud www-data 4096 Dec 21 16:29 /var/www/nextcloud/apps/lookup_server_connector
drwxr-xr-x 7 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/oauth2
drwxr-xr-x 13 nextcloud nextcloud 4096 Dec 22 10:07 /var/www/nextcloud/apps/onlyoffice
drwxr-xr-x 11 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/photos
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/privacy
drwxr-xr-x 7 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/provisioning_api
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/related_resources
drwxr-xr-x 9 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/serverinfo
drwxr-xr-x 11 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/settings
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/sharebymail
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/systemtags
drwxr-xr-x 9 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/text
drwxr-xr-x 11 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/theming
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/twofactor_backupcodes
drwxr-xr-x 11 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/user_ldap
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/viewer
drwxr-xr-x 8 nextcloud www-data 4096 Dec 21 16:34 /var/www/nextcloud/apps/workflowengine
```

[13:15:05] <Aleks (he/him/il/lui)> 🤔
[13:15:08] <Aleks (he/him/il/lui)> hmmm so no 3rdparty app ?
[13:15:48] <eric_G> But I have little app intalled
[13:18:07] <eric_G> this is the output of app:list
```
Enabled:
- activity: 2.20.0
- admin_audit: 1.18.0
- cloud_federation_api: 1.11.0
- comments: 1.18.0
- contactsinteraction: 1.9.0
- dav: 1.29.1
- federatedfilesharing: 1.18.0
- files: 2.0.0
- files_external: 1.20.0
- files_pdfviewer: 2.9.0
- files_reminders: 1.1.0
- files_sharing: 1.20.0
- files_trashbin: 1.18.0
- files_versions: 1.21.0
- logreader: 2.13.0
- lookup_server_connector: 1.16.0
- oauth2: 1.16.3
- onlyoffice: 9.0.0
- photos: 2.4.0
- privacy: 1.12.0
- provisioning_api: 1.18.0
- related_resources: 1.3.0
- serverinfo: 1.18.0
- settings: 1.10.1
- sharebymail: 1.18.0
- systemtags: 1.18.0
- text: 3.9.1
- theming: 2.3.0
- twofactor_backupcodes: 1.17.0
- user_ldap: 1.19.0
- viewer: 2.2.0
- workflowengine: 2.10.0
Disabled:
- bruteforcesettings: 2.8.0
- circles: 28.0.0-dev (installed 27.0.1)
- dashboard: 7.8.0 (installed 7.7.0)
- encryption: 2.16.0
- federation: 1.18.0 (installed 1.17.0)
- firstrunwizard: 2.17.0 (installed 2.16.0)
- nextcloud_announcements: 1.17.0 (installed 1.16.0)
- notifications: 2.16.0 (installed 2.15.0)
- password_policy: 1.18.0 (installed 1.17.0)
- recommendations: 2.0.0 (installed 1.6.0)
- support: 1.11.0 (installed 1.10.0)
- survey_client: 1.16.0 (installed 1.15.0)
- suspicious_login: 6.0.0
- twofactor_totp: 10.0.0-beta.2
- updatenotification: 1.18.0 (installed 1.17.0)
- user_status: 1.8.1 (installed 1.7.0)
- weather_status: 1.8.0 (installed 1.7.0)
```

[13:20:22] <Chatpitaine Caverne> Is there ? It is still a NC27

```
drwxr-xr-x 12 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/activity
drwxr-xr-x 6 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/admin_audit
drwxr-xr-x 9 nextcloud www-data 4096 Nov 10 12:18 /var/www/nextcloud/apps/announcementcenter
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/bruteforcesettings
drwxr-xr-x 11 nextcloud www-data 4096 Jan 3 18:35 /var/www/nextcloud/apps/calendar
drwxr-xr-x 11 nextcloud www-data 4096 Aug 20 12:40 /var/www/nextcloud/apps/carnet
drwxr-xr-x 12 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/circles
drwxr-xr-x 6 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/cloud_federation_api
drwxr-xr-x 11 nextcloud www-data 4096 Dec 6 16:22 /var/www/nextcloud/apps/collectives
drwxr-xr-x 7 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/comments
drwxr-xr-x 11 nextcloud www-data 4096 Jan 3 18:35 /var/www/nextcloud/apps/contacts
drwxr-xr-x 6 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/contactsinteraction
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/dashboard
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/dav
drwxr-xr-x 13 nextcloud www-data 4096 Nov 30 18:03 /var/www/nextcloud/apps/deck
drwxr-xr-x 10 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/encryption
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/federatedfilesharing
drwxr-xr-x 10 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/federation
drwxr-xr-x 11 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files
drwxr-xr-x 12 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files_external
drwxr-xr-x 11 nextcloud www-data 4096 Nov 30 18:04 /var/www/nextcloud/apps/files_mindmap
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files_pdfviewer
drwxr-xr-x 7 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files_reminders
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files_rightclick
drwxr-xr-x 10 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files_sharing
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files_trashbin
drwxr-xr-x 7 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/files_versions
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/firstrunwizard
drwxr-xr-x 10 nextcloud www-data 4096 Jan 9 22:21 /var/www/nextcloud/apps/forms
drwxr-xr-x 6 nextcloud www-data 4096 Dec 4 03:10 /var/www/nextcloud/apps/gpoddersync
drwxr-xr-x 10 nextcloud www-data 4096 Dec 22 12:10 /var/www/nextcloud/apps/groupfolders
drwxr-xr-x 11 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/logreader
drwxr-xr-x 6 nextcloud www-data 4096 Nov 23 18:51 /var/www/nextcloud/apps/lookup_server_connector
drwxr-xr-x 12 nextcloud www-data 4096 Jan 9 22:21 /var/www/nextcloud/apps/mail
drwxr-xr-x 6 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/nextcloud_announcements
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/notifications
drwxr-xr-x 7 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/oauth2
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/password_policy
drwxr-xr-x 9 nextcloud www-data 4096 Dec 30 16:47 /var/www/nextcloud/apps/passwords
drwxr-xr-x 10 nextcloud www-data 4096 Dec 18 00:55 /var/www/nextcloud/apps/phonetrack
drwxr-xr-x 11 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/photos
drwxr-xr-x 9 nextcloud www-data 4096 Nov 13 11:39 /var/www/nextcloud/apps/polls
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/privacy
drwxr-xr-x 7 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/provisioning_api
drwxr-xr-x 6 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/recommendations
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/related_resources
drwxr-xr-x 16 nextcloud www-data 4096 Nov 21 15:47 /var/www/nextcloud/apps/richdocuments
drwxr-xr-x 9 nextcloud www-data 4096 Dec 22 12:12 /var/www/nextcloud/apps/richdocumentscode_arm64
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/serverinfo
drwxr-xr-x 11 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/settings
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/sharebymail
drwxr-xr-x 12 nextcloud www-data 4096 Dec 22 12:09 /var/www/nextcloud/apps/spreed
drwxr-xr-x 10 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/support
drwxr-xr-x 9 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/survey_client
drwxr-xr-x 10 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/systemtags
drwxr-xr-x 10 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/text
drwxr-xr-x 11 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/theming
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/twofactor_backupcodes
drwxr-xr-x 11 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/user_ldap
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/user_status
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/viewer
drwxr-xr-x 7 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/weather_status
drwxr-xr-x 8 nextcloud www-data 4096 Nov 23 18:54 /var/www/nextcloud/apps/workflowengine
```
[13:28:14] <lapineige> I can provide the result tonight, I have a ton of apps
[14:04:57] <Yunohost Git/Infra notifications> [nextcloud_ynh] @klorydryk edited [issue #646](https://github.com/YunoHost-Apps/nextcloud_ynh/issues/646): Database index error as updating v27 to v28
[14:04:58] <Yunohost Git/Infra notifications> [nextcloud_ynh] @klorydryk opened [issue #646](https://github.com/YunoHost-Apps/nextcloud_ynh/issues/646): Database index error update 27 to 28
[14:05:18] <miro5001> In NC > admin > overview
```
There are some warnings regarding your setup.

1531 errors in the logs since 5 January 2024
```
And increasing every minute.

In the log a lot of :
```
Error
Call to undefined method OC\Server::getEventDispatcher()
Could not boot files_trackdownloads: Call to undefined method OC\Server::getEventDispatcher()
```
It's "Activities for shared file downloads, visible to all admins" app.
Errors stopped after disabling and deleting it

[14:08:01] <Yunohost Git/Infra notifications> [nextcloud_ynh] @Salamandar edited [issue #646](https://github.com/YunoHost-Apps/nextcloud_ynh/issues/646): Database index error as updating v27 to v28
[15:55:15] <Aleks (he/him/il/lui)> hmm i guess maybe we should parse info.xml for each app, that's where the min/max version is stored apparently `grep min-version /var/www/nextcloud/apps/*/appinfo/info.xml`
[15:59:13] <tituspijean> IIRC there's a helper script on the Nextcloud forum to handle the NC apps upgrades
[15:59:25] <tituspijean> but maybe we don't want to add yet another dependency
[16:00:30] <Chatpitaine Caverne> > <@Alekswag:matrix.org> hmm i guess maybe we should parse info.xml for each app, that's where the min/max version is stored apparently `grep min-version /var/www/nextcloud/apps/*/appinfo/info.xml`

and we can see that user_ldap is max 27
[16:00:57] <Aleks (he/him/il/lui)> > <@titus:pijean.ovh> but maybe we don't want to add yet another dependency

hmm idk what does it looks like ?
[16:06:26] <Aleks (he/him/il/lui)> my point is "we should check at the very beginning of the app upgrade script if any apps is not available on the destination version instead of randomly crashing in the middle of the script"
[16:06:49] <Aleks (he/him/il/lui)> but maybe they have a nice API/script that checks that
[16:10:06] <Aleks (he/him/il/lui)> so far I have something like:

```bash
cd /var/www/nextcloud
su nextcloud -s /bin/bash
phpversion=8.2
apps="$(php$phpversion --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json | jq -r ".enabled | keys[]")"
for app in $apps
do
echo $(grep "nextcloud.*max-version" /var/www/nextcloud/apps/$app/appinfo/info.xml | sed 's/.*max-version="\([0-9][0-9]\)".*/\1/g') $app
done
```
[16:10:06] <Aleks (he/him/il/lui)> so far I have something like:

```bash
cd /var/www/nextcloud
su nextcloud -s /bin/bash


phpversion=8.2
apps="$(php$phpversion --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json | jq -r ".enabled | keys[]")"
for app in $apps
do
echo $(grep "nextcloud.*max-version" /var/www/nextcloud/apps/$app/appinfo/info.xml | sed 's/.*max-version="\([0-9][0-9]\)".*/\1/g') $app
done
```
[16:25:45] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to v2_PostgreSQL: fix ([06eefbab](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/06eefbab6ffb0a35f5eb57610e9d14bb026fabfd))
[16:53:34] <eric_G> > <@Alekswag:matrix.org> so far I have something like:
>
> ```bash
> cd /var/www/nextcloud
> su nextcloud -s /bin/bash
>
>
> phpversion=8.2
> apps="$(php$phpversion --define apc.enable_cli=1 occ --no-interaction --no-ansi app:list --output json | jq -r ".enabled | keys[]")"
> for app in $apps
> do
> echo $(grep "nextcloud.*max-version" /var/www/nextcloud/apps/$app/appinfo/info.xml | sed 's/.*max-version="\([0-9][0-9]\)".*/\1/g') $app
> done
> ```

that gives me
```
28 activity
28 admin_audit
28 cloud_federation_api
28 comments
28 contactsinteraction
28 dav
28 federatedfilesharing
28 files
28 files_external
28 files_pdfviewer
28 files_reminders
28 files_sharing
28 files_trashbin
28 files_versions
28 logreader
28 lookup_server_connector
28 oauth2
28 onlyoffice
28 photos
28 privacy
28 provisioning_api
28 related_resources
28 serverinfo
28 settings
28 sharebymail
28 systemtags
28 text
28 theming
28 twofactor_backupcodes
28 user_ldap
28 viewer
28 workflowengine
```

[16:55:11] <Aleks (he/him/il/lui)> yeah it's just a bit unclear to me what's up with "non-core" apps but i guess they end up in the apps/ folder as well once they get installed
[16:59:48] <eric_G> so we are not checking the max version with https://apps.nextcloud.com/api/v1/platform/28.0.0/apps.json but the app `info.xml` file to check the max version? non-core apps should have the same `info.xml` I guess
[17:00:11] <eric_G> I need to find a non-core app to install...
[17:00:46] <Yunohost Git/Infra notifications> [apps] @yunohost-bot opened [pull request #1963](https://github.com/YunoHost/apps/pull/1963): Update app levels according to CI results
[17:00:46] <Aleks (he/him/il/lui)> hmmmyeah idk it's not clear to me what's the exact process ... are apps getting somehow updated beforehand by nextcloud like before we run the upgrade ... or are they upgraded *when* we run the upgrade ?
[17:00:47] <Yunohost Git/Infra notifications> [apps] @yunohost-bot created new branch update_app_levels
[17:00:47] <Yunohost Git/Infra notifications> [apps] @yunohost-bot pushed 1 commit to update_app_levels: Update app levels according to CI results ([55d14969](https://github.com/YunoHost/apps/commit/55d14969a46310f70de94bb75cabc48892ae9003))
[17:01:59] <eric_G> we update the apps https://github.com/YunoHost-Apps/nextcloud_ynh/blob/3e60bacfa5f4f3eaed7962a06a3880ffd6f2117e/scripts/upgrade#L225
[17:02:25] <eric_G> but I am not sure apps are actually updated
[17:03:20] <eric_G> nor that the mail app is actually disabled before the upgrade...
[17:03:30] <Aleks (he/him/il/lui)> aah i see so yes nevermind my previous script we probably need to check the json indeed
[17:04:08] <Aleks (he/him/il/lui)> so my guess is that core apps are always available for the future version, but non-core apps need to be checked in their apps.json
[17:04:22] <Aleks (he/him/il/lui)> but now the question is how do we list only non-core apps x_x
[17:05:16] <eric_G> `none-core apps = all apps - core-apps`
[17:05:40] <Aleks (he/him/il/lui)> sure, how do you list core apps then 😅
[17:06:20] <eric_G> `none-core apps + core-apps = all apps` 😂
[17:07:18] <Aleks (he/him/il/lui)> 1 salle 2 ambiances, 1 equations 2 inconnues 😬
[17:09:03] <Yunohost Git/Infra notifications> App redirect rises from level 6 to 8 in job [#22167](https://ci-apps.yunohost.org/ci/job/22167) !
[17:09:45] <eric_G> but do we need to make a distinction between core-apps and non-core apps? `https://apps.nextcloud.com/api/v1/platform/28.0.0/apps.json` seems to list all the apps available in the catalog isn't it?
[17:10:06] <Aleks (he/him/il/lui)> ah ?
[17:10:36] <eric_G> I assume...
[17:10:38] <eric_G> 208 apps
[17:10:57] <Aleks (he/him/il/lui)> i can't find for example "cloud_federation_api"
[17:11:08] <Aleks (he/him/il/lui)> or "user_ldap"
[17:11:55] <Aleks (he/him/il/lui)> i guess that kind of answers the question, maybe non-core apps are the one listed in this catalog 😬
[17:12:17] <eric_G> I assum as well that core-app are compatible out of the box for Nextcloud new version
[17:14:06] <eric_G> I can't imagine Nextcloud 28 shipping without being compatible with "cloud_federation_api" or "user_ldap" 🤔
[17:14:28] <Aleks (he/him/il/lui)> yeah
[17:19:09] <Aleks (he/him/il/lui)> at last ... https://api.github.com/repos/nextcloud/server/contents/apps?ref=v28.0.0
[17:25:59] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 2 commits to v2_PostgreSQL ([06eefbab6ffb...196c30824625](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/06eefbab6ffb...196c30824625))
[17:26:08] <Yunohost Git/Infra notifications> [nextcloud_ynh/v2_PostgreSQL] Fix - Éric Gaspar
[17:30:57] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 1 commit to testing: cleaning ([2cd5f4d8](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/2cd5f4d85b3274034065efa4f267d1332ac2dbce))
[17:32:19] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar pushed 2 commits to v2_PostgreSQL ([196c30824625...80623fee4580](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/196c30824625...80623fee4580))
[17:32:54] <Yunohost Git/Infra notifications> App huginn failed all tests in job [#22011](https://ci-apps.yunohost.org/ci/job/22011) :(
[17:36:52] <eric_G> Limezy seems to have a valide postgresql db but ended up with `ynh_die 'Apparently the PostgreSQL DB is also empty, this is kind of worrying, what happened?!'`
[17:37:17] <eric_G> the line https://github.com/YunoHost-Apps/nextcloud_ynh/blob/c39600e756f190ab734876871e804900e14096c8/scripts/upgrade#L77
[17:37:26] <eric_G> How can we test this line? https://forum.yunohost.org/t/nextcloud-a-cloud-for-personal-or-group-use/9223/569
[17:39:03] <Aleks (he/him/il/lui)> asking for more details in https://forum.yunohost.org/t/nextcloud-a-cloud-for-personal-or-group-use/9223/576
[17:54:25] <Yunohost Git/Infra notifications> App fab-manager failed all tests in job [#21938](https://ci-apps.yunohost.org/ci/job/21938) :(
[18:10:55] <Yunohost Git/Infra notifications> App minetest rises from level 6 to 8 in job [#22153](https://ci-apps.yunohost.org/ci/job/22153) !
[18:11:27] <Aleks (he/him/il/lui)> the plot thickens ... I have files_pdfviewer but it's listed neither in the core apps, neither in https://apps.nextcloud.com/api/v1/platform/28.0.0/apps.json but it's here ... https://apps.nextcloud.com/apps/files_pdfviewer
[18:12:01] <Aleks (he/him/il/lui)> but on apps.nextcloud it's listed as compatible up to version 13
[18:12:14] <Aleks (he/him/il/lui)> but here it's well alive .. https://github.com/nextcloud/files_pdfviewer
[18:12:18] <Aleks (he/him/il/lui)> wat da hek
[18:13:24] <Yunohost Git/Infra notifications> [apps] @ericgaspar edited [pull request #1963](https://github.com/YunoHost/apps/pull/1963): Update app levels according to CI results
[18:13:53] <Yunohost Git/Infra notifications> [apps] @ericgaspar pushed 1 commit to update_app_levels: Update apps.toml ([0f7678d1](https://github.com/YunoHost/apps/commit/0f7678d199ef23edd453f74ad62d1c7b4c7fc996))
[18:15:05] <Yunohost Git/Infra notifications> [apps] @ericgaspar pushed 1 commit to update_app_levels: Update apps.toml ([7ce0234a](https://github.com/YunoHost/apps/commit/7ce0234a3d919bae902f525f57cfc9629c29683f))
[18:15:17] <Yunohost Git/Infra notifications> [apps] @ericgaspar edited [pull request #1963](https://github.com/YunoHost/apps/pull/1963): Update app levels according to CI results
[18:16:45] <Aleks (he/him/il/lui)> hm so it's in the .tar.bz2 archive i guess they build it at some point
[18:23:51] <Yunohost Git/Infra notifications> App gemserv failed all tests in job [#22122](https://ci-apps.yunohost.org/ci/job/22122) :(
[18:23:51] <Aleks (he/him/il/lui)> https://raw.githubusercontent.com/nextcloud/server/v28.0.1/core/shipped.json
[18:23:51] <Aleks (he/him/il/lui)> yep 😬
[18:23:53] <eric_G> ben c'est un petit peu le bordel les nextcloud apps
[18:25:29] <eric_G> what is going on with the ruby apps? c'est tout pété
[18:26:11] <Yunohost Git/Infra notifications> [apps] @ericgaspar edited [pull request #1963](https://github.com/YunoHost/apps/pull/1963): Update app levels according to CI results
[18:26:40] <Yunohost Git/Infra notifications> [apps] @ericgaspar pushed 1 commit to update_app_levels: Update apps.toml ([ef27d169](https://github.com/YunoHost/apps/commit/ef27d169b887e6224a0c3a83183f82aa22bdba6b))
[18:31:19] <Aleks (he/him/il/lui)> dont know much about ruby but it sounds like bundler stopped supporting ruby 2.x or something in this vein..
[18:40:39] <PapaDragon> Hi there. Eric_G is there any chance I can handle PRs in the Hubzilla package repo? Hubzilla's code and install process are very similar to those of Streams, so I think I could easily handle the upgrades for Hubzilla.
[18:41:10] <PapaDragon> (FYI my nick in github is dragondaddy)
[18:59:42] <eric_G> but why? 😭 https://github.com/YunoHost-Apps/hubzilla_ynh/blob/3e89436957f5a6f9b426836d671ffbb133d7db62/manifest.toml#L38-L43
[19:01:35] <Aleks (he/him/il/lui)> ogod..
[19:02:21] <Aleks (he/him/il/lui)> https://files.mastodon.social/custom_emojis/images/000/031/275/original/yikes.png
[19:04:56] <eric_G> 😮 <- me, learning new words
[19:14:34] <Aleks (he/him/il/lui)> folks using Nextcloud in real life : isn't there an option in nextcloud admin somewhere to update the apps ? (equivalent to php occ app:update) ?
[19:19:38] <Chatpitaine Caverne> Via GUI, you mean ? If yes, then yes.
[19:22:11] <Aleks (he/him/il/lui)> maybe we should recommend to run it in the PRE_UPGRADE 🤔
[19:22:36] <Chatpitaine Caverne> I'm used to do that, just in case. And I believe it's safer.
[19:23:13] <Aleks (he/him/il/lui)> i mean some folks in this thread seem to be having issues because they didnt run it ? https://forum.yunohost.org/t/nextcloud-update-from-v27-to-v28-failed-because-of-incompatible-nextcloud-apps/28001 I'm not sure
[19:24:08] <Aleks (he/him/il/lui)> (the last message)
[19:25:54] <Chatpitaine Caverne> > <@chatpitaine:cirkau.art> I'm used to do that, just in case. And I believe it's safer.

But I didn't do this time. Will give a try in a VM.
[19:30:39] <miro5001> > <@Alekswag:matrix.org> maybe we should recommend to run it in the PRE_UPGRADE 🤔

Yes, but some apps are not supported in the next version of nextcloud. I did the updates before upgrading NC, but one app isn't supported anymore. I had to remove it manually.

[19:32:52] <Aleks (he/him/il/lui)> well yes that's also one cause of the major cause of yunohost app upgrade failure
[19:32:59] <Aleks (he/him/il/lui)> so we definitely want people to check this before yolo-running the upgrade
[19:35:42] <miro5001> https://help.nextcloud.com/t/check-app-compatibility-before-upgrade/159503
[19:37:38] <Aleks (he/him/il/lui)> yes i'm currently implementing my own trick
[19:41:38] <PapaDragon> > but why? 😭 https://github.com/YunoHost-Apps/hubzilla_ynh/blob/3e89436957f5a6f9b426836d671ffbb133d7db62/manifest.toml#L38-L43
Dunno... Old habit from ancient times, maybe...
[19:47:31] <Yunohost Git/Infra notifications> [nextcloud_ynh] @alexAubin pushed 1 commit to check-app-compatibility-before-upgrade: Upgrade script: check that installed apps are compatible with the future version before actually starting the upgrade ([6e9e4d68](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/6e9e4d680e9b33ec19dffe6b9af6b59f434c9c64))
[19:47:31] <Yunohost Git/Infra notifications> [nextcloud_ynh] @alexAubin created new branch check-app-compatibility-before-upgrade
[19:49:41] <lapineige> > <@Alekswag:matrix.org> maybe we should recommend to run it in the PRE_UPGRADE 🤔

To be honest in case of compatibility issue I expect the tool to do it for me
[19:49:45] <lapineige> I believe Nextcloud update force this
[19:52:12] <Yunohost Git/Infra notifications> [nextcloud_ynh] @alexAubin opened [pull request #647](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/647): Upgrade script: check that installed apps are compatible with the future version before actually starting the upgrade
[19:55:51] <Yunohost Git/Infra notifications> [nextcloud_ynh] @alexAubin pushed 1 commit to check-app-compatibility-before-upgrade: Create PRE_UPGRADE.md to encourage people to check their apps are up to date before running the upgrade ([ab32f35c](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/ab32f35ce999067ef767eb2f11e1d6d5914e0f35))
[19:58:38] <Yunohost Git/Infra notifications> [nextcloud_ynh] @alexAubin edited [pull request #647](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/647): Upgrade script: check that installed apps are compatible with the future version before actually starting the upgrade
[20:02:36] <Yunohost Git/Infra notifications> [nextcloud_ynh] @ericgaspar [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/647#issuecomment-1889881784) on [issue #647](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/647) Upgrade script: check that installed apps are compatible with the future version before actually starting the upgrade: testme
[20:02:37] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/647#issuecomment-1889881829) on [issue #647](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/647) Upgrade script: check that installed apps are compatible with the future version before actually starting the upgrade: :sunflower:
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/12611/badge)]...
[21:27:31] <PapaDragon> I'm trying to get rid of linter warnings in the Hubzilla package. Apparently the main issue is related to the choice between using a mysql or postgresql database. I don't know why this choice exists, but it's here and for the moment the scripts are using helpers such as ynh_mysql_setup_db or ynh_psql_setup_db (which produce the warnings).
Is it possible to use a variable to define the resources.database type in manifest.toml? I tried using type = "$database" but it doesn't seem to work.
[21:29:58] <Aleks (he/him/il/lui)> no you can't, this is supposed to be "hardcoded" in the manifest ... in YunoHost spirit people are not supposed to have to choose the DB technology unless there's very good reason to do so T_T
[21:31:49] <eric_G> and if we remove MySQL support without migration, half the user will scream...
[21:32:55] <PapaDragon> That would make at least 3 screamers...
[21:33:07] <Aleks (he/him/il/lui)> well hubzilla has 2 stars 😬
[21:33:17] <Aleks (he/him/il/lui)> but yeah gotta handle some sort of migration i guess ...
[21:34:39] <PapaDragon> I'll see if I can find out if there are many postgresql users in the Hubzilla package users community. If not, I guess it would be safe to keep mysql only. If so, not my package, not my problem...
[21:34:42] <eric_G> 3 screamers are always louder than 100 happy users...
[21:35:39] <PapaDragon> Quite right 🙂
[21:35:49] <eric_G> I was more thinking keeping postgresql only
[21:37:51] <PapaDragon> One way or another, I don't feel like working on a converting script...
[21:41:16] <eric_G> > If so, not my package, not my problem...
😱
[21:45:04] <PapaDragon> I mean, I'm not a Hubzilla user, so I don't plan to spend too much time on its package...
[21:52:20] <PapaDragon> Does anyone know if pgloader is easy to use? I mean easy like it could be used in the upgrade script...
[21:56:49] <eric_G> it has been used for mattermost mysql migration https://github.com/YunoHost-Apps/mattermost_ynh/blob/master/scripts/_common.sh
[22:19:28] <PapaDragon> Could be feasible after all. Maybe I'll give it a try someday.
[22:38:25] <Yunohost Git/Infra notifications> App discourse rises from level 0 to 8 in job [#22168](https://ci-apps.yunohost.org/ci/job/22168) !