# ERROR: resin failed to start

**URL:** <https://forums.balena.io/t/error-resin-failed-to-start/2199>\
**Category:** Product support\
**Created:** [November 21, 2017, 2:26am UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199 "2017-11-21T02:26:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ymaia](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@ymaia](https://forums.balena.io/u/ymaia)\
**Post date:** [November 21, 2017, 2:26am UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/1 "2017-11-21T02:26:30Z")

</div>

Hello,

I’ve been using resin on a Raspberry Pi 3. Latest OS (2.7.5) and supervisor (6.3.6).  
If I power cycle the RPi a few times, especially if I don’t wait for it to boot up the OS / application completely, occasionally I get this error in the log:

```auto
20.11.17 01:06:52 (-0200) * Starting Resin.io User Application ...
20.11.17 01:06:52 (-0200) * start-stop-daemon: /etc/resinApp.sh is already running
20.11.17 01:06:52 (-0200) [!!]
20.11.17 01:06:52 (-0200) * ERROR: resin failed to start

```

It gets stuck there. The application just doesn’t start, no matter how much I wait.  
If I restart the application from Resin’s dashboard, things go back to normal.

Can someone elaborate on the nature of the error, and how can I prevent the boot process from getting stuck?

Best regards.

---

<div class="post-metadata">

**Author:** ![majorz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/majorz/32/639_2.png) [@majorz](https://forums.balena.io/u/majorz)\
**Post date:** [November 23, 2017, 10:23am UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/3 "2017-11-23T10:23:27Z")

</div>

@ymaia, Hi, I think we did not answer earlier as the thread was not in the Troubleshooting section, but I moved it there now.

Are you using Alpine base image for you application?

There was a recent fix, which targeted such an issue: [https://github.com/resin-io-library/base-images/pull/338](https://github.com/resin-io-library/base-images/pull/338)

If it is Alpine, using the latest base image should resolve this.

---

<div class="post-metadata">

**Author:** ![ymaia](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@ymaia](https://forums.balena.io/u/ymaia)\
**Post date:** [November 23, 2017, 1:32pm UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/8 "2017-11-23T13:32:59Z")

</div>

Hi @majorz

Exactly. I’m running Alpine.  
So, all I have to do is to issue a “git push” in order to have my application built again (now incorporating the fix), right?

Thank you!

---

<div class="post-metadata">

**Author:** ![majorz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/majorz/32/639_2.png) [@majorz](https://forums.balena.io/u/majorz)\
**Post date:** [November 23, 2017, 1:37pm UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/9 "2017-11-23T13:37:40Z")

</div>

Yes, if you have not specified an explicit docker image tag for the Alpine base image it should default to `latest` and a git push will pull the new version from the docker registry, which will be used during the build stage.  
Please let us know how that worked for you 🙂

---

<div class="post-metadata">

**Author:** ![ymaia](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@ymaia](https://forums.balena.io/u/ymaia)\
**Post date:** [November 23, 2017, 2:00pm UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/10 "2017-11-23T14:00:50Z")

</div>

Great!

Actually, I’m using:  
FROM resin/%%RESIN\_MACHINE\_NAME%%-alpine-node:8-slim

Let me know if this won’t include the fix, for some reason.  
I’ll begin testing immediately and let you know how it goes.

Thank you.

---

<div class="post-metadata">

**Author:** ![majorz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/majorz/32/639_2.png) [@majorz](https://forums.balena.io/u/majorz)\
**Post date:** [November 23, 2017, 2:38pm UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/11 "2017-11-23T14:38:12Z")

</div>

Yes, I just checked and the `8-slim` tagged version was updated 5 days ago and should include the fix.  
Good luck!

---

<div class="post-metadata">

**Author:** ![ymaia](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@ymaia](https://forums.balena.io/u/ymaia)\
**Post date:** [December 4, 2017, 4:50pm UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/12 "2017-12-04T16:50:34Z")

</div>

It works! I wasn’t able to reproduce the problem after the update.  
Thanks!

---

<div class="post-metadata">

**Author:** ![majorz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/majorz/32/639_2.png) [@majorz](https://forums.balena.io/u/majorz)\
**Post date:** [December 5, 2017, 8:47am UTC](https://forums.balena.io/t/error-resin-failed-to-start/2199/13 "2017-12-05T08:47:46Z")

</div>

Excellent! Thanks for letting us know that it worked.
