Alexandre Aubin
67bb386c39
Explicit that we wanna run this python code in 2.7, otherwise if you're in a python3 venv it may not find the yaml module
2019-11-25 18:27:01 +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
d50a69fe3e
Merge pull request #838 from YunoHost/improve-service-status-checks
...
[enh] Improve service status checks (and service add CLI)
2019-11-18 14:11:37 +01:00
Alexandre Aubin
9a8ad2a5a5
Merge pull request #834 from YunoHost/get-rid-of-app-status
...
Get rid of app's status.json
2019-11-18 14:10:52 +01:00
Alexandre Aubin
7986f61b14
Specific shit for mysql
2019-11-17 16:59:35 +01:00
Alexandre Aubin
a7a3e7b6ba
Try to keep this service list in alphabetic order or something
2019-11-17 16:39:41 +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
4e0dbe3134
Improve ynh_secure_remove to detect empty args instead of miserably saying 'Avoid deleting .'
2019-11-16 15:46:23 +01:00
Alexandre Aubin
6124d1b899
Only run these commands if the variables are not empty
2019-11-16 15:34:38 +01:00
Alexandre Aubin
3c76497003
Merge branch 'stretch-unstable' into get-rid-of-app-status
2019-11-16 15:24:24 +01:00
Alexandre Aubin
39e109a5b6
Merge branch 'stretch-unstable' into dump-app-debug-extract-from-the-core
2019-11-15 16:38:14 +01:00
Alexandre Aubin
5fbf567448
Merge pull request #840 from kay0u/permissions-helpers
...
[enh] Improve permission helpers
2019-11-15 13:56:14 +01:00
Alexandre Aubin
041d5ce684
Merge branch 'stretch-unstable' into remove-deprecated-helpers
2019-11-14 17:26:13 +01:00
Alexandre Aubin
69b611bd28
Merge branch 'stretch-unstable' into improve-service-status-checks
2019-11-14 17:16:44 +01:00
Alexandre Aubin
e70530a9db
Remove deprecated / useless option from 'service add', and add new ones for status and conf check and port exposure
2019-11-14 17:08:10 +01:00
Alexandre Aubin
cfabb83c0e
Use Yunohost's server instead of tmp server
2019-11-14 15:40:48 +01:00
Kay0u
4b602f28b4
fail if permission already exists
2019-11-11 09:56:09 +09:00
Luke Murphy
83b4be5345
Add setting to configure pop3 for dovecot
2019-11-10 20:57:46 +07:00
Kay0u
59879634da
Fix parameters
2019-11-10 22:08:33 +09:00
Kay0u
464621f275
Improve permission helpers
2019-11-10 21:34:57 +09:00
Alexandre Aubin
35a7c1db9f
Remove --show-status from app_info in actionsmap as well
2019-11-09 19:48:52 +01:00
Alexandre Aubin
f31c02cd64
Merge branch 'stretch-unstable' into future-proof-applist-system
2019-11-08 23:32:53 +01:00
Alexandre Aubin
a89fd44ab6
Use ss instead of netcat to check if a port is already used ... c.f. PR #827
2019-11-08 23:07:06 +01:00
Alexandre Aubin
33fdfa690e
Merge pull request #827 from kay0u/patch-2
...
[FIX] find udp port
2019-11-08 23:06:12 +01:00
Alexandre Aubin
9a95004efc
Merge branch 'stretch-unstable' into remove-deprecated-helpers
2019-11-08 22:58:37 +01:00
Alexandre Aubin
5a68250322
test-conf -> test_conf, and test-status -> test_status
2019-11-08 22:35:25 +01: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
e15d8e7262
Add test about configuration validity
2019-11-07 11:34:20 +01:00
Alexandre Aubin
d879d27208
Add test-status to have a custom status check for service like postfix and yunohost-firewall
2019-11-07 11:34:20 +01:00
Alexandre Aubin
08c23599e2
Improve yunohost package version diagnosis
2019-11-06 23:49:13 +01:00
Alexandre Aubin
fc53148070
Merge branch 'stretch-unstable' into new-diagnosis-system
2019-11-06 18:14:21 +01:00
Alexandre Aubin
0e98d37c49
Remove the whole monitoring / glances stuff
2019-11-05 23:41:04 +01:00
Alexandre Aubin
b630724ec9
Can't have duplicated routes
2019-11-04 22:32:30 +01:00
Alexandre Aubin
bc965dc9f6
Merge branch 'stretch-unstable' into maindomain_ux_feedback
2019-11-04 22:13:20 +01:00
Alexandre Aubin
62c955c675
Merge pull request #824 from YunoHost/burn-app-debug
...
Remove app_debug, unused stuff / not really relevant
2019-11-04 21:58:15 +01:00
Alexandre Aubin
717ec04f54
Move debug log dump from ynh_exit_properly to the core after failed app operation
2019-11-04 20:20:12 +01:00
Alexandre Aubin
515a8d2f65
Merge branch 'stretch-unstable' into future-proof-applist-system
2019-11-01 14:59:06 +01:00
Alexandre Aubin
a2563db0e6
Merge branch 'stretch-testing' into stretch-unstable
2019-10-29 15:50:51 +01:00
Alexandre Aubin
854e52c21e
More inclusive rule for this php/sury hack because php version got updated to deb9u6
2019-10-29 15:47:13 +01:00