Skip to content

Instantly share code, notes, and snippets.

@suuhm
Last active February 15, 2023 22:59
Show Gist options
  • Select an option

  • Save suuhm/767151efada8cc06f6617dfb772b6d83 to your computer and use it in GitHub Desktop.

Select an option

Save suuhm/767151efada8cc06f6617dfb772b6d83 to your computer and use it in GitHub Desktop.
Nextcloud - Backup and Update Notes An unhandled exception has been thrown: OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
#
# An unhandled exception has been thrown:
# OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
ls -la /var/nextcloud-dir ; cd /var/nextcloud-dir
sudo -u nextcloud-user php --define apc.enable_cli=1 occ db:add-missing-indices
##
## Setup all php dependencies and delete the *updater
rm -rf /var/nc-data-dir/updater*
sudo -u $WEBUSER php /var/www/nextcloud/updater/updater.phar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment