Friday, February 17, 2023
apps@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
         
             

[08:29:28] <limezy> > <@titus:pijean.ovh> (Or rather does it convert it into utf8 too?)

I'm currently trying to run the utf8 conversion before a PSQL conversion, for one of my instances on which I had a bug running the PSQL. If it works and eric_G feeling is right, then it means the conversion to utf8 should be run before PSQL to prevent cases such as mine
[08:30:14] <rodinux[m]> Hello,would like to resolve first issue related with migration from garradin to paheko... the migration stop on at this moment `./upgrade: ligne 91: garradin_migrate_id : variable sans liaison` ??
[08:31:42] <rodinux[m]> the migration stop at this line of the script
[08:32:05] <rodinux[m]> ```[[ $YNH_APP_ID == "garradin" ]] \
&& [[ "$(cat "$final_path/VERSION")" != 1.2.2 ]] \
&& ynh_die --message "It looks like that you have an old Garradin installed. You need to first upgrade your Garradin instance (id: $garradin_migrate_id)```
[08:39:10] <rodinux[m]> I not sure understand what have happens ... In the migration script have this line ` # Declare an array to define the options of this helper.
declare -Ar args_array=( [i]=migration_id= [l]=migration_list= )
# Get the id from which to migrate
local migration_id
# And the file with the paths to move
local migration_list
# Manage arguments with getopts
ynh_handle_getopts_args "$@"`
[08:43:11] <rodinux[m]> Sorry for these markdown titles (comments)...
[08:51:04] <rodinux[m]> Ok I found the
[08:51:20] <rodinux[m]> how resolve my issue...
[09:56:36] <Yunohost Git/Infra notifications> [nextcloud_ynh] @Limezy [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/125#issuecomment-1434402311) on [issue #125](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/125) Use PostgreSQL instead of MySQL (fixes #107): > @Limezy Any success on this? Unfortunately, I got the exact same error after upgrading through the https://github.com...
[09:57:26] <limezy> eric_G: FYI it's a failure : I got the exact same error even after having migrated my mysql db to utf8
[10:16:05] <ljf> "Migrate mysql db to utf8" I did it manually on some instances, it allows to use smiley or other utf-8 chars in nextcloud apps.
[10:16:44] <ljf> "Use PostgreSQL instead of MySQL" Could be a good idea for bigger instances with thousand of accounts
[10:18:22] <ljf> "Add support for custom data directory" It's a generic issue in yunohost, if you use a mount--bind and the directory is removed and recreate, the mount --bind disapear so you fill the bad partition with data... Could be quite annoying and a lot of data directory could need to be on a specific bigger partition...
[10:22:38] <ljf> However on this last topic, it's seems that data dir are not so often removed by script, so with the mount --bind method on data dir it should work pretty well.
[10:28:50] <MayeulC> > <@ljf:sans-nuage.fr> "Add support for custom data directory" It's a generic issue in yunohost, if you use a mount--bind and the directory is removed and recreate, the mount --bind disapear so you fill the bad partition with data... Could be quite annoying and a lot of data directory could need to be on a specific bigger partition...

Well, you can't remove a directory if something is mounted inside, as far as I know
[10:29:34] <MayeulC> (regarding nextcloud, I just adjusted the `config.php` file). I think I used a symlink to move the backups location.
[10:39:33] <limezy> > <@ljf:sans-nuage.fr> "Use PostgreSQL instead of MySQL" Could be a good idea for bigger instances with thousand of accounts

I have less than 5 accounts on my instance, and the speed difference is very visible with PostgreSQL, vs MySQL
[12:10:35] <rodinux[m]> Heelo, someone to rewiew here ? https://github.com/YunoHost-Apps/garradin_ynh/pull/99
[12:12:15] <Yunohost Git/Infra notifications> [apps] @zamentur [commented](https://github.com/YunoHost/apps/pull/1634#issuecomment-1434555158) on [issue #1634](https://github.com/YunoHost/apps/pull/1634) peertube-search-index package not totally free anymore: I put this question about SSPL for the next contributors meeting. https://pad.lqdn.fr/p/yunohost-2023-03-02
[16:11:34] <oufmilo[m]> Hello everyone ,
I've an access problem with an app package v2 is someone can help me ? It's with pnpm
the log is here --> https://yunorunner.travelpandas.eu/ci/logs/24.log

And the message error
``` 105003 INFO DEBUG - + sudo -u calckey env PATH=/opt/node_n/n/versions/node/19/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_ENV=production pnpm install
105003 INFO DEBUG - Internal Error: EACCES: permission denied, mkdir '/home/calckey'
105003 INFO DEBUG - Error: EACCES: permission denied, mkdir '/home/calckey'
[16:12:53] <Aleks (he/him/il/lui)> yeah that's a known issue, i need to implement something about user's home dir in the core
[16:15:20] <oufmilo[m]> ok Aleks (he/him/il/lui) thanks & good luck 🤞
[16:16:22] <Aleks (he/him/il/lui)> I guess setting it to $install_dir should be okay but now I wonder about security implication ... like what would the app actually store in that home dir = $install_dir which may in fact be exposed on nginx ...
[16:17:36] <Aleks (he/him/il/lui)> or shall we have yet another `/var/whatever/$app` x_x
[16:18:21] <Aleks (he/him/il/lui)> or `$install_dir/.home` with `chmod 700 $app` to ensure www-data can't snoop in
[16:19:12] <Aleks (he/him/il/lui)> (in fact this is already an issue considering there's a shitload of app with `--home_dir=$final_path`
[16:20:56] <oufmilo[m]> I'm not going to be able to be of much help on this one, unfortunately 😥
[17:16:57] <Yunohost Git/Infra notifications> [apps] @yunohost-bot created new branch update_app_levels
[17:16:59] <Yunohost Git/Infra notifications> [apps] @yunohost-bot opened [pull request #1635](https://github.com/YunoHost/apps/pull/1635): Update app levels according to CI results
[17:17:00] <Yunohost Git/Infra notifications> [apps] @yunohost-bot pushed 1 commit to update_app_levels: Update app levels according to CI results ([b56a567d](https://github.com/YunoHost/apps/commit/b56a567d9ce5ea84f492ea279bc0f6406ec38c1d))
[20:04:13] <Yunohost Git/Infra notifications> [apps] @fflorent [commented](https://github.com/YunoHost/apps/pull/1634#issuecomment-1435176603) on [issue #1634](https://github.com/YunoHost/apps/pull/1634) peertube-search-index package not totally free anymore: > I put this question about SSPL for the next contributors meeting. https://pad.lqdn.fr/p/yunohost-2023-03-02 Thanks fo...
[21:50:44] <eric_G> will it be hard to push in all apps repo a `convert_app_to_packaging_v2` branch automatically?