Commit 9d70d99c authored by markus.wagner's avatar markus.wagner
Browse files

fixes for 7.6.3

parent d3eec748
# shellcheck disable=SC2034
# This file contains default configuration variables
# You can modify the config by either changing them here or
# using each shell scripts arguments
......@@ -13,9 +15,9 @@ OX_ENV_NOREPLY_PASSWORD=secret
# Database specific configuration
# Choose which DB type should be installed (mysql | mariadb)
DATABASE_TYPE=mariadb
DATABASE_TYPE=mysql
# Choose which DB version should be installed
DATABASE_VERSION=10.1
DATABASE_VERSION=5.6
DATABASE_ROOT_USER=root
DATABASE_ROOT_PASS=secret
DATABASE_HOST_NAME=localhost
......
......@@ -48,6 +48,7 @@ if [ ! -f ${INIT_STATE_FILE} ]; then
# enable cluster functionality
echo "Enabling Hazelcast Cluster ..."
setOXProperty com.openexchange.hazelcast.enabled true /opt/open-xchange/etc/hazelcast.properties
setOXProperty com.openexchange.hazelcast.group.name "qa" /opt/open-xchange/etc/hazelcast.properties
setOXProperty com.openexchange.hazelcast.network.join multicast /opt/open-xchange/etc/hazelcast.properties
setOXProperty com.openexchange.hazelcast.network.interfaces "" /opt/open-xchange/etc/hazelcast.properties
setOXProperty com.openexchange.hazelcast.configuration.map.asyncBackupCount 1 /opt/open-xchange/etc/hazelcast.properties
......
......@@ -52,7 +52,7 @@ function detectDistribution {
export DIST_VERSION="wheezy"
export ANY_DEB=true
export HTTPD="apache2"
export HTTPD_CONF_PATH=/etc/${HTTPD}/conf-enabled/
export HTTPD_CONF_PATH=/etc/${HTTPD}/conf.d/
export HTTPD_SITES_PATH=/etc/${HTTPD}/sites-enabled/
export HTTPD_WWWROOT_PATH=/var/www/html
export HTTPD_LOG_PATH=\$\{APACHE_LOG_DIR\}
......
......@@ -41,7 +41,7 @@ function installPackages {
if [[ true == "${ANY_DEB}" ]]; then
apt-get -qq update
apt-get -y install ${PACKAGES}
apt-get -y --force-yes install ${PACKAGES}
elif [[ true == "${ANY_SLES}" ]]; then
zypper clean
zypper ref
......
......@@ -71,7 +71,12 @@ esac
done
set -- "${POSITIONAL[@]}" # restore positional parameters
PACKAGES="open-xchange-appsuite open-xchange-appsuite-help* "
if [[ true == "${ANY_DEB}" ]]; then
PACKAGES="open-xchange-appsuite open-xchange-appsuite-help-de-de open-xchange-appsuite-help-en-us open-xchange-appsuite-help-fr-fr "
else
PACKAGES="open-xchange-appsuite open-xchange-appsuite-help* "
fi
installPackagesRetry "${PACKAGES}"
# # Install frontend realted documents packages
......@@ -92,7 +97,7 @@ if [[ true == "${ANY_DEB}" ]] || [[ true == "${ANY_SLES}" ]]; then
a2enmod headers 1> /dev/null
a2enmod rewrite 1> /dev/null
a2enmod ssl 1> /dev/null
a2enmod proxy_wstunnel 1> /dev/null
# a2enmod proxy_wstunnel 1> /dev/null
if [[ true == "${ANY_SLES}" ]]; then
if [[ "${DIST}" == "SLES12" ]]; then
gensslcert
......@@ -124,9 +129,9 @@ fi
if [[ true == "${ANY_DEB}" ]] || [[ "${DIST}" == "SLES12" ]]; then
a2enmod access_compat 1> /dev/null
a2enmod slotmem_shm 1> /dev/null
a2enmod lbmethod_byrequests 1> /dev/null
# a2enmod access_compat 1> /dev/null
# a2enmod slotmem_shm 1> /dev/null
# a2enmod lbmethod_byrequests 1> /dev/null
a2enmod filter 1> /dev/null
if [[ ! -d /var/lock/apache2 ]]; then
......
......@@ -73,7 +73,12 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
writeBackendRepository
PACKAGES="open-xchange open-xchange-osgi open-xchange-xerces open-xchange-system open-xchange-core open-xchange-grizzly open-xchange-admin open-xchange-admin-soap open-xchange-authorization-standard open-xchange-authentication-database open-xchange-passwordchange-database open-xchange-l10n-en-us open-xchange-l10n-de-de open-xchange-sessionstorage-hazelcast open-xchange-websockets-grizzly open-xchange-pns-transport-websockets open-xchange-imap open-xchange-pop3 open-xchange-smtp open-xchange-mailfilter open-xchange-push-imapidle open-xchange-dav open-xchange-manage-group-resource open-xchange-subscribe open-xchange-unifiedmail open-xchange-calendar-printing open-xchange-dataretrieval open-xchange-drive open-xchange-drive-comet open-xchange-oauth open-xchange-messaging open-xchange-file-distribution open-xchange-appsuite-manifest open-xchange-appsuite-backend open-xchange-guidedtours open-xchange-appsuite-l10n-en-us open-xchange-appsuite-l10n-de-de open-xchange-rest nodejs"
if [[ true == "${ANY_DEB}" ]]; then
PACKAGES="open-xchange open-xchange-osgi open-xchange-xerces open-xchange-system open-xchange-core open-xchange-grizzly open-xchange-admin open-xchange-admin-soap open-xchange-authorization-standard open-xchange-authentication-database open-xchange-passwordchange-database open-xchange-l10n-en-us open-xchange-l10n-de-de open-xchange-sessionstorage-hazelcast open-xchange-imap open-xchange-pop3 open-xchange-smtp open-xchange-mailfilter open-xchange-push-imapidle open-xchange-dav open-xchange-manage-group-resource open-xchange-subscribe open-xchange-unifiedmail open-xchange-calendar-printing open-xchange-dataretrieval open-xchange-drive open-xchange-drive-comet open-xchange-oauth open-xchange-messaging open-xchange-file-distribution open-xchange-appsuite-manifest open-xchange-appsuite-backend open-xchange-guidedtours open-xchange-appsuite-l10n-en-us open-xchange-appsuite-l10n-de-de open-xchange-rest"
else
PACKAGES="open-xchange open-xchange-osgi open-xchange-xerces open-xchange-system open-xchange-core open-xchange-grizzly open-xchange-admin open-xchange-admin-soap open-xchange-authorization-standard open-xchange-authentication-database open-xchange-passwordchange-database open-xchange-l10n-en-us open-xchange-l10n-de-de open-xchange-sessionstorage-hazelcast open-xchange-websockets-grizzly open-xchange-pns-transport-websockets open-xchange-imap open-xchange-pop3 open-xchange-smtp open-xchange-mailfilter open-xchange-push-imapidle open-xchange-dav open-xchange-manage-group-resource open-xchange-subscribe open-xchange-unifiedmail open-xchange-calendar-printing open-xchange-dataretrieval open-xchange-drive open-xchange-drive-comet open-xchange-oauth open-xchange-messaging open-xchange-file-distribution open-xchange-appsuite-manifest open-xchange-appsuite-backend open-xchange-guidedtours open-xchange-appsuite-l10n-en-us open-xchange-appsuite-l10n-de-de open-xchange-rest nodejs"
fi
installPackagesRetry "${PACKAGES}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment