Install Nextcloud 13.0.0 on Fedora 27
-
@JaredBusch said in Install Nextcloud 13.0.0 on Fedora 27:
Go back to your SSH session and update the NextCloud config.php file to tell it to use redis for the memory cache and file locking.
#add a line to nextcloud config.php to enable memory cache
nano /var/www/html/nextcloud/config/config.php
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'localhost',
'port' => 6379,
),It was good up until this point. Now it gives me an error
-
I think I must have buggered up the config.php somehow. What should this look like?
-
What should which piece look like?
-
@scottalanmiller what should the config.php contain
-
mine looks like it has too much stuff in it.
-
'memcache.locking' => '\OC\Memcache\Redis','memcache.locking' => '\OC\Memcache\Redis','memcache.locking' => '\OC\Memcache\Redis',<?php $CONFIG = array ( 'memcache.local' => '\OC\Memcache\Redis', 'memcache.local' => '\OC\Memcache\Redis', 'redis' => array( 'memcache.local' => '\OC\Memcache\Redis', 'redis' => array( 'host' => 'localhost', 'port' => 6379, ), 'redis' => array( 'host' => 'localhost', 'port' => 6379, ), 'host' => 'localhost', 'port' =>6379, ), 'instanceid' => 'oc6fqyizalj6', 'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83', 'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX', 'trusted_domains' => array ( 0 => 'nextcloud.gem.local', ), 'datadirectory' => '/var/www/html/nextcloud/data', 'dbtype' => 'mysql', 'version' => '15.0.0.10', 'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'ncadmin', 'dbpassword' => '***', 'installed' => true, );
-
Yup, way too much stuff in it
-
@Donahue Yours is ALL messed up. Here is an example of yours assembled into something that should work...
<?php $CONFIG = array ( 'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83', 'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX', 'trusted_domains' => array ( 0 => 'nextcloud.gem.local', ), 'datadirectory' => '/var/www/html/nextcloud/data', 'dbtype' => 'mysql', 'version' => '15.0.0.10', 'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'ncadmin', 'dbpassword' => '***', 'installed' => true, 'memcache.local' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', redis' => array( 'host' => 'localhost', 'port' => 6379, ), );
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
@Donahue Yours is ALL messed up. Here is an example of yours assembled into something that should work...
<?php $CONFIG = array ( 'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83', 'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX', 'trusted_domains' => array ( 0 => 'nextcloud.gem.local', ), 'datadirectory' => '/var/www/html/nextcloud/data', 'dbtype' => 'mysql', 'version' => '15.0.0.10', 'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'ncadmin', 'dbpassword' => '***', 'installed' => true, 'memcache.local' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', redis' => array( 'host' => 'localhost', 'port' => 6379, ), );
still doesnt work, is there a missing comma or something somewhere?
-
@Donahue got it. It was missing a single quote in front of redis, and also the instance ID
-
@Donahue said in Install Nextcloud 13.0.0 on Fedora 27:
@Donahue got it. It was missing a single quote in front of redis, and also the instance ID
I edited it all by hand, so pretty easy to miss something.
-
Guide works with Fedora 29. As always @JaredBusch guide works.
-
The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?
-
@WindowsGuy said in Install Nextcloud 13.0.0 on Fedora 27:
The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?
Should be on my github. maybe it got moved when I cleaned things up. let me look.
-
@WindowsGuy said in Install Nextcloud 13.0.0 on Fedora 27:
The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?
here:
wget https://raw.githubusercontent.com/sorvani/scripts/master/Nextcloud/nextcloud.conf