pncapm / optorch

http://www.optorch.com
0 stars 0 forks source link

Troubleshooting installation on Raspberry Pi Zero W #1

Open shigadeyo opened 5 years ago

shigadeyo commented 5 years ago

Hardware: Raspberry Pi Zero W V1.1 OS Image: 2018-11-13-raspbian-stretch-lite.img OpTorch Install Output: (see below)

pi@raspberrypi:~ $ curl -fsSL optorch.com/setup.sh -o setup.sh && bash setup.sh
Starting Raspberry Pi Setup
Installing Samba
Preconfiguring packages ...
(Reading database ... 34605 files and directories currently installed.)
Preparing to unpack .../00-libwbclient0_2%3a4.5.16+dfsg-1_armhf.deb ...
Unpacking libwbclient0:armhf (2:4.5.16+dfsg-1) over (2:4.5.12+dfsg-2+deb9u3) ...
Selecting previously unselected package python-dnspython.
Preparing to unpack .../01-python-dnspython_1.15.0-1+deb9u1_all.deb ...
Unpacking python-dnspython (1.15.0-1+deb9u1) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../02-python-crypto_2.6.1-7_armhf.deb ...
Unpacking python-crypto (2.6.1-7) ...
Selecting previously unselected package libtdb1:armhf.
Preparing to unpack .../03-libtdb1_1.3.11-2_armhf.deb ...
Unpacking libtdb1:armhf (1.3.11-2) ...
Selecting previously unselected package libtevent0:armhf.
Preparing to unpack .../04-libtevent0_0.9.31-1_armhf.deb ...
Unpacking libtevent0:armhf (0.9.31-1) ...
Selecting previously unselected package libldb1:armhf.
Preparing to unpack .../05-libldb1_2%3a1.1.27-1+deb9u1_armhf.deb ...
Unpacking libldb1:armhf (2:1.1.27-1+deb9u1) ...
Selecting previously unselected package libpython2.7:armhf.
Preparing to unpack .../06-libpython2.7_2.7.13-2+deb9u3_armhf.deb ...
Unpacking libpython2.7:armhf (2.7.13-2+deb9u3) ...
Selecting previously unselected package python-ldb.
Preparing to unpack .../07-python-ldb_2%3a1.1.27-1+deb9u1_armhf.deb ...
Unpacking python-ldb (2:1.1.27-1+deb9u1) ...
Selecting previously unselected package python-tdb.
Preparing to unpack .../08-python-tdb_1.3.11-2_armhf.deb ...
Unpacking python-tdb (1.3.11-2) ...
Selecting previously unselected package python-talloc.
Preparing to unpack .../09-python-talloc_2.1.8-1_armhf.deb ...
Unpacking python-talloc (2.1.8-1) ...
Selecting previously unselected package libavahi-client3:armhf.
Preparing to unpack .../10-libavahi-client3_0.6.32-2_armhf.deb ...
Unpacking libavahi-client3:armhf (0.6.32-2) ...
Selecting previously unselected package libcups2:armhf.
Preparing to unpack .../11-libcups2_2.2.1-8+deb9u2_armhf.deb ...
Unpacking libcups2:armhf (2.2.1-8+deb9u2) ...
Selecting previously unselected package samba-libs:armhf.
Preparing to unpack .../12-samba-libs_2%3a4.5.16+dfsg-1_armhf.deb ...
Unpacking samba-libs:armhf (2:4.5.16+dfsg-1) ...
Selecting previously unselected package python-samba.
Preparing to unpack .../13-python-samba_2%3a4.5.16+dfsg-1_armhf.deb ...
Unpacking python-samba (2:4.5.16+dfsg-1) ...
Preparing to unpack .../14-samba-common_2%3a4.5.16+dfsg-1_all.deb ...
Unpacking samba-common (2:4.5.16+dfsg-1) over (2:4.5.12+dfsg-2+deb9u3) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../15-samba-common-bin_2%3a4.5.16+dfsg-1_armhf.deb ...
Unpacking samba-common-bin (2:4.5.16+dfsg-1) ...
Selecting previously unselected package tdb-tools.
Preparing to unpack .../16-tdb-tools_1.3.11-2_armhf.deb ...
Unpacking tdb-tools (1.3.11-2) ...
Selecting previously unselected package libfile-copy-recursive-perl.
Preparing to unpack .../17-libfile-copy-recursive-perl_0.38-1_all.deb ...
Unpacking libfile-copy-recursive-perl (0.38-1) ...
Selecting previously unselected package update-inetd.
Preparing to unpack .../18-update-inetd_4.44_all.deb ...
Unpacking update-inetd (4.44) ...
Selecting previously unselected package samba.
Preparing to unpack .../19-samba_2%3a4.5.16+dfsg-1_armhf.deb ...
Unpacking samba (2:4.5.16+dfsg-1) ...
Selecting previously unselected package attr.
Preparing to unpack .../20-attr_1%3a2.4.47-2_armhf.deb ...
Unpacking attr (1:2.4.47-2) ...
Selecting previously unselected package libaio1:armhf.
Preparing to unpack .../21-libaio1_0.3.110-3_armhf.deb ...
Unpacking libaio1:armhf (0.3.110-3) ...
Selecting previously unselected package libgpgme11:armhf.
Preparing to unpack .../22-libgpgme11_1.8.0-3_armhf.deb ...
Unpacking libgpgme11:armhf (1.8.0-3) ...
Selecting previously unselected package samba-dsdb-modules.
Preparing to unpack .../23-samba-dsdb-modules_2%3a4.5.16+dfsg-1_armhf.deb ...
Unpacking samba-dsdb-modules (2:4.5.16+dfsg-1) ...
Selecting previously unselected package samba-vfs-modules.
Preparing to unpack .../24-samba-vfs-modules_2%3a4.5.16+dfsg-1_armhf.deb ...
Unpacking samba-vfs-modules (2:4.5.16+dfsg-1) ...
Setting up python-dnspython (1.15.0-1+deb9u1) ...
Setting up libtdb1:armhf (1.3.11-2) ...
Setting up libwbclient0:armhf (2:4.5.16+dfsg-1) ...
Setting up python-crypto (2.6.1-7) ...
Setting up samba-common (2:4.5.16+dfsg-1) ...
Setting up libgpgme11:armhf (1.8.0-3) ...
Setting up libtevent0:armhf (0.9.31-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libaio1:armhf (0.3.110-3) ...
Processing triggers for systemd (232-25+deb9u6) ...
Setting up libpython2.7:armhf (2.7.13-2+deb9u3) ...
Setting up tdb-tools (1.3.11-2) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libavahi-client3:armhf (0.6.32-2) ...
Setting up attr (1:2.4.47-2) ...
Setting up libfile-copy-recursive-perl (0.38-1) ...
Setting up libcups2:armhf (2.2.1-8+deb9u2) ...
Setting up python-talloc (2.1.8-1) ...
Setting up update-inetd (4.44) ...
Setting up python-tdb (1.3.11-2) ...
Setting up libldb1:armhf (2:1.1.27-1+deb9u1) ...
Setting up python-ldb (2:1.1.27-1+deb9u1) ...
Setting up samba-libs:armhf (2:4.5.16+dfsg-1) ...
Setting up samba-vfs-modules (2:4.5.16+dfsg-1) ...
Setting up python-samba (2:4.5.16+dfsg-1) ...
Setting up samba-common-bin (2:4.5.16+dfsg-1) ...
Setting up samba-dsdb-modules (2:4.5.16+dfsg-1) ...
Setting up samba (2:4.5.16+dfsg-1) ...
Adding group `sambashare' (GID 113) ...
Done.
Samba is not being run as an AD Domain Controller, masking samba-ad-dc-service.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc-service.
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u6) ...

[PiShare]
 comment=Raspi
 path=/home/pi
 browseable=Yes
 writeable=Yes
 #only guest=No
 guest ok = no
 create mask=0777
 directiory mask=0777
 public=no
Creating a log folder
Added user pi.
Getting nodejs

## Installing the NodeSource Node.js 11.x repo...

## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js 4 and later.

^Z
[1]+  Stopped                 bash setup.sh
pi@raspberrypi:~ $
pncapm commented 5 years ago

Looks like Pi zero is an arm6 device not an arm7.x which means we just need a version that works with it.

pncapm commented 5 years ago

Maybe try this guide? If it works we can add a script for pi zero to the startup guide.

https://www.thepolyglotdeveloper.com/2018/03/install-nodejs-raspberry-pi-zero-w-nodesource/