Thursday, September 12, 2024
support@conference.yunohost.org
September
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
           

[05:30:33] <laguill13> > si tu connais un façon fiable et rapide pour réveiller un ordi, je suis intéressé 😺

J'ai activé wake on lan sur mon server et ma freebox ensuite je n'ai plus qu'à utilisé l'appli freebox connect pour le démarrer à distance.
Je n'ai pas ouvert de port du ma box pour le moment mais je pensais plus utiliser un vpn comme zerotier pour m'y connecter
[07:19:23] <Err404> Sauf que si ton serveur est planté ou qu'il perd le réseau tu ne peux pas forcer le reboot ou l'éteindre.
Wake on lan c'est seulement pour réveiller. (Ce qui est déjà l'objectif principal 😃)
[08:05:02] <Salamandar> > si tu connais un façon fiable et rapide pour réveiller un ordi, je suis intéressé 😺

WoL non ?
[08:09:14] <laguill13> > Sauf que si ton serveur est planté ou qu'il perd le réseau tu ne peux pas forcer le reboot ou l'éteindre.
> Wake on lan c'est seulement pour réveiller. (Ce qui est déjà l'objectif principal 😃)

Pour ça je pensais utiliser un VPN et me connecter à mon réseau à distance en ssh ensuite
[08:15:46] <laguill13> avez vous un tuto pour éditer les fichier /etc/systemd/sleep.conf et /etc/systemd/logind.conf ?
Je voudrais mettre en place le mode suspend-then-hibernate
[08:17:36] <laguill13> il faut de l'espace swap aussi pour ça non ?
Actuellement j'ai 975Mo de swap avec 8Go de Ram
Mon système tourne sur un ssd et les data sur un hdd
[08:24:59] <Err404> oui, le mode hibernation va utiliser la swap
[08:25:45] <Err404> et pour éviter d'user le ssd avec la swap, tu peux peut être activer la swap seulement avant de passer en hibernation (`swapon -a`)
[08:26:19] <Err404> WoL c'est fiable et rapide comment?
[08:26:28] <Salamandar> > et pour éviter d'user le ssd avec la swap, tu peux peut être activer la swap seulement avant de passer en hibernation (`swapon -a`)

sinon tu configures la swappiness correctement ;)
[08:27:14] <Salamandar> > WoL c'est fiable et rapide comment?

bin ça dépend de la machine / carte réseau. Mais c'est standardisé, certaines box peuvent être configurées pour faire du routage de paquets WoL (par défaut c'est bloqué évidemment), et d'expérience avec mon pc ça fonctionnait bien. Ethernet uniquement of course, pas wifi.
[08:28:01] <Salamandar> > Le réveil est déclenché quand la carte Ethernet de l'ordinateur reçoit un paquet magique qui est une trame de données Ethernet contenant les octets FF FF FF FF FF FF suivis de seize répétitions de l'adresse MAC de la cible, puis d'un mot de passe (si nécessaire) de quatre ou six octets.
[08:28:39] <Err404> ah il y a la possibilité d'avoir un mot de passe, c'est intéressant (même si je crains qu'il passe en clair sur le réseau :p)
[08:29:36] <Salamandar> > ah il y a la possibilité d'avoir un mot de passe, c'est intéressant (même si je crains qu'il passe en clair sur le réseau :p)

c'est probable. Après bon c'est pas un truc critique…
[08:30:40] <Err404> sur mon serveur le mot de passe pour l'intel AMT est limité à 8 caractères... c'est pas terrible non plus
[08:31:08] <Salamandar> l'amt c'est quand même plus critique
[08:31:19] <Salamandar> mais bon déjà c'est un truc qui fait téléphone maison…
[08:32:00] <Err404> par contre comme j'ai des services qui tournent en permanence (vpn, web, matrix, dns...) je suis obligé de laisser mon serveur allumé tout le temps, il n'y a que mon serveur de sauvegarde que je passe en veille
[08:32:00] <Salamandar> https://www.zdnet.fr/actualites/faille-dans-amt-nouvelles-inquietudes-sur-la-securite-des-modules-intel-39862716.htm
[09:10:26] <Aleks (he/him/il/lui)> computers were a mistake
[12:57:59] <rustdesk> 啥玩意?
[12:58:32] <rustdesk>
[12:59:06] <rustdesk> 到底是谁?
[12:59:39] <Salamandar> 你是什​​么意思 ?
[13:26:21] <Mateusz Szymański> is sending images via matrix currently broken? I can't seem to DM image between Dendrite and Synapse (matrix.org)

Dendrite to Dentride works though 🤔
[13:30:09] <Salamandar> hmmm
[13:30:19] <Salamandar> there's the whole matrix.org authenticated media change at the moment
[13:30:22] <Salamandar> cinny was broken until today's release
[13:32:35] <Mateusz Szymański> thing is https://app.element.io/ still nopes out even for media that I upload (fails to render them in chat)
[13:33:03] <Mateusz Szymański> so does https://app.cinny.in/ as well
[13:34:50] <Salamandar> hmmm
[13:35:06] <Mateusz Szymański> ahhhh I get it now, it's Dendrite that's acting up failing to fetch the media, makes sense
[13:35:24] <Mateusz Szymański> OTOH this (matrix.org) account should be able to see images, right?
[13:35:58] <Salamandar> i suppose so
[15:59:56] <huskyz> I installed privatebin, copied the file conf.sample.php and renamed the copy to conf.php, made the changes I need (e.g. maximum burning time) but I don't see any changes. It still seems to respond to the rules in the conf.sample.php file, should I delete it maybe? thanks
[16:01:11] <huskyz> Apparently there doesn't seem to be a service to restart or maybe I'm missing it
[16:32:02] <Steve> Tried to install Moodle, the current version is 4.4.3.
I got a blank page, I guess that's a php problem.
Moodle docs say that the minimal php version is 8.1.0
Yunohost serves php 7.4.

Can I do something to have a working moodle?
[16:42:11] <tituspijean> > <@Dzsingisz:matrix.org> Tried to install Moodle, the current version is 4.4.3.
> I got a blank page, I guess that's a php problem.
> Moodle docs say that the minimal php version is 8.1.0
> Yunohost serves php 7.4.
>
> Can I do something to have a working moodle?

Moodle is served with php8.2 on YunoHost
Can you check your browser console and php logs?
(cf. The link the bot is about to send)
[16:54:02] <yunohelper> Hi! To help us volunteers help you, read about <a href="https://yunohost.org/en/help-me">how to ask for help</a>.<br />Notably, if you are getting an error, share its <em>full</em> log by pasting here the link to the page created by the YunoPaste buttons.<br />Thank you for you patience, and thank you for using YunoHost!
[16:54:07] <tituspijean> (That's a failure from the bot, here is the documentation page if needed: https://yunohost.org/en/community/asking_for_help_efficiently#show-errors-and-logs)
[16:54:29] <tituspijean> Too late botty. 🙃
[17:02:22] <Pierre Hunt> Hi everyone is there any "PAID FOR SUPPORT" freelancers out there to assist in configuring proper DNS settings
[17:42:35] <Steve> > <@titus:pijean.ovh> (That's a failure from the bot, here is the documentation page if needed: https://yunohost.org/en/community/asking_for_help_efficiently#show-errors-and-logs)

Should I send the installation log? Here is it: https://paste.yunohost.org/raw/ahopokaqux
[17:47:36] <Steve> I don't see Moodle among the services. 🤔
[17:48:11] <Steve> The browser console is empty too.
[18:34:15] <orhtej2> > <@Dzsingisz:matrix.org> Should I send the installation log? Here is it: https://paste.yunohost.org/raw/ahopokaqux

does the browser network console show any errors? accessible in your browser (Chromium/Firefox/etc), developer tools, network tab, force-refresh the page
[18:34:41] <orhtej2> Moodle as per log you sent use PHP 8.2 when installed from YNH, installation seem successful
[19:00:39] <Steve> I get http 500 error for mydomain.com/ and mydomain.com/favicon.ico
[19:00:56] <Steve> I also tried to install it on another yunohost instance, same thing happens there.
[20:01:20] <Steve> I found error message in /var/log/nginx/my_site-error.log:

`2024/09/12 12:55:13 [error] 12512#12512: *211 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(/var/www/moodle/config.php): Failed to open stream: Permission denied in /var/www/moodle/index.php on line 30; PHP message: PHP Fatal error: Uncaught Error: Failed opening required 'config.php' (include_path='.:/usr/share/php') in /var/www/moodle/index.php:30`

[21:37:21] <Steve> ChatGPT told me to:

```
sudo chown -R www-data:www-data /var/www/moodle
sudo chmod -R 755 /var/www/moodle
```

Now it works... 😅
[22:37:56] <Aleks (he/him/il/lui)> Good old "if you lost the keys for your door, just remove the door"