The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.7
- Operating system and version (e.g., Ubuntu 24.04):
Arch Linux 6.15.9
- Web server and version (e.g, Apache 2.4.25):
apache 2.4.63
- Reverse proxy and version _(e.g. nginx 1.27.2)
privoxy 4.0.0
- PHP version (e.g, 8.3):
php 8.2.29
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
on installation
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
manual from arch packages
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- 'no`
Summary of the issue you are facing:
I’ve installed nextcloud manually on a new server with everything built-in (no external servers or services). Everything went fine and before installing and configuring valkey (redis replacement), I had not issue getting to main set-up page to this new nextcloud install.
After installing and configuring valkey, as I would redis and as described in arch wiki, I start getting Internal Server Errors when trying to go to the main nextcloud page.
NOTE:
- I installed the valkey package (this wasn’t part of the instructions)
- Installed php-legacy-redis (as per arch wiki nextcloud instructions)
- Configured valkey as per arch wiki page’s instructions
- Set /run/valkey/ under valkey ownership
- Added http and nextcloud users to valkey group
- Successfully started valkey systemd service with no errors
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{
"reqId": "pHQ3HW1eVb7LWbjhKhCO",
"level": 4,
"time": "2025-08-04T14:32:23+00:00",
"remoteAddr": "",
"user": "--",
"app": "no app in context",
"method": "",
"url": "--",
"message": "Could not boot workflowengine: Redis server went away",
"userAgent": "--",
"version": "31.0.7.1",
"exception": {
"Exception": "RedisException",
"Message": "Redis server went away",
"Code": 0,
"Trace": [
{
"file": "/usr/share/webapps/nextcloud/lib/private/Memcache/Redis.php",
"line": 59,
"function": "get",
"class": "Redis",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/apps/workflowengine/lib/Manager.php",
"line": 89,
"function": "get",
"class": "OC\\Memcache\\Redis",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/apps/workflowengine/lib/AppInfo/Application.php",
"line": 50,
"function": "getAllConfiguredEvents",
"class": "OCA\\WorkflowEngine\\Manager",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
"line": 28,
"function": "registerRuleListeners",
"class": "OCA\\WorkflowEngine\\AppInfo\\Application",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php",
"line": 32,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/apps/workflowengine/lib/AppInfo/Application.php",
"line": 42,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\BootContext",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 157,
"function": "boot",
"class": "OCA\\WorkflowEngine\\AppInfo\\Application",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/lib/private/App/AppManager.php",
"line": 479,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/lib/private/App/AppManager.php",
"line": 248,
"function": "loadApp",
"class": "OC\\App\\AppManager",
"type": "->"
},
{
"file": "/usr/share/webapps/nextcloud/cron.php",
"line": 61,
"function": "loadApps",
"class": "OC\\App\\AppManager",
"type": "->"
}
],
"File": "/usr/share/webapps/nextcloud/lib/private/Memcache/Redis.php",
"Line": 59,
"message": "Could not boot workflowengine: Redis server went away",
"exception": {},
"CustomMessage": "Could not boot workflowengine: Redis server went away"
}
Configuration
Nextcloud
{
"system": {
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"apps_paths": [
{
"path": "\/usr\/share\/webapps\/nextcloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/lib\/nextcloud\/apps",
"url": "\/wapps",
"writable": true
}
],
"trusted_domains": [
"localhost",
"cloud"
],
"overwrite.cli.url": "https:\/\/cloud\/",
"htaccess.RewriteBase": "\/",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.7.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 1.5
}
}
}