• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
docker.service start failed
#1
Hello,

our netPi stopped working, the docker.service does not start up anymore. (docker.service: Failed with result 'protocol')
How can we fix this? WebInterface is working. Firmware version V1.2.0.0
Any help would be welcome. What may produce this? Power failure?
syslog of boot process attached.



Best
Manuel


Attached Files
.zip   syslog.zip (Size: 30.34 KB / Downloads: 5)
  Reply
#2
Hello Manuel,

I informed the development team to look to the log file.

But could you tell me more when this effect started to happen. Like ... the unit was working all day long ... all of a sudden the device didn't start docker any more after a next power cycle. Or like ... I pull and started a new container and after that the docker service didn't start any more.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Good Morning Armin,

We powered off the device by disconnecting the power source. On the next day we reconnected it and found the service no longer being functional.
We didn't pull the container itself, we only work remotely via ssh in the container.

HTH,
Manuel
  Reply
#4
Hello Manuel,

results from the development team are still pending. I looked into the log file myself and I see Docker not starting as well.

I see "unable to configure the Docker daemon with file /etc/docker/daemon.json: EOF" as first indication that something went wrong. Apparently this file is needed but it seems to be empty. The file format is officially explained here https://docs.docker.com/engine/reference...e/dockerd/ and configures the Docker Daemon.

I would expect nobody on the system is ever writing to this file, so I am wondering why it got empty. I guess my team is able to tell me more.

You asked me if an unintended power-off could be the reason. Well, usually in such cases only the file that was written the time of the power-off could get corrupted. But why the daemon.json if nobody is writing to it. And then "EOF" ... End of File, so the file is there, but empty. If a file got corrupt then it is not there and removed by Linux if recognized, but empty ... looks like a systematic problem.

I switched on and off my netPI since I operate it for 3 years nearly daily, I have never had such a problem. And I have not heard it from any customer yet.

The only chance I see right now for you is to recover it with a USB stick.

If you have a revision #2 device (small number "2" in the lower left corner of the bar code label) then the internal SD card can be remove and a binary image be taken with a windows tool for example. This image could be analyzed here. But I expect that we will not get really out what happened here.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#5
Good morning Armin,

I cannot find a bar code anywhere so I expect you're referring to the QR code? But the part number is 1321.510, same as our 2nd netPi, date code is 19/38.

So I think we need to ship it back?

Best,
Manuel
  Reply
#6
Hello Manuel,

sending back is not necessary at all. You can recover it via USB. The procedure is described in the FAQ: https://www.netiot.com/?id=2427

But you are right. I meant the QR-code of course. Sorry for misleading you. 1321.510 is the product code, correct. There is another digit "2" next to it with a space in between. Your device has been manufacturered week 38 year 2019, so it should be a version 2.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#7
Hello Armin,

thanks. We flashed the firmware and functionally is back.

Best,
Manuel
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  After „Rebuild“ of Docker neither the node-RED nor the dashboard can be accessed MAK 4 20 January-31st-2020, 02:14 PM
Last Post: MAK
  Cannot start container Magnus 7 42 October-16th-2019, 01:00 PM
Last Post: Armin@netPI
  [SOLVED] Docker GUI login issue MGharat 1 26 September-19th-2019, 11:50 AM
Last Post: Armin@netPI
Information netPI Docker REST API for versions >= V1.1.4.0 patrick 1 85 July-16th-2019, 02:45 PM
Last Post: patrick
  [SOLVED] Pull Docker Image a.w.d.m. 8 45 July-8th-2019, 11:17 AM
Last Post: Armin@netPI
  [SOLVED] Docker issues AlexRegev 7 195 June-26th-2019, 02:14 PM
Last Post: AlexRegev
  docker timing MGharat 2 36 June-13th-2019, 08:57 AM
Last Post: patrick
  Launching multi-containers at a time - Docker stacks Armin@netPI 0 44 June-4th-2019, 04:11 PM
Last Post: Armin@netPI
  [SOLVED] Diagnostic service MGharat 1 19 April-2nd-2019, 09:45 PM
Last Post: Armin@netPI
  [INFO]Docker DNS server Armin@netPI 0 22 March-7th-2019, 09:02 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)