Problem loading page after authentification

hi , i am new with OC , i m using owncloud on debian server 8.5 ,i did all the installation correctly , and the integration with LDapserver to allow my LDap users to acces owncloud , after that

when I tried to log on the browser , the server is allways frozen in authentication step ( it takes long minutes ) than it sends me this error :

(( Problem loading page, reloading in 5 seconds ))

and i get white page , and if I click on the cancel button (X) on the browser , I will have the home page of owncloud but i cant do any thing on it ,

can you please tell me the possible causes for this error and how to fix them , I will be thankful

here is my leg file for the last day :

> ( Error	core	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(288): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(105): OC_App::getEnabledApps()\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/user.php(127): OC_App::loadApps(Array)\n#10 \/var\/www\/owncloud\/lib\/base.php(640): OC_User::setupBackends()\n#11 \/var\/www\/owncloud\/lib\/base.php(967): OC::init()\n#12 \/var\/www\/owncloud\/index.php(37): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	index	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(288): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(105): OC_App::getEnabledApps()\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/user.php(127): OC_App::loadApps(Array)\n#10 \/var\/www\/owncloud\/lib\/base.php(640): OC_User::setupBackends()\n#11 \/var\/www\/owncloud\/lib\/base.php(967): OC::init()\n#12 \/var\/www\/owncloud\/index.php(37): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18467 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	core	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/L10N\/Factory.php(131): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/l10n.php(312): OC\\L10N\\Factory->findLanguage('search')\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(506): OC_L10N::findLanguage('search')\n#10 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(479): OC_Util::addTranslations('search')\n#11 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(137): OC_Util::addScript('search', 'search', true)\n#12 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(75): OC_Template::initTemplateEngine('error')\n#13 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(348): OC_Template->__construct('', 'exception', 'error', false)\n#14 \/var\/www\/owncloud\/index.php(55): OC_Template::printExceptionErrorPage(Object(Doctrine\\DBAL\\Exception\\DriverException))\n#15 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params ["admin"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=17836 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	core	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(288): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(105): OC_App::getEnabledApps()\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/user.php(127): OC_App::loadApps(Array)\n#10 \/var\/www\/owncloud\/lib\/base.php(640): OC_User::setupBackends()\n#11 \/var\/www\/owncloud\/lib\/base.php(967): OC::init()\n#12 \/var\/www\/owncloud\/index.php(37): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	index	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(288): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(105): OC_App::getEnabledApps()\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/user.php(127): OC_App::loadApps(Array)\n#10 \/var\/www\/owncloud\/lib\/base.php(640): OC_User::setupBackends()\n#11 \/var\/www\/owncloud\/lib\/base.php(967): OC::init()\n#12 \/var\/www\/owncloud\/index.php(37): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18859 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params ["admin"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00

Error	core	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/L10N\/Factory.php(131): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/l10n.php(312): OC\\L10N\\Factory->findLanguage('search')\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(506): OC_L10N::findLanguage('search')\n#10 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(479): OC_Util::addTranslations('search')\n#11 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(137): OC_Util::addScript('search', 'search', true)\n#12 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(75): OC_Template::initTemplateEngine('error')\n#13 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(348): OC_Template->__construct('', 'exception', 'error', false)\n#14 \/var\/www\/owncloud\/index.php(55): OC_Template::printExceptionErrorPage(Object(Doctrine\\DBAL\\Exception\\DriverException))\n#15 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	core	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(288): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(105): OC_App::getEnabledApps()\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/user.php(127): OC_App::loadApps(Array)\n#10 \/var\/www\/owncloud\/lib\/base.php(640): OC_User::setupBackends()\n#11 \/var\/www\/owncloud\/lib\/base.php(967): OC::init()\n#12 \/var\/www\/owncloud\/index.php(37): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	index	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(288): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(105): OC_App::getEnabledApps()\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/user.php(127): OC_App::loadApps(Array)\n#10 \/var\/www\/owncloud\/lib\/base.php(640): OC_User::setupBackends()\n#11 \/var\/www\/owncloud\/lib\/base.php(967): OC::init()\n#12 \/var\/www\/owncloud\/index.php(37): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18853 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params ["admin"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18464 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params ["admin"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18899 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params ["admin"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=17833 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	core	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/L10N\/Factory.php(131): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/l10n.php(312): OC\\L10N\\Factory->findLanguage('search')\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(506): OC_L10N::findLanguage('search')\n#10 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(479): OC_Util::addTranslations('search')\n#11 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(137): OC_Util::addScript('search', 'search', true)\n#12 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(75): OC_Template::initTemplateEngine('error')\n#13 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(348): OC_Template->__construct('', 'exception', 'error', false)\n#14 \/var\/www\/owncloud\/index.php(55): OC_Template::printExceptionErrorPage(Object(Doctrine\\DBAL\\Exception\\DriverException))\n#15 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	index	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT`uid`,`...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/L10N\/Factory.php(131): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/l10n.php(312): OC\\L10N\\Factory->findLanguage('search')\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(506): OC_L10N::findLanguage('search')\n#10 \/var\/www\/owncloud\/lib\/private\/legacy\/util.php(479): OC_Util::addTranslations('search')\n#11 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(137): OC_Util::addScript('search', 'search', true)\n#12 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(75): OC_Template::initTemplateEngine('error')\n#13 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(348): OC_Template->__construct('', 'exception', 'error', false)\n#14 \/var\/www\/owncloud\/index.php(55): OC_Template::printExceptionErrorPage(Object(Doctrine\\DBAL\\Exception\\DriverException))\n#15 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00
Error	core	Exception: {"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params [\"admin\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT `uid`, `...', Array)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(223): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/owncloud\/lib\/private\/User\/Database.php(270): OC\\User\\Database->loadUser('admin')\n#5 \/var\/www\/owncloud\/lib\/private\/User\/Manager.php(139): OC\\User\\Database->userExists('admin')\n#6 \/var\/www\/owncloud\/lib\/private\/User\/Session.php(192): OC\\User\\Manager->get('admin')\n#7 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(288): OC\\User\\Session->getUser()\n#8 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(105): OC_App::getEnabledApps()\n#9 \/var\/www\/owncloud\/lib\/private\/legacy\/user.php(127): OC_App::loadApps(Array)\n#10 \/var\/www\/owncloud\/lib\/base.php(640): OC_User::setupBackends()\n#11 \/var\/www\/owncloud\/lib\/base.php(967): OC::init()\n#12 \/var\/www\/owncloud\/index.php(37): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115}	2016-09-19T04:25:05+00:00

Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params ["admin"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18719 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` WHERE LOWER(`uid`) = LOWER(?)' with params ["admin"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18298 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `gid` FROM `oc_groups` WHERE `gid` = ?' with params ["mohammed"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Fatal	cron	An exception occurred while executing 'UPDATE `oc_jobs` SET `reserved_at` = '0' WHERE `id` = ?' with params ["14"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away	2016-09-19T04:25:05+00:00
Error	PHP	Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `gid` FROM `oc_groups` WHERE `gid` = ?' with params ["m"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#115	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18850 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=18722 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	PHP	Error while sending QUERY packet. PID=17830 at /var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91	2016-09-19T04:25:05+00:00
Error	user_ldap	Attempt for Paging? 1	2016-09-19T04:25:05+00:00
Error	user_ldap	Attempt for Paging? 1	2016-09-19T04:25:05+00:00
Error	user_ldap	Error when searching: Can't contact LDAP server code -1	2016-09-19T04:25:05+00:00
Error	user_ldap	Attempt for Paging? 1	2016-09-19T04:25:05+00:00
Error	user_ldap	Error when searching: Can't contact LDAP server code -1	2016-09-19T04:25:05+00:00
Error	user_ldap	Error when searching: Can't contact LDAP server code -1	2016-09-19T04:25:05+00:00
Error	PHP	usort(): Array was modified by the user comparison function at /var/www/owncloud/lib/private/User/Manager.php#255	2016-09-18T14:22:36+00:00
)

Hi,

is it that hard to fill out the template as already asked in your older thread? Or can't you find it?

Currently still important Infos like PHP version, ownCloud version etc. are missing. All that stuff is asked in the mentioned template and you REALLY should provide this info when creating a new thread.

really i dont undersant what template ? can you please tell me how ? where i put all this info ?

i m using the latest version of owncloud ( 9.1.0)
, on the debian 8.5 , and my php is PHP 5.6.24-0+deb8u1

If you create a new thread the following template is shown which is asking all needed info about your environment. Those are needed to help here.

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

[b]Steps to reproduce[/b]
1.
2.
3.

[b]Expected behaviour[/b]
Tell us what should happen

[b]Actual behaviour[/b]
Tell us what happens instead

[b]Server configuration[/b]
Operating system:
Web server:
Database:
PHP version:
ownCloud version (see ownCloud admin page):
Updated from an older ownCloud or fresh install:
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808):

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

[b]Integrity status for oC9+[/b]

[code]
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
[/code]

for the procedure :

  1. i did the installation correctly ( without any issue during the installation )

  2. and after i log with my admin account , i added the LDap configuration to allow my LDap users to connect in the Owncloud server by using their accounts

  3. after that , as i said , all things become so long in execution time even on authentification step
    when i try to log , the OwnCloud authentification page detect my LDap Identifiant ( user account ) **but the server doesnt show me the home page , it takes a long time .. showing me "" white page "" ... and after a long time it sends me this message :(( Problem loading page, reloading in 5 seconds ))
    **

and if I interrupt authentication by clicking on the button (cancel) of my browser , i get the home page of my owncloud server ./.. I noticed that in this case I could upload files on my account ,,, but when i try to do others operations ( as : sharing files with other LDap users ) , I have the same error as when i tried to do the Authentication .

for my Server configuration
Operating system: debian 8.5
Web server: Apache/2.4.10
Database: mysqld 5.5.50-0+deb8u1
PHP version: 5.6.24-0+deb8u1
ownCloud version ( 9.1.0)
Updated from an older ownCloud or fresh install: first installation

Apache2 log:
[Wed Sep 21 13:20:15.743254 2016] [autoindex:error] [pid 47294] [client ......] AH01276: Cannot serve directory /var/www/owncloud/core/doc/user/_static/: No matching

in addition to the errors mentioned above ( in my first post)

Hi,

for example this is a issue which was heavily missed in your initial post.

Please update to the yesterdays released 9.1.1 which fixes login issues https://owncloud.org/changelog/#latest9.1

I dit the Upgrade to 9.1.1 using this procedure ( https://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html#upgrading-with-your-linux-package-manager )

and now when i try to log , i get this kind of message

Update required
Please use the update command lines, your body is too large.

with no possibility to put my ID !
any idea why i cant log now ?

Hi,

as advised in the message you need to use the command line upgrade tool "occ" as seen here:

https://doc.owncloud.org/server/9.1/admin_manual/maintenance/package_upgrade.html

unfortunately, even after the upgrade to the new version , i still have the same first issue :frowning:

i mean this problem :

as i said , all things become so long in execution time even on authentification step
when i try to log , the OwnCloud authentification page detect my LDap Identifiant ( user account ) **but the server doesnt show me the home page , it takes a long time .. showing me "" white page "" ... and after a long time it sends me this message :(( Problem loading page, reloading in 5 seconds ))
**

and if I interrupt authentication by clicking on the button (cancel) of my browser , i get the home page of my owncloud server ./.. I noticed that in this case I could upload files on my account ,,, but when i try to do others operations ( as : sharing files with other LDap users ) , I have the same error as when i tried to do the Authentication .