I am running Ubuntu 20.04 LAMP NC 24.0.5
Apache Error Logs are Clean
Still Running php7.4 (will update soon)
For months I have been using this cronjob to automatically update my NC install:
#@daily php /home/username/public_html/occ app:update --all #Updates Nextcloud Nightly
But for reaons unbeknowst to me. Command line updates of NC now failed with the following error:
$ php /home/username/public_html/occ app:update --all
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
uppush new version available: 1.1.1
An unhandled exception has been thrown:
TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /home/username/public_html/lib/private/Memcache/Redis.php:81
Stack trace:
#0 /home/username/public_html/lib/private/Memcache/Redis.php(81): count()
#1 /home/username/public_html/lib/private/App/AppManager.php(451): OC\Memcache\Redis->clear()
#2 /home/username/public_html/lib/private/legacy/OC_App.php(1005): OC\App\AppManager->clearAppsCache()
#3 /home/username/public_html/lib/private/Installer.php(201): OC_App::updateApp()
#4 /home/username/public_html/core/Command/App/Update.php(115): OC\Installer->updateAppstoreApp()
#5 /home/username/public_html/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\App\Update->execute()
#6 /home/username/public_html/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#7 /home/username/public_html/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#8 /home/username/public_html/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#9 /home/username/public_html/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#10 /home/username/public_html/console.php(100): OC\Console\Application->run()
#11 /home/username/public_html/occ(11): require_once('...')
Any tips?