So obviously I’m in trouble as I’m writing this. Here is a bit of context:
I’ve created a wrapper to spin up gibbon easily with docker compose
it consists of 2 containers DB and application itself (and bunch of settings around it)
Everything worked more or less smooth, but after I’ve played with apache settings, none of the users can’t login.
All data still in place, DB is not corrupted, containers are in the same network and have healthy connection.
I’ve reverted apache changes that (i suspect) caused it, but issue persist.
I’m a bit lost here. Any help appreciated.
Hi @antonsssh I wonder if it’s related to PHP session data not being shared between your containers, since it sounds like you have more than one, and PHP stores user session data in the filesystem. Gibbon does support switching to using database-only sessions, if you add the following to the bottom of your config.php file (with your own random encryption key):
/**
* Sets the type of session storage, and whether or not its encrypted.
*/
$sessionHandler = 'database';
$sessionEncryptionKey = 'thisisatest';