oref0 icon indicating copy to clipboard operation
oref0 copied to clipboard

0.7.0 upgrade notes and known issues

Open scottleibrand opened this issue 4 years ago • 8 comments

Running bash /tmp/openaps-install.sh dev (without a reflash) causes the rig to lose connectivity after updating dnsmasq and hostapd (used for the offline-only hotspot), and requiring me to log back in and re-run the setup a second time. I don’t know of any fix for that short of removing those packages and the offline-only hotspot support, but the workaround (running openaps-install again) shouldn’t be too big a deal. (It doesn’t happen on every upgrade, but when upgrading a rig that hasn’t been updated since before the last time those packages were updated upstream.)

Another install error that others have reported:

error in GitPython setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-KzxBJ3/gitpython
Storing debug log for failure in /root/.pip/pip.log
Couldn't install openaps toolkit

Fix is to update pip's setuptools via pip install setuptools -U and re-run the last install/setup command. If this happens to everyone, we can probably add that command to run automatically before it installs / updates the openaps toolkit.

scottleibrand avatar Oct 20 '19 23:10 scottleibrand

I just ran into this a few times with 2 different rigs, after reflashing: root@raven:~# curl https://raw.githubusercontent.com/openaps/oref0/dev/bin/openaps-install.sh > /tmp/openaps-install.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:100 4444 100 4444 0 0 9553 0 --:--:-- --:--:-- --:--:-- 9556 root@raven:~# bash /tmp/openaps-install.sh Enter your rig's new hostname (this will be your rig's name in the future, so make sure to write it down): black /tmp/openaps-install.sh: line 37: dpkg-reconfigure: command not found

straykatz avatar Nov 05 '19 04:11 straykatz

That’s a basic Linux command installed with Debian by default. If it’s missing you probably have a corrupted flash. I’d try reflashing to start.

scottleibrand avatar Nov 05 '19 04:11 scottleibrand

yikes. on two chips ... Thank you!

straykatz avatar Nov 05 '19 04:11 straykatz

What image are you using to flash? Maybe re-download that too?

scottleibrand avatar Nov 05 '19 04:11 scottleibrand

I had just re-downloaded Jubilinux before reflashing these two chips. I am having a hard time getting a clean install, been trying for a few days, actually. I'll redownload.

straykatz avatar Nov 05 '19 04:11 straykatz

Seems I got a strange TZ issue after upgrading.

Looplog...

https://omniaps.slack.com/files/UP2SZTXNC/FQ87YUQ0H/Loop_log.js

Edit: On investigation, unrelated to TZ, rather token based auth breaking and stopping ALL downloads/uploads from NS. The error for stale data time since fresh data increased linearly from the last successful download.

old-square-eyes avatar Nov 13 '19 02:11 old-square-eyes

Just committed 9d4c739 to dev to fix the install_requires issue.

scottleibrand avatar Dec 10 '19 02:12 scottleibrand

Will leave this issue open until we release 0.7.1 to track the install_requires fix.

scottleibrand avatar Dec 10 '19 05:12 scottleibrand