Issue with Maintenance:repair / Moved data location

Nextcloud version (eg, 20.0.5): 23.0.2
Operating system and version Fedora Server 35 (5.16.12-200.fc35.x86_64)
Apache or nginx version _Apache/2.4.52 (Fedora Linux)
PHP version (eg, 7.4): PHP 8.0.16

Good afternoon,
I’m getting Nextcloud up and running on my Fedora Server. During installation, I forgot to specify which drive I wanted my data drive to be on. I’ve changed it in config.php, and tried to run maintenance to correct the location.

In the Overview tab, I’m getting the following under Security & setup warning

  • Your data directory is invalid Ensure there is a file called “.ocdata” in the root of the data directory.

I copied the data directory over to the new location, and I verified that .ocdata is there and is owned by apache.

[root@galactica data]# ls -al
total 52
drwxrwx--- 5 apache apache  4096 Mar  8 15:53 .
drwxr-xr-x 4 apache apache  4096 Mar  8 15:44 ..
drwxr-xr-x 4 apache apache  4096 Mar  8 15:53 admin
drwxr-xr-x 9 apache apache  4096 Mar  8 15:53 appdata_oc1wc6nnyrrn
-rw-r--r-- 1 apache apache   542 Mar  8 15:53 .htaccess
-rw-r--r-- 1 apache apache     0 Mar  8 15:53 index.html
-rw-r--r-- 1 apache apache     0 Mar  8 15:53 .ocdata
-rw-r--r-- 1 apache apache 26067 Mar  8 15:53 updater.log
drwxr-xr-x 4 apache apache  4096 Mar  8 15:53 updater-oc1wc6nnyrrn
[root@galactica data]# pwd
/var/hda/files/drives/nextcloud/data
<?php
$CONFIG = array (
  'log_type' => 'syslog',
  #support 'datadirectory' => '/var/lib/nextcloud/data/',
  'datadirectory' => '/var/hda/files/drives/nextcloud/data/',
  'updatechecker' => false,
  'check_for_working_htaccess' => false,
  'asset-pipeline.enabled' => false,
  'assetdirectory' => '/var/lib/nextcloud',
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/usr/share/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/lib/nextcloud/apps',
      'url' => '/apps-appstore',
      'writable' => true,
    ),
  ),

When I run the maintenance: repair command, I get the following:

sudo -u apache php occ maintance:repair
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

[root@galactica data]# php -m
[PHP Modules]
apcu
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
imagick
intl
json
ldap
libsmbclient
libxml
mbstring
memcached
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
smbclient
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Any ideas on how to correct this issue?

you probably want to read and test here: