Bug #43080

Can not install extension if mirror list can not be fetched

Added by Philipp Gampe over 2 years ago. Updated 7 months ago.

Status:Closed Start date:2012-11-18
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:Extension Manager Spent time: -
Target version:6.0.0
TYPO3 Version:6.0 Is Regression:No
PHP Version:5.4 Sprint Focus:
Complexity:medium

Description

  • Let the mirror list expire by not updating the extension list for several days (or make the extensionmanager believe it needs to fetch the mirror list on next run)
  • try to install a local extension
  • fatal error

History

#1 Updated by Philipp Gampe over 2 years ago

Strange, since I update the extension list, this works without problems. I truncated the extension list, removed all files from typo3temo and reset the timestamp, but I can not reproduce the error any more.

This was the error (found it in sys_log), but unfortunately the stack trace has been lost :(

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1342635425: Could not access remote resource http://repositories.typo3.org/mirrors.xml.gz. | TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException thrown in file /home/phil/t3-playground/t3-git/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php in line 149. Requested URL: http://localhost/t3-playground/dummy/typo3/mod.php?M=tools_ExtensionmanagerExtensionmanager&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bextension%5D=schemaker&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Baction%5D=toggleExtensionInstallationState&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bcontroller%5D=Action

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1342635425: Could not access remote resource http://repositories.typo3.org/mirrors.xml.gz. | TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException thrown in file /home/phil/t3-playground/t3-git/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php in line 151. Requested URL: http://localhost/t3-playground/dummy/typo3/mod.php?M=tools_ExtensionmanagerExtensionmanager&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bextension%5D=schemaker&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Baction%5D=toggleExtensionInstallationState&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bcontroller%5D=Action

The line difference is from a git pull in between.

#2 Updated by Philipp Gampe over 2 years ago

This does happen only if a dependency is not fulfilled, e.g. install https://github.com/NamelessCoder/schemaker without having flux installed.

#3 Updated by Patrick Broens over 2 years ago

  • Target version set to 6.0.0
  • Complexity set to medium

#4 Updated by Philipp Gampe over 2 years ago

Forgot the add my investigations ... this happens only if you have no network connection.

#5 Updated by Mathias Schreiber 7 months ago

  • Status changed from New to Closed
  • Is Regression set to No

Taken into account in #63909.
The issues are not linked on purpose, so the refactoring ticket does not get bloated with relations.

Also available in: Atom PDF