Monday, March 31, 2025
dev@conference.yunohost.org
March
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
           

[08:31:13] <emile> hi 👋
[08:32:29] <emile> Is there a way to not remove cache dir /in var/cache/yunohost/app_* after an upgrade ?
[08:33:09] <mathieuw> Oh my! Émile is around!
No clue, but hello 🤗
[08:33:46] <emile> I have an upgrade who fail, and can't understand why since the temporary directory is removed every time
[08:33:50] <emile> ```
- 2025-03-31 10:12:49,043: INFO - /home/yunohost.app/nextcloud will not be saved, because 'BACKUP_CORE_ONLY' is set.
- 2025-03-31 10:12:49,052: WARNING - /var/cache/yunohost/app_tmp_work_dirs/app_kq40d9nr/scripts/backup: line 28: phpversion: unbound variable
- 2025-03-31 10:12:49,053: DEBUG - + echo '/home/yunohost.app/nextcloud will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
- 2025-03-31 10:12:49,053: DEBUG - + return 0
- 2025-03-31 10:12:49,053: DEBUG - ++ ynh_exit_properly
- 2025-03-31 10:12:49,053: DEBUG - ++ local exit_code=1
- 2025-03-31 10:12:49,054: DEBUG - ++ [[ backup =~ ^install$|^upgrade$|^restore$ ]]
- 2025-03-31 10:12:49,054: DEBUG - ++ '[' 1 -eq 0 ']'
- 2025-03-31 10:12:49,054: DEBUG - ++ trap '' EXIT
- 2025-03-31 10:12:49,054: DEBUG - ++ set +o errexit
- 2025-03-31 10:12:49,055: DEBUG - ++ set +o nounset
- 2025-03-31 10:12:49,055: DEBUG - ++ sleep 0.5
- 2025-03-31 10:12:49,549: DEBUG - ++ type -t ynh_clean_setup
- 2025-03-31 10:12:49,550: DEBUG - ++ exit 1
- 2025-03-31 10:12:49,653: DEBUG - Could not run script: /var/cache/yunohost/app_tmp_work_dirs/app_kq40d9nr/scripts/backup
- 2025-03-31 10:12:49,658: ERROR - Could not back up nextcloud

[08:36:55] <emile> and I don't see phpversion variable in line 28 https://github.com/YunoHost-Apps/nextcloud_ynh/blob/master/scripts/backup#L28
[08:45:21] <orhtej2> > and I don't see phpversion variable in line 28 https://github.com/YunoHost-Apps/nextcloud_ynh/blob/master/scripts/backup#L28

What version are you upgrading from?
[08:46:03] <emile> 29.0.8.1
[08:50:54] <orhtej2> > 29.0.8.1

https://github.com/YunoHost-Apps/nextcloud_ynh/blob/541f5fde3ad80ae0489915bb956d0b50815e3e3d/scripts/backup#L28
[08:52:56] <Salamandar> yeah
[08:52:57] <orhtej2> and I don't remember if cli has documentation page 🙄
[08:52:57] <orhtej2> A way around would be to copy php_version to phpversion but I don't remember how to do that
[08:53:22] <Salamandar> well idk you could edit the script in /etc/yunohost/apps/nextcloud/scripts/backup to add the underscore
[08:54:52] <orhtej2> > <@Salamandar:matrix.org> well idk you could edit the script in /etc/yunohost/apps/nextcloud/scripts/backup to add the underscore

True, @emile how confident are you on tinkering with live system with cli?
[08:56:29] <emile> Well I a system administrator, but not necessarily a good one :D
[08:57:00] <emile> ok I seems ok now
[09:00:02] <emile> ```
WARNING: You should check the app notifications above before continuing, there might be important stuff to know. [Press enter to continue]:
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Success! Upgrade complete

[09:00:30] <emile> strange messages at the end but everything is ok now :)
[09:00:36] <Salamandar> lol we know those errors, they are okay
[09:00:37] <emile> Many thanks !
[09:00:53] <Salamandar> this is related to your $PWD being deleted under your feet
[09:01:37] <isAAAc> sh: 0: getcwd() failed: No such file or directory -> because you're in a subpath which changed/moved
[09:29:37] <Yunohost Git/Infra notifications> [yunohost] k​ay0u pushed 1 commit to fix-ynh_apt_install_dependencies_from_extra_repository: fix ynh_apt_install_dependencies_from_extra_repository ([afc9f51c](https://github.com/YunoHost/yunohost/commit/afc9f51c9937ac0f6107df112821b9ab3a8034da))
[09:29:37] <Yunohost Git/Infra notifications> [yunohost] k​ay0u created new branch fix-ynh_apt_install_dependencies_from_extra_repository
[09:31:34] <Yunohost Git/Infra notifications> [yunohost] k​ay0u opened [pull request #2082](https://github.com/YunoHost/yunohost/pull/2082): fix ynh_apt_install_dependencies_from_extra_repository
[10:21:26] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: Add opengraph tags ([4ce4df07](https://github.com/YunoHost/landingpage/commit/4ce4df07b8f01601b6593893643b26380006cebe))
[10:25:47] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: fix requirements.txt ([2450094e](https://github.com/YunoHost/landingpage/commit/2450094e5928c29e5a77336fe82a9b5262ea6fe3))
[10:44:38] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: fix og tags ([bd7e49e8](https://github.com/YunoHost/landingpage/commit/bd7e49e8998f9f5c60e0536cdfa8aa366bd528bb))
[10:46:22] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: fix og tags (should not be closed html balises) ([88bf9e1f](https://github.com/YunoHost/landingpage/commit/88bf9e1fd5c2b04fd2d8ae71a3eb79b12dea27ed))
[10:48:55] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: og tags: fix \n in description ([a8a250d0](https://github.com/YunoHost/landingpage/commit/a8a250d02140c4d6a0f9c3745e2ad786bc8e7e21))
[10:51:49] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: ooops: og tags ([97085f83](https://github.com/YunoHost/landingpage/commit/97085f83223848db93cf34c385a10983fe0f7175))
[10:53:45] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: remove markdown code from og tags ([871ff3fe](https://github.com/YunoHost/landingpage/commit/871ff3fe1548888a466f54c7326cd9e5da7b6cf7))
[12:16:17] <Yunohost Git/Infra notifications> [yunohost] T​hovi98 [commented](https://github.com/YunoHost/yunohost/pull/2082#issuecomment-2766047443) on [issue #2082](https://github.com/YunoHost/yunohost/pull/2082) fix ynh_apt_install_dependencies_from_extra_repository: I confirm it resolves one issue I asked in the apps chat recently, thank you
[12:29:56] <Yunohost Git/Infra notifications> [landingpage] S​alamandar pushed 1 commit to main: cleanup after regenerate assets ([2d584b1d](https://github.com/YunoHost/landingpage/commit/2d584b1d07b6e303d6de3c5b5fa2ad6611e15ee9))
[16:03:38] <Yunohost Git/Infra notifications> [pepettes] A​xolotle created new branch enh-portal-url
[16:03:38] <Yunohost Git/Infra notifications> [pepettes] A​xolotle pushed 1 commit to enh-portal-url: feat: add portal_url setting to display a link to stripes subscription management portal ([603a90ce](https://github.com/YunoHost/pepettes/commit/603a90ceebee8bd702860d14e99ed770104a374e))
[16:11:31] <Yunohost Git/Infra notifications> [pepettes] A​xolotle opened [pull request #13](https://github.com/YunoHost/pepettes/pull/13): feat: add link to stripe portal
[18:56:28] <Yunohost Git/Infra notifications> [issues] o​leole39 opened [issue #2570](https://github.com/YunoHost/issues/issues/2570): Anchor links pointing to folded section of the documentation do not unfold automatically when visited
[19:17:56] <Yunohost Git/Infra notifications> [yunohost-admin] d​ependabot[bot] opened [pull request #631](https://github.com/YunoHost/yunohost-admin/pull/631): chore(deps-dev): bump vite from 6.0.12 to 6.0.13 in /app
[19:17:56] <Yunohost Git/Infra notifications> [yunohost-admin] d​ependabot[bot] created new branch dependabot/npm_and_yarn/app/vite-6.0.13
[19:17:56] <Yunohost Git/Infra notifications> [yunohost-admin] d​ependabot[bot] labeled dependencies on [pull request #631](https://github.com/YunoHost/yunohost-admin/pull/631): chore(deps-dev): bump vite from 6.0.12 to 6.0.13 in /app
[19:17:56] <Yunohost Git/Infra notifications> [yunohost-admin] d​ependabot[bot] pushed 1 commit to dependabot/npm_and_yarn/app/vite-6.0.13: chore(deps-dev): bump vite from 6.0.12 to 6.0.13 in /app Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages... ([d67a2215](https://github.com/YunoHost/yunohost-admin/commit/d67a2215b9a9aabfcd30d71f589f4380bb38b9a3))
[19:17:57] <Yunohost Git/Infra notifications> [yunohost-admin] d​ependabot[bot] labeled javascript on [pull request #631](https://github.com/YunoHost/yunohost-admin/pull/631): chore(deps-dev): bump vite from 6.0.12 to 6.0.13 in /app
[19:18:22] <Yunohost Git/Infra notifications> [yunohost-admin] a​lexAubin merged [pull request #631](https://github.com/YunoHost/yunohost-admin/pull/631): chore(deps-dev): bump vite from 6.0.12 to 6.0.13 in /app
[19:18:23] <Yunohost Git/Infra notifications> [yunohost-admin] a​lexAubin deleted branch dependabot/npm_and_yarn/app/vite-6.0.13
[19:30:16] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost-admin/12.1.4+202503312130 for bookworm/unstable/all ...
[19:31:57] <Yunohost Git/Infra notifications> [issues] o​leole39 edited [issue #2570](https://github.com/YunoHost/issues/issues/2570): Anchor links pointing to folded sections of the documentation do not unfold automatically when visited
[19:32:53] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost-admin/12.1.4+202503312130 for bookworm/unstable/all.
[19:48:22] <Yunohost Git/Infra notifications> [pepettes] a​lexAubin merged [pull request #13](https://github.com/YunoHost/pepettes/pull/13): feat: add link to stripe portal
[19:48:42] <Yunohost Git/Infra notifications> [pepettes] a​lexAubin deleted branch enh-portal-url
[20:06:06] <Yunohost Git/Infra notifications> [pepettes] A​xolotle created new tag v1.3
[20:34:16] <Yunohost Git/Infra notifications> [yunohost] S​alamandar pushed 1 commit to dev: Fix flake8 issues on dev branch ([3f4a1832](https://github.com/YunoHost/yunohost/commit/3f4a1832dd72bb7fb2629d2bdc5ddc6d6a9c0553))
[20:34:20] <Yunohost Git/Infra notifications> [yunohost] S​alamandar pushed 1 commit to spwd: Replace spwd with direct call to passwd. spwd was removed in python 3.13 ([89ae9432](https://github.com/YunoHost/yunohost/commit/89ae9432506205ec27294960b6993a3a0eaf9044))
[20:45:06] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/12.1.4+202503312245 for bookworm/unstable/all ...
[20:46:21] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/12.1.4+202503312245 for bookworm/unstable/all.
[20:58:55] <Yunohost Git/Infra notifications> [yunohost] S​alamandar pushed 1 commit to spwd: password needs to be sent twice to passwd ([bc667858](https://github.com/YunoHost/yunohost/commit/bc6678588f6308a4c85d3f1b1e4f974650e18c29))