Update fail system

Update fails### Subject of the issue
Describe your issue here.
Device boots an wifi comes on. After some minutes update restart is heard. Then few minutes later update is failed.

Your environment

  • What version is the dongle? (Find on software state page on my.autopi.io)

Steps to reproduce

Tell us how to reproduce this issue.

Expected behaviour

Tell us what you expect should happen

Actual behaviour

Tell us what happens instead

Output of power.status command

If your issue is in any way related to the device shutting down or behaving in a unexpected way, please provide the output of the power.status command to help us diagnose the issue.

Run the command

power.status

in the terminal on local.autopi.io, and paste the result here.
image

Do’s & dont’s

  • Do not write your unit-id anywhere.

Did try to power up with lab power and that did not work. Sodered cables to pin 16 and 4 and sent in 13 volt.

Not the easiest way to troubleshoot. Serial interface or power up via something else than via obd would have been great

Hi Gustav

Have you seen this guide?

Also, you should be able to see in the logs what might be the issue.
Here is a guide on how to retrieve them.

Best regards
/Malte

Hi, yes I did look at the lab external powersupply guide. I dont have a voltmeter so it could be that my supply does not give high enough voltage.

Back to the root problem.
I did retrieve the logs and it seems to fail executing pip2.7 something. Command is missing

2019-11-05 08:21:57,156 [salt.utils.decorators:613 ][WARNING ][1046] The function “module.run” is using its deprecated version and will expire in version “Sodium”.
2019-11-05 08:22:17,020 [salt.utils.decorators:613 ][WARNING ][1483] The function “module.run” is using its deprecated version and will expire in version “Sodium”.
2019-11-05 08:22:18,355 [salt.loaded.ext.module.minionutil:223 ][WARNING ][1483] Retrying update of release ‘ac8c7b756fb585f2a284fc26debfa8819294ba4a’ => ‘ac8c7b756fb585f2a284fc26debfa8819294ba4a’
2019-11-05 08:25:21,236 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/usr/lib/python2.7/dist-packages/salt/states/pip_state.py”, line 769, in installed
no_cache_dir=no_cache_dir
File “/usr/lib/python2.7/dist-packages/salt/modules/pip.py”, line 837, in install
**cmd_kwargs)
File “/usr/lib/python2.7/dist-packages/salt/modules/cmdmod.py”, line 1675, in run_all
**kwargs)
File “/usr/lib/python2.7/dist-packages/salt/modules/cmdmod.py”, line 575, in _run
raise CommandExecutionError(msg)
CommandExecutionError: Unable to run command ‘[’/usr/local/bin/pip2.7’, ‘install’, ‘–requirement’, ‘/etc/pip-requirements.txt’, ‘–upgrade’]’ with the context ‘{‘timeout’: None, ‘with_communicate’: True, ‘shell’: False, ‘bg’: False, ‘stderr’: -1, ‘env’: {‘LC_NUMERIC’: ‘C’, ‘NOTIFY_SOCKET’: ‘/run/systemd/notify’, ‘LC_ADDRESS’: ‘C’, ‘DEBIAN_FRONTEND’: ‘noninteractive’, ‘LC_CTYPE’: ‘C’, ‘LC_PAPER’: ‘C’, ‘PATH’: ‘/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin’, ‘UCF_FORCE_CONFFOLD’: ‘1’, ‘APT_LISTCHANGES_FRONTEND’: ‘none’, ‘LANG’: ‘en_GB.UTF-8’, ‘LC_IDENTIFICATION’: ‘C’, ‘LC_MESSAGES’: ‘C’, ‘JOURNAL_STREAM’: ‘8:9432’, ‘LC_MONETARY’: ‘C’, ‘HOSTALIASES’: ‘/boot/host.aliases’, ‘LC_COLLATE’: ‘C’, ‘LC_TELEPHONE’: ‘C’, ‘LC_MEASUREMENT’: ‘C’, ‘LC_NAME’: ‘C’, ‘LC_TIME’: ‘C’, ‘APT_LISTBUGS_FRONTEND’: ‘none’, ‘INVOCATION_ID’: ‘e5b24cc2850e44729dd5a0d8954da9d0’}, ‘stdout’: -1, ‘close_fds’: True, ‘stdin’: None, ‘cwd’: ‘/root’}’, reason: command not found

2019-11-05 08:26:49,159 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/var/cache/salt/minion/extmods/states/ec2x.py”, line 139, in gnss_assist_enabled
res = salt_more.call_error_safe(salt[“ec2x.gnss_assist”])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1117, in getitem
func = super(LazyLoader, self).getitem(item)
File “/usr/lib/python2.7/dist-packages/salt/utils/lazy.py”, line 98, in getitem
return self._dict[key]
KeyError: ‘ec2x.gnss_assist’

2019-11-05 08:26:49,203 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/var/cache/salt/minion/extmods/states/ec2x.py”, line 96, in gnss_auto_start
res = salt_more.call_error_safe(salt[“ec2x.gnss_auto_start”])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1117, in getitem
func = super(LazyLoader, self).getitem(item)
File “/usr/lib/python2.7/dist-packages/salt/utils/lazy.py”, line 98, in getitem
return self._dict[key]
KeyError: ‘ec2x.gnss_auto_start’

2019-11-05 08:26:49,242 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/var/cache/salt/minion/extmods/states/module_extra.py”, line 21, in configured
res = salt_more.call_error_safe(salt["{:s}".format(name)], *args)
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1117, in getitem
func = super(LazyLoader, self).getitem(item)
File “/usr/lib/python2.7/dist-packages/salt/utils/lazy.py”, line 98, in getitem
return self._dict[key]
KeyError: ‘ec2x.gnss_nmea_port’

2019-11-05 08:26:49,280 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/var/cache/salt/minion/extmods/states/module_extra.py”, line 21, in configured
res = salt_more.call_error_safe(salt["{:s}".format(name)], *args)
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1117, in getitem
func = super(LazyLoader, self).getitem(item)
File “/usr/lib/python2.7/dist-packages/salt/utils/lazy.py”, line 98, in getitem
return self._dict[key]
KeyError: ‘ec2x.gnss_nmea_output_gps’

2019-11-05 08:26:49,321 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/var/cache/salt/minion/extmods/states/module_extra.py”, line 21, in configured
res = salt_more.call_error_safe(salt["{:s}".format(name)], *args)
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1117, in getitem
func = super(LazyLoader, self).getitem(item)
File “/usr/lib/python2.7/dist-packages/salt/utils/lazy.py”, line 98, in getitem
return self._dict[key]
KeyError: ‘ec2x.urc_port_config’

2019-11-05 08:26:49,355 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/var/cache/salt/minion/extmods/states/module_extra.py”, line 21, in configured
res = salt_more.call_error_safe(salt["{:s}".format(name)], *args)
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1117, in getitem
func = super(LazyLoader, self).getitem(item)
File “/usr/lib/python2.7/dist-packages/salt/utils/lazy.py”, line 98, in getitem
return self._dict[key]
KeyError: ‘ec2x.ri_other_config’

2019-11-05 08:26:49,396 [salt.state :292 ][ERROR ][1483] An exception occurred in this state: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/salt/state.py”, line 1870, in call
**cdata[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1818, in wrapper
return f(*args, **kwargs)
File “/var/cache/salt/minion/extmods/states/module_extra.py”, line 21, in configured
res = salt_more.call_error_safe(salt["{:s}".format(name)], *args)
File “/usr/lib/python2.7/dist-packages/salt/loader.py”, line 1117, in getitem
func = super(LazyLoader, self).getitem(item)
File “/usr/lib/python2.7/dist-packages/salt/utils/lazy.py”, line 98, in getitem
return self._dict[key]
KeyError: ‘ec2x.ri_signal_config’

Hi Gustav, that does look really odd.

Have you made any modifications to the device image?
Have you reflashed the device at some point, or is this the default image from when you got it?

Best regards
/Malte

Hi,
Nope nothing at all. Just did thou… .but now I have a problem of elevating my rights with sudo to make the minion folder writable. This results in an 'unable to resolve host"

So I try to change the hostname file…but that is writeprotected…