Commit graph

305 commits

Author SHA1 Message Date
Alexandre Aubin
97e5d3b992 Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2019-11-28 00:10:40 +01:00
Alexandre Aubin
615a164c06
Merge pull request #791 from decentral1se/add-pop3-setting
Add pop3.enabled setting
2019-11-25 16:19:36 +01:00
Alexandre Aubin
053d692319
Merge pull request #848 from mdeabreu/patch-1
[fix] metronome domain folder permissions
2019-11-25 16:09:18 +01:00
Matthew DeAbreu
3b9481ae2d
Update 12-metronome
simplify change by reordering operations
2019-11-22 09:02:01 -08:00
Alexandre Aubin
4ab3653dfb Add tip about how to fix / investigate broken services 2019-11-22 15:47:26 +01:00
Alexandre Aubin
a416044376 Add diagnosis cron job to be ran every 12 hours, managed from the regenconf 2019-11-22 14:58:11 +01:00
Matthew DeAbreu
7c09982d3d
ensure metronome owns domain dir
When adding new domains to Yunohost a directory for each newly added domain is created in `/var/lib/metronome` unfortunately since the directory is created with `sudo mkdir` that means `root:root` owns the directory. Metronome will now fail to write to the directory.
2019-11-20 09:52:01 -08:00
Alexandre Aubin
09bbd733b1 Disabling this report for now because it returns many warnings which are probably not important... 2019-11-20 18:38:23 +01:00
Alexandre Aubin
4636bd20e1 Add diagnosis details for issues detected for HTTP exposure 2019-11-20 17:12:23 +01:00
Alexandre Aubin
bb8b1b052d Using /var/log/daemon.log or /var/log/syslog is pointless, these files logs many different things. Instead, we shall always return the logs from journalctl 2019-11-17 16:39:12 +01:00
Alexandre Aubin
69b611bd28
Merge branch 'stretch-unstable' into improve-service-status-checks 2019-11-14 17:16:44 +01:00
Alexandre Aubin
cfabb83c0e Use Yunohost's server instead of tmp server 2019-11-14 15:40:48 +01:00
Luke Murphy
83b4be5345
Add setting to configure pop3 for dovecot 2019-11-10 20:57:46 +07:00
Alexandre Aubin
a9dd701824 Improve port diagnosis by adding a relation between ports and services 2019-11-08 22:29:21 +01:00
Alexandre Aubin
64aff46421 Merge branch 'stretch-unstable' into improve-service-status-checks 2019-11-08 22:17:12 +01:00
Alexandre Aubin
104bba3dd8 Sort services during diagnosis to avoid random order 2019-11-08 20:44:27 +01:00
Alexandre Aubin
65d6b02b56 Implement basic outgoing port 25 check for email stack 2019-11-08 19:22:54 +01:00
Alexandre Aubin
e578140172 Improve service diagnoser, report details related to configuration tests 2019-11-07 22:22:09 +01:00
Alexandre Aubin
08c23599e2 Improve yunohost package version diagnosis 2019-11-06 23:49:13 +01:00
Alexandre Aubin
51e7a56522 Improve metadata for diskusage tests 2019-10-13 18:42:45 +02:00
Alexandre Aubin
d6eb55d2a2 Add tmp dummy mail report so that the diagnoser kinda works instead of failing miserably 2019-10-11 20:05:10 +02:00
Alexandre Aubin
e67e9e27ba Hmm somehow there seem to be different version of ping supporting or not the -4 / -6 ... let's see if this workaroud works in all contexts 2019-10-10 16:48:58 +02:00
Alexandre Aubin
02d6a0212f Remove debug prints 2019-10-10 16:40:06 +02:00
Alexandre Aubin
3d7f37176c Remove debug prints 2019-10-10 16:23:38 +02:00
Alexandre Aubin
356f2b9ec1 Moar ideas 2019-10-10 16:16:59 +02:00
Alexandre Aubin
e0fa87cb36 Note for the future about trying to diagnose hairpinning 2019-10-10 16:16:59 +02:00
Alexandre Aubin
339b6d9cbe Moar notes about what could be implemented for mail diagnoser 2019-10-10 16:16:59 +02:00
Alexandre Aubin
d113b6a53f Adding some notes about diagnosis items to be implemented 2019-10-10 16:16:59 +02:00
Alexandre Aubin
47c7c72455 Add RAM and swap diagnosis + improve message for disk usage 2019-10-10 16:14:20 +02:00
Alexandre Aubin
33180d0947 Add base system diagnostic 2019-10-10 16:14:20 +02:00
Alexandre Aubin
b81cd4fc68 Add security diagnoser with meltdown checks 2019-10-10 16:13:13 +02:00
Alexandre Aubin
cee3b4de27 Add nginx -t check to regenconf diagnoser 2019-10-10 16:13:13 +02:00
Alexandre Aubin
4cbd1b06c2 Add a regenconf diagnoser to report manually modified files... 2019-10-10 16:13:13 +02:00
Alexandre Aubin
0dc1909c68 Misc small UX stuff 2019-10-10 16:13:13 +02:00
Alexandre Aubin
612a96e1e2 Yield one item per port open to be consistent with other diagnosers 2019-10-10 16:13:13 +02:00
Alexandre Aubin
91ec775ebb Implement basic dependency system between diagnoser 2019-10-10 16:13:13 +02:00
Alexandre Aubin
f050b3c5b8 First version of http exposure diagnosis 2019-10-10 16:13:13 +02:00
Alexandre Aubin
6c48c131a8 Fix small issues in port diagnoser 2019-10-10 16:12:50 +02:00
Alexandre Aubin
f690ff6e1e First version of port exposure diagnosis 2019-10-10 16:12:50 +02:00
Alexandre Aubin
35f6b77895 Reclarify ip diagnoser 2019-10-10 16:12:33 +02:00
Alexandre Aubin
d2bbb5a2b3 This 'args' things sounds like a big YAGNI after all 2019-10-10 16:12:33 +02:00
Alexandre Aubin
24f9d475b8 Implement a first version for disk usage check 2019-10-10 16:12:32 +02:00
Alexandre Aubin
1019e95b1d Implement a first version for services status check 2019-10-10 16:12:12 +02:00
Alexandre Aubin
aed53786f2 Make the PEP8 gods less angry 2019-10-10 16:11:20 +02:00
Alexandre Aubin
5f4450ab87 Add DNS resolution tests 2019-10-10 16:11:20 +02:00
Alexandre Aubin
4d5ace06db Add test that we can ping outside before talking to ip.yunohost.org 2019-10-10 16:11:20 +02:00
Alexandre Aubin
41c3b054ba Fix semantic, way too many things called 'report' ... 2019-10-10 16:11:20 +02:00
Alexandre Aubin
af23f53d82 Simplify / reorganize i18n management for report and description 2019-10-10 16:11:20 +02:00
Alexandre Aubin
0ce4eb0a27 Fix the return interface of diagnosis hooks 2019-10-10 16:09:16 +02:00
Alexandre Aubin
bd3a378d28 Use only ipv4 resolver for DNS records diagnosis 2019-10-10 16:09:16 +02:00