Commit graph

611 commits

Author SHA1 Message Date
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
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
JimboJoe
94cecf682d
Update data/helpers.d/php
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-05-28 07:15:46 +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
Jimmy Monin
10d33d5753 Fix ynh_add_fpm_config with template in restore 2020-05-24 15:16:07 +02:00
Alexandre Aubin
6637c8a84d Tell systemctl to stfu about creating symlinks when enabling/disabling services 2020-05-23 13:52:08 +02:00
Alexandre Aubin
33667d7b1a
Merge pull request #998 from YunoHost/psql-ynh_psql_setup_db-password
Do not create a new password if the user already exists
2020-05-22 17:43:05 +02:00
Alexandre Aubin
2a631fa23d We don't need those color codes... and warnings are already warnings... 2020-05-22 13:59:28 +02:00
Alexandre Aubin
bdbf1822c7 Add --quiet, otherwise lines like -- Logs being will be thought as an arg by getopts 2020-05-22 13:56:50 +02:00
Alexandre Aubin
2bcfb5a15a Don't display the hostname when calling journalctl, this takes horizontal space for nothing 2020-05-22 13:40:53 +02:00
Kayou
bb8c7ebb6a
Do not create a new password if the user already exists 2020-05-22 13:39:46 +02:00
Kay0u
7ad9fbd5b9
[fix] helper doc 2020-05-20 15:21:46 +02:00
Alexandre Aubin
ea43b46352
Merge pull request #994 from YunoHost/ugly-hack-for-stupid-sury-issues
Ugly hack to workaround sury pinning issues when installing dependencies
2020-05-19 23:01:27 +02:00
Alexandre Aubin
dd3dd9569a
Merge pull request #993 from YunoHost/rework-postgresql-first-time-helper
[fix] Rework ynh_psql_test_if_first_run
2020-05-19 20:07:03 +02:00
Alexandre Aubin
94ea826518 Most of the time there's no .ini file and it still displays an info about the file not existing when attempting to remove it 2020-05-18 01:31:37 +02:00
Alexandre Aubin
fc30d82df5 Ugly hack to workaround sury pinning issues when installing dependencies 2020-05-18 00:41:05 +02:00
Alexandre Aubin
2d2b3e6bb6 Rework ynh_psql_test_if_first_run 2020-05-17 04:22:44 +02:00
Alexandre Aubin
5c8c07b8c9 More cleaning of app install logs: we don't really care about debug for ynh_wait_dpkg_free 2020-05-17 03:24:26 +02:00
Alexandre Aubin
9cbd368dca Tweak apt/dpkg options to avoid the shitload of lines about progress bar stuff in logs 2020-05-14 04:46:18 +02:00
Bram
42bc8c354a
Merge pull request #972 from YunoHost/wget-timeout
Add a timeout to wget in helpers
2020-05-04 14:23:36 +02:00
Alexandre Aubin
d29bf04e7c Add a timeout to wget in helpers 2020-05-03 17:37:33 +02:00
Alexandre Aubin
f21b85640b
Merge pull request #969 from YunoHost/ynh_get_ram-improvement
[enh] ynh_get_ram
2020-05-03 16:44:00 +02:00
Alexandre Aubin
b10b9b50a1
Merge pull request #970 from YunoHost/ynh_install_app_dependencies
[Epic Fix] ynh_install_app_dependencies
2020-05-03 16:42:22 +02:00
Kayou
cab6fb8b78
Update logging 2020-05-03 12:11:47 +02:00
Bram
94c9bf0f6d
Merge pull request #939 from YunoHost/nodejs_helper
Make nodejs helpers easier to use
2020-05-02 23:10:39 +02:00
Kayou
843e88c67d
[Epic Fix] ynh_install_app_dependencies 2020-05-02 14:50:00 +02:00
Kayou
8559fb6465
[enh] ynh_get_ram 2020-05-02 14:21:29 +02:00
Alexandre Aubin
acba1c4bc8
Comment about why not using ynh_die 2020-05-02 02:13:09 +02:00
Alexandre Aubin
e9f359e5f0 Call exit 1 directly instead of ynh_die to avoid a full arg parse just to exit.. 2020-04-30 05:14:29 +02:00
Alexandre Aubin
b8af97d7d1
Merge pull request #937 from tituspijean/patch-1
[enh] add dynamic variables to systemd helper
2020-04-29 18:15:14 +02:00
Alexandre Aubin
c04d3c3806
Remove comment about old lines that got replaced 2020-04-29 17:13:47 +02:00
Alexandre Aubin
d6e7295dfa
Merge branch 'stretch-unstable' into enh-postgresql-locale-misconfigured 2020-04-28 17:20:19 +02:00
Alexandre Aubin
ba73bd03b4
Update postgresql 2020-04-28 17:18:25 +02:00
Maniack Crudelis
f09a49ec2a
Merge branch 'stretch-unstable' into patch-1 2020-04-28 00:14:51 +02:00
Maniack Crudelis
34d19df5cd
Merge branch 'stretch-unstable' into nodejs_helper 2020-04-28 00:08:24 +02:00
Kayou
8501943f9c
Merge branch 'stretch-unstable' into clean_helpers 2020-04-27 23:40:27 +02:00
Alexandre Aubin
3c5475e5a1
Merge pull request #942 from YunoHost/fix_fail2start
Wait for fail2ban to reload
2020-04-27 23:25:32 +02:00
Maniack Crudelis
62bf67582b
Merge branch 'stretch-unstable' into clean_helpers 2020-04-27 23:09:44 +02:00
Alexandre Aubin
3d39023266
Merge pull request #813 from YunoHost/fix-psql-user-db-owner
[fix] Psql user should own the database
2020-04-27 22:20:12 +02:00
ljf (zamentur)
d6b2275b33
[enh] On 2 lines it's better 2020-04-27 18:30:33 +02:00
Kay0u
dd5699ee40
use ynh_port_available in ynh_find_port 2020-04-25 01:03:33 +02:00
Maniack Crudelis
b6daf0c448
ynh_die instead of false 2020-04-25 00:38:59 +02:00
Maniack Crudelis
a75af4896c
follow=name
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-25 00:35:39 +02:00
Maniack Crudelis
54aa6f8912
Typo
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-25 00:00:57 +02:00
Maniack Crudelis
1af4d20e1e
Typo
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-24 23:59:59 +02:00
Maniack Crudelis
defabdbecb
Missing argument
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-24 23:56:49 +02:00