Raspberry Pi B+ install fails


#1

I’ve tried installing Cayenne on a headless B+ running Jesse via the web site and I received notification that the installation was progressing up to the reboot stage. There were no further notifications and it appeared that I lost access to the Pi as I was unable to use ssh or vnc to connect. I waited about an hour in case the install was still slowly running then powered off the device and reimaged the sd card (16gb).

I tried again this time expanding the filesystem as I read that this may be necessary. I connected the Pi to a monitor & used the android app to run the install but after the install rebooted the device I noticed that wlan0 network connectivity was now lost. A display of network settings showed that the config was missing. The Pi was still quite busy as CPU usage remained around 100% and I left it for about thirty minutes then powered it down as the app still showed no devices present.

I expected this to be a quick and easy install so would anyone have any ideas what is going wrong?

Thanks…


#2

It should be fairly quick and painless, but we’ll get this fixed for you. Can you post the output of commands below for us?

df -h
cat /etc/os-release

Also would be helpful to see the output of the installer. Run “sudo rpi_xxxxxxxxxx.sh -v” to get any errors that come up during install.


#3

Adam thanks for the reply. Third time lucky as I managed to get the overview web page up after another install however I was no longer able to access the device using RealVNC. SSH access was possible.

I tried using remote access from the overview screen however I was prompted to allow device sharing on the pi but this wasn’t possible as it was headless. After a reboot the pi was totally inaccessible. I managed to access it via an ethernet cable and found that the wlan0 config was cleared again.

I captured the install logs and I can post these if they would help.

I’ve used webiopi in the past and I was hoping cayenne would be an easier and quicker solution for my current project. I may give it one more go with a fresh Jesse install.

pi@RPi2:~ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 15G 2.9G 11G 21% / devtmpfs 214M 0 214M 0% /dev tmpfs 218M 68K 218M 1% /dev/shm tmpfs 218M 4.6M 213M 3% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 218M 0 218M 0% /sys/fs/cgroup /dev/mmcblk0p1 63M 21M 42M 33% /boot tmpfs 44M 4.0K 44M 1% /run/user/1000 tmpfs 44M 0 44M 0% /run/user/0 pi@RPi2:~ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL=“http://www.raspbian.org/RaspbianBugs

Thanks
Max


#4

Hi @douvers, welcome to the Cayenne Community.

Sorry for the trouble you’ve had installing on this Pi, it indeed should be quick and easy. If you have the output from running the command line install, that will offer a big hint of what is up here.

Also, regarding the Remote Desktop feature in Cayenne, it’s currently broken with the latest Raspbian, although we should have a fix for it out very shortly. In the meantime if you want graphical remote access to your Pi, I’d suggest to setup VNC per the instructions on the official Raspberry Pi site: https://www.raspberrypi.org/documentation/remote-access/vnc/


#5

Hi rsiegel, I always use RealVNC - but as I’ve mentioned previously it get’s broken on the pi everytime I install Cayenne.

Would your install of tightvncserver have anything to do with this?

Here’s the install log as requested…

Many thanks.

pi@RPi2:~ $ wget https://cayenne.mydevices.com/dl/rpi_8xpxp2irvy.sh
–2017-03-20 10:56:35-- https://cayenne.mydevices.com/dl/rpi_8xpxp2irvy.sh
Resolving cayenne.mydevices.com (cayenne.mydevices.com)… 52.202.24.38
Connecting to cayenne.mydevices.com (cayenne.mydevices.com)|52.202.24.38|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1294 (1.3K) [application/x-sh]
Saving to: ‘rpi_8xpxp2irvy.sh’

rpi_8xpxp2irvy.sh 100%[=====================>] 1.26K --.-KB/s in 0.001s

2017-03-20 10:56:45 (1.56 MB/s) - ‘rpi_8xpxp2irvy.sh’ saved [1294/1294]

pi@RPi2:~ $ sudo bash rpi_8xpxp2irvy.sh -v
rpi_8xpxp2irvy.sh
continuing as new install…
–2017-03-20 10:59:46-- http://updates.mydevices.com/raspberry/myDevices-1.0.tar.gz
Resolving updates.mydevices.com (updates.mydevices.com)… 54.148.225.117
Connecting to updates.mydevices.com (updates.mydevices.com)|54.148.225.117|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 9234417 (8.8M) [application/x-gzip]
Saving to: ‘/home/pi/myDevices-1.0.tar.gz’

/home/pi/myDevices-1.0.t 100%[====================================>] 8.81M 40.6KB/s in 4m 38s

2017-03-20 11:04:26 (32.5 KB/s) - ‘/home/pi/myDevices-1.0.tar.gz’ saved [9234417/9234417]

./myDevices-1.0/
./myDevices-1.0/._.DS_Store
./myDevices-1.0/.DS_Store
./myDevices-1.0/3rd_party/
./myDevices-1.0/addCron.sh
./myDevices-1.0/ca.crt
./myDevices-1.0/crontab.sh
./myDevices-1.0/deb/
./myDevices-1.0/dev_network.ini
./myDevices-1.0/libs/
./myDevices-1.0/live_network.ini
./myDevices-1.0/package
./myDevices-1.0/preprod_network.ini
./myDevices-1.0/python/
./myDevices-1.0/qa1_network.ini
./myDevices-1.0/qa2_network.ini
./myDevices-1.0/reboot_install.sh
./myDevices-1.0/scripts/
./myDevices-1.0/setup.sh
./myDevices-1.0/stg_network.ini
./myDevices-1.0/uninstall.sh
./myDevices-1.0/scripts/config.sh
./myDevices-1.0/scripts/tightvncsetup.sh
./myDevices-1.0/scripts/webiopisetup.sh
./myDevices-1.0/python/myDevices/
./myDevices-1.0/python/myDevices.init.sh
./myDevices-1.0/python/myDevices.service
./myDevices-1.0/python/myDevices.sh
./myDevices-1.0/python/setup.py
./myDevices-1.0/python/myDevices/init.py
./myDevices-1.0/python/myDevices/main.py
./myDevices-1.0/python/myDevices/cloud/
./myDevices-1.0/python/myDevices/ipgetter/
./myDevices-1.0/python/myDevices/os/
./myDevices-1.0/python/myDevices/remoteaccess/
./myDevices-1.0/python/myDevices/requests_futures/
./myDevices-1.0/python/myDevices/schedule/
./myDevices-1.0/python/myDevices/sensors/
./myDevices-1.0/python/myDevices/test/
./myDevices-1.0/python/myDevices/utils/
./myDevices-1.0/python/myDevices/wifi/
./myDevices-1.0/python/myDevices/wifi/init.py
./myDevices-1.0/python/myDevices/wifi/WifiManager.py
./myDevices-1.0/python/myDevices/wifi/wifisetup.py
./myDevices-1.0/python/myDevices/wifi/WirelessLib.py
./myDevices-1.0/python/myDevices/utils/init.py
./myDevices-1.0/python/myDevices/utils/config.py
./myDevices-1.0/python/myDevices/utils/crypto.py
./myDevices-1.0/python/myDevices/utils/history.py
./myDevices-1.0/python/myDevices/utils/logger.py
./myDevices-1.0/python/myDevices/utils/mutex.py
./myDevices-1.0/python/myDevices/utils/singleton.py
./myDevices-1.0/python/myDevices/test/all_tests.py
./myDevices-1.0/python/myDevices/test/cloud_test.py
./myDevices-1.0/python/myDevices/test/config_test.py
./myDevices-1.0/python/myDevices/test/history_test.py
./myDevices-1.0/python/myDevices/test/scheduler_test.py
./myDevices-1.0/python/myDevices/test/sensors_test.py
./myDevices-1.0/python/myDevices/test/updater_test.py
./myDevices-1.0/python/myDevices/sensors/init.py
./myDevices-1.0/python/myDevices/sensors/client.py
./myDevices-1.0/python/myDevices/sensors/sensors.py
./myDevices-1.0/python/myDevices/schedule/init.py
./myDevices-1.0/python/myDevices/requests_futures/init.py
./myDevices-1.0/python/myDevices/requests_futures/sessions.py
./myDevices-1.0/python/myDevices/remoteaccess/init.py
./myDevices-1.0/python/myDevices/os/init.py
./myDevices-1.0/python/myDevices/os/cpu.py
./myDevices-1.0/python/myDevices/os/daemon.py
./myDevices-1.0/python/myDevices/os/getsysteminfo.py
./myDevices-1.0/python/myDevices/os/raspiconfig.py
./myDevices-1.0/python/myDevices/os/services.py
./myDevices-1.0/python/myDevices/os/systeminfo.py
./myDevices-1.0/python/myDevices/os/threadpool.py
./myDevices-1.0/python/myDevices/ipgetter/init.py
./myDevices-1.0/python/myDevices/cloud/init.py
./myDevices-1.0/python/myDevices/cloud/actions.py
./myDevices-1.0/python/myDevices/cloud/cayenneclient.py
./myDevices-1.0/python/myDevices/cloud/client.py
./myDevices-1.0/python/myDevices/cloud/dbmanager.py
./myDevices-1.0/python/myDevices/cloud/download_speed.py
./myDevices-1.0/python/myDevices/cloud/installer.py
./myDevices-1.0/python/myDevices/cloud/scheduler.py
./myDevices-1.0/python/myDevices/cloud/trigger.py
./myDevices-1.0/python/myDevices/cloud/updater.py
./myDevices-1.0/python/myDevices/cloud/vcom_id.py
./myDevices-1.0/libs/libSystemInformation.so
./myDevices-1.0/deb/debian_dependencies.txt
./myDevices-1.0/deb/download.sh
./myDevices-1.0/deb/install
./myDevices-1.0/deb/install_packages.sh
./myDevices-1.0/deb/libiw-dev/
./myDevices-1.0/deb/package
./myDevices-1.0/deb/python3-setuptools/
./myDevices-1.0/deb/tightvncserver/
./myDevices-1.0/deb/tightvncserver/expect_5.45-2_armhf.deb
./myDevices-1.0/deb/tightvncserver/install
./myDevices-1.0/deb/tightvncserver/libjpeg62-turbo_1.4.1-2_armhf.deb
./myDevices-1.0/deb/tightvncserver/tightvncserver_1.3.9-6.6_armhf.deb
./myDevices-1.0/deb/tightvncserver/xfonts-base_1.0.4+nmu1_all.deb
./myDevices-1.0/deb/python3-setuptools/install
./myDevices-1.0/deb/python3-setuptools/python3-pkg-resources_0.6.24-1_all.deb
./myDevices-1.0/deb/python3-setuptools/python3-setuptools_0.6.24-1_all.deb
./myDevices-1.0/deb/libiw-dev/install
./myDevices-1.0/deb/libiw-dev/libiw-dev_30~pre9-8_armhf.deb
./myDevices-1.0/3rd_party/enum34-1.0.4.tar.gz
./myDevices-1.0/3rd_party/install
./myDevices-1.0/3rd_party/install_packages.sh
./myDevices-1.0/3rd_party/iwlib-1.5.tar.gz
./myDevices-1.0/3rd_party/jsonpickle-0.9.2.tar.gz
./myDevices-1.0/3rd_party/netifaces-0.10.4.tar.gz
./myDevices-1.0/3rd_party/package
./myDevices-1.0/3rd_party/psutil-0.5.0.tar.gz
./myDevices-1.0/3rd_party/requests.tar.gz
./myDevices-1.0/3rd_party/suds-jurko-0.6.tar.gz

  • set -x
  • exec
    (0%)
    Monday 20 March 11:04:33 AEDT 2017 Installing myDevices agent
    0
    Monday 20 March 11:06:27 AEDT 2017 Found Python 3.4.2…
    (50%)
    Monday 20 March 11:06:27 AEDT 2017 Copying agent libraries
    (55%)
    Monday 20 March 11:06:56 AEDT 2017 Installing python utils

Monday 20 March 11:14:32 AEDT 2017 Installing software components
Monday 20 March 11:14:45 AEDT 2017 Trying to install myDevices for python3 version: Python 3.4.2
running install
Checking .pth file support in /usr/local/lib/python3.4/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.4/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating myDevices.egg-info
writing dependency_links to myDevices.egg-info/dependency_links.txt
writing top-level names to myDevices.egg-info/top_level.txt
writing myDevices.egg-info/PKG-INFO
writing manifest file 'myDevices.egg-info/SOURCES.txt’
reading manifest file 'myDevices.egg-info/SOURCES.txt’
writing manifest file 'myDevices.egg-info/SOURCES.txt’
installing library code to build/bdist.linux-armv6l/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/myDevices
copying myDevices/main.py -> build/lib/myDevices
copying myDevices/init.py -> build/lib/myDevices
creating build/lib/myDevices/ipgetter
copying myDevices/ipgetter/init.py -> build/lib/myDevices/ipgetter
creating build/lib/myDevices/cloud
copying myDevices/cloud/client.py -> build/lib/myDevices/cloud
copying myDevices/cloud/cayenneclient.py -> build/lib/myDevices/cloud
copying myDevices/cloud/installer.py -> build/lib/myDevices/cloud
copying myDevices/cloud/scheduler.py -> build/lib/myDevices/cloud
copying myDevices/cloud/updater.py -> build/lib/myDevices/cloud
copying myDevices/cloud/dbmanager.py -> build/lib/myDevices/cloud
copying myDevices/cloud/vcom_id.py -> build/lib/myDevices/cloud
copying myDevices/cloud/actions.py -> build/lib/myDevices/cloud
copying myDevices/cloud/init.py -> build/lib/myDevices/cloud
copying myDevices/cloud/download_speed.py -> build/lib/myDevices/cloud
copying myDevices/cloud/trigger.py -> build/lib/myDevices/cloud
creating build/lib/myDevices/utils
copying myDevices/utils/singleton.py -> build/lib/myDevices/utils
copying myDevices/utils/history.py -> build/lib/myDevices/utils
copying myDevices/utils/crypto.py -> build/lib/myDevices/utils
copying myDevices/utils/init.py -> build/lib/myDevices/utils
copying myDevices/utils/config.py -> build/lib/myDevices/utils
copying myDevices/utils/logger.py -> build/lib/myDevices/utils
copying myDevices/utils/mutex.py -> build/lib/myDevices/utils
creating build/lib/myDevices/remoteaccess
copying myDevices/remoteaccess/init.py -> build/lib/myDevices/remoteaccess
creating build/lib/myDevices/os
copying myDevices/os/raspiconfig.py -> build/lib/myDevices/os
copying myDevices/os/cpu.py -> build/lib/myDevices/os
copying myDevices/os/services.py -> build/lib/myDevices/os
copying myDevices/os/getsysteminfo.py -> build/lib/myDevices/os
copying myDevices/os/systeminfo.py -> build/lib/myDevices/os
copying myDevices/os/init.py -> build/lib/myDevices/os
copying myDevices/os/threadpool.py -> build/lib/myDevices/os
copying myDevices/os/daemon.py -> build/lib/myDevices/os
creating build/lib/myDevices/sensors
copying myDevices/sensors/client.py -> build/lib/myDevices/sensors
copying myDevices/sensors/sensors.py -> build/lib/myDevices/sensors
copying myDevices/sensors/init.py -> build/lib/myDevices/sensors
creating build/lib/myDevices/wifi
copying myDevices/wifi/WirelessLib.py -> build/lib/myDevices/wifi
copying myDevices/wifi/WifiManager.py -> build/lib/myDevices/wifi
copying myDevices/wifi/init.py -> build/lib/myDevices/wifi
copying myDevices/wifi/wifisetup.py -> build/lib/myDevices/wifi
creating build/lib/myDevices/schedule
copying myDevices/schedule/init.py -> build/lib/myDevices/schedule
creating build/lib/myDevices/requests_futures
copying myDevices/requests_futures/init.py -> build/lib/myDevices/requests_futures
copying myDevices/requests_futures/sessions.py -> build/lib/myDevices/requests_futures
creating build/bdist.linux-armv6l
creating build/bdist.linux-armv6l/egg
creating build/bdist.linux-armv6l/egg/myDevices
creating build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/raspiconfig.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/cpu.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/services.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/getsysteminfo.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/systeminfo.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/init.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/threadpool.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/os/daemon.py -> build/bdist.linux-armv6l/egg/myDevices/os
copying build/lib/myDevices/main.py -> build/bdist.linux-armv6l/egg/myDevices
creating build/bdist.linux-armv6l/egg/myDevices/wifi
copying build/lib/myDevices/wifi/WirelessLib.py -> build/bdist.linux-armv6l/egg/myDevices/wifi
copying build/lib/myDevices/wifi/WifiManager.py -> build/bdist.linux-armv6l/egg/myDevices/wifi
copying build/lib/myDevices/wifi/init.py -> build/bdist.linux-armv6l/egg/myDevices/wifi
copying build/lib/myDevices/wifi/wifisetup.py -> build/bdist.linux-armv6l/egg/myDevices/wifi
creating build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/client.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/cayenneclient.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/installer.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/scheduler.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/updater.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/dbmanager.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/vcom_id.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/actions.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/init.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/download_speed.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
copying build/lib/myDevices/cloud/trigger.py -> build/bdist.linux-armv6l/egg/myDevices/cloud
creating build/bdist.linux-armv6l/egg/myDevices/ipgetter
copying build/lib/myDevices/ipgetter/init.py -> build/bdist.linux-armv6l/egg/myDevices/ipgetter
creating build/bdist.linux-armv6l/egg/myDevices/remoteaccess
copying build/lib/myDevices/remoteaccess/init.py -> build/bdist.linux-armv6l/egg/myDevices/remoteaccess
creating build/bdist.linux-armv6l/egg/myDevices/utils
copying build/lib/myDevices/utils/singleton.py -> build/bdist.linux-armv6l/egg/myDevices/utils
copying build/lib/myDevices/utils/history.py -> build/bdist.linux-armv6l/egg/myDevices/utils
copying build/lib/myDevices/utils/crypto.py -> build/bdist.linux-armv6l/egg/myDevices/utils
copying build/lib/myDevices/utils/init.py -> build/bdist.linux-armv6l/egg/myDevices/utils
copying build/lib/myDevices/utils/config.py -> build/bdist.linux-armv6l/egg/myDevices/utils
copying build/lib/myDevices/utils/logger.py -> build/bdist.linux-armv6l/egg/myDevices/utils
copying build/lib/myDevices/utils/mutex.py -> build/bdist.linux-armv6l/egg/myDevices/utils
creating build/bdist.linux-armv6l/egg/myDevices/requests_futures
copying build/lib/myDevices/requests_futures/init.py -> build/bdist.linux-armv6l/egg/myDevices/requests_futures
copying build/lib/myDevices/requests_futures/sessions.py -> build/bdist.linux-armv6l/egg/myDevices/requests_futures
creating build/bdist.linux-armv6l/egg/myDevices/sensors
copying build/lib/myDevices/sensors/client.py -> build/bdist.linux-armv6l/egg/myDevices/sensors
copying build/lib/myDevices/sensors/sensors.py -> build/bdist.linux-armv6l/egg/myDevices/sensors
copying build/lib/myDevices/sensors/init.py -> build/bdist.linux-armv6l/egg/myDevices/sensors
copying build/lib/myDevices/init.py -> build/bdist.linux-armv6l/egg/myDevices
creating build/bdist.linux-armv6l/egg/myDevices/schedule
copying build/lib/myDevices/schedule/init.py -> build/bdist.linux-armv6l/egg/myDevices/schedule
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/raspiconfig.py to raspiconfig.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/cpu.py to cpu.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/services.py to services.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/getsysteminfo.py to getsysteminfo.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/systeminfo.py to systeminfo.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/threadpool.py to threadpool.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/os/daemon.py to daemon.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/main.py to main.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/wifi/WirelessLib.py to WirelessLib.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/wifi/WifiManager.py to WifiManager.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/wifi/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/wifi/wifisetup.py to wifisetup.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/client.py to client.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/cayenneclient.py to cayenneclient.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/installer.py to installer.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/scheduler.py to scheduler.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/updater.py to updater.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/dbmanager.py to dbmanager.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/vcom_id.py to vcom_id.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/actions.py to actions.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/download_speed.py to download_speed.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/cloud/trigger.py to trigger.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/ipgetter/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/remoteaccess/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/utils/singleton.py to singleton.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/utils/history.py to history.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/utils/crypto.py to crypto.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/utils/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/utils/config.py to config.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/utils/logger.py to logger.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/utils/mutex.py to mutex.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/requests_futures/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/requests_futures/sessions.py to sessions.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/sensors/client.py to client.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/sensors/sensors.py to sensors.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/sensors/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-armv6l/egg/myDevices/schedule/init.py to init.cpython-34.pyc
creating build/bdist.linux-armv6l/egg/EGG-INFO
copying myDevices.egg-info/PKG-INFO -> build/bdist.linux-armv6l/egg/EGG-INFO
copying myDevices.egg-info/SOURCES.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
copying myDevices.egg-info/dependency_links.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
copying myDevices.egg-info/top_level.txt -> build/bdist.linux-armv6l/egg/EGG-INFO
creating dist
creating ‘dist/myDevices-0.1.20818-py3.4.egg’ and adding ‘build/bdist.linux-armv6l/egg’ to it
removing ‘build/bdist.linux-armv6l/egg’ (and everything under it)
Processing myDevices-0.1.20818-py3.4.egg
creating /usr/local/lib/python3.4/dist-packages/myDevices-0.1.20818-py3.4.egg
Extracting myDevices-0.1.20818-py3.4.egg to /usr/local/lib/python3.4/dist-packages
Adding myDevices 0.1.20818 to easy-install.pth file

Installed /usr/local/lib/python3.4/dist-packages/myDevices-0.1.20818-py3.4.egg
Processing dependencies for myDevices==0.1.20818
Finished processing dependencies for myDevices==0.1.20818
writing list of installed files to '/etc/myDevices/uninstall/installed_agent’
Monday 20 March 11:15:54 AEDT 2017 myDevices installed for Python 3.4.2\n
Monday 20 March 11:15:54 AEDT 2017 Finished agent code
(75%)
Monday 20 March 11:15:54 AEDT 2017 Installing drivers
Monday 20 March 11:17:29 AEDT 2017 Configuring os and agent
Monday 20 March 11:18:10 AEDT 2017 Install finished


#6

I had misread your earlier comment regarding VNC, I do think this is related to our using TightVNC and RealVNC being added in the latest Raspbian. We’re making an update this week where we switch to RealVNC for these connections to avoid the issue entirely, so you shouldn’t have to deal with it much longer.

Regarding your Pi Agent install, really everything there looks fine, it does not look like the install failed anywhere along the way. I’m wondering if this could be an issue with ports on your network. The Cayenne Raspberry Pi agent requires port 8181 to be open to communicate with our server – I could see it installing OK but failing to advance to showing as ‘online’ in the dashboard if it can’t communicate on this port.

Use telnet to check if the port is open. For some reason this is not installed by default any more so you can install it using “sudo apt-get install telnet”

If the port is open you will see the following (your IP addresses may or may not be the same as mine):

    pi@raspberrypi:~ $ telnet cloud.mydevices.com 8181
    Trying 54.165.135.17...
    Connected to cloud.mydevices.com.
    Escape character is '^]'.
    Connection closed by foreign host.

If the port is closed you will see the following (your IP addresses may or may not be the same as mine):

pi@raspberrypi:~ $ telnet cloud.mydevices.com 8181
Trying 52.6.151.66...
Trying 54.165.135.17...
telnet: Unable to connect to remote host: Connection timed out