Service stuck in endless install, starting, killing service loop

I’m launching a service using docker-compose but the service keeps getting stuck in a loop. I left it overnight and it actually seemed to fix itself, but when pushing new changes the cycle starts all over again. I don’t see any errors in the logs though so unsure of what the issue might be.

log output

17.11.18 12:41:46 (-0500) Installing service 'easy_ssb_pub sha256:35748f1aa72c69a8a5379d500922bb94380724a1675bf13bb64f8cd8f720b43b'
17.11.18 12:41:47 (-0500) Installed service 'easy_ssb_pub sha256:35748f1aa72c69a8a5379d500922bb94380724a1675bf13bb64f8cd8f720b43b'
17.11.18 12:41:47 (-0500) Starting service 'easy_ssb_pub sha256:35748f1aa72c69a8a5379d500922bb94380724a1675bf13bb64f8cd8f720b43b'
17.11.18 12:41:50 (-0500)  easy_ssb_pub  /sbin/udevd
17.11.18 12:41:50 (-0500) Started service 'easy_ssb_pub sha256:35748f1aa72c69a8a5379d500922bb94380724a1675bf13bb64f8cd8f720b43b'
17.11.18 12:41:51 (-0500) Killing service 'easy_ssb_pub sha256:35748f1aa72c69a8a5379d500922bb94380724a1675bf13bb64f8cd8f720b43b'

result of journalctl --no-pager -u resin-supervisor

Nov 17 17:53:51 5da1c7b resin-supervisor[1259]: [2018-11-17T17:53:51.209Z] Replacing container for service easy_ssb_pub because of config changes:
Nov 17 17:53:51 5da1c7b resin-supervisor[1259]: [2018-11-17T17:53:51.210Z]   Non-array fields:  {"added":{"portMaps":{"2":{"ports":{"internalStart":8007,"internalEnd":8007,"externalStart":8007,"externalEnd":8007,"host":"","protocol":"tcp"}}}},"deleted":{},"updated":{"portMaps":{"1":{"ports":{"internalStart":8008,"externalStart":8008}}}}}
Nov 17 17:53:52 5da1c7b resin-supervisor[1259]: [2018-11-17T17:53:52.342Z] Warning: Ignoring unsupported or unknown compose fields: containerName
Nov 17 17:53:53 5da1c7b resin-supervisor[1259]: [2018-11-17T17:53:53.570Z] Event: Service exit {"service":{"appId":1307560,"serviceId":127331,"serviceName":"easy_ssb_pub","releaseId":670264}}

What are some additional steps I could take to provide more information or to troubleshoot on my own.

Thanks.

Hi. Could you share with us in a private message the dashboard link to your device? And also enable support access for a few days for that device?
Please let us know in this thread when the above have been sent over private message

@floion this is resolved. note sure what changed though. thanks for the response.

Hi @aafrey you can find docker-compose.yml in your dashboard’s application page, under Releases

1 Like

@floion thanks for the tip!

I got this a lot. Turns out the container manager gets very upset if your environment variables have unexpected characters like spaces, which often get picked up during a cut and paste.