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

274 commits

Author SHA1 Message Date
Éric Gaspar
e8690ba2e0 handle mimetype migrations 2024-09-03 14:35:21 +02:00
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
4372e3db8c
Merge pull request #711 from YunoHost-Apps/speedup-chown
Avoid chown data_dir during the upgrade process
2024-08-01 14:09:52 +02:00
Kayou
d7f9b2c9fd
create a function for that 2024-08-01 11:53:16 +02:00
Kayou
5556fb6549
wait until nginx has actually remove the nextcloud conf during upgrade before checking the url_handled 2024-08-01 11:44:40 +02:00
Kayou
07f90a85f6
zblerg, the config file doesn't exist before install 2024-08-01 09:30:49 +02:00
Kayou
55b5c7900f
only nextcloud is allowed to read the config file 2024-08-01 00:16:45 +02:00
Kayou
30b2d8123a
we can avoid this chmod too i guess? 2024-07-31 15:13:04 +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
Kayou
ae916549ca
zblerg, do not modify system_addressbook_exposed config value in the upgrade script 2024-07-29 15:39:44 +02:00
Kayou
4fa1f991eb
another fix for system_addressbook_exposed, update the dav conf accordingly 2024-07-29 13:20:37 +02:00
Kayou
7f40b5a17b
migrate system_addressbook_exposed to boolean, fix upgrade test 2024-07-29 11:22:01 +02:00
Alexandre Aubin
f7c21e467e Fix again upgrade ending with Nextcloud being in PHP 8.2 ? 2024-06-27 11:35:00 +02:00
Alexandre Aubin
88fbb734c8 Indent 2024-06-27 11:33:57 +02:00
Alexandre Aubin
1ab6c01c98
Fix upgrade: php version is 8.3 starting from 29.x ? (#692) 2024-06-20 19:15:15 +02:00
tituspijean
38c2ecc365
Fix phpflags (#691) 2024-06-08 08:01:04 +02:00
Éric Gaspar
652d6de292 Update upgrade 2024-06-02 09:37:46 +02:00
ljf (zamentur)
830f904804
[fix] redirect logout (#636)
* [fix] Logout on sso if needed

* Auto-update README

* [fix] Bad path in patch

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: ericgaspar <junk.eg@free.fr>
2024-04-24 22:31:50 +02:00
77ad98dcd9 Remove ynh_smart_mktemp, just use a temporary directory just next to the install_dir 2024-03-08 23:53:12 +01:00
OniriCorpe
191e4ad13c make sure the log folder exists before moving the logs to it 2024-03-01 21:38:35 +01:00
OniriCorpe
e92e70a002 fix exec_occ config:system:set logfile 2024-02-28 02:54:53 +01:00
OniriCorpe
d4f998a22d formating 2024-02-27 23:14:46 +01:00
OniriCorpe
f2d0e3145e move the nextcloud logs to /var/log 2024-02-27 22:48:32 +01:00
Éric Gaspar
2c962ed564 Update upgrade 2024-02-01 21:35:46 +01:00
Éric Gaspar
bf43673ab9 cleaning 2024-01-30 00:01:57 +01:00
Alexandre Aubin
bab75661c1 Fix incorrect 'upgrade to nextcloud X.Y' message 2024-01-25 22:13:39 +01:00
Alexandre Aubin
c4d5a7dd87 Unecessary ynh_secure_remove because of previous mv ... 2024-01-25 22:11:22 +01:00
Alexandre Aubin
12b88c2748
Update upgrade: zgrompf 2024-01-25 19:12:47 +01:00
Alexandre Aubin
fc131c1b3b
Update upgrade: fix boring bug because of apt install piped into jq 2024-01-25 17:24:15 +01:00
Alexandre Aubin
eed5f66f01 Merge remote-tracking branch 'origin/testing' into check-app-compatibility-before-upgrade 2024-01-24 19:02:08 +01:00
Alexandre Aubin
54ecac7943
Merge branch 'testing' into filter-boring-occ-warnings 2024-01-24 18:58:54 +01:00
Alexandre Aubin
7fc9ed1ab2
Merge pull request #653 from YunoHost-Apps/new-source-format
Use new source format in manifest.toml + stop supporting upgrades from before 22.2
2024-01-24 18:58:19 +01:00
Alexandre Aubin
53aa80eb8d
Merge pull request #652 from YunoHost-Apps/fix-php-apt-dependency-confusion-during-upgrade
Fix PHP/APT dependency confusion when upgrading through many versions
2024-01-24 18:58:12 +01:00
Alexandre Aubin
3ee53e775b
Update upgrade: typo in helper doc >_> 2024-01-21 21:58:43 +01:00
Alexandre Aubin
a0c4d0c172
Update upgrade 2024-01-21 20:58:00 +01:00
Alexandre Aubin
7a1481de5a Use new source format in manifest.toml + stop supporting upgrades from before 22.2 2024-01-21 19:03:37 +01:00
Alexandre Aubin
c6d2e17c77
Fix PHP/APT dependency confusion when upgrading through many versions 2024-01-21 17:51:17 +01:00
Alexandre Aubin
94232f066d
Filter boring occ warnings during upgrade 2024-01-21 17:45:01 +01:00
Alexandre Aubin
d7e05b0022
Update scripts/upgrade 2024-01-17 02:04:44 +01:00
Alexandre Aubin
53eaa33618
Update scripts/upgrade: fix fetching of shipped app for current version 2024-01-17 02:02:57 +01:00
Alexandre Aubin
6e9e4d680e
Upgrade script: check that installed apps are compatible with the future version before actually starting the upgrade 2024-01-12 20:47:14 +01:00
Éric Gaspar
2cd5f4d85b cleaning 2024-01-12 18:30:43 +01:00
Alexandre Aubin
862ee4f08f Rework upgrade script to move the fpm config, nginx and all system configurations at the end 2024-01-09 19:53:18 +01:00
Alexandre Aubin
07ed2f2ecd No need to create the 'maintenance_mode' thing because there's a custom getter ... 2024-01-09 19:45:52 +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
Alexandre Aubin
f2829d02bc Zgrompf 2024-01-08 23:02:58 +01:00