Hello folks,
I hava an issue with my NextCloud 15 plugin that installed on my freenas 11.2 u4 server, as suddenly i'm not able to access NextCloud gui with internal server error also can't access any data using remote clients (android app) as it shows server in Maintenance !
I checked logs and found "General error: 2006 mysql server is gone" errors .
After search web found solutions to mess around with memcache inside config.php file as i removed it completely/replaced APU with redis .. etc But all failed, also i found that clearing memcache might work but i don't know how to do it.
Here is part of log file at the first time it appeared :
{"reqId":"LrtvFPx1RURzeIFsC2Jq","level":3,"time":"2019-05-14T11:46:16+00:00","remoteAddr":"10.46.23.6","user":"Tom","app":"PHP","method":"GET","url":"\/index.php\/avatar\/Tom\/336","message":"PDOStatement::execute(): MySQL server has gone away at \/usr\/local\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php#105","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.6.1","version":"15.0.5.3"}
P.s : if i deleted the config.php file completely the gui will work and new file will be created but it will ask me to start re config from beginning, so i think plugin itself is ok but the issue is some configuration in config.php.
I hava an issue with my NextCloud 15 plugin that installed on my freenas 11.2 u4 server, as suddenly i'm not able to access NextCloud gui with internal server error also can't access any data using remote clients (android app) as it shows server in Maintenance !
I checked logs and found "General error: 2006 mysql server is gone" errors .
After search web found solutions to mess around with memcache inside config.php file as i removed it completely/replaced APU with redis .. etc But all failed, also i found that clearing memcache might work but i don't know how to do it.
Here is part of log file at the first time it appeared :
{"reqId":"LrtvFPx1RURzeIFsC2Jq","level":3,"time":"2019-05-14T11:46:16+00:00","remoteAddr":"10.46.23.6","user":"Tom","app":"PHP","method":"GET","url":"\/index.php\/avatar\/Tom\/336","message":"PDOStatement::execute(): MySQL server has gone away at \/usr\/local\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php#105","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.6.1","version":"15.0.5.3"}
P.s : if i deleted the config.php file completely the gui will work and new file will be created but it will ask me to start re config from beginning, so i think plugin itself is ok but the issue is some configuration in config.php.