Bug #85547
closed
Extension Manager not working after update to 8.7.17
Added by Alexander Jaschke over 6 years ago.
Updated about 6 years ago.
Category:
Extension Manager
Description
Extension manager throws warning and a fatal error.
Warning: Uncaught TYPO3\CMS\Core\Error\Exception: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/clients/client3/web566/web/typo3conf/ext/typo3_console/Libraries/symfony-process.phar/vendor/autoload.php) is not within the allowed path(s): (/var/www/clients/client3/web566/web:/var/www/clients/client3/web566/private:/var/www/clients/client3/web566/tmp:/var/www/xxxxxdomainxxxxx.com/web:/srv/www/xxxxxdomainxxxxx.com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/typo3) in /var/www/clients/client3/web566/web/typo3_src-8.7.17/typo3/sysext/core/Classes/IO/PharStreamWrapper.php line 474 in /var/www/clients/client3/web566/web/typo3_src-8.7.17/typo3/sysext/core/Classes/Error/ErrorHandler.php:107 Stack trace: #0 [internal function]: TYPO3\CMS\Core\Error\ErrorHandler->handleError(2, 'file_exists(): ...', '/var/www/client...', 474, Array) #1 /var/www/clients/client3/web566/web/typo3_src-8.7.17/typo3/sysext/co in /var/www/clients/client3/web566/web/typo3_src-8.7.17/typo3/sysext/core/Classes/Error/ErrorHandler.php on line 107
Fatal error: TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend::{closure}(): Failed opening required 'phar:///var/www/clients/client3/web566/web/typo3conf/ext/typo3_console/Resources/Private/ExtensionArtifacts/../../../Libraries/symfony-process.phar/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/clients/client3/web566/web/typo3conf/ext/typo3_console/Resources/Private/ExtensionArtifacts/autoload.php on line 26
After downgrading to 8.7.16 the extension manager is working again.
- Status changed from New to Needs Feedback
How does your open_basedir restriction configuration look like?
According to the error message its
open_basedir = /var/www/clients/client3/web566/web:/var/www/clients/client3/web566/private:/var/www/clients/client3/web566/tmp:/var/www/xxxxxdomainxxxxx.com/web:/srv/www/xxxxxdomainxxxxx.com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/typo3
The question is why
/var/www/clients/client3/web566/web/typo3conf/ext/typo3_console/Libraries/symfony-process.phar/vendor/autoload.php
which is the resolved path for
phar:///var/www/clients/client3/web566/web/typo3conf/ext/typo3_console/Resources/Private/ExtensionArtifacts/../../../Libraries/symfony-process.phar/vendor/autoload.php
is not part of
/var/www/clients/client3/web566/web
After updating to latest 7.6.30 I experienced those fatals.
phpunit Extension in version 5.3.5 installed.
Warning: Uncaught TYPO3\CMS\Core\IO\PharStreamWrapperException: Executing phar:///var/www/xxxxxxx.de/webroot/htdocs/typo3conf/ext/phpunit/Resources/Private/Libraries/phpunit-library.phar/bootstrap.php is denied in /var/www/xxxxxxx.de/webroot/vendor/typo3/cms/typo3/sysext/core/Classes/IO/PharStreamWrapper.php:486
Stack trace:
#0 /var/www/xxxxxxx.de/webroot/vendor/typo3/cms/typo3/sysext/core/Classes/IO/PharStreamWrapper.php(238): TYPO3\CMS\Core\IO\PharStreamWrapper->assertPath('phar:///var/www...')
#1 /var/www/xxxxxxx.de/webroot/htdocs/typo3conf/ext/phpunit/Resources/Private/Libraries/phpunit-library.phar(12): TYPO3\CMS\Core\IO\PharStreamWrapper->stream_open('phar:///var/www...', 'rb', 129, NULL)
#2 /var/www/xxxxxxx.de/webroot/htdocs/typo3conf/ext/phpunit/Resources/Private/Libraries/phpunit-library.phar(12): require()
#3 /var/www/xxxxxxx.de/webroot/htdocs/typo3conf/ext/phpunit/ext_localconf.php(5): require_once('/var/www/leipzi...')
#4 /var/www/xxxxxxx.de/webroot/vendor/typo3/cms/typo3/sysext/core/Classes/Utility/Exten in /var/www/xxxxxxx.de/webroot/vendor/typo3/cms/typo3/sysext/core/Classes/IO/PharStreamWrapper.php on line 486
Fatal error: TYPO3\CMS\Core\Utility\ExtensionManagementUtility::main(): Failed opening required 'phar:///var/www/xxxxxxx.de/webroot/htdocs/typo3conf/ext/phpunit/Resources/Private/Libraries/phpunit-library.phar/bootstrap.php' (include_path='/var/www/xxxxxxx.de/webroot/vendor/pear/http_request2:/var/www/xxxxxxx.de/webroot/vendor/pear/pear_exception:/var/www/xxxxxxx.de/webroot/vendor/pear/net_url2:.:/usr/share/php') in /var/www/xxxxxxx.de/webroot/htdocs/typo3conf/ext/phpunit/Resources/Private/Libraries/phpunit-library.phar on line 12
The »System Environment« (Install Tool) shows:
open_basedir = /var/www/clients/client3/web566/web:/var/www/clients/client3/web566/private:/var/www/clients/client3/web566/tmp:/var/www/xxxdomainxxx.com/web:/srv/www/xxxdomainxxx.com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom
I have contacted the server administrator first and he wrote:
»"symphony.phar" is a file ... and not a folder... Something else seems to be wrong.«
But I can't really do anything with it.
- Status changed from Needs Feedback to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Target version set to 7.6.31 & 8.7.18 & 9.3.3
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF