Sunday, October 23, 2022
support@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
           

[07:58:27] <Guest5> I am looping for an help for using rspam.d on yunohost. Do you?
[09:26:42] <Mario> What does the ISP see of a ynh server? And what/how can be censored?
[09:30:30] <c> they see all you expose.. if do email, web... everything encrypted TLS so they dont read content
[09:31:31] <c> you can also run a vpn to a trusted ISP so all your "normal" ISP see if VPN
[09:32:03] <c> (many people do it because some ISP is not neutral, blocks ports etc)
[09:32:48] <c> if you say more about your threat model we can give precise info
[09:39:37] <nicfab[m]> Hello!
I am trying to update Yunohost, but I receive the error 504 Gateway Time-out like the screenshot I attached.
How can I solve?
[09:39:41] <nicfab[m]> https://aria.im/_matrix/media/v1/download/matrix.nicfab.it/RgqKazumcjqJkZtPXOBODdJG
[13:24:31] <centralscrutinizer> hello everyone, i am giving a try to two new apps on my yuno server:
libbreddit and lemmy.
both installed successfully but neither is working...
system log for libreddit https://paste.yunohost.org/luyiyaputa
system log for lemmy
https://paste.yunohost.org/miveriloti
My server is at home running on a raspberry Pi4 arm64 arch
[14:25:55] <eric_G> centralscrutinizer: I have the same warning with Libbreddit but the app is working.
[14:27:03] <eric_G> Also Libbredit seems not to be maintained upstream.
[14:27:44] <eric_G> I am trying to package Ferrit https://github.com/spikecodes/libreddit/issues/599
[14:33:55] <centralscrutinizer> ok i will test it as soon as you manage to package it. It was a testing experience for the other packages anyway
[14:35:09] <centralscrutinizer> as for Lemmy could it be a system resources issue? i am really pushing my rpi to its limits 😅
[14:40:37] <eric_G> is your RPI 🔥
[14:41:34] <eric_G> Ok. Ferrit is packaged. I am sending it to YunoHost repo
[14:46:37] <centralscrutinizer> > <@ericg:matrix.org> is your RPI 🔥

not really, but since I was not satisfied with nextcloud's photo I gave photo prism a shot, it is working well but it needs quite some ram and swap. Now I upgraded to nextcloud 25 and I think i will remove photoprism
[14:47:43] <eric_G> Did you update Nextcloud from testing?
[15:00:11] <centralscrutinizer> yes
[15:08:14] <eric_G> good
[15:12:22] <centralscrutinizer> > <@ericg:matrix.org> Ok. Ferrit is packaged. I am sending it to YunoHost repo

Installed from testing branch. Working good 👍
[16:58:35] <Salamandar[m]> Hello, i can't upgrade Kresus for a few days now
[16:58:49] <Salamandar[m]> here's the log https://paste.yunohost.org/raw/guxeyuwipu
[16:59:31] <Salamandar[m]> tl;dr:
`
2022-10-23 18:52:05,125: DEBUG - + sudo -u kresus env PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install
2022-10-23 18:52:05,929: DEBUG - yarn install v1.22.19
2022-10-23 18:52:06,267: DEBUG - warning npm-shrinkwrap.json found. This will not be updated or respected. See https://yarnpkg.com/en/docs/migrating-from-npm for more information.
2022-10-23 18:52:06,279: DEBUG - [1/5] Validating package.json...
2022-10-23 18:52:06,289: DEBUG - [2/5] Resolving packages...
2022-10-23 18:52:07,334: DEBUG - [3/5] Fetching packages...
2022-10-23 18:52:52,490: DEBUG - [4/5] Linking dependencies...
2022-10-23 18:52:52,505: DEBUG - warning " > rc-color-picker@1.2.6" has incorrect peer dependency "react@16.x".
2022-10-23 18:52:52,506: DEBUG - warning " > rc-color-picker@1.2.6" has incorrect peer dependency "react-dom@16.x".
2022-10-23 18:53:20,794: DEBUG - [5/5] Building fresh packages...
2022-10-23 18:53:24,240: DEBUG - error /var/www/kresus/node_modules/sqlite3: Command failed.
2022-10-23 18:53:24,242: DEBUG - Exit code: 1
2022-10-23 18:53:24,243: DEBUG - Command: node-pre-gyp install --fallback-to-build
2022-10-23 18:53:24,244: DEBUG - Arguments:
2022-10-23 18:53:24,245: DEBUG - Directory: /var/www/kresus/node_modules/sqlite3
2022-10-23 18:53:24,246: DEBUG - Output:
2022-10-23 18:53:24,247: DEBUG - node-pre-gyp info it worked if it ends with ok
2022-10-23 18:53:24,249: DEBUG - node-pre-gyp info using node-pre-gyp@0.11.0
2022-10-23 18:53:24,250: DEBUG - node-pre-gyp info using node@16.18.0 | linux | arm64
2022-10-23 18:53:24,251: DEBUG - node-pre-gyp WARN Using request for node-pre-gyp https download
2022-10-23 18:53:24,251: DEBUG - node-pre-gyp info check checked for "/var/www/kresus/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64/node_sqlite3.node" (not found)
2022-10-23 18:53:24,252: DEBUG - node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
2022-10-23 18:53:24,253: DEBUG - node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
2022-10-23 18:53:24,255: DEBUG - node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
2022-10-23 18:53:24,257: DEBUG - node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.2 and node@16.18.0 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
2022-10-23 18:53:24,258: DEBUG - node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
2022-10-23 18:53:24,260: DEBUG - gyp info it worked if it ends with ok
2022-10-23 18:53:24,261: DEBUG - gyp info using node-gyp@3.8.0
2022-10-23 18:53:24,262: DEBUG - gyp info using node@16.18.0 | linux | arm64
2022-10-23 18:53:24,263: DEBUG - gyp info ok
2022-10-23 18:53:24,265: DEBUG - gyp info it worked if it ends with ok
2022-10-23 18:53:24,267: DEBUG - gyp info using node-gyp@3.8.0
2022-10-23 18:53:24,268: DEBUG - gyp info using node@16.18.0 | linux | arm64
2022-10-23 18:53:24,270: DEBUG - gyp ERR! configure error
2022-10-23 18:53:24,271: DEBUG - gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
2022-10-23 18:53:24,273: DEBUG - gyp ERR! stack File "<string>", line 1
2022-10-23 18:53:24,274: DEBUG - gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
2022-10-23 18:53:24,276: DEBUG - gyp ERR! stack ^
2022-10-23 18:53:24,277: DEBUG - gyp ERR! stack SyntaxError: invalid syntax
2022-10-23 18:53:24,278: DEBUG - gyp ERR! stack
2022-10-23 18:53:24,280: DEBUG - gyp ERR! stack at ChildProcess.exithandler (node:child_process:402:12)
2022-10-23 18:53:24,280: DEBUG - gyp ERR! stack at ChildProcess.emit (node:events:513:28)
2022-10-23 18:53:24,281: DEBUG - gyp ERR! stack at maybeClose (node:internal/child_process:1100:16)
2022-10-23 18:53:24,282: DEBUG - gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
2022-10-23 18:53:24,284: DEBUG - gyp ERR! System Linux 5.15.48-rockchip64
2022-10-23 18:53:24,285: DEBUG - gyp ERR! command "/opt/node_n/n/versions/node/16.18.0/bin/node" "/var/www/kresus/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/var/www/kresus/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/var/www/kresus/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
2022-10-23 18:53:24,287: DEBUG - gyp ERR! cwd /var/www/kresus/node_modules/sqlite3
2022-10-23 18:53:24,288: DEBUG - gyp ERR! node -v v16.18.0
2022-10-23 18:53:24,288: DEBUG - gyp ERR! node-gyp -v v3.8.0
2022-10-23 18:53:24,289: DEBUG - gyp ERR! not ok
`
[17:05:41] <Salamandar[m]> Looks like python2 code is executed by python3…
[17:06:20] <Salamandar[m]> maybe it's falling back to this code because of the 403 errors on AWS ?
[17:20:54] <thatoo[m]> Bonjour, j'ai un avertissement comme quoi /boot est plein. Je pensais faire un "sudo apt autoremove --purge" mais la liste qu'il souhaite purger ne me rassure pas :
```
Les paquets suivants seront ENLEVÉS :
linux-image-4.19.0-21-amd64* linux-image-5.10.0-17-amd64* php7.3-apcu* php7.3-bcmath* php7.3-bz2* php7.3-fpm* php7.3-gmp* php7.3-igbinary* php7.3-imagick* php7.3-imap* php7.3-intl* php7.3-ldap* php7.3-redis*
php7.3-soap* php7.3-ssh2*
```

[17:21:17] <thatoo[m]> * Bonjour, j'ai un avertissement comme quoi /boot est plein. Je pensais faire un "sudo apt autoremove --purge" mais la liste qu'il souhaite purger ne me rassure pas :

```
Les paquets suivants seront ENLEVÉS :
linux-image-4.19.0-21-amd64* linux-image-5.10.0-17-amd64* php7.3-apcu* php7.3-bcmath* php7.3-bz2* php7.3-fpm* php7.3-gmp* php7.3-igbinary* php7.3-imagick* php7.3-imap* php7.3-intl* php7.3-ldap* php7.3-redis*
php7.3-soap* php7.3-ssh2*
```

surtout les paquets de php...

[17:22:05] <Aleks (he/him/il/lui)> > <@Salamandar[m]:libera.chat> Looks like python2 code is executed by python3…

eeer yeah indeed
[17:22:11] <thatoo[m]> pour info
```
$ uname -a
Linux leprette.fr 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2 (2022-07-23) x86_64 GNU/Linux
$ ls -al /boot
total 218079
drwxr-xr-x 4 root root 1024 22 oct. 19:03 .
drwxr-xr-x 20 root root 4096 22 oct. 19:03 ..
-rw-r--r-- 1 root root 206378 30 juin 14:52 config-4.19.0-21-amd64
-rw-r--r-- 1 root root 236134 24 juil. 00:32 config-5.10.0-16-amd64
-rw-r--r-- 1 root root 236286 13 août 15:25 config-5.10.0-17-amd64
-rw-r--r-- 1 root root 236286 2 sept. 15:54 config-5.10.0-18-amd64
-rw-r--r-- 1 root root 236275 17 oct. 21:44 config-5.10.0-19-amd64
drwxr-xr-x 5 root root 1024 22 oct. 19:04 grub
-rw-r--r-- 1 root root 35854094 17 juil. 01:21 initrd.img-4.19.0-21-amd64
-rw-r--r-- 1 root root 36845291 11 août 00:08 initrd.img-5.10.0-16-amd64
-rw-r--r-- 1 root root 37643846 1 sept. 03:31 initrd.img-5.10.0-17-amd64
-rw-r--r-- 1 root root 37668281 13 sept. 21:26 initrd.img-5.10.0-18-amd64
-rw-r--r-- 1 root root 37663536 22 oct. 19:03 initrd.img-5.10.0-19-amd64
drwx------ 2 root root 12288 17 août 2020 lost+found
-rw-r--r-- 1 root root 3417138 30 juin 14:52 System.map-4.19.0-21-amd64
-rw-r--r-- 1 root root 83 24 juil. 00:32 System.map-5.10.0-16-amd64
-rw-r--r-- 1 root root 83 13 août 15:25 System.map-5.10.0-17-amd64
-rw-r--r-- 1 root root 83 2 sept. 15:54 System.map-5.10.0-18-amd64
-rw-r--r-- 1 root root 83 17 oct. 21:44 System.map-5.10.0-19-amd64
-rw-r--r-- 1 root root 5299456 30 juin 14:52 vmlinuz-4.19.0-21-amd64
-rw-r--r-- 1 root root 6846656 24 juil. 00:32 vmlinuz-5.10.0-16-amd64
-rw-r--r-- 1 root root 6962816 13 août 15:25 vmlinuz-5.10.0-17-amd64
-rw-r--r-- 1 root root 6962016 2 sept. 15:54 vmlinuz-5.10.0-18-amd64
-rw-r--r-- 1 root root 6963712 17 oct. 21:44 vmlinuz-5.10.0-19-amd64
```

[17:22:36] <Aleks (he/him/il/lui)> Salamandar[m]: i would check that the debian package "python-is-python3" is installed
[17:22:47] <thatoo[m]> Vous en pensez-quoi? Je dis oui à autoremove? php7.3, on oublie maintenant avec Yunohost 11.0.10.1 ?
[17:22:55] <Aleks (he/him/il/lui)> (`dpkg --list | grep python` shoud list `python-is-python3` prefixed with `ii` at the very beginning of the line)
[17:24:10] <Aleks (he/him/il/lui)> thatoo[m]: pour les paquets php ça semble moyen ouf, c'est peut-être legit, mais ça pourrait aussi être parce qu'une dépendance virtuelle d'une app (appname-ynh-apps) a été enlevé et du coup apt ne sait plus qu'il faut garder ces dependances installées
[17:24:10] <Aleks (he/him/il/lui)> mais ça pourrait aussi être OK ...
[17:24:28] <Aleks (he/him/il/lui)> ça dépends de tout ce qu'il s'est passé en détail récemment sur la machine ...
[17:26:19] <Salamandar[m]> > <@Alekswag[m]:libera.chat> Salamandar[m]: i would check that the debian package "python-is-python3" is installed

Yeah, it's installed. The issue is that the code itself is for python2 (print without parentheses)
[17:27:58] <Aleks (he/him/il/lui)> ah yes indeed
[17:27:58] <Aleks (he/him/il/lui)> hmpf
[17:29:07] <Aleks (he/him/il/lui)> how can this still happen in fockin 2022, like it's been decades that python2 also supports the `print()` syntax, there's literally no reason to write print without parenthesis -_-
[17:34:15] <Salamandar[m]> eh eh