Add guidance about optional services in migration guide#14792
Add guidance about optional services in migration guide#14792
Conversation
Explicitly mention checking config.php for optional services like Redis, Memcached, and other dependencies before migration. Addresses issue where migrations fail due to missing Redis configuration. Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
📖 Documentation Preview📄 1 changed documentation pageLast updated: Thu, 07 May 2026 09:24:59 GMT |
|
as the author of the Enhancement Suggestion that prompted the creation of this Issue, I think this captures the challenge well. I'm not sure if it helps to clarify further, but in the hope that it does... I think there are a couple of elements here, only one of which can be addressed by NextCloud... The method I chose to take to port a running instance to a new server was to create a new server environment and then perform a vanilla installation of NextCloud on the target host, using a new domain name and IP address. I then used that vanilla environment to debug dependencies and oddities before following the guide in terms of porting the site content to the new host. What I found was that the "vanilla site" worked just fine, but the the ported version didn't. I appreciate this might be difficult to do at the NextCloud platform level [because some dependencies might be introduced by optional Apps] but is there any way that NextCloud is or can be made aware of those dependencies, such that an administrator could migrate a "dependency list" out of their existing environment and use that to sanity check the destination? |
|
@sproggit thanks for the input :) I think having it in the docs should be good enough 👍 |
Summary
Adds explicit guidance about optional services in the migration guide to prevent migration failures.
Problem
When migrating Nextcloud to a new server, users often encounter errors like "Redis server went away" because they fail to configure optional services (Redis, Memcached, etc.) on the new machine before completing the migration. The current migration guide makes no mention of these dependencies.
Solution
Added an "important" notice in Step 1 of the migration guide that instructs users to:
config/config.phpfor optional servicesChanges
Relates to
#14036