# Upgrade Assistance from 2.4.6 to 2.4.7

**URL:** <https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844>\
**Category:** Graylog Central (peer support)\
**Created:** [November 13, 2020, 4:57pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844 "2020-11-13T16:57:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 13, 2020, 4:57pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/1 "2020-11-13T16:57:46Z")

</div>

Hi All,

I recently upgraded our Graylog server using Webmin from version 2.4.6+ceaa7e4, codename _Wildwuchs_ to graylog-server 2.4.7-1.

Since the upgrade I’m unable to access the Graylog interface, is there any log file I can show you or can you suggest anything I could try?

Thanks,

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [November 18, 2020, 9:34am UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/2 "2020-11-18T09:34:53Z")

</div>

all messages are in the Graylog server.log that is located at `/var/log/graylog-server/server.log`

that should indicate what the problem is

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 18, 2020, 5:34pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/3 "2020-11-18T17:34:31Z")

</div>

This is what I found in the log file, any suggestions would be greatly appreciated? I’ve attached a picture of the log file.

 ![Graylog server log](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/a/ac0d4c91e2b5a635535789163bc6f73ae526bf25.png)

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 18, 2020, 6:02pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/4 "2020-11-18T18:02:17Z")

</div>

What’s the status of the mongod service?

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 18, 2020, 9:10pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/5 "2020-11-18T21:10:16Z")

</div>

According to Webmin the mongod service is running. See below

 ![Running Processes](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/e/ee0a08e047f38515d47bd52a43bcbe9946627e63.png)

Here is what the mongodb.log says

 ![mongodb log](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/1/1123fff751ccb9783f8a36dffb25dde89863fcbe.png)

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 18, 2020, 9:20pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/6 "2020-11-18T21:20:33Z")

</div>

Are there any errors in the MongoDB service log before it starts closing connections and shutting down the service before restarting? Above where the top of the screenshot starts. The Graylog log you posted first indicates a problem opening a connection to MongoDB. That’s where all of the Graylog server configurations live.

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 18, 2020, 9:55pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/7 "2020-11-18T21:55:20Z")

</div>

I can’t see any MongoDB service log, where is the location? I can only see the mongodb.log

 ![location of logs](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/c/c82fb89612a81a43274d40bdc4d55f51741fed0e.png)

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 18, 2020, 10:14pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/8 "2020-11-18T22:14:33Z")

</div>

Unless the kernel is killing the service for some reason (we should see that in kern.log), it will be in one of those. Any errors in the current log? Or, what’s at the end of the prior log? (mongodb.log.1)

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 19, 2020, 6:57am UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/9 "2020-11-19T06:57:04Z")

</div>

This is what I’m seeing at the end of the mongodb.log.1

 ![mongodb log.1](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/7/720e4984e3c16d93c74ee18e7f5f05bdb3ed811a.png)

Here is the end of the current mongodb.log

 ![mongodb log](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/f/fc8f81728fe560cb7bde6ec79900733019a39299.png)

Would it be possible to upload the graylog server.log and mongodb.log for you to inspect?

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 19, 2020, 5:46pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/10 "2020-11-19T17:46:56Z")

</div>

I manged to get Graylog running again by upgrading MongoDB to version 4.2.

I’m now trying to upgrade Graylog from version 2.4.6-1 to Graylog 2.5 by following the instructions below

wget [https://packages.graylog2.org/repo/packages/graylog-2.5-repository\_latest.deb](https://packages.graylog2.org/repo/packages/graylog-2.5-repository_latest.deb)  
sudo dpkg -i graylog-2.5-repository\_latest.deb  
sudo apt-get update  
sudo apt-get install graylog-server

Unfortunately I’m Graylog is still saying the following after a reboot

 ![Graylog Banner](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/6/61ba02876fac08b3714b56246af2df4e078f3538.png)

I also checked the System / Nodes System and it’s still showing this version number.

Version: 2.4.6+ceaa7e4, codename _Wildwuchs_

Please can you confirm how I upgrade this version of Graylog?

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 19, 2020, 6:20pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/11 "2020-11-19T18:20:32Z")

</div>

Hello @manga411, so glad you fixed your MongoDB issue! For me an outdated version still showing after an upgrade is usually simply because the browser cache needs to be refreshed. The simplest fix is to force a refresh using whatever method your browser requires. For me it is to hold shift while clicking refresh or pressing F5.

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 19, 2020, 8:05pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/12 "2020-11-19T20:05:13Z")

</div>

Hello @ttsandrew I tried your suggestion pressing F5 and even tried another browser but I’m still getting this message? Can you confirm the steps I mentioned are correct to upgrade Graylog?

 ![Graylog Banner](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/6/61ba02876fac08b3714b56246af2df4e078f3538.png)

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 19, 2020, 8:28pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/13 "2020-11-19T20:28:05Z")

</div>

Yes those are the correct steps, I just used those exact steps (plus one more for enterprise plugins) to upgrade our test environment from 3.8 to 4.0.

does apt show graylog-server show version 2.5?  
Were there any errors when you ran the install?  
You confirmed you did cycle the service, correct? sudo systemctl restart graylog-server

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 19, 2020, 8:38pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/14 "2020-11-19T20:38:37Z")

</div>

I didn’t get any errors when I performed the upgrade. Below is what I get from running apt show graylog-server

 ![Command](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/6/6d9b1940acac6081ff7a57539bc249738aff1c24.png)

I’ve also tried to cycle the service but it’s still showing this version?

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 19, 2020, 8:40pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/15 "2020-11-19T20:40:05Z")

</div>

It doesn’t look like the install was actually performed. Have you tried running it again? Maybe there was an error that was missed.

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 19, 2020, 8:41pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/16 "2020-11-19T20:41:31Z")

</div>

should I just run these commands below again?

wget [https://packages.graylog2.org/repo/packages/graylog-2.5-repository\_latest.deb](https://packages.graylog2.org/repo/packages/graylog-2.5-repository_latest.deb)  
sudo dpkg -i graylog-2.5-repository\_latest.deb  
sudo apt-get update  
sudo apt-get install graylog-server

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 19, 2020, 8:49pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/17 "2020-11-19T20:49:18Z")

</div>

If the repository is already downloaded and available in the current directory you don’t need to run the first command again. The rest of the commands are correct, yes.

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 19, 2020, 8:54pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/18 "2020-11-19T20:54:26Z")

</div>

Here what I got when running those commands again  
 ![Command](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/c/c37d74eee0014958ef3101beb2be65f7a7904add.png)

---

<div class="post-metadata">

**Author:** ![ttsandrew](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@ttsandrew](https://community.graylog.org/u/ttsandrew)\
**Post date:** [November 19, 2020, 8:57pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/19 "2020-11-19T20:57:08Z")

</div>

Interesting. You might try `sudo apt-get upgrade graylog-server=2.5.1`

---

<div class="post-metadata">

**Author:** ![manga411](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@manga411](https://community.graylog.org/u/manga411)\
**Post date:** [November 19, 2020, 8:58pm UTC](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844/20 "2020-11-19T20:58:35Z")

</div>

Tried that command

flexible@test-pur-syslog-1:~ sudo apt-get upgrade graylog-server=2.5.1 Reading package lists... Done Building dependency tree Reading state information... Done E: Version ‘2.5.1’ for ‘graylog-server’ was not found flexible@test-pur-syslog-1:~

[Next page](https://community.graylog.org/t/upgrade-assistance-from-2-4-6-to-2-4-7/17844.md?page=2)
