Hello all,
Hope someone can help me solve my problem. I have two jails (ezjail) on a FreeBSD 11.1 host (UFS): one running Apache 2.4 (192.168.0.2) and the other one running MariaDB 10.2 (192.168.0.3). The Apache jail has PHP 7.2 and Nextcloud 12. Nextcloud is running fine. No problems there.
However, the Nextcloud project and some other websites suggest running a caching service for optimum performance e.g. Nextcloud: Configuring Memory Caching
I have installed Redis in the MariaDB jail, but it needs to talk the Apache jail.
I hae added the following to the nextcloud config file (/usr/local/www/apache24/data/nextcloud/config/config.php) ?
Redis is running and added to rc.conf in the MariaDB jail.
When entering
If i understand things correctly there's no such thing as a 127.0.0.1 local loopback between jails.
When I add these lines, the Nextcloud website stops working. There are no issues in /var/log/httpd-error.log wrt Nextcloud?
My question is how can I fix this and get redis to connect to the apache jail?
Thank you so much in advance.
Hope someone can help me solve my problem. I have two jails (ezjail) on a FreeBSD 11.1 host (UFS): one running Apache 2.4 (192.168.0.2) and the other one running MariaDB 10.2 (192.168.0.3). The Apache jail has PHP 7.2 and Nextcloud 12. Nextcloud is running fine. No problems there.
However, the Nextcloud project and some other websites suggest running a caching service for optimum performance e.g. Nextcloud: Configuring Memory Caching
I have installed Redis in the MariaDB jail, but it needs to talk the Apache jail.
I hae added the following to the nextcloud config file (/usr/local/www/apache24/data/nextcloud/config/config.php) ?
Code:
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' => array(
'host' => '192.168.0.2',
'port' => 6379,
),
When entering
redis-cli
Code:
root@mariadbserver:~ # redis-cli
Could not connect to Redis at 127.0.0.1:6379: Connection refused
If i understand things correctly there's no such thing as a 127.0.0.1 local loopback between jails.
When I add these lines, the Nextcloud website stops working. There are no issues in /var/log/httpd-error.log wrt Nextcloud?
My question is how can I fix this and get redis to connect to the apache jail?
Thank you so much in advance.