Hi David,
David Fifield:
On Wed, Oct 26, 2016 at 06:26:13PM -0700, David Fifield wrote:
After booting, my Raspberry Pi doesn't have a web interface (only port 22 is open).
On IRC, Arturo said this was caused by me using the wrong image. I used https://get.ooni.torproject.org/lepidopter/lepidopter-alpha-armel.img.xz instead of https://get.ooni.torproject.org/lepidopter/lepidopter-v0.3.5-beta-armel.img....
Indeed as Arturo mentioned already on IRC this image is quite old and I guess we should move to an archive instead.
You can always find the latest image in: https://get.ooni.torproject.org/lepidopter/current/
I tried running /opt/ooni/update-ooniprobe.sh as suggested. It produced a lot of warnings:
The script `/opt/ooni/update-ooniprobe.sh` run the following commands:
apt-get -y -qq purge python-cryptography
# Update ooniprobe pip -q install ooniprobe --upgrade # Update ooniresources ooniresources --update-inputs
# /opt/ooni/update-ooniprobe.sh Could not find .egg-info directory in install record for ooniprobe from https://pypi.python.org/packages/72/87/ec83e6464e3e85d149b8cf4286f0568c5f6f9... in /usr/local/lib/python2.7/dist-packages/ooniprobe-1.4.2-py2.7.egg Could not find .egg-info directory in install record for PyYAML>=3.10 from https://pypi.python.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac63... in /usr/local/lib/python2.7/dist-packages/PyYAML-3.11-py2.7-linux-armv7l.egg (from ooniprobe) Could not find .egg-info directory in install record for Twisted>=13.2.0 from https://pypi.python.org/packages/6b/23/8dbe86fc83215015e221fbd861a545c6ec5c9... in /usr/local/lib/python2.7/dist-packages/Twisted-16.2.0-py2.7-linux-armv7l.egg (from ooniprobe) Could not find .egg-info directory in install record for scapy>=2.2.0 from https://pypi.python.org/packages/ac/14/c792a14b9f8bc4bb9c74c0594c167a2da36e3... in /usr/local/lib/python2.7/dist-packages/scapy-2.3.2-py2.7.egg (from ooniprobe) Could not find .egg-info directory in install record for zope.interface from https://pypi.python.org/packages/38/1b/d55c39f2cf442bd9fb2c59760ed058c84b57d... in /usr/local/lib/python2.7/dist-packages/zope.interface-4.1.3-py2.7-linux-armv7l.egg (from ooniprobe) Could not find .egg-info directory in install record for cryptography>=1.3.4 (from pyOpenSSL>=0.15.1->ooniprobe) Could not find .egg-info directory in install record for cffi>=1.4.1 from https://pypi.python.org/packages/0a/f3/686af8873b70028fccf67b15c78fd4e4667a3... in /usr/local/lib/python2.7/dist-packages/cffi-1.6.0-py2.7-linux-armv7l.egg (from cryptography>=1.3.4->pyOpenSSL>=0.15.1->ooniprobe) Could not find .egg-info directory in install record for pycparser from https://pypi.python.org/packages/eb/83/00c55ff5cb773a78e9e47476ac1a0cd2f0fb7... in /usr/lib/python2.7/dist-packages (from cffi>=1.4.1->cryptography>=1.3.4->pyOpenSSL>=0.15.1->ooniprobe)
This warning is kind of "normal" for pip installation.
WARNING: Usage of this script is deprecated.
ooniresources has been now deprecated in ooniprobe v2.0.0 it now uses an internal scheduler. This is also not fatal.
After updating, there was still no webapp listening on port 80. After updating (and also after rebooting) there was still no webapp.
I'm going to try starting over with the correct image, unless you want me to try something different.
Upon upgradeing ooniprobe (pip -q install ooniprobe --upgrade) should have installed the lepidopter-update service that will do the required updates and bring up ooniprobe service and ensure that the ooniproge-agent is running.
Do you see the systemd (units) services of lepidopter-update and ooniprobe with status running?
You can check with: systemctl lepidopter-update status systemctl ooniprobe status
If you see that these services are not running you can query the systemd journal with: journalctl -l _SYSTEMD_UNIT=lepidopter-update.service
Thank you for running lepidopter!
~Vasilis