Sunday, August 27, 2023
support@conference.yunohost.org
August
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
     
             

[01:19:59] <bamf> app upgrades are still failing with `504 Gateway Time-out` in the web interface when they take too long. are there any plans to bring up a fix for that?
[01:22:52] <bamf> > <@bamf:matrix.f1sh.de> app upgrades are still failing with `504 Gateway Time-out` in the web interface when they take too long. are there any plans to bring up a fix for that?

```
Error: "504" Gateway Timeout
Action: "PUT" /yunohost/api/apps/mastodon/upgrade
```

backup still running with ~50% cpu load
`root 337303 47.8 11.6 1191660 950448 ? D 02:10 33:38 /usr/bin/python3 /usr/bin/yunohost backup create --apps mastodon --name mastodon-pre-upgrade1 --debug`

[06:34:27] <tituspijean> bamf: not yet. Run such commands with the command line interface to keep the connection up.
[06:35:50] <tituspijean> Especially for Mastodon. That name fits it well. :)
[06:41:37] <tituspijean> Actually yes we do, after a quick search: https://github.com/YunoHost/issues/issues/2055
[10:10:45] <rafiki> Hello dear friends! :)

congratulations for the state of Yunohost, the UI developed very good... fantastic, i am excited! Now to my problem:

i installed Yunohost on a fresh Hetzner VPS, running Debian 11.

The command `curl https://install.yunohost.org | bash`, finished with:
`[ OK ] YunoHost installation completed!`

And printing the post-installation steps,
AND as well as last line:

`Error: YunoHost is not correctly installed. Please run 'yunohost tools postinstall'`

Which i did via web browser. All seemed fine.

I ran the initial install script as root, and diagnosis states a 100% running base system.



After adding some domains,
i tried to install `humhub` app,
which resulted quickly this warning and error:

```
2023-08-27 09:46:44,157: WARNING - Failed to provision system_user : useradd command failed with exit code 2304
2023-08-27 09:46:44,158: INFO - Deprovisionning sources...
2023-08-27 09:46:44,173: INFO - Deprovisionning system_user...
2023-08-27 09:46:44,323: ERROR - Failed to rollback system_user : Failed to delete system user for humhub
2023-08-27 09:46:44,324: ERROR - Provisioning, deprovisioning, or updating resources for humhub failed: useradd command failed with exit code 2304
```

full log here: https://paste.yunohost.org/raw/metexazika


How can i debug and fix the issue with `useradd` (exit code 2304) on my debian 11 system?
[11:24:32] <tituspijean> rafiki: Hello, and welcome! Let's check if `humhub` already exists: `sudo grep "humhub" /etc/passwd`
[13:13:14] <imhotep> Hello, I uninstalled rocket chat and the mongod service remains in the list of services. How to remove it please?
[13:13:41] <Aleks (he/him/il/lui)> "yunohost service remove mongod"
[13:13:52] <imhotep> Aleks (he/him/il/lui): thank you
[13:47:52] <eric_G> https://github.com/YunoHost-Apps/rocketchat_ynh/blob/ca35dcf1205733c8cf94cb2dc32a9c899ae93d1d/scripts/remove#L63
[13:48:30] <eric_G> this line is not doing what is expected
[13:50:36] <eric_G> https://github.com/YunoHost-Apps/rocketchat_ynh/blob/ca35dcf1205733c8cf94cb2dc32a9c899ae93d1d/scripts/_common.sh#L366-L377
[13:52:01] <eric_G> subtle bug?
[13:55:22] <barking bandicoot> I just tried instaling Yunohost on a 2013 Macbook Pro. This machine has previously run Kubuntu and currently has Opensuse. The iso, with a good checksum, will not show in the boot manager! Any idea why? Thanks.
[13:57:07] <eric_G> is it not because YunoHost runs on top of Debian?
[13:57:53] <barking bandicoot> Perhaps, but people do have Debian running on old macs! Maybe not a server version though?
[14:12:59] <tituspijean> I am not sure we have a proper ISO for such hardware. Could you try installing a Debian 11 first, then running the "remote server" installation from the documentation?
[14:13:53] <barking bandicoot> > <@titus:pijean.ovh> I am not sure we have a proper ISO for such hardware. Could you try installing a Debian 11 first, then running the "remote server" installation from the documentation?

Ok. Just the regular Debian iso?
[14:14:45] <tituspijean> The Debian 11 Lite (no desktop) would be fine; netinstall or not :)
[17:50:04] <orhtej2> > <@ericg:matrix.org> subtle bug?

Already reported https://github.com/YunoHost-Apps/rocketchat_ynh/issues/187
[20:26:13] <T> Anyone has a quick recomendation here:

dpkg: unrecoverable fatal error, aborting:
unknown system user 'netdata' in statoverride file; the system user got removed
before the override, which is most probably a packaging bug, to recover you
can remove the override manually with dpkg-statoverride
[20:33:09] <T> due to this error cant update/upgrade packages
[20:58:24] <T> deleted the respective lines in statoverride file and all is good.
[21:01:19] <rafiki> > <@titus:pijean.ovh> rafiki: Hello, and welcome! Let's check if `humhub` already exists: `sudo grep "humhub" /etc/passwd`

Thanks A LOT, for the quick response!
Only, now i am back...

The grep command didn't return any output, i checked `/etc/passwd` - no `humhub` - no user/group named like this.

In addition to this, I tried another application `wordpress` - which worked perfectly.

I also tried `humhub` with different parameters: another domain, all visitors allowed, my default admin as admin. Same error!
[21:10:40] <orhtej2> > <@rafiki:matrix.org> Thanks A LOT, for the quick response!
> Only, now i am back...
>
> The grep command didn't return any output, i checked `/etc/passwd` - no `humhub` - no user/group named like this.
>
> In addition to this, I tried another application `wordpress` - which worked perfectly.
>
> I also tried `humhub` with different parameters: another domain, all visitors allowed, my default admin as admin. Same error!

it installed for me correctly but got stuck in infinite redirect loop :/
[22:24:13] <gredin67> ça donne quoi niveau sécurité de faire ça ? https://forum.yunohost.org/t/suite-erreur-smtp-550-5-1-1-recipient-address-rejected-user-unknown-in-virtual-mailbox-table/21663/56
[22:26:49] <gredin67> contexte, j'envoie un mail depuis domaineA vers domainB. Les deux domaines sont configurés dans mon yunohost. Mais j'ai configuré domaineB pour que les mails soient gérés par gandi.
[22:29:05] <gredin67> le mail ne part pas de domaineA vers domaineB
`Erreur SMTP (550) : échec d’ajout du destinataire « user@domaineB » (5.1.1 <user@domaineB>: Recipient address rejected: User unknown in virtual mailbox table)`