feelfreelinux / octo4a

Use your old Android device as an OctoPrint server.
GNU Affero General Public License v3.0
1.53k stars 143 forks source link

Fatal Error installing OctoPrint #413

Closed GurtenFroggen closed 1 year ago

GurtenFroggen commented 1 year ago

Screenshot_2023-04-26-16-43-19.png


💻 No bootstrap detected, proceeding with installation
💻 Arch: arm
💻 Downloading bootstrap 0.3.0 from https://github.com/feelfreelinux/android-linux-bootstrap/releases/download/0.3.0/bootstrap-armv7a.zip
💻 Request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/352965812/2cd65898-00b6-4b5a-bd0f-7a036eff0c4f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230426%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230426T212007Z&X-Amz-Expires=300&X-Amz-Signature=f9419de4733b3a3055ec275c9166003808d25f56b71b78b0cee168cf13e79994&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=352965812&response-content-disposition=attachment%3B%20filename%3Dbootstrap-armv7a.zip&response-content-type=application%2Foctet-stream returned status code 200
💻 Bootstrap extracted, setting it up...
💻 >ls
🐸 add-user.sh
🐸 fake_proc_stat
🐸 install-bootstrap.sh
🐸 ioctlHook.so
🐸 root
🐸 root-pre5
🐸 rootfs.tar.xz
🐸 run-bootstrap.sh
💻 >chmod -R 700 .
💻 >sh install-bootstrap.sh
🐸 bootstrap ready, run with run-bootstrap.sh
💻 >sh add-user.sh octoprint
💻 >cat /etc/motd
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 Welcome to Alpine!
🐸
🐸 The Alpine Wiki contains a large amount of how-to guides and general
🐸 information about administrating Alpine systems.
🐸 See <https://wiki.alpinelinux.org/>.
🐸
🐸 You can setup the system with the command: setup-alpine
🐸
🐸 You may change this message by editing /etc/motd.
🐸
💻 >env
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 DEX2OATBOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/mediatek-telephony-base.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-ims-common.jar:/system/framework/mediatek-ims-base.jar:/system/framework/mediatek-telecom-common.jar:/system/framework/OPCommonTelephony.jar
🐸 EXTRA_BIND=-b /storage/emulated/0/Android/data/com.octo4a/files:/root -b /data/data/com.octo4a/files/serialpipe:/dev/ttyOcto4a -b /data/data/com.octo4a/files/bootstrap/ioctlHook.so:/home/octoprint/ioctlHook.so
🐸 USER=root
🐸 EXTERNAL_STORAGE=/sdcard
🐸 PROOT_L2S_DIR=/data/data/com.octo4a/files/bootstrap/bootstrap/.proot.meta
🐸 SHLVL=1
🐸 HOME=/root
🐸 ANDROID_ASSETS=/system/app
🐸 BOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/mediatek-telephony-base.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-ims-common.jar:/system/framework/mediatek-ims-base.jar:/system/framework/mediatek-telecom-common.jar:/system/framework/OPCommonTelephony.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.wifi/javalib/framework-wifi.jar:/apex/com.android.tethering/javalib/framework-tethering.jar
🐸 _=./root/bin/proot
🐸 DOWNLOAD_CACHE=/data/cache
🐸 ANDROID_DATA=/data
🐸 PATH=/sbin:/usr/sbin:/bin:/usr/bin
🐸 ANDROID_ROOT=/system
🐸 ANDROID_I18N_ROOT=/apex/com.android.i18n
🐸 LANG='en_US.UTF-8'
🐸 ANDROID_TZDATA_ROOT=/apex/com.android.tzdata
🐸 ANDROID_SOCKET_zygote=18
🐸 ANDROID_SOCKET_usap_pool_primary=23
🐸 ASEC_MOUNTPOINT=/mnt/asec
🐸 PWD=/root
🐸 SYSTEMSERVERCLASSPATH=/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/apex/com.android.permission/javalib/service-permission.jar:/apex/com.android.wifi/javalib/service-wifi.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar
🐸 ANDROID_ART_ROOT=/apex/com.android.art
🐸 ANDROID_STORAGE=/storage
🐸 PROOT_TMP_DIR=/data/data/com.octo4a/files/bootstrap/tmp
🐸 ANDROID_BOOTLOGO=1
💻 >ls /
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 bin
🐸 dev
🐸 etc
🐸 home
🐸 lib
🐸 media
🐸 mnt
🐸 opt
🐸 proc
🐸 root
🐸 run
🐸 sbin
🐸 srv
🐸 storage
🐸 sys
🐸 system
🐸 tmp
🐸 usr
🐸 var
🐸 vendor
💻 >apk add openssh-server curl bash unzip
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armhf/APKINDEX.tar.gz
🐸 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armhf/APKINDEX.tar.gz
🐸 (1/13) Installing ncurses-terminfo-base (6.3_p20221119-r0)
🐸 (2/13) Installing ncurses-libs (6.3_p20221119-r0)
🐸 (3/13) Installing readline (8.2.0-r0)
🐸 (4/13) Installing bash (5.2.15-r0)
🐸 Executing bash-5.2.15-r0.post-install
🐸 (5/13) Installing ca-certificates (20220614-r4)
🐸 (6/13) Installing brotli-libs (1.0.9-r9)
🐸 (7/13) Installing nghttp2-libs (1.51.0-r0)
🐸 (8/13) Installing libcurl (8.0.1-r0)
🐸 (9/13) Installing curl (8.0.1-r0)
🐸 (10/13) Installing openssh-keygen (9.1_p1-r2)
🐸 (11/13) Installing openssh-server-common (9.1_p1-r2)
🐸 (12/13) Installing openssh-server (9.1_p1-r2)
🐸 (13/13) Installing unzip (6.0-r13)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 Executing ca-certificates-20220614-r4.trigger
🐸 OK: 15 MiB in 28 packages
💻 >echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
💻 >ssh-keygen -A
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 ssh-keygen: generating new host keys: RSA ECDSA ED25519
💻 Installing p7zip...
💻 >apk add p7zip
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 ERROR: unable to select packages:
🐸   p7zip (no such package):
🐸     required by: world[p7zip]
💻 Failed to install p7zip from release repository, trying Alpine edge...
💻 This may be caused by the fact that p7zip is missing on armhf Alpine 3.17, see: https://gitlab.alpinelinux.org/alpine/aports/-/commits/master/main/p7zip/APKBUILD
💻 >apk add p7zip --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armhf/APKINDEX.tar.gz
🐸 (1/3) Installing libgcc (12.2.1_git20220924-r10)
🐸 (2/3) Installing libstdc++ (12.2.1_git20220924-r10)
🐸 (3/3) Installing 7zip (22.01-r5)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 OK: 19 MiB in 31 packages
💻 Bootstrap installed
💻 Downloading Octoprint from https://api.github.com/repos/OctoPrint/OctoPrint/zipball/1.8.7
💻 >curl -s https://raw.githubusercontent.com/feelfreelinux/octo4a/master/scripts/setup-octo4a.sh | bash -s
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 (1/99) Installing sdl2 (2.26.5-r0)
🐸 (2/99) Installing libxau (1.0.10-r0)
🐸 (3/99) Installing libmd (1.0.4-r0)
🐸 (4/99) Installing libbsd (0.11.7-r0)
🐸 (5/99) Installing libxdmcp (1.1.4-r0)
🐸 (6/99) Installing libxcb (1.15-r0)
🐸 (7/99) Installing libx11 (1.8.4-r0)
🐸 (8/99) Installing aom-libs (3.5.0-r0)
🐸 (9/99) Installing alsa-lib (1.2.8-r0)
🐸 (10/99) Installing libexpat (2.5.0-r0)
🐸 (11/99) Installing libbz2 (1.0.8-r4)
🐸 (12/99) Installing libpng (1.6.38-r0)
🐸 (13/99) Installing freetype (2.12.1-r0)
🐸 (14/99) Installing fontconfig (2.14.1-r0)
🐸 (15/99) Installing fribidi (1.0.12-r0)
🐸 (16/99) Installing libffi (3.4.4-r0)
🐸 (17/99) Installing libintl (0.21.1-r1)
🐸 (18/99) Installing libblkid (2.38.1-r1)
🐸 (19/99) Installing libmount (2.38.1-r1)
🐸 (20/99) Installing pcre2 (10.42-r0)
🐸 (21/99) Installing glib (2.74.6-r0)
🐸 (22/99) Installing graphite2 (1.3.14-r2)
🐸 (23/99) Installing harfbuzz (5.3.1-r1)
🐸 (24/99) Installing libass (0.16.0-r1)
🐸 (25/99) Installing libdav1d (1.0.0-r2)
🐸 (26/99) Installing libdrm (2.4.114-r0)
🐸 (27/99) Installing gmp (6.2.1-r2)
🐸 (28/99) Installing nettle (3.8.1-r0)
🐸 (29/99) Installing p11-kit (0.24.1-r1)
🐸 (30/99) Installing libtasn1 (4.19.0-r0)
🐸 (31/99) Installing libunistring (1.1-r0)
🐸 (32/99) Installing gnutls (3.7.8-r3)
🐸 (33/99) Installing lame (3.100-r2)
🐸 (34/99) Installing opus (1.3.1-r1)
🐸 (35/99) Installing libasyncns (0.8-r1)
🐸 (36/99) Installing dbus-libs (1.14.4-r0)
🐸 (37/99) Installing libltdl (2.4.7-r1)
🐸 (38/99) Installing orc (0.4.33-r0)
🐸 (39/99) Installing libogg (1.3.5-r2)
🐸 (40/99) Installing flac-libs (1.4.2-r0)
🐸 (41/99) Installing libvorbis (1.3.7-r0)
🐸 (42/99) Installing libsndfile (1.1.0-r2)
🐸 (43/99) Installing libgomp (12.2.1_git20220924-r4)
🐸 (44/99) Installing soxr (0.1.3-r3)
🐸 (45/99) Installing speexdsp (1.2.1-r0)
🐸 (46/99) Installing tdb-libs (1.4.6-r0)
🐸 (47/99) Installing libpulse (16.1-r6)
🐸 (48/99) Installing cjson (1.7.15-r3)
🐸 (49/99) Installing mbedtls (2.28.3-r0)
🐸 (50/99) Installing librist (0.2.7-r0)
🐸 (51/99) Installing libsrt (1.5.1-r0)
🐸 (52/99) Installing libssh (0.10.4-r0)
🐸 (53/99) Installing libtheora (1.1.1-r16)
🐸 (54/99) Installing libjpeg-turbo (2.1.4-r0)
🐸 (55/99) Installing v4l-utils-libs (1.22.1-r2)
🐸 (56/99) Installing libxext (1.3.5-r0)
🐸 (57/99) Installing libxfixes (6.0.0-r0)
🐸 (58/99) Installing wayland-libs-client (1.21.0-r1)
🐸 (59/99) Installing libva (2.16.0-r0)
🐸 (60/99) Installing libvdpau (1.5-r0)
🐸 (61/99) Installing vidstab (1.1.0-r2)
🐸 (62/99) Installing libvpx (1.12.0-r1)
🐸 (63/99) Installing libwebp (1.2.4-r1)
🐸 (64/99) Installing x264-libs (0.164_git20220602-r0)
🐸 (65/99) Installing numactl (2.0.16-r1)
🐸 (66/99) Installing x265-libs (3.5-r3)
🐸 (67/99) Installing xvidcore (1.3.7-r1)
🐸 (68/99) Installing libsodium (1.0.18-r2)
🐸 (69/99) Installing libzmq (4.3.4-r1)
🐸 (70/99) Installing ffmpeg-libs (5.1.3-r0)
🐸 (71/99) Installing ffmpeg (5.1.3-r0)
🐸 (72/99) Installing py3-netifaces (0.11.0-r1)
🐸 (73/99) Installing py3-olefile (0.46-r6)
🐸 (74/99) Installing gdbm (1.23-r0)
🐸 (75/99) Installing xz-libs (5.2.9-r0)
🐸 (76/99) Installing mpdecimal (2.5.1-r1)
🐸 (77/99) Installing sqlite-libs (3.40.1-r0)
🐸 (78/99) Installing python3 (3.10.11-r0)
🐸 (79/99) Installing libimagequant (4.0.4-r0)
🐸 (80/99) Installing lcms2 (2.14-r0)
🐸 (81/99) Installing openjpeg (2.5.0-r0)
🐸 (82/99) Installing zstd-libs (1.5.5-r0)
🐸 (83/99) Installing tiff (4.4.0-r3)
🐸 (84/99) Installing py3-pillow (9.3.0-r0)
🐸 (85/99) Installing py3-six (1.16.0-r3)
🐸 (86/99) Installing py3-retrying (1.3.3-r3)
🐸 (87/99) Installing py3-parsing (3.0.9-r0)
🐸 (88/99) Installing py3-packaging (21.3-r2)
🐸 (89/99) Installing py3-setuptools (65.6.0-r0)
🐸 (90/99) Installing py3-pip (22.3.1-r1)
🐸 (91/99) Installing py3-psutil (5.9.4-r0)
🐸 (92/99) Installing py3-regex (2022.10.31-r0)
🐸 (93/99) Installing yaml (0.2.5-r0)
🐸 (94/99) Installing py3-yaml (6.0-r0)
🐸 (95/99) Installing libuv (1.44.2-r0)
🐸 (96/99) Installing libwebsockets (4.3.2-r1)
🐸 (97/99) Installing libwebsockets-evlib_uv (4.3.2-r1)
🐸 (98/99) Installing json-c (0.16-r2)
🐸 (99/99) Installing ttyd (1.7.2-r0)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 OK: 166 MiB in 130 packages
🐸 Collecting packaging
🐸   Downloading packaging-23.1-py3-none-any.whl (48 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 155.5 kB/s eta 0:00:00
🐸 Installing collected packages: packaging
🐸 Successfully installed packaging-23.1
🐸 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
🐸 Collecting https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip
🐸   Downloading https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip (6.3 kB)
🐸   Installing build dependencies: started
🐸   Installing build dependencies: finished with status 'done'
🐸   Getting requirements to build wheel: started
🐸   Getting requirements to build wheel: finished with status 'done'
🐸   Preparing metadata (pyproject.toml): started
🐸   Preparing metadata (pyproject.toml): finished with status 'done'
🐸 Building wheels for collected packages: argon2-cffi
🐸   Building wheel for argon2-cffi (pyproject.toml): started
🐸   Building wheel for argon2-cffi (pyproject.toml): finished with status 'done'
🐸   Created wheel for argon2-cffi: filename=argon2_cffi-21.3.0-py3-none-any.whl size=1606 sha256=92eb5c9901d5e56901d295a1156882eb1533b7a51f73595fcce3baf630807a0c
🐸   Stored in directory: /tmp/pip-ephem-wheel-cache-i5v5927x/wheels/6b/30/6b/6fcc594d71f28bbcbd8aae83b53e1ca59e203102a84d4e1121
🐸 Successfully built argon2-cffi
🐸 Installing collected packages: argon2-cffi
🐸 Successfully installed argon2-cffi-21.3.0
🐸 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
💻 >curl -o octoprint.zip -L https://api.github.com/repos/OctoPrint/OctoPrint/zipball/1.8.7
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸   % 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      0 --:--:-- --:--:-- --:--:--     0
🐸
🐸   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
🐸 100  492k    0  492k    0     0   255k      0 --:--:--  0:00:01 --:--:--  475k
🐸 100 1568k    0 1568k    0     0   525k      0 --:--:--  0:00:02 --:--:--  748k
🐸 100 3806k    0 3806k    0     0   976k      0 --:--:--  0:00:03 --:--:-- 1265k
🐸 100 6452k    0 6452k    0     0  1387k      0 --:--:--  0:00:04 --:--:-- 1715k
💻 >echo PWD IS $PWD, and running as $USER, patch is $PATH, Unzip is at $(which unzip) && ls -lah $(which unzip)
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 PWD IS /root, and running as root, patch is /sbin:/usr/sbin:/bin:/usr/bin, Unzip is at
🐸 total 6M    
🐸 drwxrwx--x    4 root     1015        4.0K Apr 26 21:24 .
🐸 drwx------   23 root     root        4.0K Apr 26 21:24 ..
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:22 .cache
🐸 -rw-rw----    1 root     1015          10 Apr 26 21:21 .octoCredentials
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:21 extensions
🐸 -rw-rw----    1 root     1015        6.3M Apr 26 21:24 octoprint.zip
💻 >ls -lah
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 total 6M    
🐸 drwxrwx--x    4 root     1015        4.0K Apr 26 21:24 .
🐸 drwx------   23 root     root        4.0K Apr 26 21:24 ..
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:22 .cache
🐸 -rw-rw----    1 root     1015          10 Apr 26 21:21 .octoCredentials
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:21 extensions
🐸 -rw-rw----    1 root     1015        6.3M Apr 26 21:24 octoprint.zip
💻 >7z x -y octoprint.zip
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸
🐸 7-Zip (z) 22.01 (arm) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
🐸  32-bit arm_v:6 thumb:1 locale='en_US.UTF-8' Threads:4
🐸
🐸 Scanning the drive for archives:
🐸 1 file, 6607230 bytes (6453 KiB)
🐸
🐸 Extracting archive: octoprint.zip
🐸 --
🐸 Path = octoprint.zip
🐸 Type = zip
🐸 Physical Size = 6607230
🐸 Comment = 8e4c1f5246c4245b839ccdcdabf2beee671b08d7
🐸
🐸 Everything is Ok
🐸
🐸 Folders: 219
🐸 Files: 881
🐸 Size:       20391229
🐸 Compressed: 6607230
💻 >cd Octo* && pip3 install .
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 Processing /root/OctoPrint-OctoPrint-8e4c1f5
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting OctoPrint-FileCheck>=2021.2.23
🐸   Downloading OctoPrint_FileCheck-2021.2.23-py2.py3-none-any.whl (19 kB)
🐸 Collecting OctoPrint-FirmwareCheck>=2021.10.11
🐸   Downloading OctoPrint_FirmwareCheck-2021.10.11-py2.py3-none-any.whl (33 kB)
🐸 Collecting OctoPrint-PiSupport>=2022.6.13
🐸   Downloading OctoPrint_PiSupport-2022.6.13-py2.py3-none-any.whl (33 kB)
🐸 Requirement already satisfied: argon2_cffi<22,>=21.3.0 in /usr/lib/python3.10/site-packages (from OctoPrint==1.8.7) (21.3.0)
🐸 Collecting cachelib<0.3,>=0.2
🐸   Downloading cachelib-0.2.0-py3-none-any.whl (12 kB)
🐸 Collecting Click<9,>=8.0.3
🐸   Downloading click-8.1.3-py3-none-any.whl (96 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 1.4 MB/s eta 0:00:00
🐸 Collecting colorlog<7,>=6
🐸   Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
🐸 Collecting emoji<2,>=1.4.2
🐸   Downloading emoji-1.7.0.tar.gz (175 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.4/175.4 kB 232.5 kB/s eta 0:00:00
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting feedparser<7,>=6.0.8
🐸   Downloading feedparser-6.0.10-py3-none-any.whl (81 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 228.6 kB/s eta 0:00:00
🐸 Collecting filetype<2,>=1.0.7
🐸   Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)
🐸 Collecting Flask-Assets<3,>=2.0
🐸   Downloading Flask_Assets-2.0-py3-none-any.whl (8.5 kB)
🐸 Collecting Flask-Babel<3,>=2.0
🐸   Downloading Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
🐸 Collecting Flask-Login<0.6,>=0.5
🐸   Downloading Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
🐸 Collecting Flask-Limiter<3,>=2.6
🐸   Downloading Flask_Limiter-2.9.2-py3-none-any.whl (27 kB)
🐸 Collecting flask<2.2,>=2.1
🐸   Downloading Flask-2.1.3-py3-none-any.whl (95 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.6/95.6 kB 354.0 kB/s eta 0:00:00
🐸 Collecting frozendict<3,>=2.0
🐸   Downloading frozendict-2.3.7.tar.gz (311 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 427.4 kB/s eta 0:00:00
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting future<1,>=0.18.2
🐸   Downloading future-0.18.3.tar.gz (840 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 806.4 kB/s eta 0:00:00
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 ERROR: Could not find a version that satisfies the requirement markdown<4,>=3.2.2 (from octoprint) (from versions: none)
🐸 ERROR: No matching distribution found for markdown<4,>=3.2.2
💻 An exception has occurred at:
java.lang.RuntimeException: Process exited with error code 1. [proot warning: can't sanitize binding "/data/data
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput(ProcessUtils.kt:38)
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput$default(ProcessUtils.kt:12)
at com.octo4a.repository.OctoPrintHandlerRepositoryImpl$beginInstallation$2.invokeSuspend(OctoPrintHandlerRepository.kt:164)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(Builders.common.kt:265)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Exception:
java.lang.RuntimeException: Process exited with error code 1. [proot warning: can't sanitize binding "/data/data
💻 No bootstrap detected, proceeding with installation
💻 Arch: arm
💻 Downloading bootstrap 0.3.0 from https://github.com/feelfreelinux/android-linux-bootstrap/releases/download/0.3.0/bootstrap-armv7a.zip
💻 Request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/352965812/2cd65898-00b6-4b5a-bd0f-7a036eff0c4f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230426%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230426T212007Z&X-Amz-Expires=300&X-Amz-Signature=f9419de4733b3a3055ec275c9166003808d25f56b71b78b0cee168cf13e79994&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=352965812&response-content-disposition=attachment%3B%20filename%3Dbootstrap-armv7a.zip&response-content-type=application%2Foctet-stream returned status code 200
💻 Bootstrap extracted, setting it up...
💻 >ls
🐸 add-user.sh
🐸 fake_proc_stat
🐸 install-bootstrap.sh
🐸 ioctlHook.so
🐸 root
🐸 root-pre5
🐸 rootfs.tar.xz
🐸 run-bootstrap.sh
💻 >chmod -R 700 .
💻 >sh install-bootstrap.sh
🐸 bootstrap ready, run with run-bootstrap.sh
💻 >sh add-user.sh octoprint
💻 >cat /etc/motd
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 Welcome to Alpine!
🐸
🐸 The Alpine Wiki contains a large amount of how-to guides and general
🐸 information about administrating Alpine systems.
🐸 See <https://wiki.alpinelinux.org/>.
🐸
🐸 You can setup the system with the command: setup-alpine
🐸
🐸 You may change this message by editing /etc/motd.
🐸
💻 >env
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 DEX2OATBOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/mediatek-telephony-base.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-ims-common.jar:/system/framework/mediatek-ims-base.jar:/system/framework/mediatek-telecom-common.jar:/system/framework/OPCommonTelephony.jar
🐸 EXTRA_BIND=-b /storage/emulated/0/Android/data/com.octo4a/files:/root -b /data/data/com.octo4a/files/serialpipe:/dev/ttyOcto4a -b /data/data/com.octo4a/files/bootstrap/ioctlHook.so:/home/octoprint/ioctlHook.so
🐸 USER=root
🐸 EXTERNAL_STORAGE=/sdcard
🐸 PROOT_L2S_DIR=/data/data/com.octo4a/files/bootstrap/bootstrap/.proot.meta
🐸 SHLVL=1
🐸 HOME=/root
🐸 ANDROID_ASSETS=/system/app
🐸 BOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/mediatek-telephony-base.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-ims-common.jar:/system/framework/mediatek-ims-base.jar:/system/framework/mediatek-telecom-common.jar:/system/framework/OPCommonTelephony.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.wifi/javalib/framework-wifi.jar:/apex/com.android.tethering/javalib/framework-tethering.jar
🐸 _=./root/bin/proot
🐸 DOWNLOAD_CACHE=/data/cache
🐸 ANDROID_DATA=/data
🐸 PATH=/sbin:/usr/sbin:/bin:/usr/bin
🐸 ANDROID_ROOT=/system
🐸 ANDROID_I18N_ROOT=/apex/com.android.i18n
🐸 LANG='en_US.UTF-8'
🐸 ANDROID_TZDATA_ROOT=/apex/com.android.tzdata
🐸 ANDROID_SOCKET_zygote=18
🐸 ANDROID_SOCKET_usap_pool_primary=23
🐸 ASEC_MOUNTPOINT=/mnt/asec
🐸 PWD=/root
🐸 SYSTEMSERVERCLASSPATH=/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/apex/com.android.permission/javalib/service-permission.jar:/apex/com.android.wifi/javalib/service-wifi.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar
🐸 ANDROID_ART_ROOT=/apex/com.android.art
🐸 ANDROID_STORAGE=/storage
🐸 PROOT_TMP_DIR=/data/data/com.octo4a/files/bootstrap/tmp
🐸 ANDROID_BOOTLOGO=1
💻 >ls /
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 bin
🐸 dev
🐸 etc
🐸 home
🐸 lib
🐸 media
🐸 mnt
🐸 opt
🐸 proc
🐸 root
🐸 run
🐸 sbin
🐸 srv
🐸 storage
🐸 sys
🐸 system
🐸 tmp
🐸 usr
🐸 var
🐸 vendor
💻 >apk add openssh-server curl bash unzip
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armhf/APKINDEX.tar.gz
🐸 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armhf/APKINDEX.tar.gz
🐸 (1/13) Installing ncurses-terminfo-base (6.3_p20221119-r0)
🐸 (2/13) Installing ncurses-libs (6.3_p20221119-r0)
🐸 (3/13) Installing readline (8.2.0-r0)
🐸 (4/13) Installing bash (5.2.15-r0)
🐸 Executing bash-5.2.15-r0.post-install
🐸 (5/13) Installing ca-certificates (20220614-r4)
🐸 (6/13) Installing brotli-libs (1.0.9-r9)
🐸 (7/13) Installing nghttp2-libs (1.51.0-r0)
🐸 (8/13) Installing libcurl (8.0.1-r0)
🐸 (9/13) Installing curl (8.0.1-r0)
🐸 (10/13) Installing openssh-keygen (9.1_p1-r2)
🐸 (11/13) Installing openssh-server-common (9.1_p1-r2)
🐸 (12/13) Installing openssh-server (9.1_p1-r2)
🐸 (13/13) Installing unzip (6.0-r13)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 Executing ca-certificates-20220614-r4.trigger
🐸 OK: 15 MiB in 28 packages
💻 >echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
💻 >ssh-keygen -A
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 ssh-keygen: generating new host keys: RSA ECDSA ED25519
💻 Installing p7zip...
💻 >apk add p7zip
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 ERROR: unable to select packages:
🐸   p7zip (no such package):
🐸     required by: world[p7zip]
💻 Failed to install p7zip from release repository, trying Alpine edge...
💻 This may be caused by the fact that p7zip is missing on armhf Alpine 3.17, see: https://gitlab.alpinelinux.org/alpine/aports/-/commits/master/main/p7zip/APKBUILD
💻 >apk add p7zip --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armhf/APKINDEX.tar.gz
🐸 (1/3) Installing libgcc (12.2.1_git20220924-r10)
🐸 (2/3) Installing libstdc++ (12.2.1_git20220924-r10)
🐸 (3/3) Installing 7zip (22.01-r5)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 OK: 19 MiB in 31 packages
💻 Bootstrap installed
💻 Downloading Octoprint from https://api.github.com/repos/OctoPrint/OctoPrint/zipball/1.8.7
💻 >curl -s https://raw.githubusercontent.com/feelfreelinux/octo4a/master/scripts/setup-octo4a.sh | bash -s
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 (1/99) Installing sdl2 (2.26.5-r0)
🐸 (2/99) Installing libxau (1.0.10-r0)
🐸 (3/99) Installing libmd (1.0.4-r0)
🐸 (4/99) Installing libbsd (0.11.7-r0)
🐸 (5/99) Installing libxdmcp (1.1.4-r0)
🐸 (6/99) Installing libxcb (1.15-r0)
🐸 (7/99) Installing libx11 (1.8.4-r0)
🐸 (8/99) Installing aom-libs (3.5.0-r0)
🐸 (9/99) Installing alsa-lib (1.2.8-r0)
🐸 (10/99) Installing libexpat (2.5.0-r0)
🐸 (11/99) Installing libbz2 (1.0.8-r4)
🐸 (12/99) Installing libpng (1.6.38-r0)
🐸 (13/99) Installing freetype (2.12.1-r0)
🐸 (14/99) Installing fontconfig (2.14.1-r0)
🐸 (15/99) Installing fribidi (1.0.12-r0)
🐸 (16/99) Installing libffi (3.4.4-r0)
🐸 (17/99) Installing libintl (0.21.1-r1)
🐸 (18/99) Installing libblkid (2.38.1-r1)
🐸 (19/99) Installing libmount (2.38.1-r1)
🐸 (20/99) Installing pcre2 (10.42-r0)
🐸 (21/99) Installing glib (2.74.6-r0)
🐸 (22/99) Installing graphite2 (1.3.14-r2)
🐸 (23/99) Installing harfbuzz (5.3.1-r1)
🐸 (24/99) Installing libass (0.16.0-r1)
🐸 (25/99) Installing libdav1d (1.0.0-r2)
🐸 (26/99) Installing libdrm (2.4.114-r0)
🐸 (27/99) Installing gmp (6.2.1-r2)
🐸 (28/99) Installing nettle (3.8.1-r0)
🐸 (29/99) Installing p11-kit (0.24.1-r1)
🐸 (30/99) Installing libtasn1 (4.19.0-r0)
🐸 (31/99) Installing libunistring (1.1-r0)
🐸 (32/99) Installing gnutls (3.7.8-r3)
🐸 (33/99) Installing lame (3.100-r2)
🐸 (34/99) Installing opus (1.3.1-r1)
🐸 (35/99) Installing libasyncns (0.8-r1)
🐸 (36/99) Installing dbus-libs (1.14.4-r0)
🐸 (37/99) Installing libltdl (2.4.7-r1)
🐸 (38/99) Installing orc (0.4.33-r0)
🐸 (39/99) Installing libogg (1.3.5-r2)
🐸 (40/99) Installing flac-libs (1.4.2-r0)
🐸 (41/99) Installing libvorbis (1.3.7-r0)
🐸 (42/99) Installing libsndfile (1.1.0-r2)
🐸 (43/99) Installing libgomp (12.2.1_git20220924-r4)
🐸 (44/99) Installing soxr (0.1.3-r3)
🐸 (45/99) Installing speexdsp (1.2.1-r0)
🐸 (46/99) Installing tdb-libs (1.4.6-r0)
🐸 (47/99) Installing libpulse (16.1-r6)
🐸 (48/99) Installing cjson (1.7.15-r3)
🐸 (49/99) Installing mbedtls (2.28.3-r0)
🐸 (50/99) Installing librist (0.2.7-r0)
🐸 (51/99) Installing libsrt (1.5.1-r0)
🐸 (52/99) Installing libssh (0.10.4-r0)
🐸 (53/99) Installing libtheora (1.1.1-r16)
🐸 (54/99) Installing libjpeg-turbo (2.1.4-r0)
🐸 (55/99) Installing v4l-utils-libs (1.22.1-r2)
🐸 (56/99) Installing libxext (1.3.5-r0)
🐸 (57/99) Installing libxfixes (6.0.0-r0)
🐸 (58/99) Installing wayland-libs-client (1.21.0-r1)
🐸 (59/99) Installing libva (2.16.0-r0)
🐸 (60/99) Installing libvdpau (1.5-r0)
🐸 (61/99) Installing vidstab (1.1.0-r2)
🐸 (62/99) Installing libvpx (1.12.0-r1)
🐸 (63/99) Installing libwebp (1.2.4-r1)
🐸 (64/99) Installing x264-libs (0.164_git20220602-r0)
🐸 (65/99) Installing numactl (2.0.16-r1)
🐸 (66/99) Installing x265-libs (3.5-r3)
🐸 (67/99) Installing xvidcore (1.3.7-r1)
🐸 (68/99) Installing libsodium (1.0.18-r2)
🐸 (69/99) Installing libzmq (4.3.4-r1)
🐸 (70/99) Installing ffmpeg-libs (5.1.3-r0)
🐸 (71/99) Installing ffmpeg (5.1.3-r0)
🐸 (72/99) Installing py3-netifaces (0.11.0-r1)
🐸 (73/99) Installing py3-olefile (0.46-r6)
🐸 (74/99) Installing gdbm (1.23-r0)
🐸 (75/99) Installing xz-libs (5.2.9-r0)
🐸 (76/99) Installing mpdecimal (2.5.1-r1)
🐸 (77/99) Installing sqlite-libs (3.40.1-r0)
🐸 (78/99) Installing python3 (3.10.11-r0)
🐸 (79/99) Installing libimagequant (4.0.4-r0)
🐸 (80/99) Installing lcms2 (2.14-r0)
🐸 (81/99) Installing openjpeg (2.5.0-r0)
🐸 (82/99) Installing zstd-libs (1.5.5-r0)
🐸 (83/99) Installing tiff (4.4.0-r3)
🐸 (84/99) Installing py3-pillow (9.3.0-r0)
🐸 (85/99) Installing py3-six (1.16.0-r3)
🐸 (86/99) Installing py3-retrying (1.3.3-r3)
🐸 (87/99) Installing py3-parsing (3.0.9-r0)
🐸 (88/99) Installing py3-packaging (21.3-r2)
🐸 (89/99) Installing py3-setuptools (65.6.0-r0)
🐸 (90/99) Installing py3-pip (22.3.1-r1)
🐸 (91/99) Installing py3-psutil (5.9.4-r0)
🐸 (92/99) Installing py3-regex (2022.10.31-r0)
🐸 (93/99) Installing yaml (0.2.5-r0)
🐸 (94/99) Installing py3-yaml (6.0-r0)
🐸 (95/99) Installing libuv (1.44.2-r0)
🐸 (96/99) Installing libwebsockets (4.3.2-r1)
🐸 (97/99) Installing libwebsockets-evlib_uv (4.3.2-r1)
🐸 (98/99) Installing json-c (0.16-r2)
🐸 (99/99) Installing ttyd (1.7.2-r0)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 OK: 166 MiB in 130 packages
🐸 Collecting packaging
🐸   Downloading packaging-23.1-py3-none-any.whl (48 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 155.5 kB/s eta 0:00:00
🐸 Installing collected packages: packaging
🐸 Successfully installed packaging-23.1
🐸 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
🐸 Collecting https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip
🐸   Downloading https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip (6.3 kB)
🐸   Installing build dependencies: started
🐸   Installing build dependencies: finished with status 'done'
🐸   Getting requirements to build wheel: started
🐸   Getting requirements to build wheel: finished with status 'done'
🐸   Preparing metadata (pyproject.toml): started
🐸   Preparing metadata (pyproject.toml): finished with status 'done'
🐸 Building wheels for collected packages: argon2-cffi
🐸   Building wheel for argon2-cffi (pyproject.toml): started
🐸   Building wheel for argon2-cffi (pyproject.toml): finished with status 'done'
🐸   Created wheel for argon2-cffi: filename=argon2_cffi-21.3.0-py3-none-any.whl size=1606 sha256=92eb5c9901d5e56901d295a1156882eb1533b7a51f73595fcce3baf630807a0c
🐸   Stored in directory: /tmp/pip-ephem-wheel-cache-i5v5927x/wheels/6b/30/6b/6fcc594d71f28bbcbd8aae83b53e1ca59e203102a84d4e1121
🐸 Successfully built argon2-cffi
🐸 Installing collected packages: argon2-cffi
🐸 Successfully installed argon2-cffi-21.3.0
🐸 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
💻 >curl -o octoprint.zip -L https://api.github.com/repos/OctoPrint/OctoPrint/zipball/1.8.7
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸   % 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      0 --:--:-- --:--:-- --:--:--     0
🐸
🐸   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
🐸 100  492k    0  492k    0     0   255k      0 --:--:--  0:00:01 --:--:--  475k
🐸 100 1568k    0 1568k    0     0   525k      0 --:--:--  0:00:02 --:--:--  748k
🐸 100 3806k    0 3806k    0     0   976k      0 --:--:--  0:00:03 --:--:-- 1265k
🐸 100 6452k    0 6452k    0     0  1387k      0 --:--:--  0:00:04 --:--:-- 1715k
💻 >echo PWD IS $PWD, and running as $USER, patch is $PATH, Unzip is at $(which unzip) && ls -lah $(which unzip)
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 PWD IS /root, and running as root, patch is /sbin:/usr/sbin:/bin:/usr/bin, Unzip is at
🐸 total 6M    
🐸 drwxrwx--x    4 root     1015        4.0K Apr 26 21:24 .
🐸 drwx------   23 root     root        4.0K Apr 26 21:24 ..
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:22 .cache
🐸 -rw-rw----    1 root     1015          10 Apr 26 21:21 .octoCredentials
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:21 extensions
🐸 -rw-rw----    1 root     1015        6.3M Apr 26 21:24 octoprint.zip
💻 >ls -lah
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 total 6M    
🐸 drwxrwx--x    4 root     1015        4.0K Apr 26 21:24 .
🐸 drwx------   23 root     root        4.0K Apr 26 21:24 ..
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:22 .cache
🐸 -rw-rw----    1 root     1015          10 Apr 26 21:21 .octoCredentials
🐸 drwxrwx--x    3 root     1015        4.0K Apr 26 21:21 extensions
🐸 -rw-rw----    1 root     1015        6.3M Apr 26 21:24 octoprint.zip
💻 >7z x -y octoprint.zip
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸
🐸 7-Zip (z) 22.01 (arm) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
🐸  32-bit arm_v:6 thumb:1 locale='en_US.UTF-8' Threads:4
🐸
🐸 Scanning the drive for archives:
🐸 1 file, 6607230 bytes (6453 KiB)
🐸
🐸 Extracting archive: octoprint.zip
🐸 --
🐸 Path = octoprint.zip
🐸 Type = zip
🐸 Physical Size = 6607230
🐸 Comment = 8e4c1f5246c4245b839ccdcdabf2beee671b08d7
🐸
🐸 Everything is Ok
🐸
🐸 Folders: 219
🐸 Files: 881
🐸 Size:       20391229
🐸 Compressed: 6607230
💻 >cd Octo* && pip3 install .
🐸 proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
🐸 Processing /root/OctoPrint-OctoPrint-8e4c1f5
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting OctoPrint-FileCheck>=2021.2.23
🐸   Downloading OctoPrint_FileCheck-2021.2.23-py2.py3-none-any.whl (19 kB)
🐸 Collecting OctoPrint-FirmwareCheck>=2021.10.11
🐸   Downloading OctoPrint_FirmwareCheck-2021.10.11-py2.py3-none-any.whl (33 kB)
🐸 Collecting OctoPrint-PiSupport>=2022.6.13
🐸   Downloading OctoPrint_PiSupport-2022.6.13-py2.py3-none-any.whl (33 kB)
🐸 Requirement already satisfied: argon2_cffi<22,>=21.3.0 in /usr/lib/python3.10/site-packages (from OctoPrint==1.8.7) (21.3.0)
🐸 Collecting cachelib<0.3,>=0.2
🐸   Downloading cachelib-0.2.0-py3-none-any.whl (12 kB)
🐸 Collecting Click<9,>=8.0.3
🐸   Downloading click-8.1.3-py3-none-any.whl (96 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 1.4 MB/s eta 0:00:00
🐸 Collecting colorlog<7,>=6
🐸   Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
🐸 Collecting emoji<2,>=1.4.2
🐸   Downloading emoji-1.7.0.tar.gz (175 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.4/175.4 kB 232.5 kB/s eta 0:00:00
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting feedparser<7,>=6.0.8
🐸   Downloading feedparser-6.0.10-py3-none-any.whl (81 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 228.6 kB/s eta 0:00:00
🐸 Collecting filetype<2,>=1.0.7
🐸   Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)
🐸 Collecting Flask-Assets<3,>=2.0
🐸   Downloading Flask_Assets-2.0-py3-none-any.whl (8.5 kB)
🐸 Collecting Flask-Babel<3,>=2.0
🐸   Downloading Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
🐸 Collecting Flask-Login<0.6,>=0.5
🐸   Downloading Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
🐸 Collecting Flask-Limiter<3,>=2.6
🐸   Downloading Flask_Limiter-2.9.2-py3-none-any.whl (27 kB)
🐸 Collecting flask<2.2,>=2.1
🐸   Downloading Flask-2.1.3-py3-none-any.whl (95 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.6/95.6 kB 354.0 kB/s eta 0:00:00
🐸 Collecting frozendict<3,>=2.0
🐸   Downloading frozendict-2.3.7.tar.gz (311 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 427.4 kB/s eta 0:00:00
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting future<1,>=0.18.2
🐸   Downloading future-0.18.3.tar.gz (840 kB)
🐸      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 806.4 kB/s eta 0:00:00
🐸   Preparing metadata (setup.py): started
🐸   Preparing metadata (setup.py): finished with status 'done'
🐸 ERROR: Could not find a version that satisfies the requirement markdown<4,>=3.2.2 (from octoprint) (from versions: none)
🐸 ERROR: No matching distribution found for markdown<4,>=3.2.2
💻 An exception has occurred at:
java.lang.RuntimeException: Process exited with error code 1. [proot warning: can't sanitize binding "/data/data
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput(ProcessUtils.kt:38)
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput$default(ProcessUtils.kt:12)
at com.octo4a.repository.OctoPrintHandlerRepositoryImpl$beginInstallation$2.invokeSuspend(OctoPrintHandlerRepository.kt:164)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(Builders.common.kt:265)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Exception:
java.lang.RuntimeException: Process exited with error code 1. [proot warning: can't sanitize binding "/data/data
GurtenFroggen commented 1 year ago

I found a fix. Simply make a folder called data in your root folder.