-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache getting incorrectly accessed/read #15
Comments
I just noticed deleting the subfolders of the symfony-cache folder is not enough. The symfony-cache folder itself has to be completely deleted. |
Thanks for raising the issue @JustinBack . From the first look, it looks like this could be a docker copy versus docker volume problem, because it refreshes on restart. Can you confirm if you are using COPY in your docker file? If not, can we have a look at your dockerfile? and docker-compose (if any), so we can build this at our end? |
It does use copy however not the /tmp/ folder. |
Thank you for the response. Taking a look. |
I am accessing flagsmith in a docker container via a PHP CMS and everytime after restarting I have to manually clear the cache folder (removing the cache folder via the entrypoint doesnt work aswell) due to an error that the cachedCall is null.
https://sentry.internal.jrbit.de/share/issue/4bf1cd4ca04b4cbcaca8541a37709f9e/
The cache folder is empty and after deleting it it works.
https://github.com/JRB-IT/crispcms/blob/68e313aedf9c30aa996ae10fead621acab24fe5b/cms/jrbit/class/crisp/api/Flagsmith.php#L53
Any clue on what the issue is an how to hotfix it? Running on Tag 2.1.1
The text was updated successfully, but these errors were encountered: