Commit graph

256 commits

Author SHA1 Message Date
Alexandre Aubin
ca89607d9d Make sure to stop the old mysql and that mariadb is started 2020-06-03 23:38:59 +02:00
Alexandre Aubin
e24191ce64 Make sure mysql is an alias to mariadb 2020-06-02 17:00:52 +02:00
Alexandre Aubin
17eec25ed2 Buuuurn glances 2020-05-28 20:48:01 +02:00
Alexandre Aubin
5a3b382fc9 Flag old etckeeper.conf as 'should not exist' in regenconf 2020-05-26 00:11:16 +02:00
Alexandre Aubin
dc2214953d Bigger time window for auto diagnosis to avoid server overload 2020-05-25 00:22:28 +02:00
Kay0u
85f1802ec9
[fix] empty services.yml file 2020-05-22 21:05:19 +02:00
Alexandre Aubin
e140546092 Hmgn need to make sure to write this on a new line 2020-05-14 19:13:08 +02:00
Alexandre Aubin
e67dc79197 Add the damn short hostname to /etc/hosts automagically 2020-05-14 01:47:34 +02:00
Alexandre Aubin
aecbb14aa4 Add a --human-readable option to diagnosis_show() and a --email to diagnosis_run() to email issues found by cron job 2020-05-09 01:46:28 +02:00
Alexandre Aubin
ba709be534
Merge pull request #963 from YunoHost/enforce-permissions-in-etc-yunhost
[fix] Enforce permissions for stuff in /etc/yunohost/
2020-05-08 04:15:10 +02:00
Alexandre Aubin
d8c2f436f9
Merge branch 'stretch-unstable' into misc-optimizations 2020-04-29 18:14:05 +02:00
Alexandre Aubin
31e868e82d Enforce permissions for stuff in /etc/yunohost/ 2020-04-29 03:49:37 +02:00
Alexandre Aubin
902dd0a548
Merge pull request #946 from YunoHost/be-more-robust-against-manually-modified-domain-conf
[fix] Be more robust against manually modified domain conf
2020-04-27 23:24:30 +02:00
Alexandre Aubin
ceab9bd1b3
Merge branch 'stretch-unstable' into fix-1516-separate-xmpp-vhosts 2020-04-27 18:03:34 +02:00
Alexandre Aubin
319898baf7 Feed domain list to regen-conf hooks directly through env to avoid having to call 'yunohost domain list' 2020-04-25 03:49:30 +02:00
Alexandre Aubin
cf32853f81 Fetch all cert-status at once because running a yunohost command takes ~3ish seconds per call 2020-04-25 03:44:26 +02:00
Alexandre Aubin
6d42baff38 Be more robust against broken config or service failing to start, show info to help debugging 2020-04-21 04:48:13 +02:00
Alexandre Aubin
3b0bd2e8f2
Merge pull request #923 from YunoHost/misc-enh-diagnosis
[enh] Misc improvements for diagnosis
2020-04-19 05:34:27 +02:00
Alexandre Aubin
7c758b72c9
Merge branch 'misc-enh-diagnosis' into enh-diagnosis-mail 2020-04-19 04:06:44 +02:00
ljf
e6f0091f59 [fix] Rename ipv6 mail settings + desc 2020-04-19 03:45:59 +02:00
ljf
4686673bb5 [enh] Be able to disable ipv6 for smtp 2020-04-19 02:30:23 +02:00
Alexandre Aubin
97ab8c91f8 Fix the fix for stupid 'search' stuff in resolvconf ... + let's in fact ignore it if it does exists in /etc/resolv.conf >.> 2020-04-19 02:03:35 +02:00
Alexandre Aubin
7061c4c3fe
Improve systemd settings for slapd (#933) 2020-04-17 14:40:53 +02:00
Alexandre Aubin
2f0a95645a Hmpf boring resolvconf shit 2020-04-17 03:20:40 +02:00
Kayou
887304919e
Merge pull request #917 from YunoHost/fix-acme-challenge-snippet
Get rid of domain-specific acme-challenge snippet, use a single snippet included in every conf
2020-04-09 21:07:50 +02:00
Alexandre Aubin
b2de9a9d40 Merge branch 'stretch-stable' into stretch-unstable 2020-04-09 18:04:58 +02:00
Alexandre Aubin
be88a2835a Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2020-04-09 14:06:55 +02:00
Matthew DeAbreu
1f623830b3 Update 12-metronome
simplify change by reordering operations
2020-04-09 14:01:21 +02:00
Matthew DeAbreu
031f8a6e38 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.
2020-04-09 13:59:03 +02:00
Alexandre Aubin
be8427d5a1
Gotta generate security.conf.inc during .deb deployment because it's needed by yunohost_admin.conf 2020-04-08 12:15:01 +02:00
pitchum
22c88dc47e Enable XMPP features only on "parent domains". 2020-04-06 20:43:32 +02:00
pitchum
748dcfd8c5 Setup XMPP components for each domain, not only the main domain. 2020-04-06 20:43:32 +02:00
Alexandre Aubin
3a7b93d8aa Get rid of domain-specific acme-challenge snippet, use a single snippet including in every conf 2020-04-06 18:09:14 +02:00
Alexandre Aubin
14ff4c6725
Merge pull request #831 from pitchum/xmpp-http-upload
XMPP http upload
2020-03-30 20:53:11 +02:00
Alexandre Aubin
abe9440b1b On some weird setup, this folder and content ain't readable by group ... gotta make sure to make rx for group other slapd will explode 2020-03-27 21:42:36 +01:00
Alexandre Aubin
e54ca72068 On some weird setup, this folder and content ain't readable by group ... gotta make sure to make rx for group other slapd will explode 2020-03-27 21:40:22 +01:00
pitchum
ada95f8fca http-upload only available on maindomain (for the moment). 2020-03-25 12:09:24 +01:00
Alexandre Aubin
af415e38e6 Factorize ciphers and headers configuration into a common file for all vhosts 2020-03-23 22:43:29 +01:00
Alexandre Aubin
27f6899b65 /var/www/xmpp-upload.{domain} -> /var/xmpp-upload/{domain} 2020-03-23 22:15:03 +01:00
pitchum
994f0ca1ef nginx + metronome config for http_upload 2020-03-22 08:36:33 +01:00
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
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
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
Luke Murphy
83b4be5345
Add setting to configure pop3 for dovecot 2019-11-10 20:57:46 +07:00
Alexandre Aubin
eb57a4ad9e Get rid of etckeeper 2019-09-19 19:51:27 +02:00
Étienne Mollier
f0440fbd6b Dynamically evaluate proper mariadb-server-<version> 2019-08-15 15:12:06 +02:00