diff --git a/static/redis-server-ubuntu16.sh b/static/redis-server-ubuntu16.sh index 5a601716..ba71fef9 100644 --- a/static/redis-server-ubuntu16.sh +++ b/static/redis-server-ubuntu16.sh @@ -78,10 +78,10 @@ sed -i "s|);||g" $NCPATH/config/config.php # Add the needed config to Nextclouds config.php cat <> $NCPATH/config/config.php - 'memcache.local' => '\\NC\\Memcache\\Redis', + 'memcache.local' => '\\OC\\Memcache\\Redis', 'filelocking.enabled' => true, - 'memcache.distributed' => '\\NC\\Memcache\\Redis', - 'memcache.locking' => '\\NC\\Memcache\\Redis', + 'memcache.distributed' => '\\OC\\Memcache\\Redis', + 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '$REDIS_SOCK', diff --git a/testing/nextcloud_install_testing.sh b/testing/nextcloud_install_testing.sh index df182d9a..fdf5aec0 100644 --- a/testing/nextcloud_install_testing.sh +++ b/testing/nextcloud_install_testing.sh @@ -22,7 +22,7 @@ MYSQL_PASS=$(cat /dev/urandom | tr -dc "a-zA-Z0-9@#*=" | fold -w $SHUF | head -n PW_FILE=/var/mysql_password.txt # Directories SCRIPTS=/var/scripts -HTML=/var/www +HTML=/var/www/html NCPATH=$HTML/nextcloud NCDATA=/var/ncdata # Apache vhosts @@ -410,15 +410,15 @@ bash $SCRIPTS/security.sh rm $SCRIPTS/security.sh # Download and install Documents -if [ -d $NCPATH/apps/documents ]; then -sleep 1 -else -wget -q https://github.com/nextcloud/documents/archive/master.zip -P $NCPATH/apps -cd $NCPATH/apps -unzip -q master.zip -rm master.zip -mv documents-master/ documents/ -fi +#if [ -d $NCPATH/apps/documents ]; then +#sleep 1 +#else +#wget -q https://github.com/nextcloud/documents/archive/master.zip -P $NCPATH/apps +#cd $NCPATH/apps +#unzip -q master.zip +#rm master.zip +#mv documents-master/ documents/ +#fi # Enable documents #if [ -d $NCPATH/apps/documents ]; then