Cache is mixed up between sites

Created on 1 July 2023, about 2 years ago

Update1 : there might be some hidden setting that directs to cache tables? (both sites can possibly access the other database independently of settings.php)
Update 2 : running cron clear-up the things too
Update 3 : this happens also with another site completely independent with a different file / database owner (but also with the same code and database, only settings.php are different : database login and cookies domain
The virtual servers are configured in FCGID, PHP 7.4

Problem/Motivation

Critical cross-caching between independent sites on the same physical server

Steps to reproduce

Set up a clone of an existing site
This clone is in its own file system, its own database, but they are owned by the same user

On the new site, go to /admin/config/media/file-system and change the temporary directory
On the existing site, go to the same page : the temporary directory changed to take the same value as the new one !
Don't change nor save this page, go to the database of the existing site and check the variable 'file_temporary_path' : it is correct.
Clear the cache : the original value is back.

You can proceed the other way : changing any setting on one site is reflected in the other site when opening the corresponding page/form

Thanks for help!

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Fixed

Version

7.0 ⚰️

Component
Cache 

Last updated 12 days ago

Created by

🇫🇷France jvieille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024