Friday, March 29, 2024
support@conference.yunohost.org
March
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:40:51] <Chatpitaine Caverne> mario ⚡️: There is no log to help us to help you. Is there any information in the peertube service log ?
[09:26:40] <mario ⚡> Logs installing livechat plugin: https://paste.yunohost.org/amisekiloz
Logs installing Dark Theme: https://paste.yunohost.org/iyaduxaxip
Is there a way to install PT plugins and themes via the terminal?
[12:37:13] <tonton> Hi, I've tried installing and troubleshooting friendica. It installs allright, and I get a landing page from it. But login in or registering gives me a blank page. looking at the logs doesn't tell me much, except it seems the daemon doesn't start. https://paste.yunohost.org/giribowixo

I tried increasing log level and it didn't take effect - so I undid my change. I tried strace on the daemon command that systemd reports as exec, with a hole bunch of information but no errors or warns that seem to point at a problem or is a reported error (strace also gives labels and program calls that sometimes contain the word error without it actually being an error as a result).

I'm a bit at a loss for how to troubleshoot this.

The only actual hint I got is this repeating line from syslog:
Mar 26 18:00:02 skogsnisse mariadbd[1381]: 2024-03-26 18:00:02 705 [Warning] Aborted connection 705 to db: 'friendica' user: 'friendica' host: 'localhost' (Got an error reading communication packets)
[12:38:48] <Mateusz Szymański> is you mariadb server up and running?
[12:59:37] <tonton> No Idea
[12:59:55] <tonton> Will check
[13:03:37] <tonton> yes mariadb is running according to systemctl status and ps.
[13:08:47] <tonton> ok, mariadb has a db called friendica, but it is empty, ie. no tables.
[13:17:32] <Mateusz Szymański> yeeeeah, for some reason `install` script does not seed the database
[13:19:23] <Mateusz Szymański> naively you can run the missing commands manually but I would lean towards creating an issue
[13:22:30] <Mateusz Szymański> 'naive' solution being
```
sudo yunohost app shell friendica
mv config/local.config.php .
php8.2 bin/console.php autoinstall -f local.config.php
```

[13:28:35] <tonton> Thanks! I'll see if I can find my github user to send an issue.
[14:08:11] <tonton> Mateusz Szymański: I would like to mention your help in the bug, are you comfortable with me doing that?
[14:15:43] <retiolus> Bonjour, j'essaye d'exposer mon réseau local avec wireguard (server) que j'ai installé sur mon serveur YunoHost, mais je n'y arrive pas.

La config du serveur est celle par défaut au moment de l'installation, voici le client que j'ai créé :

```
[Interface]
Address = 10.10.10.1/32,fd42::1/128
PrivateKey = caché
MTU = 1450

[Peer]
PublicKey = caché
PresharedKey = caché
AllowedIPs = 192.168.2.202/32
Endpoint = 80.67.169.301:8095
PersistentKeepalive = 15
```

Quand je m'y connecte, je n'ai ni internet, ni arrive à ping le client 192.168.2.202....

L'objectif est que le client que se connecte au serveur wireguard est accès à une ou plusieurs machines sur ce réseau, rien d'autre, tout le trafic n'a pas à passer à travers le VPN.
[14:16:50] <Mateusz Szymański> > <@tonton:envs.net> Mateusz Szymański: I would like to mention your help in the bug, are you comfortable with me doing that?

go ahead if you feel like it ;)
[14:24:41] <tonton> done: https://github.com/YunoHost-Apps/friendica_ynh/issues/137

And your "naive" solution worked. :)
[18:31:40] <retiolus> > <@retiolus:mozilla.org> Bonjour, j'essaye d'exposer mon réseau local avec wireguard (server) que j'ai installé sur mon serveur YunoHost, mais je n'y arrive pas.
>
> La config du serveur est celle par défaut au moment de l'installation, voici le client que j'ai créé :
>
> ```
> [Interface]
> Address = 10.10.10.1/32,fd42::1/128
> PrivateKey = caché
> MTU = 1450
>
> [Peer]
> PublicKey = caché
> PresharedKey = caché
> AllowedIPs = 192.168.2.202/32
> Endpoint = 80.67.169.301:8095
> PersistentKeepalive = 15
> ```
>
> Quand je m'y connecte, je n'ai ni internet, ni arrive à ping le client 192.168.2.202....
>
> L'objectif est que le client que se connecte au serveur wireguard est accès à une ou plusieurs machines sur ce réseau, rien d'autre, tout le trafic n'a pas à passer à travers le VPN.

J'ai ouvert un issue sur le forum avec plus d'infos : https://forum.yunohost.org/t/cant-access-yunohost-local-network-through-wireguard-server/29127/1