charts
charts copied to clipboard
[Issue] NextCloud Application - Missing Redis DB
Hi !
This issue report is tied to discussion on TN Forum : https://www.truenas.com/community/threads/nextcloud-moved-from-truecharts-back-to-official.110820/
Context TrueNAS-SCALE-22.12.3.1 NextCloud Official App 27.0.0_1.6.31 Catalog:TRUENAS Train:charts
Issue Report Issue is displayed in NextCloud in "Security & Configuration warnings section"
The database is used for transactional file locking. To enhance performance, please configure memcache, if available. See the documentation :arrow_upper_right: 9 for more information.
Possible fix Install & embed Redis in initial installation + configure it in config.php settings
Having the same issue.
Same issue. I'm also assuming any manual changes to embed redis and changes to config will go away after a future upgrade.
I would personally prefer a separate app be created for redis. redis is really optional with nextcloud and there are other uses for redis.
To @aurijj20 , if you make your own container that embeds redis, put it into your own docker image library, then you will not lose your changes after a future upgrade. But it's on you to build the container and maintain it. I go the separate app route for redis myself. But I do build my own nextcloud containers as I have many other changes embedded. So many things you can do to nextcloud it's hard to build them all into a container in a flexible manner.
@sfatula - Fair. In that situation, there would be no concerns with changes to redis. But the same concern with the updates to config.php for NextCloud to use that redis container is going to go away when Nextcloud is upgraded.
Maybe an option in the original install of the chart to configure the use of redis, either embedded or point to your own redis container.
possible solution:
Set up the Redis app and add the following environment variables in the Nextcloud app:
REDIS_HOST
REDIS_HOST_PORT
REDIS_HOST_PASSWORD
(the password specified in the Redis app)
I see there is a community redis chart now. So, yes, setting the environment variables is all that is needed and in fact is what I haven been doing for my setup. It could also be setup within config.php in nextcloud.
solución posible:
Configure la aplicación Redis y agregue las siguientes variables de entorno en la aplicación Nextcloud:
REDIS_HOST
REDIS_HOST_PORT
REDIS_HOST_PASSWORD
(la contraseña especificada en la aplicación Redis)
this?
Name REDIS_HOST
Valor 127.0.0.1
REDIS_HOST_PORT
Valor 30036
REDIS_HOST_PASSWORD
Valor 123
???
solución posible:
Configure la aplicación Redis y agregue las siguientes variables de entorno en la aplicación Nextcloud:
REDIS_HOST
REDIS_HOST_PORT
REDIS_HOST_PASSWORD
(la contraseña especificada en la aplicación Redis)this?
Name
REDIS_HOST
Valor 127.0.0.1
REDIS_HOST_PORT
Valor 30036
REDIS_HOST_PASSWORD
Valor 123???
Server IP address is assigned by the DHCP server / router. Port which was assigned in the Redis application and password which was assigned in the Redis application
solución posible: Configure la aplicación Redis y agregue las siguientes variables de entorno en la aplicación Nextcloud:
REDIS_HOST
REDIS_HOST_PORT
REDIS_HOST_PASSWORD
(la contraseña especificada en la aplicación Redis)this? Name
REDIS_HOST
Valor 127.0.0.1REDIS_HOST_PORT
Valor 30036REDIS_HOST_PASSWORD
Valor 123 ???Server IP address is assigned by the DHCP server / router. Port which was assigned in the Redis application and password which was assigned in the Redis application
I do it from truenas by installing redis directly, I can't assign an IP to it, I think...
Truenas IP = Container/App IP
I managed to install everything and the nextcloud configuration by changing the redis port to 30036 but even though I loaded the login I couldn't access it, I went back to the login