# שגיאת שדרוג נכשלה יציאה 1

**URL:** <https://meta.discourse.org/t/upgrade-failed-error-exit-1/251769>\
**Category:** Self-hosting\
**Created:** [14 בינואר,‏ 2023,‏ 3:27pm UTC](https://meta.discourse.org/t/upgrade-failed-error-exit-1/251769 "2023-01-14T15:27:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [15 בינואר,‏ 2023,‏ 5:33pm UTC](https://meta.discourse.org/t/upgrade-failed-error-exit-1/251769/4 "2023-01-15T17:33:08Z")

</div>

The problem here is that the PM Scanner can now scan chat messages as well so it has a new dependency on the chat plugin. But if you check it out as PM-Scanner then it is loaded before the chat plugin (because `P` comes before `c` in [ASCII](https://www.asciitable.com/asciifull.gif)) and the ChatMessage class has not been loaded yet.

Just change the plugin installation code to  
`git clone https://github.com/worldismine/PM-Scanner discourse-pm-scanner` and it will load after the chat plugin and be happy.

---

_[View the full topic](https://meta.discourse.org/t/upgrade-failed-error-exit-1/251769)._
