Friday, April 12, 2024
support@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
         
             

[04:30:31] <askans> > <@askans:matrix.org> With the update of Crystal to 1.13 (?) I cannot update diagrams.net, as it apparently requires Crystal 1.12. Any suggestions?

Solution: https://forum.yunohost.org/t/crystal-broke-apt-updates/29283
[09:17:04] <thatoo> Bonjour, je fais face à deux soucis qui semblent arriver de façon concomitante
1. nextcloud m'affiche soudainement
```
Votre répertoire des données n'est pas valide.

Assurez-vous que le répertoire de données contient un fichier ".ocdata" à sa racine.

Impossible de créer le dossier "data".

Ce problème est généralement résolu en donnant au serveur web un accès en écriture au répertoire racine. Voir https://docs.nextcloud.com/server/28/go.php?to=admin-dir_permissions
```
2. Diagnostique me dit
```
La configuration est cassée pour le service fail2ban !

2024-04-12 10:12:55,532 fail2ban [283305]: ERROR Failed during configuration: Have not found any log file for nextcloud jail
2024-04-12 10:12:55,533 fail2ban [283305]: ERROR ERROR: test configuration failed
```
[09:20:59] <thatoo> ```
# cd /home/yunohost.app/nextcloud/data

bash: cd: /home/yunohost.app/nextcloud/data: No such file or directory
# ls -al /home/yunohost.app
total 8
drwxr-xr-x 2 root root 4096 Mar 5 2023 .
drwxr-xr-x 53 root root 4096 Jan 5 16:48 ..
```
[09:21:29] <thatoo> ```
# cd /home/yunohost.app/nextcloud/data
bash: cd: /home/yunohost.app/nextcloud/data: No such file or directory
# ls -al /home/yunohost.app
total 8
drwxr-xr-x 2 root root 4096 Mar 5 2023 .
drwxr-xr-x 53 root root 4096 Jan 5 16:48 ..
```
[09:21:36] <thatoo> ```
$ cd /home/yunohost.app/nextcloud/data
bash: cd: /home/yunohost.app/nextcloud/data: No such file or directory
$ ls -al /home/yunohost.app
total 8
drwxr-xr-x 2 root root 4096 Mar 5 2023 .
drwxr-xr-x 53 root root 4096 Jan 5 16:48 ..
```
[09:22:29] <thatoo> il y a comme un soucis là non?
Comment le dossier /home/yunohost.appnextcloud/data a pu disparaître tout seul?
[09:42:16] <Centralscrutinizer> I have problems with fail2ban as well:
https://paste.yunohost.org/yafalusepa
The service is running though...
I tried this solution from the forum but the errors persists https://forum.yunohost.org/t/fail2ban-failed/28492
[09:54:32] <rodinux> Pour le fichier .ocdata, il suffit de créé un fichier .ocdata dans le répertoire des datas `/home/yunohost/app/nextcloud/.ocdata` avec les bonnes permissions `chown nextcloud: .ocdata`.
[14:01:14] <labib78> Hi
[14:03:26] <Aleks (he/him/il/lui)> ohayo
[17:13:48] <freetux> Hello, je commence bien mon week-end, échec de la mise à jour de Synapse (et de la restauration du backup aussi tant qu’à faire 😅).
L’update : https://paste.yunohost.org/raw/ipoterekim
Le backup : https://paste.centos.org/view/279b5946
Attendez un peu si vous aviez prévu de faire la mise à jour ce week-end au cas où. ^^
[17:56:41] <xabi> Hi, I've got two synapse issues:
1.st, I tried upgrading while my_webapp was still installed, so I obv got an error. Duh. Here the log: https://paste.yunohost.org/raw/ojisawoqap
I tried restoring synapse, but it failed. Log: https://paste.yunohost.org/raw/odidodufuz
I run [these commands](https://github.com/YunoHost-Apps/synapse_ynh/issues/329), but third one fails (Permission 'synapse.server_client_infos' not found) and still getting an error when trying to restore synapse because permission already exists. Log: https://paste.yunohost.org/raw/lepudepawo
Help would be appreciated although not much would be lost if I had to reinstall it from scratch.
[19:48:58] <Bobby> Greetings – lots of updates today. Just FYI, upgrade of umami failed. https://paste.yunohost.org/raw/omewoxuxek

[19:49:50] <Bobby> This is not a huge deal – for me at least – but I thought I should let you know
[19:53:16] <freetux> > <@freetux:tetaneutral.net> Hello, je commence bien mon week-end, échec de la mise à jour de Synapse (et de la restauration du backup aussi tant qu’à faire 😅).
> L’update : https://paste.yunohost.org/raw/ipoterekim
> Le backup : https://paste.centos.org/view/279b5946
> Attendez un peu si vous aviez prévu de faire la mise à jour ce week-end au cas où. ^^

Les droits d’accès aux dossiers de synapse sont quand même bien étranges d’où l’erreur j’imagine. 🤔

`drwxr-x--- 5 44240 44240 4096 Apr 12 16:08 synapse`
et :
```
drwxr-xr-x 2 root root 4096 Jun 13 2022 matrix-synapse__220220613.182323
drwxr-xr-x 4 960 root 4096 Jun 13 2022 matrix-synapse__220220614.172013
drwxr-xr-x 4 960 root 4096 Jun 16 2022 matrix-synapse__220221112.172307
```

[20:12:12] <Mateusz Szymański> > <@bblaze:sc.bblaze.xyz> Greetings – lots of updates today. Just FYI, upgrade of umami failed. https://paste.yunohost.org/raw/omewoxuxek

It's Out of memory error, curious how much RAM does your machine have?
[20:12:29] <Mateusz Szymański> or pehaps roughly how big is your umami database?
[20:18:57] <Bobby> > <@orhtej2:matrix.org> It's Out of memory error, curious how much RAM does your machine have?

🤣 Whoops. It *was* running on a linode with 2G but I recently downsized the VPS to only 1G.
It's just a test server that I sometimes use as a VPN and generally play around with things.

Many thanks for letting me now. (Now I feel kind of silly.)
[20:31:36] <Mateusz Szymański> no problem, let mek now if upscaling at least temporarily for the upgrade solves the problem
[23:20:56] <bblaze> > <@orhtej2:matrix.org> no problem, let mek now if upscaling at least temporarily for the upgrade solves the problem

Ugh. In the process of "resizing" the node the server's base file system got corrupted. Naturally I did not have a backup. Thankfully YH IS AWESOME & I was able to rebuild the server and install applications in about 30 minutes. Of course I lost my previous user ID. Small potatoes.

No time to mess with Umami again right now. If I get to it later I will let you know. Thanks again for your help.