Commit graph

1656 commits

Author SHA1 Message Date
Alexandre Aubin
7061c4c3fe
Improve systemd settings for slapd (#933) 2020-04-17 14:40:53 +02:00
Maniack Crudelis
f90a238973
Update data/helpers.d/php
Co-Authored-By: JimboJoe <jimmy@monin.net>
2020-04-17 12:02:11 +02:00
Maniack Crudelis
0a3e7aa88b
Update data/helpers.d/php
Co-Authored-By: JimboJoe <jimmy@monin.net>
2020-04-17 12:01:50 +02:00
Alexandre Aubin
2c26961314 Fix bad copy pasta for string key 2020-04-17 03:20:40 +02:00
Alexandre Aubin
4306db7cf1 Be more flexible about SPF record: just 'a mx -all' is enough, no need to specify IP. (also fix TXT record validation in diagnosis) 2020-04-17 03:20:40 +02:00
Alexandre Aubin
dd7b42d3e8 Add ipv6 check for ports 2020-04-17 03:20:40 +02:00
Alexandre Aubin
be0da3b9dc Only report an INFO is domain ain't accessible in IPv6 and there's in fact no AAAA record set yet 2020-04-17 03:20:40 +02:00
Alexandre Aubin
4e64e2ccfd Save a per-record result for DNS diagnosis and report missing AAAA as warning only 2020-04-17 03:20:40 +02:00
Alexandre Aubin
e8730ad92b Correctly handle cases where domain works in IPv4 but not IPv6 or viceversa 2020-04-17 03:20:40 +02:00
Alexandre Aubin
7f3cc33487 Add a static method to call remote diagnosis and supports ipv4-only or ipv6-only check 2020-04-17 03:20:40 +02:00
Alexandre Aubin
8e46b536dc Somewhat cleaner hack to check the status of those damn services that aren't the real services... 2020-04-17 03:20:40 +02:00
Alexandre Aubin
a85c15dd0b Update data/hooks/diagnosis/50-systemresources.py
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-17 03:20:40 +02:00
Alexandre Aubin
4787f0ce04 Rework diagnosis of system resources 2020-04-17 03:20:40 +02:00
Alexandre Aubin
a03ee5b912 Be able to restart services from the webadmin 2020-04-17 03:20:40 +02:00
Alexandre Aubin
416968bb28 Improve regenconf diagnosis 2020-04-17 03:20:40 +02:00
Alexandre Aubin
92d9d49a05 Fix resolvconf check 2020-04-17 03:20:40 +02:00
Alexandre Aubin
bfe3f415ca Report bad XMPP DNS records as warning for now 2020-04-17 03:20:40 +02:00
Alexandre Aubin
16b2340441 Uhoh typo again 2020-04-17 03:20:40 +02:00
Alexandre Aubin
093ccd8020 Make sure that there's no AAAA records when no ipv6 2020-04-17 03:20:40 +02:00
Alexandre Aubin
ae82fe3693 Improve the way we check DNS records to avoid false negative on TXT or MX 2020-04-17 03:20:40 +02:00
Alexandre Aubin
d16dab1c44 Uhoh typo 2020-04-17 03:20:40 +02:00
Alexandre Aubin
42293fcce3 Attempt to detect hairpinning 2020-04-17 03:20:40 +02:00
Alexandre Aubin
2f0a95645a Hmpf boring resolvconf shit 2020-04-17 03:20:40 +02:00
Alexandre Aubin
f9dd634ebe Detect if nginx conf does not include well-known diagnosis location 2020-04-17 03:20:40 +02:00
Alexandre Aubin
8cb2640872 Fix usage of systemd-detect-virt on baremetal 2020-04-17 03:20:40 +02:00
Alexandre Aubin
7c3cce6bf9 Try to diagnose and add details about global and local IPs 2020-04-17 03:20:40 +02:00
Alexandre Aubin
3cff370c62 Add some bits of magic to simplify the way we yield test items 2020-04-17 03:20:40 +02:00
Alexandre Aubin
f0c0f63bb4 Let's use dict for details data, much better for semantic when defining strings etc... 2020-04-17 03:20:40 +02:00
Alexandre Aubin
8e83f8aa29 Add a 'yunohost diagnosis get' to get one specific raw info 2020-04-17 03:20:40 +02:00
Maniack Crudelis
05503d2f8e
fpm_service name 2020-04-17 00:48:32 +02:00
Maniack Crudelis
f57b302299
Update data/helpers.d/php
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-17 00:40:00 +02:00
Maniack Crudelis
df47040462
Allow to overwrite pm.max_children 2020-04-14 12:47:29 +02:00
Maniack Crudelis
8005429dc4
Update php 2020-04-13 20:50:58 +02:00
Maniack Crudelis
a62513b0b0
Clean after conflict 2020-04-13 16:21:45 +02:00
Maniack Crudelis
40bb0795bd
Merge branch 'stretch-unstable' into dedicated_php_service 2020-04-13 16:07:08 +02:00
Kayou
f6377b388d
Merge pull request #881 from YunoHost/update_php_helpers
New helpers for PHP and extra apt repo
2020-04-13 15:53:22 +02:00
Maniack Crudelis
613142c342 Dedicate log for each php service 2020-04-13 13:37:00 +02:00
Maniack Crudelis
7f48631c3f Optionnal dedicated service 2020-04-13 13:36:33 +02:00
Maniack Crudelis
ab2f918a8c
Missing $ 2020-04-13 10:46:37 +02:00
Maniack Crudelis
4b3f7a1ddd
Move YNH_DEFAULT_PHP_VERSION before the comment for YNH_DEFAULT_PHP_VERSION 2020-04-13 10:45:42 +02:00
Maniack Crudelis
71743d211b
Update data/helpers.d/php 2020-04-13 10:44:56 +02:00
Kayou
b20b7f3a85
Update php 2020-04-12 20:03:09 +02:00
Kayou
6c9187e7e4
Update php 2020-04-12 17:43:33 +02:00
Alexandre Aubin
5091905329
Update data/helpers.d/php
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-12 17:22:57 +02:00
Kay0u
ef2f4b2a6e
some hooks use helpers without php 2020-04-12 16:52:23 +02:00
Maniack Crudelis
21c3cc4a53 Store fpm_footprint and fpm_usage 2020-04-12 00:29:47 +02:00
Alexandre Aubin
bf291a0c50 Add 'yunohost tools versions' to have a simple way to fetch version from the webadmin 2020-04-11 23:25:51 +02:00
Maniack Crudelis
49d9832f0b Better apt logging 2020-04-11 20:53:16 +02:00
Maniack Crudelis
7154bca33c Fix php migration, integrate --package= to ynh_add_fpm_config 2020-04-11 20:52:52 +02:00
Maniack Crudelis
7b38b064d7 Fixes and enhancements 2020-04-11 01:54:32 +02:00