# Server doesn't boot due to kernel update, how can I recover Discourse

**URL:** https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942
**Category:** Support
**Created:** [June 5, 2017, 8:50am UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942 "2017-06-05T08:50:50Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![robypez](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robypez/32/106859_2.png) [@robypez](https://meta.discourse.org/u/robypez)
#### Post date: [June 5, 2017, 8:50am UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942/1 "2017-06-05T08:50:50Z")

</div>

Hello everybody, I have an issue.  
My server autoupdate kernel and now it doesn’t boot because the virtual environment doesn’t support the new kernel.  
I can install a new OS, how can I move Discourse to the new instance?

I have a backup but it’s not recent… can I move the docker container to the other server and everything is fine?

---

<div class="post-metadata">

### Author: ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)
#### Post date: [June 5, 2017, 8:53am UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942/2 "2017-06-05T08:53:24Z")

</div>

What environment are you in that this is the case? How do you not have recent backups? I automatically take backups daily…can you downgrade the kernel?

The OS install isn’t hosed, just the kernel.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [June 5, 2017, 8:54am UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942/3 "2017-06-05T08:54:51Z")

</div>

Do you have a way to access the `/var/discourse` folder?

If so, copying the full folder over to a new server (with Docker and Git installed) _should_ allow you to simply run `./launcher rebuild app` there to re-create the container with all data intact; in case fixing the kernel setup as per @robbyoconnor doesn’t work out.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [June 5, 2017, 10:38pm UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942/4 "2017-06-05T22:38:00Z")

</div>

Contact the hosting provider, work with them to get a copy of the disk image, move `/var/discourse` to a server with a provider who knows what they’re doing.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 14, 2019, 10:58pm UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942/5 "2019-06-14T22:58:49Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 21, 2022, 1:53am UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942/6 "2022-11-21T01:53:23Z")

</div>



---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 21, 2022, 1:54am UTC](https://meta.discourse.org/t/server-doesnt-boot-due-to-kernel-update-how-can-i-recover-discourse/63942/7 "2022-11-21T01:54:16Z")

</div>


