Answers.Body: <p>Have your <code>composer.json</code> and <code>composer.lock</code> files been updated with the new versions for Craft and all your plugins/dependencies? You should be able to tell by looking at the version of Craft that's required in your <code>composer.json</code> - it should look something like this:</p>
  <p><code>&quot;craftcms/cms&quot;: &quot;^4.0.0&quot;</code></p>
  <p>If that semver number is still starting with a <code>3</code> (e.g. <code>&quot;^3.6.0&quot;</code>) or just has a number in it and no <code>^</code> (e.g. <code>&quot;3.6.0&quot;</code>) prefix, then Composer can't upgrade you to Craft 4.</p>
  <p>If it is set to Craft 4, I'd try deleting your <code>vendor</code> directory and running <code>composer install</code> again, then clear all caches.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-26T15:42:07.113Z
Answers.Text: Yay thanks for the hint. Done that but somehow it changed it back. Deleted composer.lock and that made the trick for me. Thanks for the answer, led me to the right direction.
Answers.UserDisplayName: user2190590
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-24T16:04:27.797Z
Answers.LastActivityDate: 2022-10-24T16:04:27.797Z
Answers.UserDisplayName: Martin Spain
Body: <p>I went through the upgrade guide step-by-step and all went smoothly without error. But my Craft Installation is still running in 3.7.57. I logged out and in again, it still runs Craft 3. Also repeated the last steps of the guide.</p>
  <p>I did the upgrade on an online instance and not locally, could that be the problem?</p>
  <p>Does anyone knows that issue? Any ideas on what I could try?</p>
  
Tags: <upgrades><craft4>
Title: Upgrading to Craft 4 dosen’t seem to work
ThreadText: # Upgrading to Craft 4 dosen’t seem to work
  
  (Asked by: username_0 on 2022-10-24)
  
  I went through the upgrade guide step-by-step and all went smoothly without error. But my Craft Installation is still running in 3.7.57. I logged out and in again, it still runs Craft 3. Also repeated the last steps of the guide.
  
  I did the upgrade on an online instance and not locally, could that be the problem?
  
  Does anyone knows that issue? Any ideas on what I could try?
  
  **Tags:** upgrades, craft4
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-10-24. Score: 2
  
  Have your `composer.json` and `composer.lock` files been updated with the new versions for Craft and all your plugins/dependencies? You should be able to tell by looking at the version of Craft that's required in your `composer.json` - it should look something like this:
  
  `"craftcms/cms": "^4.0.0"`
  
  If that semver number is still starting with a `3` (e.g. `"^3.6.0"`) or just has a number in it and no `^` (e.g. `"3.6.0"`) prefix, then Composer can't upgrade you to Craft 4.
  
  If it is set to Craft 4, I'd try deleting your `vendor` directory and running `composer install` again, then clear all caches.
  
  > **Comments:**
  > **username_0**: Yay thanks for the hint. Done that but somehow it changed it back. Deleted composer.lock and that made the trick for me. Thanks for the answer, led me to the right direction.  
  
  ---
  
  