How do you edit files in recovery mode?
-
Hello,
I am getting an error after I upgraded NextCloud to 22.1.1 last night. The app is "unresponsive"
I have enabled recovery mode.I have found a post on nextcloud help to edit the file /app/code/lib/private/RedisFactory.php but when I do so, and then disable recovery mode, that file has been replaced to its original. How can I make a change to this file?
Btw, this is the error:
Sep 17 14:53:28 => update config Sep 17 14:53:28 => run migration Sep 17 14:53:28 An unhandled exception has been thrown: Sep 17 14:53:28 Exception: Redis cluster config is missing the "seeds" attribute in /app/code/lib/private/RedisFactory.php:86 Sep 17 14:53:28 Stack trace: Sep 17 14:53:28 #0 /app/code/lib/private/RedisFactory.php(164): OC\RedisFactory->create() Sep 17 14:53:28 #1 /app/code/lib/private/Memcache/Redis.php(43): OC\RedisFactory->getInstance() Sep 17 14:53:28 #2 /app/code/lib/private/Memcache/Factory.php(115): OC\Memcache\Redis->__construct() Sep 17 14:53:28 #3 /app/code/lib/private/Server.php(1051): OC\Memcache\Factory->createLocking() Sep 17 14:53:28 #4 /app/code/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}() Sep 17 14:53:28 #5 /app/code/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() Sep 17 14:53:28 #6 /app/code/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet() Sep 17 14:53:28 #7 /app/code/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query() Sep 17 14:53:28 #8 /app/code/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query() Sep 17 14:53:28 #9 /app/code/lib/private/Server.php(2010): OC\AppFramework\Utility\SimpleContainer->get() Sep 17 14:53:28 #10 /app/code/lib/private/Files/View.php(118): OC\Server->getLockingProvider() Sep 17 14:53:28 #11 /app/code/lib/private/Server.php(433): OC\Files\View->__construct() Sep 17 14:53:28 #12 /app/code/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}() Sep 17 14:53:28 #13 /app/code/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() Sep 17 14:53:28 #14 /app/code/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet() Sep 17 14:53:28 #15 /app/code/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query() Sep 17 14:53:28 #16 /app/code/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query() Sep 17 14:53:28 #17 /app/code/lib/private/Server.php(1373): OC\AppFramework\Utility\SimpleContainer->get() Sep 17 14:53:28 #18 /app/code/lib/base.php(594): OC\Server->boot() Sep 17 14:53:28 #19 /app/code/lib/base.php(1083): OC::init() Sep 17 14:53:28 #20 /app/code/console.php(48): require_once('/app/code/lib/b...') Sep 17 14:53:28 #21 /app/code/occ(11): require_once('/app/code/conso...') Sep 17 14:53:28 #22 {main}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login