Skip to content

Commit d4c5755

Browse files
author
Kristan Kenney
authored
Merge pull request hestiacp#1769 from jaapmarcus/fix/ugrade-script-remove-joomla
Fix issues on upgrade
2 parents 36ecd69 + 38c3f8d commit d4c5755

File tree

3 files changed

+2
-34
lines changed

3 files changed

+2
-34
lines changed

install/upgrade/versions/1.4.0.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ if [ -e "/etc/nginx/nginx.conf" ]; then
1212
if [ -z "$check" ]; then
1313
echo "[ * ] Enabling nginx FastCGI cache support..."
1414
sed -i 's/# Cache bypass/# FastCGI cache\n fastcgi_cache_path \/var\/cache\/nginx\/micro levels=1:2 keys_zone=microcache:10m max_size=1024m inactive=30m;\n fastcgi_cache_key \"$scheme$request_method$host$request_uri\";\n fastcgi_cache_methods GET HEAD;\n fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;\n fastcgi_ignore_headers Cache-Control Expires Set-Cookie;\n add_header X-FastCGI-Cache \$upstream_cache_status;\n\n # Cache bypass/g' /etc/nginx/nginx.conf
15-
sed -i 's/ fastcgi_cache_lock_timeout 5s;/ fastcgi_cache_lock_timeout 5s;\n fastcgi_cache_background_update on;\n fastcgi_cache_revalidate on;/g' /root/nginx.conf
16-
15+
sed -i 's/ fastcgi_cache_lock_timeout 5s;/ fastcgi_cache_lock_timeout 5s;\n fastcgi_cache_background_update on;\n fastcgi_cache_revalidate on;/g' /etc/nginx/nginx.conf
1716
fi
1817
fi
1918

@@ -167,6 +166,7 @@ if [ -d "$HESTIA/web/images/webapps/" ]; then
167166
rm -rf $HESTIA/web/src/app/WebApp/Installers/PrestashopSetup.php
168167
rm -rf $HESTIA/web/src/app/WebApp/Installers/SymfonySetup.php
169168
rm -rf $HESTIA/web/src/app/WebApp/Installers/WordpressSetup.php
169+
rm -rf $HESTIA/web/src/app/WebApp/Installers/Joomla
170170
fi
171171

172172

web/src/app/WebApp/Installers/Joomla/JoomlaSetup.php

Lines changed: 0 additions & 32 deletions
This file was deleted.
-5.33 KB
Binary file not shown.

0 commit comments

Comments
 (0)