Hello everyone, I just found myself blocked out of my OC panel after some upgrades.
My OC10 is installed on a Raspberry PI 4 with Raspbian 10, working fine since the installation some months ago.
I installed PHP 8.0 for another software I needed to install on the same host, and after that when I open OC login page I get the message:
Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?
I checked and the APCu extension seems enabled from a phpinfo:
Additional .ini files parsed [âŚ] /etc/php/7.3/apache2/conf.d/20-apcu.ini [âŚ]
I checked the âmods-availableâ and âmods-enabledâ folders and the php 7.3 are untouched since the OC installation:
pi@raspberrypi:~ $ ls -l /etc/apache2/mods-available/ | grep php
-rw-râr-- 1 root root 855 Feb 13 2021 php7.3.conf
-rw-râr-- 1 root root 102 Feb 13 2021 php7.3.load
-rw-râr-- 1 root root 855 Oct 22 14:37 php8.0.conf
-rw-râr-- 1 root root 101 Oct 22 14:37 php8.0.load
pi@raspberrypi:~ $ ls -l /etc/apache2/mods-enabled/ | grep php
lrwxrwxrwx 1 root root 29 Apr 2 2021 php7.3.conf â âŚ/mods-available/php7.3.conf
lrwxrwxrwx 1 root root 29 Apr 2 2021 php7.3.load â âŚ/mods-available/php7.3.load
Any idea or suggestion on how to fix this?
Thank you in advance
Steps to reproduce
- Install OC10 with PHP 7.3 and Apache
- Update PHP to PHP 8.0
- Check the OC login page
Expected behaviour
Login page opening properly
Actual behaviour
When I open OC login page I get the message:
Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?
Server configuration
Raspbian
Apache
MySQL
PHP 7.3 / PHP 8.0 just installed
ownCloud 10
The content of config/config.php:
<?php
$CONFIG = array (
âpasswordsaltâ => ,
âsecretâ =>â,
âtrusted_domainsâ =>
array (
0 => âlocalhostâ,
1 => ',
2 => ,
3 => ,
4 =>
),
âdatadirectoryâ => â/media/wde/data/â,
âoverwrite.cli.urlâ => âhttp://localhostâ,
âdbtypeâ => âmysqlâ,
âversionâ => â10.7.0.4â,
âdbnameâ => âowncloudâ,
âdbhostâ => âlocalhostâ,
âdbtableprefixâ => âoc_â,
âmysql.utf8mb4â => true,
âdbuserâ => ,
âdbpasswordâ => ,
âlogtimezoneâ => âUTCâ,
âapps_pathsâ =>
array (
0 =>
array (
âpathâ => â/var/www/owncloud/appsâ,
âurlâ => â/appsâ,
âwritableâ => false,
),
1 =>
array (
âpathâ => â/var/www/owncloud/apps-externalâ,
âurlâ => â/apps-externalâ,
âwritableâ => true,
),
),
âinstalledâ => true,
âinstanceidâ => âoccg2z94ljfnâ,
âmemcache.localâ => â\OC\Memcache\APCuâ,
âmemcache.lockingâ => â\OC\Memcache\Redisâ,
âredisâ =>
array (
âhostâ => â127.0.0.1â,
âportâ => â6379â,
),
âmaintenanceâ => false,
);
**Operating system:**
### Logs
#### Web server error log
192.168.x.x - - [29/Oct/2021:23:05:14 +0200] âGET / HTTP/1.1â 500 468 â-â âMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0â
192.168.x.x - - [29/Oct/2021:23:05:19 +0200] âGET /index.php/settings/integrity/failed HTTP/1.1â 500 468 â-â âMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0â
#### ownCloud log (data/owncloud.log)
Empty
#### Browser log
GET http://x.x.x.x/index.php/ [HTTP/1.1 500 Internal Server Error 118ms]