Bug #56978
closed
Cannot update extension in EM
Added by Xavier Perseguers over 10 years ago.
Updated about 7 years ago.
Category:
Extension Manager
Description
I usually cannot update an extension with the built-in method in the list. Most of the time, first try does not show the dialog showing the update comments in newer versions and if it shows up (just tried a few minutes ago on master on production), it fataled with "extension XY is not loaded" in the middle of the upgrade process (extension was marked as inactive in PackageStates.php but I had to manually removed typo3temp/Cache).
Tested with:
- image_autoresize 1.4.0
- was active before update
- wanting to update it to 1.5.0
- falaled as described
- was inactive in PackageStates.php
- was still at 1.4.0 on disk
Tried again on another website, with dd_googlesitemap, 1.3.0 to 1.3.1:
[17-Mar-2014 09:34:43 UTC] PHP Warning: file_put_contents(/path/to/typo3temp/Cache/Data/cache_classes/5326c1b3a7ff4.temp): failed to open stream: No such file or directory in /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 238
[17-Mar-2014 09:34:43 UTC] PHP Warning: file_put_contents(/path/to/typo3temp/Cache/Data/cache_classes/5326c1b3a8fd8.temp): failed to open stream: No such file or directory in /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 238
[17-Mar-2014 09:34:43 UTC] PHP Fatal error: Class 'TYPO3\CMS\Core\Cache\Exception' not found in /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 241
[17-Mar-2014 09:35:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Package/PackageManager.php on line 228
[17-Mar-2014 09:35:18 UTC] PHP Fatal error: Uncaught exception 'TYPO3\CMS\Extbase\Object\Container\Exception\UnknownObjectException' with message 'Could not analyse class:TYPO3\CMS\Fluid\Core\Parser\Configuration maybe not loaded or no autoloader?' in /mnt/ebs/data1/typo3share/master/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php:51
Stack trace:
#0 /mnt/ebs/data1/typo3share/master/typo3/sysext/extbase/Classes/Object/Container/Container.php(325): TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory->buildClassInfoFromClassName('TYPO3\CMS\Fluid...')
#1 /mnt/ebs/data1/typo3share/master/typo3/sysext/extbase/Classes/Object/Container/Container.php(167): TYPO3\CMS\Extbase\Object\Container\Container->getClassInfo('TYPO3\CMS\Fluid...')
#2 /mnt/ebs/data1/typo3share/master/typo3/sysext/extbase/Classes/Object/Container/Container.php(122): TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal('TYPO3\CMS\Fluid...', Array)
#3 /mnt/ebs/data1/typo3share/master/typo3/sysext/extbase/Classes/Object/ObjectManager.php(108): TYPO3\CMS\Extbase\O in /mnt/ebs/data1/typo3share/master/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php on line 51
[17-Mar-2014 09:35:41 UTC] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not acquire lock for ClassLoader cache creation.' in /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Core/ClassLoader.php:702
Stack trace:
#0 /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Core/ClassLoader.php(229): TYPO3\CMS\Core\Core\ClassLoader->acquireLock()
#1 /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Core/ClassLoader.php(170): TYPO3\CMS\Core\Core\ClassLoader->buildCachedClassLoadingInformation('bitmotion_nawse...', 'Bitmotion\NawSe...')
#2 [internal function]: TYPO3\CMS\Core\Core\ClassLoader->loadClass('Bitmotion\NawSe...')
#3 [internal function]: spl_autoload_call('Bitmotion\NawSe...')
#4 /path/to/typo3conf/ext/naw_securedl/Classes/Core/ObjectManager.php(26): interface_exists('Bitmotion\NawSe...')
#5 /path/to/typo3temp/Cache/Code/cache_core/ext_localconf_eb87ec4b43513e65a53e4cda0a83fd592921586d.php(1643): Bitmotion\NawSecuredl\Core\O in /mnt/ebs/data1/typo3share/master/typo3/sysext/core/Classes/Core/ClassLoader.php on line 702
- Status changed from New to Accepted
The correct stacktrace is following:
#16 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath("image_autoresize")
#15 require("[...]/typo3conf/ext/image_autoresize/ext_tables.php")
#14 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadSingleExtTablesFiles()
#13 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtTables(boolean)
#12 TYPO3\CMS\Core\Core\Bootstrap::loadExtensionTables(boolean)
#11 TYPO3\CMS\Extensionmanager\Utility\InstallUtility::reloadCaches()
#10 TYPO3\CMS\Extensionmanager\Controller\DownloadController::prepareExtensionForImport(TYPO3\CMS\Extensionmanager\Domain\Model\Extension)
#9 TYPO3\CMS\Extensionmanager\Controller\DownloadController::updateExtensionAction()
#8 call_user_func_array(array, array)
#7 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod()
#6 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)
#5 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)
#4 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler::handleRequest()
#3 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest()
#2 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array)
#1 TYPO3\CMS\Extbase\Core\ModuleRunner::callModule("tools_ExtensionmanagerExtensionmanager")
After fixing #54906 this seams the next pitfall while update.
- Assignee set to Alexander Opitz
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF