Tuesday, February 14, 2023
dev@conference.yunohost.org
February
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
         
             

[16:13:20] <ljf[m]> Aleks (he/him/il/lui) : https://programmation.developpez.com/actu/341458/Un-code-open-source-comportant-des-jurons-dans-les-commentaires-est-statistiquement-meilleur-qu-un-code-sans-jurons-selon-une-etude/
[16:17:21] <Aleks (he/him/il/lui)> mouhaha
[16:22:59] <florent[m]> Does this mean that `git` is a very good quality software?
https://en.m.wiktionary.org/wiki/git
[16:24:03] <florent[m]> `git commit -m dumbass`
[16:24:43] <Aleks (he/him/il/lui)> yes everybody is like "omg why are git command so fucking absurd, nobody understand this goddamn crappy logic!" - hence considering the density of swearwords, is therefore one of the most well designed tool ever made
[17:05:22] <Yunohost Git/Infra notifications> [yunohost] @alexAubin pushed 1 commit to dev: apps: fix inconsistent app removal during remove-after-failed-upgrade and remove-after-failed-backup contexts ([7be7eb11](https://github.com/YunoHost/yunohost/commit/7be7eb115497da6b0f92d618baa5fd86ca8fd261))
[17:06:22] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/11.1.6.2+202302141645 for bullseye/unstable/all ...
[17:07:10] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/11.1.6.2+202302141645 for bullseye/unstable/all.
[17:12:07] <eric_G> tituspijean: Do you know how to handle the git issue you mentioned few days ago? I am struggling with Invidious... https://github.com/YunoHost-Apps/invidious_ynh/pull/111
[17:23:15] <Aleks (he/him/il/lui)> (I dunno if that's related but I see a stupid amount of stupid dependency issues seemingly related to libxml2-dev accross several apps I think ...)
[17:23:28] <Aleks (he/him/il/lui)> (like cf https://ci-apps-dev.yunohost.org/ci/job/5546 )
[17:23:49] <tituspijean[m]> > <@titus:pijean.ovh> Basically the user running the git command and the owner of a git clone directory need to be the same

Mmmh... but it seems that's what you are doing eric :/
[17:25:17] <Aleks (he/him/il/lui)> could it be that it's not happy because the group is www-data ? x_x
[17:26:18] <tituspijean[m]> Erm sorry I'm on mobile and assumed it was about git from your diff. But the CI does not complain about it, right? It's more about deps like aleks says
[17:31:21] <Guillaume Bouzige> > <@Alekswag:matrix.org> yes everybody is like "omg why are git command so fucking absurd, nobody understand this goddamn crappy logic!" - hence considering the density of swearwords, is therefore one of the most well designed tool ever made

even more if you have try svn before, git is like freedom
[17:40:22] <eric_G> `The following packages have unmet dependencies:` what does it even mean?
[17:40:45] <Aleks (he/him/il/lui)> it means `apt` is not happy 😬
[17:41:02] <Aleks (he/him/il/lui)> but the error message is usually cryptic
[17:41:44] <Aleks (he/him/il/lui)> like in the current case it list a shitload of stuff with "Depends: X but it is not going to be installed" which is actually completely useless and there's usually no issue with that package in particular
[17:41:54] <Yunohost Git/Infra notifications> [issues] @mdeabreu [commented](https://github.com/YunoHost/issues/issues/2147#issuecomment-1430133416) on [issue #2147](https://github.com/YunoHost/issues/issues/2147) Domains DNS tab throws 500 error for Google Domain: I didnt have any option to enter credentials for the domain. This was the default/main domain so it was entered during ...
[17:42:12] <Aleks (he/him/il/lui)> usually you want to look for stuff like "Depends: X (version Y) but version Z is going to be installed"
[17:43:50] <Aleks (he/him/il/lui)> i'm trying to reproduce the issue in a LXC because this doesnt really sound related to the app itself..
[17:44:42] <Aleks (he/him/il/lui)> wtf i'm getting `libssl-dev : Depends: libssl1.1 (= 1.1.1n-0+deb11u3) but 1.1.1n-0+deb11u4 is to be installed` instead ...
[17:47:19] <Aleks (he/him/il/lui)> ah yes the app log is actually complaining about it
[17:48:12] <Aleks (he/him/il/lui)> ah i think i know where this is coming from ...
[17:48:49] <Aleks (he/him/il/lui)> during the epic LXC war I tweaked the apt sources.list to switch to u-strasbg mirror because there was some issue with debian.org and i thought we got banned
[17:48:59] <Aleks (he/him/il/lui)> and removed the bullseye-security line because didnt know how to adapt it
[17:49:12] <Aleks (he/him/il/lui)> will rebuild the base LXC, that should fix it
[17:50:12] <eric_G> I install Invidious tests on my server and it does not fail on dependencies but later :
```
Info: [#####...............] > Configuring NGINX web server...
Info: [#####++++++++++++...] > Building Invidious.. (this will take some time and resources!)
Error: Unable to install invidious: An error occurred inside the app installation script
Info: The operation 'Install the 'invidious' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20230214-174640-app_install-invidious' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - Fetched video.js
Info: DEBUG - Fetched videojs-markers
Info: DEBUG -
Info: DEBUG - Done checking player dependencies, now compiling Invidious...
Info: DEBUG - fatal: detected dubious ownership in repository at '/var/www/invidious'
Info: DEBUG - To add an exception for this directory, call:
Info: DEBUG -
Info: DEBUG - git config --global --add safe.directory /var/www/invidious
Info: DEBUG - fatal: detected dubious ownership in repository at '/var/www/invidious'
Info: DEBUG - To add an exception for this directory, call:
Info: DEBUG -
Info: DEBUG - git config --global --add safe.directory /var/www/invidious
Info: DEBUG - Showing last frame. Use --error-trace for full trace.
Info: DEBUG -
Info: DEBUG - In src/invidious.cr:79:25
Info: DEBUG -
Info: DEBUG - 79 | CURRENT_COMMIT = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit`.strip}" }}
Info: DEBUG - ^
Info: DEBUG - Error: error executing command: git rev-list HEAD --max-count=1 --abbrev-commit, got exit status 128
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure...
Info: [....................] > Loading installation settings...
Info: [+...................] > Stopping and removing the systemd service...

```
[17:50:33] <Aleks (he/him/il/lui)> ah yes so it's not happy with the git stuff
[17:51:44] <Aleks (he/him/il/lui)> meh
[17:51:48] <Aleks (he/him/il/lui)> the obvious thing i would test is if it's not happy about the www-data being the group of the dir ...
[17:51:51] <Aleks (he/him/il/lui)> you can test this by manually mkdir a folder and trying the same git clone you tried
[17:51:52] <Aleks (he/him/il/lui)> (well, just maybe not as root)
[17:51:56] <Aleks (he/him/il/lui)> and with the same kind of permission (ie www-data as group)
[17:56:38] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#777422818](https://gitlab.com/yunohost/yunohost/-/pipelines/777422818) failed on branch dev
[18:02:47] <eric_G> I have tried `chown -R $app:$app ...` with some error as previously
[18:14:13] <eric_G> Why am I even using git pull for this app? 🙄
[18:18:01] <Aleks (he/him/il/lui)> 😬
[18:19:42] <eric_G> ah yes I remember 💩
```
Error: Unable to install invidious: An error occurred inside the app installation script
Info: The operation 'Install the 'invidious' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20230214-181657-app_install-invidious' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - Fetched videojs-http-source-selector
Info: DEBUG - Fetched videojs-mobile-ui
Info: DEBUG - Fetched videojs-overlay
Info: DEBUG - Fetched videojs-markers
Info: DEBUG - Fetched videojs-vtt-thumbnails
Info: DEBUG - Fetched videojs-share
Info: DEBUG - Fetched videojs-vr
Info: DEBUG - Fetched video.js
Info: DEBUG -
Info: DEBUG - Done checking player dependencies, now compiling Invidious...
Info: DEBUG - fatal: not a git repository (or any of the parent directories): .git
Info: DEBUG - fatal: not a git repository (or any of the parent directories): .git
Info: DEBUG - Showing last frame. Use --error-trace for full trace.
Info: DEBUG -
Info: DEBUG - In src/invidious.cr:79:25
Info: DEBUG -
Info: DEBUG - 79 | CURRENT_COMMIT = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit`.strip}" }}
Info: DEBUG - ^
Info: DEBUG - Error: error executing command: git rev-list HEAD --max-count=1 --abbrev-commit, got exit status 128
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure...
Info: [....................] > Loading installation settings...

```
[18:20:31] <Aleks (he/him/il/lui)> 🤔
[18:20:40] <Aleks (he/him/il/lui)> you mean the software itself assumes it got gitcloned ?
[18:20:48] <Aleks (he/him/il/lui)> omg ...
[18:22:05] <Aleks (he/him/il/lui)> alternatively one could patch the src/invidious.cr file using sed to fill those info some other way ... But maybe that just triggers other issues ...
[18:25:21] <eric_G> `antifeatures = [ "package-pain-in-the-arse" ]`
[18:41:22] <Aleks (he/him/il/lui)> Hell yes
[18:42:45] <Aleks (he/him/il/lui)> jitsi, jellyfin, ... :D
[18:48:33] <eric_G> Moving on with Bookstack, if we remove `YNH_PHP_VERSION="8.1"` tests fail : https://ci-apps-dev.yunohost.org/ci/job/5646
[18:49:20] <eric_G> with `YNH_PHP_VERSION="8.1"`back on: https://ci-apps-dev.yunohost.org/ci/job/5648