Body: <p>I have a Craft 4 site — all working fine.</p>
  <p>If I go to Utilities &gt; Asset Indexes &gt; Update Asset Indexes, I get the following error:</p>
  <p>&quot;Craft isn’t installed yet.&quot;</p>
  <p>Clearly, this is not the correct error message because I’m getting it inside the Craft dashboard.</p>
  <p>If I click 'OK' it carries on updating the asset indexes, only for the error to pop up again a few images later. (With a few hundred images, I have to click 'OK' a dozen times or so to complete the process.)</p>
  <p>As far as I can tell, the asset indexing does get completed properly, so it’s more of an irritation than anything, but I’m concerned that it is a symptom of a problem I haven’t spotted.</p>
  <p>Note: the error doesn’t appear locally, just on the staging space.</p>
  <p>Also note: I have two other Craft sites with the same host, that don’t display the error, so if something’s wrong it’s probably something I did.</p>
  <p>Questions:</p>
  <ol>
  <li>How can I track down the actual error, given that the message is clearly incorrect?</li>
  <li>Is it a problem, or (considering how infrequently I will use that function post-launch) can I safely ignore it?</li>
  </ol>
  <p>Many thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-12-16T02:29:15.160Z
Comments.Text: Huh... any errors in Craft's or your web server's logs when that happens?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-12-20T23:38:03.027Z
Comments.Text: storage/logs/web-2022-12-20.log says "2022-12-20 23:30:46 [web.WARNING] [craft\elements\db\ElementQuery::prepare] Element query executed before Craft is fully initialized. {"memory":26063232} 
  2022-12-20 23:30:46 [web.WARNING] [application] Request context: {"userId":1,"body":"{\"cacheImages\":true,\"volumes\":[\"*\"]}","vars":{"_GET":{"p":"wddedit/actions/asset-indexes/start-indexing","v":"1671579044873"},"_COOKIE":" and a bunch more stuff.
Comments.UserDisplayName: mitrol
Tags: <error-message><craft4>
Title: "Craft Isn’t Installed Yet" Error - Asset Indexes
ThreadText: # "Craft Isn’t Installed Yet" Error - Asset Indexes
  
  (Asked by: username_0 on 2022-12-15)
  
  I have a Craft 4 site — all working fine.
  
  If I go to Utilities > Asset Indexes > Update Asset Indexes, I get the following error:
  
  "Craft isn’t installed yet."
  
  Clearly, this is not the correct error message because I’m getting it inside the Craft dashboard.
  
  If I click 'OK' it carries on updating the asset indexes, only for the error to pop up again a few images later. (With a few hundred images, I have to click 'OK' a dozen times or so to complete the process.)
  
  As far as I can tell, the asset indexing does get completed properly, so it’s more of an irritation than anything, but I’m concerned that it is a symptom of a problem I haven’t spotted.
  
  Note: the error doesn’t appear locally, just on the staging space.
  
  Also note: I have two other Craft sites with the same host, that don’t display the error, so if something’s wrong it’s probably something I did.
  
  Questions:
  
  1. How can I track down the actual error, given that the message is clearly incorrect?
  2. Is it a problem, or (considering how infrequently I will use that function post-launch) can I safely ignore it?
  
  Many thanks
  
  **Tags:** error-message, craft4
  
  > **Comments:**
  > **username_1**: Huh... any errors in Craft's or your web server's logs when that happens?  
  > **username_0**: storage/logs/web-2022-12-20.log says "2022-12-20 23:30:46 [web.WARNING] [craft\elements\db\ElementQuery::prepare] Element query executed before Craft is fully initialized. {"memory":26063232}  2022-12-20 23:30:46 [web.WARNING] [application] Request context: {"userId":1,"body":"{\"cacheImages\":true,\"volumes\":[\"*\"]}","vars":{"_GET":{"p":"wddedit/actions/asset-indexes/start-indexing","v":"1671579044873"},"_COOKIE":" and a bunch more stuff.  
  
  ---
  
  ## 0 answers
  
  