Actions
Bug #86591
closedCannot update extensions when using galera cluster
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:
- 1. row *******************
uid: 3
title: TYPO3.org Main Repository
description: Main repository on typo3.org. This repository has some mirrors configured which are available with the mirror url.
wsdl_url: https://typo3.org/wsdl/tx_ter_wsdl.php
mirror_list_url: https://repositories.typo3.org/mirrors.xml.gz
last_update: 1346191200
extension_count: 0
pid: 0
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