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

[00:00:44] <Yunohost Git/Infra notifications> Job [#25962](https://ci-apps.yunohost.org/ci/job/25962) for searxng failed miserably :(
[00:02:16] <Yunohost Git/Infra notifications> Job [#25962](https://ci-apps.yunohost.org/ci/job/25962) for searxng failed miserably :(
[00:08:13] <Yunohost Git/Infra notifications> Job [#25962](https://ci-apps.yunohost.org/ci/job/25962) for searxng failed miserably :(
[00:21:32] <Émy - OniriCorpe> ci-apps is fixed 🎉🥲
[00:29:49] <Yunohost Git/Infra notifications> [apps] OniriCorpe [commented](https://github.com/YunoHost/apps/pull/2263#issuecomment-2081264152) on [issue #2263](https://github.com/YunoHost/apps/pull/2263) Update apps.toml - add jump_ynh: the autoupdater bot will update the version in the manifest each time also this line is not required, as there is only ...
[02:06:11] <Yunohost Git/Infra notifications> App jellyfin-vue goes down from level 7 to 6 in job [#25967](https://ci-apps.yunohost.org/ci/job/25967)
[06:33:55] <Yunohost Git/Infra notifications> [apps] tituspijean [commented](https://github.com/YunoHost/apps/pull/2263#issuecomment-2081354968) on [issue #2263](https://github.com/YunoHost/apps/pull/2263) Update apps.toml - add jump_ynh: I see you have just set it to notworking. Feel free to use the CI, now that the repository is in the YunoHost-Apps org...
[06:34:02] <Yunohost Git/Infra notifications> [apps] tituspijean merged [pull request #2263](https://github.com/YunoHost/apps/pull/2263): Update apps.toml - add jump_ynh
[06:34:04] <Yunohost Git/Infra notifications> [apps] tituspijean pushed 1 commit to master: Update apps.toml - add jump_ynh (#2263) * Update apps.toml - add jump_ynh add jump_ynh to repository * Update apps.to... ([fdbf31be](https://github.com/YunoHost/apps/commit/fdbf31be19af9547b08d0109a815e5f3bfe8e4cc))
[06:34:18] <Yunohost Git/Infra notifications> [apps] github-actions[bot] created new branch actions/toml
[06:34:18] <Yunohost Git/Infra notifications> [apps] github-actions[bot] pushed 1 commit to actions/toml: :art: Format TOML with Taplo ([95032121](https://github.com/YunoHost/apps/commit/95032121a507796dfd3a62b30843d123af67cfdf))
[06:34:19] <Yunohost Git/Infra notifications> [apps] github-actions[bot] opened [pull request #2265](https://github.com/YunoHost/apps/pull/2265): Format TOML with Taplo
[06:55:49] <Yunohost Git/Infra notifications> Job [#25966](https://ci-apps.yunohost.org/ci/job/25966) for ghost failed miserably :(
[07:41:27] <ChriChri> I'd have a question about $install_dir for installations of mutliple instances of the same app: https://codeberg.org/flohmarkt/flohmarkt_ynh/issues/30#issuecomment-1792466
[08:11:36] <lautre> Hi! The installation for NextCloud fail with MySQL error.
I tryed the version 29 from the repository with success.
https://forum.yunohost.org/t/error-mysql-when-installing-nextcloud-fail/29485
[08:13:14] <thatoo> I tried adding
`echo "$app ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/$app`
at the beginning os install script and it seems to work but I face other issue for now to be sure. I added `rm /etc/sudoers.d/$app` at the end of script too. I was thinking to then reduce little by little around each bench command to see if it's all bench command or only `bench init` but first I want the install script to work with it.
[08:14:15] <thatoo> the issue I face is
```
Info : DEBUG - ^^^^^^^^^^^^^^^^^^^
Info : DEBUG - File "/var/www/dokos/lib/python3.11/site-packages/bench/utils/system.py", line 113, in init
Info : DEBUG - build_assets(bench_path=path)
Info : DEBUG - File "/var/www/dokos/lib/python3.11/site-packages/bench/utils/bench.py", line 380, in build_assets
Info : DEBUG - exec_cmd(command, cwd=bench_path, env=env)
Info : DEBUG - File "/var/www/dokos/lib/python3.11/site-packages/bench/utils/__init__.py", line 167, in exec_cmd
Info : DEBUG - return_code = subprocess.call(spl_cmd, cwd=cwd, universal_newlines=True, env=env)
Info : DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Info : DEBUG - File "/usr/lib/python3.11/subprocess.py", line 389, in call
Info : DEBUG - with Popen(*popenargs, **kwargs) as p:
Info : DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Info : DEBUG - File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
Info : DEBUG - self._execute_child(args, executable, preexec_fn, close_fds,
Info : DEBUG - File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
Info : DEBUG - raise child_exception_type(errno_num, err_msg, err_filename)
Info : DEBUG - FileNotFoundError: [Errno 2] No such file or directory: 'bench'
Info : DEBUG -
Info : DEBUG - ERROR: There was a problem while creating /var/www/dokos/dokos-bench-folder
Info : WARNING - Aborted!
```
and It's true I can't find `/var/www/dokos/lib/python3.11/site-packages/bench` folder during install
[08:33:47] <thatoo> I know why. I forgot to launch the command `install_dir/bin/pip3 install --upgrade dokos-cli` with
```
`ynh_exec_as $app`. Error corrected but now I get an other error :
2024-04-28 10:19:58,852: DEBUG - Installing collected packages: honcho, urllib3, smmap, six, semantic-version, MarkupSafe, idna, click, charset-normalizer, certifi, requests, python-dateutil, jinja2, gitdb, python-gitlab, python-crontab, gitpython, dokos-cli
2024-04-28 10:19:58,856: WARNING - ERROR: Could not install packages due to an OSError: [Errno 13] Permission non accordée: '/var/www/dokos/lib/python3.11/site-packages/honcho'
```
https://paste.yunohost.org/raw/xabipudayo
[09:12:44] <thatoo> and a little
`chown $app:root -R $install_dir`
solve that.
Let's see if it finally move forward.
[09:51:57] <thatoo> Thank you orhtej2 for your help yesterday
[10:00:12] <orhtej2> > <@chrichri:librem.one> I'd have a question about $install_dir for installations of mutliple instances of the same app: https://codeberg.org/flohmarkt/flohmarkt_ynh/issues/30#issuecomment-1792466

What is the question? Don't use `flohmarkt` in path names, always `$install_dir` `$app` and `$data_dir` and you're set
[10:00:22] <thatoo> I face this issue now : https://paste.yunohost.org/raw/emurigolok
[10:02:52] <orhtej2> > <@thatoo:defis.info> I face this issue now : https://paste.yunohost.org/raw/emurigolok

Try locally running same commands as script would run and see what happens. Or install with `-n` and continue manually from where it failed
[10:04:56] <thatoo> I don't understand how to use `-n`. On which command?
[10:30:08] <thatoo> ```
ynh_use_nodejs -n
```

?
[10:30:24] <orhtej2> > <@thatoo:defis.info> I don't understand how to use `-n`. On which command?

On `yunohost app install`
[10:31:08] <orhtej2> This leaves the broken app after install fails so you can examine the app state
[10:42:52] <Yunohost Git/Infra notifications> App yunomonitor goes down from level 8 to 7 in job [#25987](https://ci-apps.yunohost.org/ci/job/25987)
[13:13:35] <ChriChri> > What is the question? Don't use `flohmarkt` in path names, always `$install_dir` `$app` and `$data_dir` and you're set

Preserve disk-space and install the same version of software possibly used for multiple instances on the same host only once?
Or seperate software (like data and configuration) for each instance strictly?

That :) .
[13:40:32] <thatoo> I replace
`nvm use $node_version`
by
```
pushd $install_dir
ynh_use_nodejs
```
but then, I replace
`bench init $install_dir/dokos-bench-folder --version v4 --verbose`
by
`ynh_exec_as $app $install_dir/bin/bench init $install_dir/dokos-bench-folder --version v4`
[13:40:46] <thatoo> In my bash script, I have

```
# Add environment variables to .profile
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.profile
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.profile
echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> ~/.profile
source $USER/bin/activate
```

which allow then to launch

```
nvm use $node_version
bench init $install_dir/dokos-bench-folder --version v4 --verbose
```
[13:41:38] <thatoo> my problem is to be able to use `bench` instead of `$install_dir/bin/bench`
[13:50:48] <thatoo> I try with adding `export PATH=$install_dir/bin:$PATH` in the middle of the script. I'll see if it solves the issue and if yes, how it could be done in a better way in Yunohost
[13:57:49] <orhtej2> > <@thatoo:defis.info> I try with adding `export PATH=$install_dir/bin:$PATH` in the middle of the script. I'll see if it solves the issue and if yes, how it could be done in a better way in Yunohost

`ynh_exec_as $app env PATH=$install_dir/bin:$PATH bench smth`
[14:27:54] <Yunohost Git/Infra notifications> [apps] yunohost-bot pushed 1 commit to add-to-wishlist-noe: Add NOE to wishlist ([14065066](https://github.com/YunoHost/apps/commit/14065066a73a557ea56c2d6a6d21042d549411e6))
[14:27:55] <Yunohost Git/Infra notifications> [apps] yunohost-bot created new branch add-to-wishlist-noe
[14:27:55] <Yunohost Git/Infra notifications> [apps] yunohost-bot opened [pull request #2266](https://github.com/YunoHost/apps/pull/2266): Add NOE to wishlist
[14:28:00] <Yunohost Git/Infra notifications> [apps] yunohost-bot labeled Wishlist on [pull request #2266](https://github.com/YunoHost/apps/pull/2266): Add NOE to wishlist
[14:28:08] <Yunohost Git/Infra notifications> [apps] github-actions[bot] pushed 1 commit to actions/toml: :art: Format TOML with Taplo ([ee338daf](https://github.com/YunoHost/apps/commit/ee338dafb2ef33ddebf2cf484c8b32f4182f2afe))
[14:28:09] <Yunohost Git/Infra notifications> [apps] github-actions[bot] opened [pull request #2267](https://github.com/YunoHost/apps/pull/2267): Format TOML with Taplo
[14:28:10] <Yunohost Git/Infra notifications> [apps] github-actions[bot] pushed 1 commit to actions/toml: :art: Format TOML with Taplo ([8eab17a5](https://github.com/YunoHost/apps/commit/8eab17a5d8bd09059bf8e54c8c86f6cf6e4d5ee1))
[16:30:12] <Thomas> For Bookworm: I’ve this issue for the mongo related apps and some others: `Depends: libssl1.1 (>= 1.1.0) but it is not installable`
[16:30:53] <Thomas> If I understand well, it’s not advised to install `libssl1.1`, but how can we manage to get those apps working?
[16:33:13] <Thomas> see :
- for mongo: Overleaf https://ci-apps-bookworm.yunohost.org/ci/job/3308
- or other: Plume https://ci-apps-bookworm-dev.yunohost.org/ci/job/664

[16:48:19] <orhtej2> > <@thovi98:matrix.org> For Bookworm: I’ve this issue for the mongo related apps and some others: `Depends: libssl1.1 (>= 1.1.0) but it is not installable`

Bookworm ships libssl3.x, no clue how to get around that. Perhaps there's alternative package for mongo?
[16:52:56] <Thomas> > Bookworm ships libssl3.x, no clue how to get around that. Perhaps there's alternative package for mongo?

Not seen unfortunately
[17:46:11] <geoma> I am no developer nor programmer, but I have some good linux experience... is there a guideline somewhere so I can build a ynh app? I am thinking of this one: https://gancio.org/install (seems easy). Would you recommend trying? thanks1
[17:51:48] <Aleks (he/him/il/lui)> Gancio is already packaged : https://apps.yunohost.org/app/gancio
[17:51:57] <Aleks (he/him/il/lui)> https://github.com/YunoHost-Apps/gancio_ynh
[17:52:09] <geoma> 😃
[17:52:15] <lapineige> But you're welcome to help on this app, especially for testing :)
[17:52:26] <geoma> oops
[17:52:33] <geoma> haha I was making a typo error
[17:52:37] <geoma> sorry
[17:52:45] <lapineige> I never used it for real, just packaged it
[17:53:40] <geoma> > But you're welcome to help on this app, especially for testing :)

that would be using it and reporting any problem?
[17:55:44] <lapineige> Yes :)
[17:55:56] <lapineige> Including new pull request for instance, to try updates
[17:56:49] <geoma> ok. will do my best to support this amazing project. thanks always.🙇🏽‍♂️
[19:08:49] <rodinux> Still trying (when I have time) understand how make on paheko avalaible the api, I think perhaps I can't get it because of the nginx conf...
[19:09:48] <rodinux>

[19:13:54] <rodinux> So when I try do `curl https://user_api:password_api@paheko.domaine.tld/api/download -o association.sqlite` perhaps nginx don't like this path ??
[19:17:38] <rodinux> ```
try_files $uri $uri/ __PATH__/__PATH__/_route.php?$query_string;
location ~ \.php$ {
if (!-e $request_filename) {
rewrite ^__PATH__/?(.*)$ __PATH__/_route.php?/$1 last;
break;
}
```
[20:21:12] <Émy - OniriCorpe> > <@Salamandar:matrix.org> Wait wat


```
! manifest
! Please don't put empty string as a maintainer x_x
```
is it new?
[20:21:29] <Yunohost Git/Infra notifications> [apps] OniriCorpe approved [pull request #2265](https://github.com/YunoHost/apps/pull/2265#pullrequestreview-2027341617) Format TOML with Taplo
[20:21:35] <Yunohost Git/Infra notifications> [apps] OniriCorpe merged [pull request #2265](https://github.com/YunoHost/apps/pull/2265): Format TOML with Taplo
[20:21:35] <Yunohost Git/Infra notifications> [apps] OniriCorpe pushed 1 commit to master: :art: Format TOML with Taplo ([71588cee](https://github.com/YunoHost/apps/commit/71588cee4f8ef69316ecf08467ef6e85ce0f71e4))
[20:21:55] <Yunohost Git/Infra notifications> [apps] OniriCorpe pushed 1 commit to add-to-wishlist-noe: :art: Format TOML with Taplo ([2f576dc9](https://github.com/YunoHost/apps/commit/2f576dc92cf4fb451e41723909e6ad48e60dccc3))
[20:21:56] <Yunohost Git/Infra notifications> [apps] OniriCorpe merged [pull request #2267](https://github.com/YunoHost/apps/pull/2267): Format TOML with Taplo
[20:21:56] <Yunohost Git/Infra notifications> [apps] OniriCorpe deleted branch actions/toml
[20:25:19] <Émy - OniriCorpe> just use `$app` and it's fine
[20:29:56] <Émy - OniriCorpe> i do not recommend to mutualize some parts, because if the user updates one instance and not another, it can break everything
[20:30:07] <Émy - OniriCorpe> also, mutualize the "code" folders for a couple of MB is near of useless tho
[20:56:19] <orhtej2> > <@oniricorpe:im.emelyne.eu> i do not recommend to mutualize some parts, because if the user updates one instance and not another, it can break everything

likely that was intended for ChriChri
[20:57:16] <orhtej2> > <@thovi98:matrix.org> Not seen unfortunately

idk, there are downloads for Debian 12, just not deb: https://www.mongodb.com/try/download/community
[21:02:30] <Émy - OniriCorpe> > likely that was intended for ChriChri

ah yes, sorry ^^"
[21:27:27] <Yunohost Git/Infra notifications> [apps] tituspijean pushed 1 commit to add-to-wishlist-noe: Add NOE to wishlist ([3a413551](https://github.com/YunoHost/apps/commit/3a413551e8198cfbf4c462ed24354d66e5b90dd7))
[21:27:50] <Yunohost Git/Infra notifications> [apps] tituspijean edited [pull request #2266](https://github.com/YunoHost/apps/pull/2266): Add NOE to wishlist
[21:31:25] <rodinux> well I found some log like `[error] 396128#396128: *97 [lua] helpers.lua:386: authenticate(): Connection failed for: <user_api>, client: <IP_ADDRESS>, server: paheko.domain.tld, request: "GET /api/download HTTP/1.1", host: "paheko.domain.tld"`
[21:32:14] <rodinux> [So](https://github.com/YunoHost/yunohost/commit/ab279d9c6b717ec5317ed3854b43e4ef5e8e2143#diff-3768816f720424ac4540994325957f645e7b3c49353530357a2a1bf0f317e983) perhaps similar issue as
[22:05:01] <rodinux> Ok, so when I look at the code `helpers.lua`, I could perhaps think the problem is with ` ensure_user_password_uses_strong_hash(connected, user, password)` ?
[22:05:46] <rodinux> What are the rules for `ensure_user_password_uses_strong_hash` ??
[22:43:12] <rodinux> I discover logs on fail2ban also... Perhaps I need add a fail2ban rule for this app ??