diff -Nur smeserver-nextcloud-1.1.0.old/createlinks smeserver-nextcloud-1.1.0/createlinks --- smeserver-nextcloud-1.1.0.old/createlinks 2020-11-08 10:29:10.080000000 -0500 +++ smeserver-nextcloud-1.1.0/createlinks 2020-11-08 10:42:05.233000000 -0500 @@ -9,15 +9,18 @@ event_templates("nextcloud-update", qw( /etc/httpd/conf/httpd.conf /etc/opt/remi/php72/php.d/20-opcache.ini + /etc/opt/remi/php73/php.d/20-opcache.ini /etc/crontab /etc/opt/remi/php71/php-fpm.d/www.conf /etc/opt/remi/php72/php-fpm.d/www.conf + /etc/opt/remi/php73/php-fpm.d/www.conf )); event_services("nextcloud-update", qw( httpd-e-smith sigusr1 php71-php-fpm reload - php72-php-fpm restart + php72-php-fpm reload + php73-php-fpm restart php-fpm reload )); diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-conf smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-conf --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-conf 2020-11-08 10:29:10.080000000 -0500 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-conf 2020-11-08 10:39:36.117000000 -0500 @@ -3,7 +3,7 @@ function OCC { params=$@; - source /opt/remi/php72/enable + source /opt/remi/php73/enable cd /usr/share/nextcloud/ TERM=dumb /usr/bin/OCC $params } diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-del-user smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-del-user --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-del-user 2020-11-08 10:29:10.080000000 -0500 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-del-user 2020-11-08 10:39:36.119000000 -0500 @@ -85,13 +85,13 @@ # delete user home access my @matching_keys = grep { defined $localmounts{$_}{'host'} && $localmounts{$_}{'host'} =~ m/localhost$/ && $localmounts{$_}{'share'} =~ m/$userName$/} keys %localmounts; while (my $bad = pop @matching_keys) { - system("TERM=dumb su - apache -s /bin/bash -c \"source /opt/remi/php72/enable; cd /usr/share/nextcloud/; php occ files_external:delete $bad -y \"") == 0 + system("TERM=dumb su - apache -s /bin/bash -c \"source /opt/remi/php73/enable; cd /usr/share/nextcloud/; php occ files_external:delete $bad -y \"") == 0 or ( $x = 255 , warn "Failed to delete (nextcloud) account $userName : $id .\n" ); } # delete user -system("TERM=dumb su - apache -s /bin/bash -c \"source /opt/remi/php72/enable; cd /usr/share/nextcloud/; php occ user:delete $id -y \"") == 0 +system("TERM=dumb su - apache -s /bin/bash -c \"source /opt/remi/php73/enable; cd /usr/share/nextcloud/; php occ user:delete $id -y \"") == 0 or ( $x = 255 , warn "Failed to delete (nextcloud) account $userName : $id .\n" ) if ($id ne ""); exit($x); diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/crontab/98nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/crontab/98nextcloud --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/crontab/98nextcloud 2020-11-08 10:29:10.081000000 -0500 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/crontab/98nextcloud 2020-11-08 10:39:36.119000000 -0500 @@ -1,5 +1,5 @@ # nextcloud cron -*/15 * * * * www scl enable php72 'php --define memory_limit=512M -f /usr/share/nextcloud/cron.php > /dev/null 2>&1' +*/15 * * * * www scl enable php73 'php --define memory_limit=512M -f /usr/share/nextcloud/cron.php > /dev/null 2>&1' # nextcloud db update -19 2 * * * www cd /usr/share/nextcloud ; echo 'y' | scl enable php72 'php --define memory_limit=512M occ db:convert-filecache-bigint > /dev/null 2>&1' +19 2 * * * www cd /usr/share/nextcloud ; echo 'y' | scl enable php73 'php --define memory_limit=512M occ db:convert-filecache-bigint > /dev/null 2>&1' diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15nextcloud --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15nextcloud 2020-11-08 10:29:10.081000000 -0500 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15nextcloud 2020-11-08 10:39:36.119000000 -0500 @@ -3,7 +3,7 @@ $OUT .=<<_EOF; Action phpnextcloud-fastcgi /php-cgi-bin/phpnextcloud-wrapper Alias /php-cgi-bin/phpnextcloud-wrapper /var/www/php-cgi-bin/phpnextcloud-wrapper -FastCgiExternalServer /var/www/php-cgi-bin/phpnextcloud-wrapper -socket /var/run/php-fpm/php72-nextcloud.sock -pass-header Authorization -idle-timeout 120 +FastCgiExternalServer /var/www/php-cgi-bin/phpnextcloud-wrapper -socket /var/run/php-fpm/php73-nextcloud.sock -pass-header Authorization -idle-timeout 120 _EOF } } diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2020-11-08 10:29:10.082000000 -0500 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2020-11-08 10:39:36.119000000 -0500 @@ -48,7 +48,7 @@ elsif ($fascgi_mod eq 'mod_proxy_fcgi'){ $php =<<'_EOF'; - SetHandler "proxy:unix:/var/run/php-fpm/php72-nextcloud.sock|fcgi://localhost" + SetHandler "proxy:unix:/var/run/php-fpm/php73-nextcloud.sock|fcgi://localhost" _EOF } diff -Nur smeserver-nextcloud-1.1.0.old/root/usr/bin/OCC smeserver-nextcloud-1.1.0/root/usr/bin/OCC --- smeserver-nextcloud-1.1.0.old/root/usr/bin/OCC 2020-11-08 10:29:10.081000000 -0500 +++ smeserver-nextcloud-1.1.0/root/usr/bin/OCC 2020-11-08 10:39:36.119000000 -0500 @@ -2,4 +2,4 @@ #!/bin/bash cd /usr/share/nextcloud -sudo -u www -s /usr/bin/php72 --define memory_limit=512M occ $@ +sudo -u www -s /usr/bin/php73 --define memory_limit=512M occ $@ diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/10base smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/10base --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/10base 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/opt/remi/php73/php.d/20-opcache.ini/10base 2018-03-20 07:10:08.000000000 -0400 @@ -0,0 +1,7 @@ +opcache.enable=1 +opcache.enable_cli=1 +opcache.interned_strings_buffer=8 +opcache.max_accelerated_files=10000 +opcache.memory_consumption=128 +opcache.save_comments=1 +opcache.revalidate_freq=1 diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2020-11-09 23:33:07.701000000 -0500 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2020-11-09 23:34:42.905000000 -0500 @@ -1,6 +1,6 @@ { -if ($PHP_VERSION eq '72'){ +if ($PHP_VERSION eq '73'){ if (($nextcloud{'status'} || 'disabled') eq 'enabled'){ my $max_upload_size = ($nextcloud{MaxUploadSize} || '4096'); $max_upload_size .= 'M' if ($max_upload_size =~ m/^\d+$/);