-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
[WiP] Worker mode #9
base: main
Are you sure you want to change the base?
Conversation
Could you @dunglas checkout this PR and check if you can see what could be next steps? |
Unfortunately I don't know Drupal enough... Maybe the issue is that |
Aah, good point. So that would mean... Drupal specific Caddy config 🤔 |
But but, it works then not in worker mode... so cannot be Caddy config, right? |
I think that we're hitting a known bug: the normal mode doesn't work anymore when a worker is started. Here the worker starts We need to fix this in FrankenPHP directly, theoretically normal scripts should work even when workers are started. |
Could you try if dunglas/frankenphp@878a30d fixes the issue with the installer, please? Than you! |
@dunglas now I was able to run install process (install.php) without errors and I got to homepage. After that I get very weird effects: After installation in complete, it logs me in as administrator and I was able to see frontpage before first page change / refresh. Then I just get this:
Ok, then I though I'll visit the site as anonymous user with another browser. Well I get the site but it loads randomly between 2 pages on every url. And weirdly shows me as logged in user. That cannot be changed even if I clear all cache from browser (cache, logins etc). |
This looks related to dunglas/frankenphp#85 |
Yup. Drupal stores sessions by default to database. |
composer.json
FRANKENPHP_CONFIG
indocker-compose.yml
Drupal responds with
FRANKENPHP_CONFIG
commented out, otherwise not.When checking https://localhost headers it seems to responds somewhat but nothing gets to browser: