Sunday, October 20, 2024
apps@conference.yunohost.org
October
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
     
             

[22:51:33] <m606> and if run by SSH, can I interrupt the install with CTRL+C at some point? Basically I am interested in checking files with `--no-remove-on-failure` but not waiting for the full build to be made.
[22:51:34] <miro5001> sudo yunohost app install https://github.com/YunoHost-Apps/example_ynh/tree/testing --debug
or
sudo yunohost app upgrade example -u https://github.com/YunoHost-Apps/example_ynh/tree/testing --debug
[22:51:54] <m606> Hello, for debug purposes what would be below command seen in Yunorunner for:
- `my_app_dest_folder`,
- `https://my_domain.tld/my_app`,
- `https//github.com/url/to/test_package`

`yunohost app install --no-remove-on-failure --force /app_folder -a "&domain=sub.domain.tld&path=/&init_main_permission=all_users&admin=package_checker&is_public=0&"`

Something like `yunohost app install --no-remove-on-failure --force /my_app_dest_folder -a "&domain=domain.tld&path=/my_app&init_main_permission=all_users&admin=package_checker&is_public=1&"` ? and where do I specify package URL?
[22:51:54] <thatoo> The Dokos package is pretty much ok (https://github.com/Thatoo/Dokos_ynh/tree/init_dev) but I face an issue with login session cookies.
[22:51:54] <m606> Hello, for debug purposes what would be below command seen in Yunorunner for: `my_app_dest_folder`, `https://my_domain.tld/my_app`, and `https//github.com/url/to/test_package`

`yunohost app install --no-remove-on-failure --force /app_folder -a "&domain=sub.domain.tld&path=/&init_main_permission=all_users&admin=package_checker&is_public=0&"`

Something like `yunohost app install --no-remove-on-failure --force /my_app_dest_folder -a "&domain=domain.tld&path=/my_app&init_main_permission=all_users&admin=package_checker&is_public=1&"` ? and where do I specify package URL?
[22:51:56] <thatoo> If I install dokos on a completely different domain than yunohost, then there is no issue (dokos.tld and yunohost.tld)
[22:51:57] <thatoo> However, if I install Dokos on a subdomain than yunohost (dokos.yunohost.tld and yunohost.tls) then there are conflicts between logins : 
- I'm logged out from everywhere (all cookies deleted)
- I login dokos
- I login yunohost SSO
- Dokos session has expired and I can't reach the Dokos login screen
- I have to logout from yunohost SSO to be able to reach Dokos login screen again
[22:51:57] <thatoo> However, if I install Dokos on a subdomain than yunohost (dokos.yunohost.tld and yunohost.tls) then there are conflicts between logins : 
- I'm logout from anywhere
- I login dokos
- I login yunohost SSO
- Dokos session has expired and I can't reach the Dokos login screen
- I have to logout from yunohost SSO to be able to reach Dokos login screen again
[22:51:58] <thatoo> If I install dokos on a completely different domain than yunohost (dokos.tld and yunohost.tld), then there is no issue.
[22:52:00] <thatoo> Any idea how to handle this login session cookies issue?
[23:03:15] <miro5001> Is that on yunohost 11 or 12?
[23:03:23] <thatoo> 12, Dokos can't be installed on ynh 11
[23:03:39] <m606> > <@miro5001:matrix.org> sudo yunohost app install https://github.com/YunoHost-Apps/example_ynh/tree/testing --debug
> or
> sudo yunohost app upgrade example -u https://github.com/YunoHost-Apps/example_ynh/tree/testing --debug

thanks, does `--debug` implies `--no-remove-on-failure` ?
[23:03:39] <m606> `--help` is saying `git URL`
[23:03:40] <m606> I would like to add some more info about that in the doc. For the sake of completeness In `yunohost app install $my_package`, `$my_package` can be a local path or an URL to a Github repo. Does it work also with other forges ?
[23:03:40] <m606> and what does `--force` do ? I thought it would allow installing an app overwriting one with the same name already install, but I get that error : `ERROR This URL is either unavailable, or conflicts with the already installed app(s):` (the URL is fine, I doublechecked)
[23:03:40] <m606> oh `--help` told me!
[23:03:58] <m606> > <@Salamandar:matrix.org> debug just prints way more logs

still, my debug log gets stuck there (as discussed earlier RAM shortage could be an issue, but at this point I don't believe so, since the CI has the same issue i.e. not giving anymore details - https://ci-apps-dev.yunohost.org/ci/job/20068]
```
54933 DEBUG + ynh_exec_as_app pnpm install --prod
54934 DEBUG + sudo -u jsoncrack env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin pnpm install --prod
55764 DEBUG ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.12.1.tgz
```
[23:03:59] <m606> what means `!` after `DEBUG` ?
[23:03:59] <m606> the SSH terminal shows as if the command was still ongoing (but it's been several 2+ hours
[23:03:59] <miro5001> If you have phpsysinfo installed, open it and check cpu usage. Or you can open another ssh tab and run htop as root to see if it's still running
[23:03:59] <m606> > <@miro5001:matrix.org> If you have phpsysinfo installed, open it and check cpu usage. Or you can open another ssh tab and run htop as root to see if it's still running

it is not running anymore I believe (global CPU use < 5%)
[23:03:59] <m606> even there it seems stuck as well - https://ci-apps-dev.yunohost.org/ci/job/20068
[23:04:17] <m606> hmm yes it takes almost no CPU actually. seems like a corepack issue - https://github.com/nodejs/corepack/issues/550
[23:04:55] <Yunohost Git/Infra notifications> [apps] alexAubin pushed 1 commit to update_app_levels: :art: Format TOML with Taplo (#2622) Co-authored-by: yunohost-bot <14998418+yunohost-bot@users.noreply.github.com> ([82e3dfbb](https://github.com/YunoHost/apps/commit/82e3dfbb776d8d09e868fff8b422479f7734165a))
[23:04:56] <Yunohost Git/Infra notifications> [apps] alexAubin deleted branch actions/toml
[23:05:04] <Yunohost Git/Infra notifications> [apps] alexAubin merged [pull request #2622](https://github.com/YunoHost/apps/pull/2622): Format TOML with Taplo
[23:05:14] <Yunohost Git/Infra notifications> [apps] ericgaspar pushed 1 commit to update_app_levels: Update apps.toml ([acde1475](https://github.com/YunoHost/apps/commit/acde14755476545ab77957161923be890395e534))
[23:05:14] <Yunohost Git/Infra notifications> [apps] ericgaspar merged [pull request #2621](https://github.com/YunoHost/apps/pull/2621): Update app levels according to CI results
[23:05:14] <Yunohost Git/Infra notifications> [apps] ericgaspar merged [pull request #2594](https://github.com/YunoHost/apps/pull/2594): Add Schleuder Web to wishlist
[23:05:15] <Yunohost Git/Infra notifications> [apps] ericgaspar pushed 1 commit to master: Add Schleuder Web to wishlist (#2594) ([bd6f84c6](https://github.com/YunoHost/apps/commit/bd6f84c6b0ba7d3d010fcf07e61d7992068db893))
[23:05:15] <Salamandar> debug just prints way more logs
[23:05:15] <Salamandar> nope
[23:05:16] <Aleks (he/him/il/lui)> (but should be https i guess)
[23:05:16] <Yunohost Git/Infra notifications> [apps] ericgaspar deleted branch update_app_levels
[23:05:16] <Aleks (he/him/il/lui)> yes, should work with anything that can be git cloned i suppose
[23:05:17] <Yunohost Git/Infra notifications> [apps] ericgaspar deleted branch add-to-wishlist-schleuder-web
[23:05:17] <Yunohost Git/Infra notifications> [apps] yunohost-bot pushed 1 commit to master: Automatically add dates to the catalog files ([305a7b32](https://github.com/YunoHost/apps/commit/305a7b3269e5e42fed9b4f73f3365bb8494be225))
[23:05:17] <Yunohost Git/Infra notifications> [apps] ericgaspar pushed 1 commit to master: Update app levels according to CI results (#2621) * Update app levels according to CI results * :art: Format TOML with... ([f9b06ae2](https://github.com/YunoHost/apps/commit/f9b06ae2a37c29748c01447262bf6864923e148b))
[23:05:26] <Yunohost Git/Infra notifications> [apps] ericgaspar edited [pull request #2621](https://github.com/YunoHost/apps/pull/2621): Update app levels according to CI results
[23:05:26] <Yunohost Git/Infra notifications> [apps] ericgaspar approved [pull request #2621](https://github.com/YunoHost/apps/pull/2621#pullrequestreview-2363482469) Update app levels according to CI results
[23:05:27] <Yunohost Git/Infra notifications> [apps] ericgaspar pushed 1 commit to update_app_levels: Update apps.toml ([6951fac2](https://github.com/YunoHost/apps/commit/6951fac2b72f7bcfc49887e93e790955c9e603eb))
[23:06:53] <Yunohost Git/Infra notifications> [apps] Salamandar merged [pull request #2610](https://github.com/YunoHost/apps/pull/2610): Added curl_tests to tests.toml schema.
[23:06:53] <Yunohost Git/Infra notifications> [apps] Salamandar pushed 1 commit to master: Added curl_tests to tests.toml schema. (#2610) ([1efcbba3](https://github.com/YunoHost/apps/commit/1efcbba350c186fd47dc4d3b55215d68e1f15bfb))
[23:06:59] <m606> no it is not, I've seen the linter advices about that - I will see to it later when I will have a working install script
[23:06:59] <m606> > if you're not using helpers 2.1 you need to add `COREPACK_ENABLE_DOWNLOAD_PROMPT=0` as env to offending command (pretty much first one that interacts with corepack)

yep [I tried](https://github.com/YunoHost-Apps/jsoncrack_ynh/blob/a8a5eedf6bb320af8de698b72a111ce6d5009ccf/scripts/install#L34) even though I am using helpers 2.1 but without more success
[23:06:59] <m606> ok I don't mind and I don't really measure the impact - I was just wondering why upstream has frozen that version (both in package.json and in https://github.com/AykutSarac/jsoncrack.com/blob/main/.github/workflows/deploy.yml)
[23:07:00] <m606> i had tried first with `ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --prod` and then with `export COREPACK_ENABLE_DOWNLOAD_PROMPT=0` but I was still stuck (unless a mistake I would have done which is always possible).
Still, now I removed `corepack use pnpm@latest` so it uses instead an older version as specified in package.json, and it works (not completely yet but at least a bit further) together with `ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --prod`
[23:07:00] <m606> > <@m606:matrix.org> https://github.com/pnpm/pnpm/issues/881 😵

but that's not the main issue actually - seems more like an upstream misconfig, as they call in file `next.config.js` used to build prod a dependency that is listed as devDep...
[23:07:06] <Yunohost Git/Infra notifications> [nextcloud_ynh] Jaxom99 opened [issue #738](https://github.com/YunoHost-Apps/nextcloud_ynh/issues/738): Upgrade and restoration fail from "device busy"
[23:07:06] <orhtej2> > <@m606:matrix.org> still, my debug log gets stuck there (as discussed earlier RAM shortage could be an issue, but at this point I don't believe so, since the CI has the same issue i.e. not giving anymore details - https://ci-apps-dev.yunohost.org/ci/job/20068]
> ```
> 54933 DEBUG + ynh_exec_as_app pnpm install --prod
> 54934 DEBUG + sudo -u jsoncrack env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin pnpm install --prod
> 55764 DEBUG ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.12.1.tgz
> ```

if you're not using helpers 2.1 you need to add `COREPACK_ENABLE_DOWNLOAD_PROMPT=0` as env to offending command (pretty much first one that interacts with corepack)
[23:07:18] <m606> I am trying to make use the `ynh_add_swap` custom helper found in mastodon_ynh on a VPS. But [it fails](https://paste.yunohost.org/peqilefuha.sql) apparently due to a `chattr` command which comes from I don't know where. Not far from [here](https://github.com/YunoHost-Apps/jsoncrack_ynh/blob/testing/scripts/ynh_add_swap#L59), but where ?!
[23:07:35] <Émy - OniriCorpe> okay, i was able to pass the `pnpm install --prod` part, but it fails on the `pnpm build` that is just following
[23:07:35] <Émy - OniriCorpe> also, is the `git clone` mandatory in your scripts?
if you want to use the latest commit, you can use the archive from a specified commit, as https://github.com/AykutSarac/jsoncrack.com/archive/844d6bdeb4d9360501cdf45dd2be637d5bb5979e.zip
[23:07:35] <Émy - OniriCorpe> hmmm
[23:07:36] <Émy - OniriCorpe> ```
113940 DEBUG + ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --prod
113941 DEBUG + ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --prod
113942 DEBUG + sudo -u jsoncrack env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/r✔ The modules directory at "/var/www/jsoncrack/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) · true
```
[23:07:36] <Yunohost Git/Infra notifications> Job [#31214](https://ci-apps.yunohost.org/ci/job/31214) for conduit failed miserably :(
[23:07:36] <Yunohost Git/Infra notifications> Job [#31213](https://ci-apps.yunohost.org/ci/job/31213) for scovie failed miserably :(
[23:07:36] <Yunohost Git/Infra notifications> Job [#31212](https://ci-apps.yunohost.org/ci/job/31212) for libremdb failed miserably :(
[23:07:37] <Émy - OniriCorpe> here's the log m606 https://paste.yunohost.org/raw/boniwuyana
[23:07:37] <Émy - OniriCorpe> okay !
[23:07:37] <Émy - OniriCorpe> i think mine would be more future proof
[23:07:37] <Émy - OniriCorpe> but feel free to use yours
[23:07:42] <Émy - OniriCorpe> pnpm is such a pain in the arse to deal with...
[23:07:42] <Émy - OniriCorpe> Dependencies managers were a mistake
[23:07:52] <m606> > <@m606:matrix.org> I am trying to make use on a VPS of the `ynh_add_swap` custom helper found in mastodon_ynh. But [it fails](https://paste.yunohost.org/peqilefuha.sql) apparently due to a `chattr` command which comes from I don't know where. Not far from [there](https://github.com/YunoHost-Apps/jsoncrack_ynh/blob/testing/scripts/ynh_add_swap#L59), but where ?!

and now not anymore by magic 🫥
[23:07:56] <m606> i had tried first with `ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --prod` and then with export `COREPACK_ENABLE_DOWNLOAD_PROMPT=0` but I was still stuck (unless a mistake I would have done which is always possible).
Still, now I removed `corepack use pnpm@latest` so it uses instead an older version as specified in package.json, and it works (not completely yet but at least a bit further) together with `ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --prod`
[23:07:56] <m606> yes thanks, that's where I am at as well. now I am looking on why it tries to install devDependencies when I want prod
[23:07:56] <m606> > <@oniricorpe:im.emelyne.eu> pnpm is such a pain in the arse to deal with...

https://github.com/pnpm/pnpm/issues/881 😵
[23:07:56] <m606> thanks for checking that anyway!
[23:07:57] <m606> My last commit actually leads to the same result than your last commit, but through different ways - you do it with pnpm@latest, and I do it with pnpm@9.1.4 (i.e. version specified in upstream package.json file). Which one should be favored ?
[23:07:57] <Émy - OniriCorpe> https://forum.yunohost.org/t/infrastructure-changes-and-downtimes/31429
[23:07:58] <Émy - OniriCorpe> > <@kayou:matrix.org> I feel like I don't receive new versions of apps (I pushed a new gitlab version for example yesterday, the app is lvl 8, but I haven't received it yet). Is there an issue with the app.json list?

Yes, infra migration shit
[23:08:01] <kayou> I feel like I don't receive new versions of apps (I pushed a new gitlab version for example yesterday, the app is lvl 8, but I haven't received it yet). Is there an issue with the app.json list?
[23:08:01] <Yunohost Git/Infra notifications> [wordpress_ynh] ericgaspar [commented](https://github.com/YunoHost-Apps/wordpress_ynh/pull/242#issuecomment-2408491045) on [issue #242](https://github.com/YunoHost-Apps/wordpress_ynh/pull/242) Update manifest.toml: testme
[23:08:02] <kayou> Ho, I thought it was finished. Thanks
[23:08:02] <Yunohost Git/Infra notifications> [wordpress_ynh] nathanael-h opened [issue #243](https://github.com/YunoHost-Apps/wordpress_ynh/issues/243): Upgrade (the wordpress_ynh app) does not upgrade wordpress core
[23:08:27] <Yunohost Git/Infra notifications> [wordpress_ynh] ericgaspar [commented](https://github.com/YunoHost-Apps/wordpress_ynh/pull/241#issuecomment-2408496110) on [issue #241](https://github.com/YunoHost-Apps/wordpress_ynh/pull/241) [autopatch] Automatic patch attempt for helpers 2.1: testme
[23:08:27] <Yunohost Git/Infra notifications> [wordpress_ynh] yunohost-bot [commented](https://github.com/YunoHost-Apps/wordpress_ynh/pull/242#issuecomment-2408491095) on [issue #242](https://github.com/YunoHost-Apps/wordpress_ynh/pull/242) Update manifest.toml: :book: :worm:
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-bookworm-dev.yunohost.org/ci/api/job/34...
[23:08:27] <Yunohost Git/Infra notifications> [wordpress_ynh] yunohost-bot [commented](https://github.com/YunoHost-Apps/wordpress_ynh/pull/241#issuecomment-2408496182) on [issue #241](https://github.com/YunoHost-Apps/wordpress_ynh/pull/241) [autopatch] Automatic patch attempt for helpers 2.1: Fingers crossed
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/20154/ba...
[23:08:28] <Yunohost Git/Infra notifications> [wordpress_ynh] yunohost-bot [commented](https://github.com/YunoHost-Apps/wordpress_ynh/pull/242#issuecomment-2408491105) on [issue #242](https://github.com/YunoHost-Apps/wordpress_ynh/pull/242) Update manifest.toml: :carousel_horse:
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/20153/ba...
[23:08:28] <Yunohost Git/Infra notifications> [wordpress_ynh] yunohost-bot [commented](https://github.com/YunoHost-Apps/wordpress_ynh/pull/241#issuecomment-2408496184) on [issue #241](https://github.com/YunoHost-Apps/wordpress_ynh/pull/241) [autopatch] Automatic patch attempt for helpers 2.1: Test it, book it, worm it, technologic. :robot: :notes:
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-ap...
[23:08:34] <Yunohost Git/Infra notifications> [wordpress_ynh] ericgaspar merged [pull request #242](https://github.com/YunoHost-Apps/wordpress_ynh/pull/242): Update manifest.toml
[23:08:34] <Yunohost Git/Infra notifications> App ojs rises from level 0 to 6 in job [#31222](https://ci-apps.yunohost.org/ci/job/31222) !
[23:08:34] <Yunohost Git/Infra notifications> App nextcloud-signaling failed all tests in job [#31221](https://ci-apps.yunohost.org/ci/job/31221) :(
[23:08:35] <Yunohost Git/Infra notifications> [wordpress_ynh] ericgaspar pushed 3 commits to master ([45d7371ac2eb...8088eef06186](https://github.com/YunoHost-Apps/wordpress_ynh/compare/45d7371ac2eb...8088eef06186))
[23:08:35] <Yunohost Git/Infra notifications> App it-tools rises from level 0 to 4 in job [#31220](https://ci-apps.yunohost.org/ci/job/31220) !
[23:08:56] <Yunohost Git/Infra notifications> App ojs rises from level (unknown) to 6 in job [#31226](https://ci-apps.yunohost.org/ci/job/31226) !