# Upgrading Mattermost on ‪Debian 8.11‬

**URL:** <https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151>\
**Category:** Troubleshooting\
**Created:** [July 22, 2020, 11:29am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151 "2020-07-22T11:29:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashleys](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ashleys/32/4016_2.png) [@ashleys](https://forum.mattermost.com/u/ashleys)\
**Post date:** [July 22, 2020, 11:29am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/1 "2020-07-22T11:29:36Z")

</div>

Hello, Running into an issue when trying to update Mattermost from 5.13.1 to 5.25.0 .

OS: Debian 8.11  
CP: Plesk

Fairly new to command line usage but advanced knowledgeable enough to be catching on.

Using [Redirect](https://docs.mattermost.com/administration/upgrade.html) as guide: receiving an error at step 5 that says

```
Failed to stop mattermost.service: Unit mattermost.service not loaded.

```

Any help and advisement on how to continue with upgrade would be appreciated

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [July 23, 2020, 3:58am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/2 "2020-07-23T03:58:01Z")

</div>

Hi, @ashleys

Since the error mentioned that `mattermost.service` was not loaded, can you confirm that the status as of now?

```auto
sudo systemctl status mattermost.service

```

Also, can you confirm the content of the mattermost.service as well?

```auto
cat /lib/systemd/system/mattermost.service

```

I am just trying to understand if there was a mattermost service that was set up in the first place. Thanks.

---

<div class="post-metadata">

**Author:** ![ashleys](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ashleys/32/4016_2.png) [@ashleys](https://forum.mattermost.com/u/ashleys)\
**Post date:** [July 23, 2020, 10:03am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/3 "2020-07-23T10:03:25Z")

</div>

Thanks for responding @ahmaddanial

It’s up and running at: [https://patentventures.dev/mattermost](https://patentventures.dev/mattermost)

Attaching the results

```
 mattermost.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

```

`cat: /lib/systemd/system/mattermost.service: No such file or directory`

But also after some investigation here’s what I found in Plesk. Seems to be a different name?

[Screen Shot 2020-07-23 at 6.01.46 AM|690x347](https://forum.mattermost.com/uploads/short-url/i7DdUIR9uNzZQRPc0VZbKrTwPur.png)

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [July 24, 2020, 2:34am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/4 "2020-07-24T02:34:38Z")

</div>

Hi, @ashleys

You are welcome. The error means that there was no mattermost service configured in the first place to use `systemd` for starting and stopping the service.

I can confirm that the instance is up and running on my end too:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/7/738aa11e4736cb126b78fc0e357ef80695860980.jpeg)

Moving back to the upgrade process, may I know how Mattermost was installed? Were you referring to the [Installing Mattermost on Debian](https://docs.mattermost.com/install/install-debian.html#installing-mattermost-server) originally? Since step 5 in the upgrade documentation only highlights for Ubuntu and RHEL, I don’t think it applies in this case.

Also, what happens when you stop the Mattermost service from Plesk and proceed with the upgrade? Does it go through?

---

<div class="post-metadata">

**Author:** ![ashleys](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ashleys/32/4016_2.png) [@ashleys](https://forum.mattermost.com/u/ashleys)\
**Post date:** [July 24, 2020, 9:00am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/5 "2020-07-24T09:00:20Z")

</div>

@ahmaddanial ahh I understand.

It was installed using the [Plesk extensions catalog](https://www.plesk.com/extensions/mattermost/)

And no I didn’t try stop the service from Plesk. I was afraid of messing something up.  
Should I try to proceed with the update instructions, skipping #5, and using Plesk to stop and restart the service?

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [July 24, 2020, 1:01pm UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/6 "2020-07-24T13:01:56Z")

</div>

Hi, @ashleys

As long as you have the Mattermost [backup](https://docs.mattermost.com/administration/backup.html) handy for roll backs, I’d say go for it.

If you have run into any issues along the way, capture the `mattermost.log` and the error that you are seeing on your end (console and UI). Roll back if necessary.

---

<div class="post-metadata">

**Author:** ![ashleys](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ashleys/32/4016_2.png) [@ashleys](https://forum.mattermost.com/u/ashleys)\
**Post date:** [July 25, 2020, 6:30am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/7 "2020-07-25T06:30:17Z")

</div>

hi @ahmaddanial,

I think it went through. How do I check the version? In the mobile app it says the serve version is 5.25 but just wanted to make sure that was correct.

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [July 27, 2020, 2:40am UTC](https://forum.mattermost.com/t/upgrading-mattermost-on-debian-8-11/10151/8 "2020-07-27T02:40:08Z")

</div>

Hello, @ashleys

Log in to the desktop / web app. Click on the 3 line icon and open up **About Mattermost**. You should be able to confirm that it is upgraded properly. For example:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/5/5838d44ac939c49e08acda03923d88ab680f9b81.png)

Does it show the right one?
