Nach Update: Redmatic zerschossen

Einrichtung, Nutzung und Hilfe zu RaspberryMatic (OCCU auf Raspberry Pi)

Moderatoren: jmaus, Co-Administratoren

Antworten
Bonsi1
Beiträge: 44
Registriert: 14.01.2019, 16:18

Nach Update: Redmatic zerschossen

Beitrag von Bonsi1 » 02.05.2022, 22:07

Hallo zusammen,

ich wollte soeben ein Update durchführen und jetzt hab ich es geschafft, alles zu schrotten.

Vorbildlich habe ich ein Backup gemacht (V. 3.61 @ Raspberry) und lokal gespeichert.

Dann auf 3.63 hochgezogen. Anschließend die Zusatzsoftware CUXD - und da ging schon das erste Problem los. Ich also beruhigt das Backup eingespielt und seitdem geht Redmatic nicht mehr (soweit ich weiß war das auch auf 5.5.* und hätte auch auf 7.x hochgezogen werden müssen).

Ich hab nun die Raspberrymatic auf 3.61 zurückgezogen und das Backup neu eingespielt, aber er schafft es nicht, redmatic aus dem backup herzustellen. Normal sollte das doch komplett drin sein?!

Wenn ich redmatic manuell nachinstalliere, sehe ich meine flows wieder, aber Pakete fehlen:
zigbee-shepherd
sqlitedb
zigbee-converter
sqlite
zigbee-controller

Und wenn ich diese dann manuell installieren will, klappt es nicht. (Fehler unten V7.2, aber auch bei 5.5.3 geht einfach keine Paketinstallation); Ich kann allerdings nur die o.g. Pakete nicht installieren, der Rest geht. Wie wenn er die Leichen noch auf der Platte hat aber nicht zuordnen kann -.-

Code: Alles auswählen

2022-05-02T20:17:03.559Z installieren : node-red-node-sqlite 1.0.3

2022-05-02T20:17:03.500Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-node-sqlite@1.0.3
2022-05-02T20:17:37.912Z [err] npm
2022-05-02T20:17:37.914Z [err]  ERR! code 1
2022-05-02T20:17:37.914Z [err] npm ERR! path /usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3
2022-05-02T20:17:37.925Z [err] npm ERR!
2022-05-02T20:17:37.926Z [err]  command failed
2022-05-02T20:17:37.926Z [err] npm ERR! command sh -c node-pre-gyp install --fallback-to-build
2022-05-02T20:17:37.926Z [err] npm ERR! Failed to execute '/usr/local/addons/redmatic/bin/node /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
2022-05-02T20:17:37.926Z [err] npm
2022-05-02T20:17:37.927Z [err]  ERR! node-pre-gyp info it worked if it ends with ok
2022-05-02T20:17:37.927Z [err] npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9
2022-05-02T20:17:37.927Z [err] npm ERR! node-pre-gyp info using node@14.16.0 | linux | arm
2022-05-02T20:17:37.927Z [err] npm ERR! node-pre-gyp info check checked for "/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node" (not found)
2022-05-02T20:17:37.927Z [err] npm ERR! node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.0.6/napi-v6-linux-glibc-arm.tar.gz
2022-05-02T20:17:37.927Z [err] npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/TryGhost/node-sqlite3/releases/download/v5.0.6/napi-v6-linux-glibc-arm.tar.gz 
2022-05-02T20:17:37.927Z [err] npm ERR!
2022-05-02T20:17:37.929Z [err]  node-pre-gyp WARN Pre-built binaries not installable for sqlite3@5.0.6 and node@14.16.0 (node-v83 ABI, glibc) (falling back to source compile with node-gyp) 
2022-05-02T20:17:37.929Z [err] npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/TryGhost/node-sqlite3/releases/download/v5.0.6/napi-v6-linux-glibc-arm.tar.gz 
2022-05-02T20:17:37.929Z [err] npm ERR! gyp info it worked if it ends with ok
2022-05-02T20:17:37.929Z [err] npm ERR! gyp info using node-gyp@7.1.2
2022-05-02T20:17:37.929Z [err] npm ERR! gyp info using node@14.16.0 | linux | arm
2022-05-02T20:17:37.929Z [err] npm ERR! gyp info ok 
2022-05-02T20:17:37.929Z [err] npm ERR! gyp info it worked if it ends with ok
2022-05-02T20:17:37.929Z [err] npm ERR! gyp info using node-gyp@7.1.2
2022-05-02T20:17:37.929Z [err] npm ERR! gyp info using node@14.16.0 | linux | arm
2022-05-02T20:17:37.929Z [err] npm ERR!
2022-05-02T20:17:37.932Z [err]  gyp ERR! find Python 
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python checking if "python3" can be used
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python checking if "python" can be used
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python checking if "python2" can be used
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python - "python2" is not in PATH or produced an error
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python 
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python **********************************************************
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python You need to install the latest version of Python.
2022-05-02T20:17:37.932Z [err] npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python you can try one of the following options:
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python For more information consult the documentation at:
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python **********************************************************
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! find Python 
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! configure error 
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! stack     at PythonFinder.fail (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:302:47)
2022-05-02T20:17:37.935Z [err] npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21)
2022-05-02T20:17:37.935Z [err] npm
2022-05-02T20:17:37.943Z [err]  ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! stack     at exithandler (child_process.js:315:5)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! stack     at ChildProcess.errorhandler (child_process.js:327:5)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! stack     at onErrorNT (internal/child_process.js:465:16)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! System Linux 5.10.63
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! cwd /usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! node -v v14.16.0
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! node-gyp -v v7.1.2
2022-05-02T20:17:37.943Z [err] npm ERR! gyp ERR! not ok 
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! build error 
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/addons/redmatic/bin/node /usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! System Linux 5.10.63
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! cwd /usr/local/addons/redmatic/var/node_modules/node-red-node-sqlite/node_modules/sqlite3
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! node -v v14.16.0
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9
2022-05-02T20:17:37.943Z [err] npm ERR! node-pre-gyp ERR! not ok
2022-05-02T20:17:38.095Z [err] 
2022-05-02T20:17:38.096Z [err] npm ERR! A complete log of this run can be found in:
2022-05-02T20:17:38.096Z [err] npm ERR!
2022-05-02T20:17:38.100Z [err]      /usr/local/addons/redmatic/var/npm-cache/_logs/2022-05-02T20_17_37_960Z-debug.log
2022-05-02T20:17:38.183Z rc=1
Was tun? Ich verzweifel nur noch.

Danke.

Antworten

Zurück zu „RaspberryMatic“