Installing edge-management on my Raspberry Pi 2 (ARMv5 version) I got warnings at about line 225 of the installation output below. Other than that, it seemed to work well, but is very intimidating. I certainly wouldn't ask my non-technical research colaborators to do it!
Perhaps your developers could update the code to the latests libraries?
So I now have remote access to my Pi over the Internet. Haven't investigated how I can get other features to work, but will do. Thanks for providing the platform!
Steve
pi@ZIPgateway:~/teamviewer $ sudo teamviewer-iot-agent install edge-management
Docker not found on host...
Do you want install Docker automatically? (Y/n)
# Executing docker install script, commit: f45d7c11389849ff46a6b4d94e0dd1ffebca32c1
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ [ -n ]
+ sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
+ sh -c docker version
Client: Docker Engine - Community
Version: 19.03.8
API version: 1.40
Go version: go1.12.17
Git commit: afacb8b
Built: Wed Mar 11 01:35:24 2020
OS/Arch: linux/arm
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.8
API version: 1.40 (minimum version 1.12)
Go version: go1.12.17
Git commit: afacb8b
Built: Wed Mar 11 01:29:22 2020
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
WARNING: Adding a user to the "docker" group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.
Edge Management is enabled.
--2020-04-10 13:33:29-- https://download.teamviewer-iot.com/teamviewer-iot-edge-device-management/teamviewer-iot-edge-device-management.tar.gz
Resolving download.teamviewer-iot.com (download.teamviewer-iot.com)... 13.224.177.68, 13.224.177.84, 13.224.177.16, ...
Connecting to download.teamviewer-iot.com (download.teamviewer-iot.com)|13.224.177.68|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 887600 (867K) [application/x-tar]
Saving to: ‘teamviewer-iot-edge-device-management.tar.gz’
teamviewer-iot-edge-device-manage 100%[===========================================================>] 866.80K 393KB/s in 2.2s
2020-04-10 13:33:32 (393 KB/s) - ‘teamviewer-iot-edge-device-management.tar.gz’ saved [887600/887600]
teamviewer-iot-edge-device-management/
teamviewer-iot-edge-device-management/package.json
teamviewer-iot-edge-device-management/src/
teamviewer-iot-edge-device-management/src/routes/
teamviewer-iot-edge-device-management/src/routes/routes.js
teamviewer-iot-edge-device-management/src/routes/preferences-router.js
teamviewer-iot-edge-device-management/src/routes/widgets-router.js
teamviewer-iot-edge-device-management/src/routes/metrics-router.js
teamviewer-iot-edge-device-management/src/routes/sensors-router.js
teamviewer-iot-edge-device-management/src/routes/modules-router.js
teamviewer-iot-edge-device-management/src/routes/download-router.js
teamviewer-iot-edge-device-management/src/routes/dashboards-router.js
teamviewer-iot-edge-device-management/src/routes/clients-router.js
teamviewer-iot-edge-device-management/src/templates/
teamviewer-iot-edge-device-management/src/templates/python/
teamviewer-iot-edge-device-management/src/templates/python/python-template
teamviewer-iot-edge-device-management/src/templates/python/README
teamviewer-iot-edge-device-management/src/templates/cpp/
teamviewer-iot-edge-device-management/src/templates/cpp/cpp-template
teamviewer-iot-edge-device-management/src/templates/nodejs/
teamviewer-iot-edge-device-management/src/templates/nodejs/package.json
teamviewer-iot-edge-device-management/src/templates/nodejs/nodejs-template
teamviewer-iot-edge-device-management/src/templates/nodejs/README
teamviewer-iot-edge-device-management/src/modules/
teamviewer-iot-edge-device-management/src/modules/debug.js
teamviewer-iot-edge-device-management/src/modules/subscribe.js
teamviewer-iot-edge-device-management/src/modules/connectors.json
teamviewer-iot-edge-device-management/src/modules/connectors.txt
teamviewer-iot-edge-device-management/src/modules/edge-management.crt
teamviewer-iot-edge-device-management/src/modules/edge-management.key
teamviewer-iot-edge-device-management/src/data-providers/
teamviewer-iot-edge-device-management/src/data-providers/mqtt-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/preference-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/sensor-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/metric-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/client-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/module-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/dashboard-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/db-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/widget-data-provider.js
teamviewer-iot-edge-device-management/src/data-providers/live-data-provider.js
teamviewer-iot-edge-device-management/src/commons/
teamviewer-iot-edge-device-management/src/commons/certificates-helper.js
teamviewer-iot-edge-device-management/src/commons/connection-manager.js
teamviewer-iot-edge-device-management/src/commons/utils.js
teamviewer-iot-edge-device-management/src/commons/console-log4s.js
teamviewer-iot-edge-device-management/src/commons/constants.js
teamviewer-iot-edge-device-management/src/entities/
teamviewer-iot-edge-device-management/src/entities/metric.js
teamviewer-iot-edge-device-management/src/entities/sensor.js
teamviewer-iot-edge-device-management/src/entities/db/
teamviewer-iot-edge-device-management/src/entities/db/widget.js
teamviewer-iot-edge-device-management/src/entities/db/preference.js
teamviewer-iot-edge-device-management/src/entities/db/dashboard.js
teamviewer-iot-edge-device-management/src/entities/client.js
teamviewer-iot-edge-device-management/src/use-cases/
teamviewer-iot-edge-device-management/src/use-cases/sensor/
teamviewer-iot-edge-device-management/src/use-cases/sensor/sensor-list-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/sensor/delete-sensor-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/sensor/edit-sensor-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/sensor/generate-code-sample-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/sensor/sensor-info-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/sensor/create-sensor-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/metric/
teamviewer-iot-edge-device-management/src/use-cases/metric/metric-list-of-sensor-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/metric/push-metric-data-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/metric/all-metrics-list-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/module/
teamviewer-iot-edge-device-management/src/use-cases/module/check-module-status-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/module/module-list-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/client/
teamviewer-iot-edge-device-management/src/use-cases/client/delete-client-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/client/clients-info-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/client/upload-client-credentials-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/client/edit_client_name_use_case.js
teamviewer-iot-edge-device-management/src/use-cases/client/create-client-with-existing-credentials-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/client/create-client-automatically-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/client/init-edge-client-connections-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/client/client-list-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/dashboard/
teamviewer-iot-edge-device-management/src/use-cases/dashboard/delete-dashboard-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/dashboard/create-dashboard-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/dashboard/dashboard-list-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/dashboard/dashboard-info-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/dashboard/edit-dashboard-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/init-db-defaults-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/preference/
teamviewer-iot-edge-device-management/src/use-cases/preference/edit-preference-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/preference/preference-list-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/widget/
teamviewer-iot-edge-device-management/src/use-cases/widget/edit-widget-settings-case.js
teamviewer-iot-edge-device-management/src/use-cases/widget/create-widget-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/widget/move-widget-use-case.js
teamviewer-iot-edge-device-management/src/use-cases/widget/delete-widget-use-case.js
teamviewer-iot-edge-device-management/config/
teamviewer-iot-edge-device-management/config/modules-config.js
teamviewer-iot-edge-device-management/config/config.js
teamviewer-iot-edge-device-management/config/log4js-config.js
teamviewer-iot-edge-device-management/index.html
teamviewer-iot-edge-device-management/cert/
teamviewer-iot-edge-device-management/Dockerfile
teamviewer-iot-edge-device-management/dist/
teamviewer-iot-edge-device-management/dist/8055bf9fd10ca7f0ba62ade4f4906b00.svg
teamviewer-iot-edge-device-management/dist/19e0f**Please do not post TeamViewer IDs**c05087f93da615480.ttf
teamviewer-iot-edge-device-management/dist/b2715522c417499f12012e7b89759902.woff
teamviewer-iot-edge-device-management/dist/ca6b0e495b541551ce351594adf23060.ttf
teamviewer-iot-edge-device-management/dist/665a4b0ed0e72dce4824bcfaedc61ec4.svg
teamviewer-iot-edge-device-management/dist/6d4470845de7f45913de87bf9f5c2259.svg
teamviewer-iot-edge-device-management/dist/c4e7c76a000a9b2a2883dc62b17a619a.eot
teamviewer-iot-edge-device-management/dist/bundle.js
teamviewer-iot-edge-device-management/dist/7beaa347d81dd764757bab**Please do not post TeamViewer IDs**c.svg
teamviewer-iot-edge-device-management/dist/92fec6e749b8201f358ab13316a0396d.eot
teamviewer-iot-edge-device-management/dist/31d0df3da9bd13c14c8af1f7e06a752d.svg
teamviewer-iot-edge-device-management/dist/703cdf65001450c1fabb19d86d8e07f4.svg
teamviewer-iot-edge-device-management/dist/85f1aa78fd719392fe0b54f924971c86.woff
teamviewer-iot-edge-device-management/dist/0248331e3e399b053e7c08ca17db7c10.svg
teamviewer-iot-edge-device-management/bin/
teamviewer-iot-edge-device-management/bin/stop.sh
teamviewer-iot-edge-device-management/bin/start.sh
teamviewer-iot-edge-device-management/socket_server.js
teamviewer-iot-edge-device-management/logs/
teamviewer-iot-edge-device-management/server.js
Sending build context to Docker daemon 4.185MB
Step 1/6 : FROM alpine:3.8
3.8: Pulling from library/alpine
e99479a55eec: Pull complete
Digest: sha256:2bb501e6173d9d006e56de5bce2720eb**Please do not post TeamViewer IDs**0fe1687b58a7ff32bf4c14
Status: Downloaded newer image for alpine:3.8
---> e60f4bcd6c89
Step 2/6 : RUN apk add --update nodejs nodejs-npm openssl
---> Running in 09f6276f5743
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/armhf/APKINDEX.tar.gz
(1/11) Installing ca-certificates (20190108-r0)
(2/11) Installing c-ares (1.14.0-r0)
(3/11) Installing libcrypto1.0 (1.0.2u-r0)
(4/11) Installing libgcc (6.4.0-r9)
(5/11) Installing http-parser (2.8.1-r0)
(6/11) Installing libssl1.0 (1.0.2u-r0)
(7/11) Installing libstdc++ (6.4.0-r9)
(8/11) Installing libuv (1.20.2-r0)
(9/11) Installing nodejs (8.14.0-r0)
(10/11) Installing npm (8.14.0-r0)
(11/11) Installing openssl (1.0.2u-r0)
Executing busybox-1.28.4-r3.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 51 MiB in 24 packages
Removing intermediate container 09f6276f5743
---> 467c1ac61ccf
Step 3/6 : WORKDIR /teamviewer-iot-edge-device-management
---> Running in 5d1eeb536875
Removing intermediate container 5d1eeb536875
---> 2eb7dbc0341f
Step 4/6 : COPY teamviewer-iot-edge-device-management/ .
---> 2e1cab674bc3
Step 5/6 : RUN npm install
---> Running in d3dfaca2e697
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated uws@9.14.0: New code is available at github.com/uNetworking/uWebSockets.js
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
> uws@9.14.0 install /teamviewer-iot-edge-device-management/node_modules/uws
> node-gyp rebuild > build_log.txt 2>&1 || exit 0
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN fixed-data-table-2@0.8.28 requires a peer of react@>=0.13.0 || ^0.14.0-beta3 but none is installed. You must install peer dependencies yourself.
npm WARN fixed-data-table-2@0.8.28 requires a peer of react-dom@>=0.14.0 || ^0.14.0-beta3 but none is installed. You must install peer dependencies yourself.
added 351 packages from 329 contributors and audited 983 packages in 720.18s
found 4 vulnerabilities (2 low, 1 moderate, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
Removing intermediate container d3dfaca2e697
---> 2b1736ece5ce
Step 6/6 : CMD [ "npm", "start" ]
---> Running in b17bb2f0b907
Removing intermediate container b17bb2f0b907
---> e4405a3cb219
Successfully built e4405a3cb219
Successfully tagged teamviewer-iot-edge-device-management:latest
Do you want to start Edge Management? (Y/n) lsof not found on host...
Do you want install lsof automatically? (Y/n)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
lsof
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 307 kB of archives.
After this operation, 447 kB of additional disk space will be used.
Get:1 http://raspbian.mirror.geek.nz/raspbian buster/main armhf lsof armhf 4.91+dfsg-1 [307 kB]
Fetched 307 kB in 4s (68.5 kB/s)
Selecting previously unselected package lsof.
(Reading database ... 55583 files and directories currently installed.)
Preparing to unpack .../lsof_4.91+dfsg-1_armhf.deb ...
Unpacking lsof (4.91+dfsg-1) ...
Setting up lsof (4.91+dfsg-1) ...
Processing triggers for man-db (2.8.5-2) ...
5c523bf03c20ec85e9b1475be712eb822f947c1d00b40b8cfdbeb221c8e085ac
Starting Edge Management on port 80
Please restart the agent => teamviewer-iot-agent restart!
pi@ZIPgateway:~/teamviewer $
pi@ZIPgateway:~/teamviewer $ sudo teamviewer-iot-agent restart!
Unknown option or command: restart!
Use -h | --help
pi@ZIPgateway:~/teamviewer $
pi@ZIPgateway:~/teamviewer $ sudo teamviewer-iot-agent restart
Note: Applying this change will restart the TeamViewer IoT Agent causing it to go offline for a few seconds.
pi@ZIPgateway:~/teamviewer $
pi@ZIPgateway:~/teamviewer $
pi@ZIPgateway:~/teamviewer $