I’ve installed Nextcloud from BigBear, but was having lot of Redis errors.
On Nextcloud log we can see:
Erro core
RedisException Redis server went away
Exception thrown: RedisException
"2 de jul. de 2024, 22:16:56"
Erro core
RedisException Redis server went away
Exception thrown: RedisException
"2 de jul. de 2024, 22:16:56"
Erro index
RedisException Redis server went away
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): Failed to read session data: redis (path: tcp://redis-nextcloud:6379) at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): php_network_getaddresses: getaddrinfo for redis-nextcloud failed: No address associated with hostname at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Fatal no app in context
RedisException php_network_getaddresses: getaddrinfo for redis-nextcloud failed: No address associated with hostname
Could not boot workflowengine: php_network_getaddresses: getaddrinfo for redis-nextcloud failed: No address associated with hostname
"2 de jul. de 2024, 22:16:56"
Erro PHP
Redis::pconnect(): php_network_getaddresses: getaddrinfo for redis-nextcloud failed: No address associated with hostname at /var/www/html/lib/private/RedisFactory.php#117
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): Failed to read session data: redis (path: tcp://redis-nextcloud:6379) at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): php_network_getaddresses: getaddrinfo for redis-nextcloud failed: No address associated with hostname at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): Failed to read session data: redis (path: tcp://redis-nextcloud:6379) at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro PHP
session_start(): php_network_getaddresses: getaddrinfo for redis-nextcloud failed: No address associated with hostname at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 22:16:56"
Erro core
Exception Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name "db-nextcloud" to address: No address associated with hostname
Exception thrown: Doctrine\DBAL\Exception
"2 de jul. de 2024, 21:38:51"
Erro core
Exception Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name "db-nextcloud" to address: No address associated with hostname
Exception thrown: Doctrine\DBAL\Exception
"2 de jul. de 2024, 21:38:51"
Erro index
Exception Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name "db-nextcloud" to address: No address associated with hostname
"2 de jul. de 2024, 21:38:51"
Erro core
RedisException Redis server went away
Exception thrown: RedisException
"2 de jul. de 2024, 19:41:16"
Erro core
RedisException Redis server went away
Exception thrown: RedisException
"2 de jul. de 2024, 19:41:16"
Erro index
RedisException Redis server went away
"2 de jul. de 2024, 19:41:16"
Erro PHP
session_start(): Failed to read session data: redis (path: tcp://redis-nextcloud:6379) at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 19:41:16"
Erro PHP
session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 19:41:16"
Erro PHP
session_start(): php_network_getaddresses: getaddrinfo for redis-nextcloud failed: No address associated with hostname at /var/www/html/lib/private/Session/Internal.php#213
"2 de jul. de 2024, 19:41:16"
(continues...)
On my journey to try to fix the issue, on CasaOS I went to the App Settings, selected the “redis-nextcloud” container and on the network field that was empty, I’ve selected “big-bear-chrome_default”.
Now I cannot unselect it to make the field empty as before and I can’t turn on Nextcloud as it gives an error “Installing big-bear-nextcloudErrorInfo”.
Anyone knows how can I fix this? @dragonfire1119 can you help? Thank you.
Sorry the dumb question @dragonfire1119 , but how can I edit the raw Docker Compose without uninstalling the current instance? Or can I uninstall and reinstall without losing the contents?
On the options I’ve available on “Network” field there isn’t “nextcloud_network”:
I just tried the script. Followed the how to video, and simply changed the network on the “redis-nextcloud” service to “null” and saved.
It seemed to be a super great way of doing these changes.
Unfortunately, the result was having 4 different services asking to be rebuilt, and cannot use any of them.
DIdn’t work. Everything continue same way.
I just lost all the configs I already had done. Installed again from the store, had the same issue with redis and tried again the script as per default network is null for everything.
Same result: once I save the script, get the same issue with 4 different services.
Latest version - v0.4.9
The only changes on the docker compose file were the ones you said - simply changed the networks from the services to nextcloud_network.
So your networks is “null” in every service, not “nextcloud_network” as advised.
My initial request was exactly to make “redis-nextcloud” container with “null”.
Once I used the script everything messed up. Can it Nano saving it on a wrong way?
This is the way CasaOS formatted it (Sorry I got distracted with work and answering questions.) I was looking in github. It’s different at BigBearCasaOS. You can try to uninstall, but don’t delete user data on uninstall.
Uncheck mark the delete data. You can also backup the AppData before doing so.
I use Nano so should not be a issue.
You can also copy and paste it in there, and it should work, but the best way would be to reinstall the container without deleting your data. /DATA/AppData holds all the data for containers unless changed.
Tried that. I’m not being able to reinstall.
I deleted all the services related to Nextcloud without deleting the AppData, but it isn’t allowing me to reinstall.