Commit graph

1658 commits

Author SHA1 Message Date
Josué Tille
81d936f9a7 Backup/restore also slapd.ldif
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-06-05 02:58:53 +02:00
Josué Tille
2f863748fb Fix index config 2020-06-05 02:58:53 +02:00
Josué Tille
41fdc613c8 slapd.conf is no more used, but ldap.conf need to be saved/restored 2020-06-05 02:58:52 +02:00
Alexandre Aubin
853df5e859 Those single quotes were probably meant to be double quotes? 2020-06-05 02:58:52 +02:00
Alexandre Aubin
ec656c7eb3 Factorize the actual slapd regeneration 2020-06-05 02:58:52 +02:00
Alexandre Aubin
a289294818 Misc comment improvements? 2020-06-05 02:58:35 +02:00
Alexandre Aubin
bade095bec Improve comment about editing slapd.ldif 2020-06-05 02:57:50 +02:00
Josue-T
c3e8231d04 Update data/hooks/conf_regen/06-slapd
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-06-05 02:57:50 +02:00
Josué Tille
5b4da63504 [fix] Clean old files 2020-06-05 02:57:50 +02:00
Josué Tille
6093ab00a7 Rewrite slapd regen-conf for new config file 2020-06-05 02:57:50 +02:00
Josué Tille
2ea0809909 Rewrite LDAP configuration in LDIF format 2020-06-05 02:55:16 +02:00
Josué Tille
50ae2546ba Change file type of LDAP schema from 'schema' to ldif 2020-06-05 02:55:16 +02:00
Alexandre Aubin
625d53723d [firewall] Let's not disable nftables that makes the script crash if it's not installed and we don't really need to disable it anyway since it's already configured to conflict 2020-06-05 02:55:16 +02:00
Alexandre Aubin
2c4a8b7309 [firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall 2020-06-05 02:55:16 +02:00
Alexandre Aubin
e88aed7249 [psql] Upgrade postgresql helper to use version 11 2020-06-05 02:55:16 +02:00
Alexandre Aubin
3374e6539a [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-06-05 02:55:16 +02:00
Alexandre Aubin
6ef3520f8d [conf] Update nslcd and nsswitch stuff using new Buster's default configs + get rid of nslcd service, only keep the regen-conf part 2020-06-05 02:55:16 +02:00
Alexandre Aubin
dc0481e26a [conf] Small tweak in dovecot conf (deprecated settings) 2020-06-05 02:55:16 +02:00
Alexandre Aubin
2723d24576 [conf] Remove deprecated option in sshd conf, c.f. https://patchwork.openembedded.org/patch/139981/ 2020-06-05 02:55:16 +02:00
Alexandre Aubin
e7214b37f3 [conf] Automatically disable/stop systemd-resolved that conflicts with dnsmasq on fresh setups ... 2020-06-05 02:55:16 +02:00
Alexandre Aubin
d77da6a054 [cleanup] These arent used anywhere 2020-06-05 02:55:16 +02:00
Kay0u
d738f8bc90 [fix] Fix getopts and helpers 2020-06-05 02:54:43 +02:00
Alexandre Aubin
3ef8f743c9 Workaround for custom backup/restore hook issue 2020-06-05 02:54:43 +02:00
Alexandre Aubin
584abd474d It just make no sense to backup/restore the mysql password... 2020-06-05 02:54:43 +02:00
Alexandre Aubin
9d0c092481 Disable/skip ntp when inside a container 2020-06-05 02:50:51 +02:00
Alexandre Aubin
2d42480f7e Make sure to propagate change in slapd systemd conf during initial install 2020-06-04 19:24:50 +02:00
Alexandre Aubin
203bc01e0c
Merge pull request #1007 from SohKa/add-predefined-dh-group
Add pre-defined DHE group and set up Nginx to use it
2020-06-04 18:51:53 +02:00
Alexandre Aubin
1cfa815aaa
Propagate location change for ffdhe2048.pem 2020-06-04 18:44:02 +02:00
Alexandre Aubin
cc04c4b937
Rename dh2048.pem to ffdhe2048.pem 2020-06-04 18:42:40 +02:00
Alexandre Aubin
9906617aa1
Add comments about where the DH param comes from 2020-06-04 18:41:05 +02:00
yalh76
f0e204bcd3 Change to be consistent with mysql helper 2020-06-04 02:28:20 +02:00
Alexandre Aubin
55036fad2c Calling ynh_print_err in case of error didn't work, and we probably want a ynh_die here 2020-06-04 01:18:52 +02:00
Alexandre Aubin
3d66eaec01 Retry wget on non-critical failures to try to avoid tmp dns issues 2020-06-04 00:48:18 +02:00
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
03432349d7 Add -o Acquire::Retries=3 to fix some stupid issues happening sometimes 2020-06-03 19:29:32 +02:00
Alexandre Aubin
b52f5bc182
Merge pull request #1001 from YunoHost/fix_add_fpm_restore
Fix ynh_add_fpm_config with template in restore
2020-06-03 16:32:59 +02:00
Alexandre Aubin
e24191ce64 Make sure mysql is an alias to mariadb 2020-06-02 17:00:52 +02:00
Alexandre Aubin
852cd14c4b
Force external resolution for reverse DNS dig 2020-06-02 16:48:19 +02:00
Alexandre Aubin
17eec25ed2 Buuuurn glances 2020-05-28 20:48:01 +02:00
JimboJoe
94cecf682d
Update data/helpers.d/php
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-05-28 07:15:46 +02:00
Alexandre Aubin
d056954aed
Merge pull request #1006 from YunoHost/fix-sury-v99999
Fix sury v99999
2020-05-28 00:15:49 +02:00
Alexandre Aubin
5e4484ddcc
Merge pull request #1008 from larchange/stretch-unstable
Add logging and persistent as default config for new muc room
2020-05-27 23:54:43 +02:00
Alexandre Aubin
b3db4d92fc Bump server_names_hash_bucket_size to 128 to avoid nginx exploding for stupid reasons 2020-05-27 17:10:39 +02:00
Gabriel
a2b85b7523 Add logging and persistent as default config for new muc room 2020-05-26 19:07:09 +01:00
SohKa
d4bea7dd34 Add pre-defined DHE group and set up Nginx to use it 2020-05-26 19:17:03 +02:00
Kay0u
a64dfd5676
A better Pin for sury 2020-05-26 18:17:49 +02:00
Kay0u
6b7f299dc6
Revert "Ugly hack to workaround sury pinning issues when installing dependencies"
This reverts commit fc30d82df5.
2020-05-26 18:12:07 +02:00
Alexandre Aubin
8b169f138c Detect dyndns-domains managed by yunohost and advice to use yunohost dyndns update --force 2020-05-26 00:32:53 +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