Project

General

Profile

Actions

Bug #86591

closed

Cannot update extensions when using galera cluster

Added by Anastasios Sotiropoulos about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-10-08
Due date:
% Done:

100%

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

Description

After installing typo3 using a Galera Cluster with mysql, the extension list cannot be updated, throwing the error "No extension repository was found."
There is a correct row in tx_extensionmanager_domain_model_repository:

SELECT * FROM tx_extensionmanager_domain_model_repository\G;

however the uid here is 3. On a typical mysql database the uid is 1. This is an expected behaviour since there are 3 nodes in the tested multi-master setup (https://mariadb.org/auto-increments-in-galera/)
If the uid is changed to 1, everything works fine:

Temporary solution: UPDATE tx_extensionmanager_domain_model_repository SET uid=1 WHERE uid=3;

Actions

Also available in: Atom PDF