# Cannot upgrade to v 4.0

**URL:** <https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888>\
**Category:** Graylog Central (peer support)\
**Created:** [November 19, 2020, 9:13am UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888 "2020-11-19T09:13:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tszigeti](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@tszigeti](https://community.graylog.org/u/tszigeti)\
**Post date:** [November 19, 2020, 9:13am UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/1 "2020-11-19T09:13:14Z")

</div>

Hi all, i cannot upgrade to version 4, it says that my 3.3.8-1 is the latest. Ubuntu 20.04.1 LTS 5.4.0-54-generic.

Check picture

[![Imgur](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/b/b1921dff048ffc128f4361beb449e0ce14b71d33.png "imgur.com") ](https://imgur.com/gtJDh0m)

// Tomas

---

<div class="post-metadata">

**Author:** ![zoulja](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/zoulja/32/3603_2.png) [@zoulja](https://community.graylog.org/u/zoulja)\
**Post date:** [November 19, 2020, 11:00am UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/2 "2020-11-19T11:00:21Z")

</div>

You’ve missed **apt update** step

---

<div class="post-metadata">

**Author:** ![tszigeti](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@tszigeti](https://community.graylog.org/u/tszigeti)\
**Post date:** [November 19, 2020, 2:04pm UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/3 "2020-11-19T14:04:38Z")

</div>

No, i have did a couple of times, i know it was not in the picture but it does not change the outcome.

---

<div class="post-metadata">

**Author:** ![mandeviller](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/mandeviller/32/7508_2.png) [@mandeviller](https://community.graylog.org/u/mandeviller)\
**Post date:** [November 19, 2020, 2:55pm UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/4 "2020-11-19T14:55:49Z")

</div>

apt-get update first

---

<div class="post-metadata">

**Author:** ![aaronsachs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/aaronsachs/32/7180_2.png) [@aaronsachs](https://community.graylog.org/u/aaronsachs)\
**Post date:** [November 19, 2020, 3:03pm UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/5 "2020-11-19T15:03:33Z")

</div>

@tszigeti double check your apt sources list. I’m not entirely convinced that installing the repo package made the changes it needed to. If you check:

`/etc/apt/sources.list.d/graylog.list`

The content there _should_ be:

```auto
deb https://packages.graylog2.org/repo/debian/ stable 4.0

```

It’s likely that it’s reading:

```auto
deb https://packages.graylog2.org/repo/debian/ stable 3.0

```

So if you update it to look like the first entry, then run `apt-get update`, you should be able to install 4.0.

---

<div class="post-metadata">

**Author:** ![tszigeti](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@tszigeti](https://community.graylog.org/u/tszigeti)\
**Post date:** [November 20, 2020, 6:27am UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/6 "2020-11-20T06:27:14Z")

</div>

Thank you, it did the trick. Mine read

(hashsign) deb [https://packages.graylog2.org/repo/debian/](https://packages.graylog2.org/repo/debian/) stable 3.3 (hashsign) disabled on upgrade to focal

I must missclicked at first upgrade.

Thank you for your excellent support.

// Tomas

---

<div class="post-metadata">

**Author:** ![aaronsachs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/aaronsachs/32/7180_2.png) [@aaronsachs](https://community.graylog.org/u/aaronsachs)\
**Post date:** [November 20, 2020, 1:16pm UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/7 "2020-11-20T13:16:40Z")

</div>

My pleasure! Glad to help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [December 4, 2020, 1:16pm UTC](https://community.graylog.org/t/cannot-upgrade-to-v-4-0/17888/8 "2020-12-04T13:16:41Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
