Project

General

Profile

Actions

Bug #79089

closed

UpgradeWizard (8.5) does not work with alternative cache configuration

Added by David Greiner over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-23
Due date:
% Done:

0%

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

Description

The upgrade wizard seems not to work while updating from 8.4.1 to 8.5. using an alternative cache configuration. In my case i am using redis as caching backend.

The following error occures if i try to start the upgrade wizard:

array_merge() expects at least 1 parameter, 0 given 

TypeError thrown in file
../TYPO3.CMS/typo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php in line 271.

My cache configuration:


$config = array(
    'hostname' => '127.0.0.1',
    'database' => 2
);

$tables = array(
    'cache_hash',
    'cache_pages',
    'cache_pagesection',
    'cache_runtime',
    'cache_rootline',
    'cache_imagesizes',
    'extbase_object',
    'extbase_reflection',
    'datamapfactory_datamap',
    'extbase_reflection',
    'extbase_datamapfactory_datamap',
    'extbase_typo3dbbackend_queries',
    'extbase_typo3dbbackend_tablecolumns',
);

foreach ($tables as $table) {
    $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][$table]['backend'] = \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class;
    $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][$table]['options'] = $config;
}

Removing the cache configuration makes it possible to use the upgrade wizard.

Actions #1

Updated by David Greiner over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Philipp Kerling about 7 years ago

This also reliably happens for me with ApcuBackend cache configuration on 8.6.0.

Actions #3

Updated by Benni Mack over 6 years ago

  • Status changed from New to Closed

Main reason is that
- extbase_typo3dbbackend_queries
- extbase_typo3dbbackend_tablecolumns

are gone, and since TYPO3 v9, also extbase_object is gone.

Btw... I would use different Redis databases for each cache.

Actions

Also available in: Atom PDF