/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.2.0-bz12611-bz12486.patch
ViewVC logotype

Annotation of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.2.0-bz12611-bz12486.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Apr 12 20:57:29 2024 UTC (7 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_2_0-31_el7_sme, smeserver-nextcloud-1_2_0-30_el7_sme, HEAD
* Fri Apr 12 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2.0-30.sme
- add maintenance windows start [SME: 12611]
  increase frequency of cron task every 5 min
- fix missing full path [SME: 12486]

1 jpp 1.1 diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-conf smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-conf
2     --- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-conf 2024-04-12 16:37:22.189000000 -0400
3     +++ smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-conf 2024-04-12 16:46:27.313000000 -0400
4     @@ -79,6 +79,9 @@
5     /usr/bin/occ config:system:set memcache.locking --value="\OC\Memcache\Redis"
6     /usr/bin/occ config:system:set --type=bool --value=true filelocking.enabled
7    
8     +# cron maintenance windows
9     +/usr/bin/occ config:system:set maintenance_window_start --type=integer --value=1
10     +
11     #samba needed folder to put gencache.tdb
12     if [ ! -d /var/www/.cache/samba ]; then
13     mkdir -p /var/www/.cache/samba
14     diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/etc/e-smith/templates/etc/crontab/98nextcloud smeserver-nextcloud-1.2.0/root/etc/e-smith/templates/etc/crontab/98nextcloud
15     --- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/templates/etc/crontab/98nextcloud 2024-04-12 16:37:22.190000000 -0400
16     +++ smeserver-nextcloud-1.2.0/root/etc/e-smith/templates/etc/crontab/98nextcloud 2024-04-12 16:45:29.485000000 -0400
17     @@ -1,5 +1,5 @@
18     # nextcloud cron
19     -*/15 * * * * www {
20     +*/5 * * * * www {
21     $OUT="/usr/bin/php81";
22     $version="26";
23     $search=qr/\s*'version'\s*=>\s*'([0-9]{2})\.[0-9]{1,2}.*/;
24     diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/usr/bin/occ smeserver-nextcloud-1.2.0/root/usr/bin/occ
25     --- smeserver-nextcloud-1.2.0.old/root/usr/bin/occ 2024-04-12 16:37:22.191000000 -0400
26     +++ smeserver-nextcloud-1.2.0/root/usr/bin/occ 2024-04-12 16:44:25.933000000 -0400
27     @@ -1,6 +1,6 @@
28     #!/bin/bash
29     majversion=$(/usr/bin/grep -Eo "'version'.*[0-9]{2}\." /usr/share/nextcloud/config/config.php |/usr/bin/grep -Eo "[0-9]{2}"|head -1)
30     -memory=$(config getprop nextcloud memory_limit|| echo "1024M")
31     +memory=$(/sbin/e-smith/config getprop nextcloud memory_limit|| echo "1024M")
32     myphp=/usr/bin/php81
33     if [[ $majversion -le '24' ]]; then
34     myphp=/usr/bin/php74

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed