I reinstalled the jail from scratch and got to the user interface with the sample files. After
Code:
su -m www -c 'php /usr/local/www/nextcloud/occ config:system:set memcache.local --value="\NC\Memcache\APCu"'
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
System config value memcache.local set to string \NC\Memcache\APCu
root@nextcloud:/usr/local/etc # su -m www -c 'php /usr/local/www/nextcloud/occ config:system:set memcache.locking --value="\NC\Memcache\Redis"'
An unhandled exception has been thrown:
Error: Class '\NC\Memcache\APCu' not found in /usr/local/www/nextcloud/lib/private/Memcache/Factory.php:86
Stack trace:
#0 /usr/local/www/nextcloud/lib/private/Server.php(383): OC\Memcache\Factory->__construct('3effa523056a7c4...', Object(OC\Log), '\\NC\\Memcache\\AP...', '\\NC\\Memcache\\AP...', NULL)
#1 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server))
#2 /usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('MemCacheFactory')
#3 /usr/local/www/nextcloud/lib/private/ServerContainer.php(89): OC\AppFramework\Utility\SimpleContainer->query('MemCacheFactory')
#4 /usr/local/www/nextcloud/lib/private/Server.php(1098): OC\ServerContainer->query('MemCacheFactory')
#5 /usr/local/www/nextcloud/lib/base.php(932): OC\Server->getMemCacheFactory()
#6 /usr/local/www/nextcloud/lib/base.php(657): OC::registerAutoloaderCache()
#7 /usr/local/www/nextcloud/lib/base.php(1092): OC::init()
#8 /usr/local/www/nextcloud/console.php(48): require_once('/usr/local/www/...')
#9 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...')
#10 {main}root@nextcloud:/usr/local/etc # cd ../www
The nexcloud web page now is completely blank. I copied the test.php file as discussed above and the page is still blank. Am I correct in assuming if there was a problem with the nginx.conf I wouldn't have gotten to the the web interface for nextcloud prior to entering the commands?
su -m www -c 'php /usr/local/www/nextcloud/occ config:system:set memcache.local --value="\OC\Memcache\APCu"'
su -m www -c 'php /usr/local/www/nextcloud/occ config:system:set memcache.locking --value="\OC\Memcache\Redis"'