Answers.Body: <p>My guess is your config/db.php has the wrong environment variables.</p>
  <p>Craft 4 started prefixing all env vars with <code>CRAFT_</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-26T02:33:12.187Z
Answers.LastActivityDate: 2022-05-26T02:33:12.187Z
Answers.UserDisplayName: Leevi Graham
Body: <p>After successfully getting my DB setup and installing Craft through the command line, I'm getting a persistent 503 error on even a simple hi.txt file</p>
  <p><a href="https://saltandpepper.recipes/hi.txt" rel="nofollow noreferrer">https://saltandpepper.recipes/hi.txt</a></p>
  <p>On the admin page it loads the raw html, but none of the dependent CSS or javascript seems to be loading. <a href="https://saltandpepper.recipes/admin/install" rel="nofollow noreferrer">https://saltandpepper.recipes/admin/install</a> I'v seen other 503 error issues reported here, but none that seem to apply to my situation. I don't know what could be going wrong</p>
  
Tags: <error><installation>
Title: Http 503 — Service Unavailable error after successful craft 4 installation. Can't even load a hi.txt file in web root
ThreadText: # Http 503 — Service Unavailable error after successful craft 4 installation. Can't even load a hi.txt file in web root
  
  (Asked by: username_0 on 2022-05-25)
  
  After successfully getting my DB setup and installing Craft through the command line, I'm getting a persistent 503 error on even a simple hi.txt file
  
  <https://saltandpepper.recipes/hi.txt>
  
  On the admin page it loads the raw html, but none of the dependent CSS or javascript seems to be loading. <https://saltandpepper.recipes/admin/install> I'v seen other 503 error issues reported here, but none that seem to apply to my situation. I don't know what could be going wrong
  
  **Tags:** error, installation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-05-26. Score: 1
  
  My guess is your config/db.php has the wrong environment variables.
  
  Craft 4 started prefixing all env vars with `CRAFT_`.
  
  
  ---
  
  