bulent
Regular Pleskian
On my VPS I have two Magento 2 test installs.
Both installs begin to return the error below:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX
As I said these are some test installs and I removed this instalations and now when I try to install it again I get this error at the end of instalation:
Error: The following error has occurred during the installation of application: Installation of magento at http://m2.example.com/ failed. Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught ErrorException: SessionHandler::read(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:74 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 74, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(74): SessionHandler->read('8nhj4i6r07i6c7o...') #2 [internal function]: Magento\Framework\Session\SaveHandler->read('8nhj4i6r07i6c7o...') #3 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(189): session_start() #4 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(130): Magento\Framework\Session\SessionManager->start() #5 /var/www/vhosts/example.com/m2.example.com/vendor/magento/module-backend/Model/Auth/Session.php(88): Magento\Framework\Session\Se in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 74 PHP Fatal error: Uncaught ErrorException: SessionHandler::write(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:86 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 86, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(86): SessionHandler->write('8nhj4i6r07i6c7o...', '') #2 [internal function]: Magento\Framework\Session\SaveHandler->write('8nhj4i6r07i6c7o...', '') #3 {main} thrown in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 86 '. Error stream: 'PHP Fatal error: Uncaught ErrorException: SessionHandler::read(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:74 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 74, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(74): SessionHandler->read('8nhj4i6r07i6c7o...') #2 [internal function]: Magento\Framework\Session\SaveHandler->read('8nhj4i6r07i6c7o...') #3 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(189): session_start() #4 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(130): Magento\Framework\Session\SessionManager->start() #5 /var/www/vhosts/example.com/m2.example.com/vendor/magento/module-backend/Model/Auth/Session.php(88): Magento\Framework\Session\Se in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 74 PHP Fatal error: Uncaught ErrorException: SessionHandler::write(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:86 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 86, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(86): SessionHandler->write('8nhj4i6r07i6c7o...', '') #2 [internal function]: Magento\Framework\Session\SaveHandler->write('8nhj4i6r07i6c7o...', '') #3 {main} thrown in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 86 '.
What could be the problem?
Both installs begin to return the error below:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX
As I said these are some test installs and I removed this instalations and now when I try to install it again I get this error at the end of instalation:
Error: The following error has occurred during the installation of application: Installation of magento at http://m2.example.com/ failed. Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught ErrorException: SessionHandler::read(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:74 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 74, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(74): SessionHandler->read('8nhj4i6r07i6c7o...') #2 [internal function]: Magento\Framework\Session\SaveHandler->read('8nhj4i6r07i6c7o...') #3 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(189): session_start() #4 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(130): Magento\Framework\Session\SessionManager->start() #5 /var/www/vhosts/example.com/m2.example.com/vendor/magento/module-backend/Model/Auth/Session.php(88): Magento\Framework\Session\Se in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 74 PHP Fatal error: Uncaught ErrorException: SessionHandler::write(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:86 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 86, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(86): SessionHandler->write('8nhj4i6r07i6c7o...', '') #2 [internal function]: Magento\Framework\Session\SaveHandler->write('8nhj4i6r07i6c7o...', '') #3 {main} thrown in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 86 '. Error stream: 'PHP Fatal error: Uncaught ErrorException: SessionHandler::read(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:74 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 74, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(74): SessionHandler->read('8nhj4i6r07i6c7o...') #2 [internal function]: Magento\Framework\Session\SaveHandler->read('8nhj4i6r07i6c7o...') #3 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(189): session_start() #4 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SessionManager.php(130): Magento\Framework\Session\SessionManager->start() #5 /var/www/vhosts/example.com/m2.example.com/vendor/magento/module-backend/Model/Auth/Session.php(88): Magento\Framework\Session\Se in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 74 PHP Fatal error: Uncaught ErrorException: SessionHandler::write(): open(/var/lib/php/session/sess_8nhj4i6r07i6c7ot0384b4m9u4, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php:86 Stack trace: #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'SessionHandler:...', '/var/www/vhosts...', 86, Array) #1 /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php(86): SessionHandler->write('8nhj4i6r07i6c7o...', '') #2 [internal function]: Magento\Framework\Session\SaveHandler->write('8nhj4i6r07i6c7o...', '') #3 {main} thrown in /var/www/vhosts/example.com/m2.example.com/vendor/magento/framework/Session/SaveHandler.php on line 86 '.
What could be the problem?