1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00
Commit graph

68 commits

Author SHA1 Message Date
Kayou
19ae3b021f
Fix notify_push after reboot/restart the service, create the folder /var/run/nextcloud via systemd 2024-09-01 10:51:41 +02:00
Kayou
d7d24034cf
Add notify push option (#417)
* add notify_push option

* self-test notify_push

* fix notify_app

* new permission hpb, some fixes

* fix the restore script

* fix restore²

* fix upgrade

* fix socket path

* Update doc/DISCLAIMER_fr.md

* split nginx conf

* use official helpers with modified args

* Auto-update READMEs

* update nginx conf, add new services

* add tests

* add arch var

* tests: enable_notify_push is false by default

* fix upgrade

* final_path -> install_dir

* fix socket nginx path

* add notify_push nginx conf before, so the reload in ynh_add_nginx_config load it

* fully functional version

* readd a removed fix

* run cron task after notify push setup

* Auto-update READMEs

* remove systemd files

* add notify push in config panel

* add cron again because to make notify push happy

* fix indent

* enable/disable the notify push path

* fix path unit

* exec only for nextcloud user

* move sock file to /var/run

* start notify-push after the watcher

* ²

* remove warning

* cron can sometimes fail when the database is not fully initialized, retries the cron job several times and catch catch the error on failure

* oupsie

* Apply suggestions from code review

Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com>

---------

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2024-08-27 14:52:11 +02:00
Kayou
55b5c7900f
only nextcloud is allowed to read the config file 2024-08-01 00:16:45 +02:00
Kayou
706d5071c6
find ... chmod is not faster, at least avoid to chown -R the data_dir in the upgrade script 2024-07-31 14:59:55 +02:00
Kayou
8d682cbdbc
fix find condition 2024-07-31 11:56:49 +02:00
Kayou
5dc5e8ba10
chown the root folder too 2024-07-30 18:30:19 +02:00
Kayou
e215d9c5c9
find files before chown them 2024-07-30 16:52:31 +02:00
OniriCorpe
f2d0e3145e move the nextcloud logs to /var/log 2024-02-27 22:48:32 +01:00
Éric Gaspar
5db216fa9d Update restore 2024-02-01 21:34:50 +01:00
Alexandre Aubin
bee14c8972 Simplify the overly complex mess about fpm_usage, fpm_footprint ... and fpm_free_footprint doesn't seem to even be something used anywhere 2024-01-08 23:10:11 +01:00
Éric Gaspar
195de62308 #584 2023-06-11 14:28:15 +02:00
Éric Gaspar
4854ab4ab5 Update restore 2023-06-02 13:13:32 +02:00
Éric Gaspar
825e67001f Update restore 2023-06-02 11:52:18 +02:00
Éric Gaspar
0a8bf02da8 fix data_dir 2023-06-02 09:30:41 +02:00
Éric Gaspar
a454fb36ba Merge branch 'testing' into v2 2023-03-08 10:09:10 +01:00
Éric Gaspar
cbc8b408e7 Revert "cleaning"
This reverts commit 9768c48345.
2023-02-24 15:42:26 +01:00
Éric Gaspar
9768c48345 cleaning 2023-02-24 15:27:50 +01:00
Éric Gaspar
993807bced cleaning 2023-02-10 21:57:45 +01:00
Éric Gaspar
eff9cce7c9 v2 2022-11-04 23:09:00 +01:00
Éric Gaspar
e877ce9c89 v2 2022-11-04 22:56:33 +01:00
Éric Gaspar
194aefccc5 Merge branch 'testing' into convert-mysql-charset 2022-10-31 12:59:04 +01:00
Éric Gaspar
f73f38a0c5
reorder script 2022-09-07 08:00:41 +02:00
Éric Gaspar
b2aa91c80f
Merge branch 'testing' into convert-mysql-charset 2022-09-06 20:28:14 +02:00
Éric Gaspar
3dfe44d4df
Merge branch 'testing' into convert-mysql-charset 2022-07-16 15:33:00 +02:00
Éric Gaspar
3b59475f71
Add db_user var 2022-06-14 14:59:47 +02:00
Alexandre Aubin
a11d530d03
Merge pull request #453 from YunoHost-Apps/2.22.1
22.2.3
2021-11-21 19:48:04 +01:00
ericgaspar
383f2a0045
Add --purge option 2021-11-14 16:01:21 +01:00
ericgaspar
94a633c81a
extra_php_dependencies 2021-11-14 15:55:55 +01:00
Alexandre Aubin
aceada3fb9
www-data needs access to final_path 2021-10-10 15:27:04 +02:00
Alexandre Aubin
9aaa75b9c4
Fix final_path perms 2021-10-01 04:26:23 +02:00
ericgaspar
7e8b0c9d7f Update restore 2021-09-08 07:33:51 +02:00
ericgaspar
414c17193f
Fix 2021-08-09 23:25:12 +02:00
ericgaspar
9f7badfdd0
Revert "Add rights"
This reverts commit 7fafb515d1.
2021-08-09 15:08:09 +02:00
ericgaspar
7fafb515d1
Add rights 2021-08-09 14:40:55 +02:00
Kay0u
80bb0a1051
add default_character_set parameter 2021-03-18 11:22:26 +01:00
Kay0u
e9e7015ed7
Fix the caldav regex 2020-12-18 12:32:24 +01:00
ericgaspar
70e7030a37
Add $phpversion 2020-12-16 11:16:00 +01:00
ericgaspar
dfe0624a71
fix 2020-11-19 21:36:22 +01:00
ericgaspar
8a52c9d401
Small typos 2020-10-03 12:11:28 +02:00
ericgaspar
8f7fb69e83
Minor typos 2020-09-13 12:41:43 +02:00
Maniack Crudelis
5ed80548de extra_php_dependencies 2020-04-12 12:41:57 +02:00
Maniack Crudelis
5bfea04d15 Migrate to new php helpers 2020-04-12 00:41:21 +02:00
Kay0u
f6a4218b76
update is_url_handled 2020-03-17 00:35:43 +01:00
Jimmy Monin
fb3559ea4a Rename variable to YNH_PHP_VERSION 2020-02-22 18:33:10 +01:00
Kay0u
d3028dbe3a 17.0.0 2019-09-28 00:12:29 +02:00
Maniack Crudelis
57225b8c6a Normalization from example_ynh 2019-05-12 21:40:00 +02:00
Maniack Crudelis
377037ce45 Handle well-known conflict 2019-05-06 01:11:18 +02:00
Jimmy Monin
493172ea4d Add fail2ban configuration 2019-03-24 22:57:40 +01:00
Maniack Crudelis
764209306b Add progression with ynh_print_info 2019-02-17 20:57:31 +01:00
Maniack Crudelis
00761efade Use php7 2019-02-16 17:21:15 +01:00