Project

General

Profile

Actions

Bug #55963

closed

Fatal error when upgrading to 6.2 beta 5

Added by Claus Harup about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After upgrading and completed the Upgrade Wizard successfully everything worked, but after clicking on the Language module the following comes up and Im stuck....... (Not even deleting typo3temp/Cache solves my issue)

Fatal error: Uncaught exception 'TYPO3\Flow\Package\Exception\InvalidPackageStateException' with message 'Package "filemetadata" is already registered.' in /var/www/typo3_source/typo3_src-6.2.0beta5/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php:627 Stack trace: #0 /var/www/typo3_source/typo3_src-6.2.0beta5/typo3/sysext/core/Classes/Package/PackageManager.php(408): TYPO3\Flow\Package\PackageManager->registerPackage(Object(TYPO3\CMS\Core\Package\Package), false) #1 /var/www/typo3_source/typo3_src-6.2.0beta5/typo3/sysext/core/Classes/Package/PackageManager.php(386): TYPO3\CMS\Core\Package\PackageManager->registerPackage(Object(TYPO3\CMS\Core\Package\Package), false) #2 /var/www/typo3_source/typo3_src-6.2.0beta5/typo3/sysext/core/Classes/Package/PackageManager.php(241): TYPO3\CMS\Core\Package\PackageManager->registerPackagesFromConfiguration() #3 /var/www/typo3_source/typo3_src-6.2.0beta5/typo3/sysext/core/Classes/Package/PackageManager.php(118): TYPO3\CMS\Core\Package\PackageManager in /var/www/typo3_source/typo3_src-6.2.0beta5/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php on line 627


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #55905: In some matter the package manager duplicates entries in PackageState which leads to fatalsClosed2014-02-12

Actions
Actions #1

Updated by Claus Harup about 10 years ago

In PackageStates.php I found both:

'typo3.cms.filemetadata' => 
array (
'manifestPath' => '',
'composerName' => 'typo3/cms/filemetadata',
'state' => 'inactive',
'packagePath' => 'typo3/sysext/filemetadata/',
'classesPath' => 'Classes/',
),

And

'filemetadata' =>
array (
'manifestPath' => '',
'composerName' => 'typo3/cms/filemetadata',
'state' => 'inactive',
'packagePath' => 'typo3/sysext/filemetadata/',
'classesPath' => 'Classes/',
),

Removing the first solves my problem....... but am I doing the right thing?

Actions #2

Updated by Markus Klein about 10 years ago

  • Status changed from New to Needs Feedback
  • Priority changed from Must have to Should have
  • Target version deleted (6.2.0)

Yes this is indeed a side effect of upgrading from a 6.2betaX to beta 5 we discovered recently.
Your solution is correct.

But as always, beta versions are not meant to be fully upgradeable within each of them, so things, like this, might break from time to time.

Actions #3

Updated by Markus Klein about 10 years ago

  • Status changed from Needs Feedback to Closed

Duplicate of #55905. Continue there.

Actions

Also available in: Atom PDF