You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you end up in a situation where you have 'multisite' => true in your config file (but do no other multisite steps) and then you run php please multisite, it'll tell you:
ERROR Command may have already been run. Site directories for site [default] already exist!
That's not true though. There are no directories. The issue is that $this->siteHandle is null at this point, so the path it checks is actually the parent.
How to reproduce
Add 'multisite' => true to your config.
Run please multisite
Logs
No response
Environment
5 beta 1
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered:
duncanmcclean
changed the title
Multisite command sometimes thinks it has run, but hasn't.
[5.x] Multisite command sometimes thinks it has run, but hasn't.
May 3, 2024
duncanmcclean
changed the title
[5.x] Multisite command sometimes thinks it has run, but hasn't.
Multisite command sometimes thinks it has run, but hasn't.
May 9, 2024
Bug description
If you end up in a situation where you have
'multisite' => true
in your config file (but do no other multisite steps) and then you runphp please multisite
, it'll tell you:That's not true though. There are no directories. The issue is that
$this->siteHandle
is null at this point, so the path it checks is actually the parent.How to reproduce
'multisite' => true
to your config.please multisite
Logs
No response
Environment
5 beta 1
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered: