Problem nach Update

  • Moin!

    was passiert bei sudo cp -r /boot.bak /boot?

    73 de Bernd

    Ich habe KEINE Ahnung und davon GANZ VIEL!!
    Bei einer Lösung freue ich mich über ein ":thumbup:"
    Vielleicht trifft man sich in der RPi-Plauderecke.
    Linux ist zum Lernen da, je mehr man lernt um so besser versteht man es.

  • Moin!

    Ok, war nur ein Versuch.

    Du solltest dir ein Linux-System schaffen. Falls du nur eine Windowsmaschine hast, reicht eine Linux_Live -Cd. Von der booten und die SD-Karte vom RPI mounten, falls es nicht automatisch passiert.. Dann umkopieren.

    73 de Bernd

    Ich habe KEINE Ahnung und davon GANZ VIEL!!
    Bei einer Lösung freue ich mich über ein ":thumbup:"
    Vielleicht trifft man sich in der RPi-Plauderecke.
    Linux ist zum Lernen da, je mehr man lernt um so besser versteht man es.

  • tja, denn

    Nacht!

    aber, wenn ich mir das so richtig überlege, dann hast du noch mehr gemacht. Du hast geschrieben:

    Sudo apt-get update

    sudo apt-get upgrade

    sudo apt install rpi-eeprom rpi-eeprom-images

    Da ich das nachvollzogen habe, kann das nicht der Grund für den Fehler sein. Du hast irgendwie mit den neuen Programmen rum gespielt?!?

    73 de Bernd

    Ich habe KEINE Ahnung und davon GANZ VIEL!!
    Bei einer Lösung freue ich mich über ein ":thumbup:"
    Vielleicht trifft man sich in der RPi-Plauderecke.
    Linux ist zum Lernen da, je mehr man lernt um so besser versteht man es.

    Einmal editiert, zuletzt von Bernd666 (2. November 2019 um 01:16)

  • Guten Morgen,

    du hast total recht. Mir fiel es die nacht wie Schuppen aus den Haaren.

    Vor dem Update habe ich versucht nach dem Beitrag unter https://forum.iobroker.net/topic/4024/pioneer-avr-skript meinen Receiver im IObroker einzubinden. Dazu habe ich:

    Code
    sudo apt-get install git-all
    cd /opt/iobroker/node_modules
    npm install https://github.com/stormboy/node-pioneer-avr.git
    npm install https://github.com/EbSe/node-pioneer-avr

    ausgeführt.

    Leider hat das nicht funktioniert. Das ganze wurde mit Fehlermeldung quittiert:

    npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.

    npm ERR! code EPERM

    npm ERR! syscall spawn

    npm ERR! errno EPERM

    npm ERR! Error: spawn EPERM

    npm ERR! at ChildProcess.spawn (internal/child_process.js:366:11)

    npm ERR! at spawn (child_process.js:538:9)

    npm ERR! at execFile (child_process.js:221:15)

    npm ERR! at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)

    npm ERR! at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)

    npm ERR! at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)

    npm ERR! at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24

    npm ERR! { Error: spawn EPERM

    npm ERR! at ChildProcess.spawn (internal/child_process.js:366:11)

    npm ERR! at spawn (child_process.js:538:9)

    npm ERR! at execFile (child_process.js:221:15)

    npm ERR! at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)

    npm ERR! at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)

    npm ERR! at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)

    npm ERR! at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24

    npm ERR! cause:

    npm ERR! { Error: spawn EPERM

    npm ERR! at ChildProcess.spawn (internal/child_process.js:366:11)

    npm ERR! at spawn (child_process.js:538:9)

    npm ERR! at execFile (child_process.js:221:15)

    npm ERR! at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)

    npm ERR! at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)

    npm ERR! at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)

    npm ERR! at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24 errno: 'EPERM', code: 'EPERM', syscall: 'spawn' },

    npm ERR! stack:

    npm ERR! 'Error: spawn EPERM\n at ChildProcess.spawn (internal/child_process.js:366:11)\n at spawn (child_process.js:538:9)\n at execFile (child_process.js:221:15)\n at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)\n at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)\n at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)\n at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24',

    npm ERR! errno: 'EPERM',

    npm ERR! code: 'EPERM',

    npm ERR! syscall: 'spawn',

    npm ERR! parent: 'iobroker' }

    npm ERR!

    npm ERR! The operation was rejected by your operating system.

    npm ERR! It is likely you do not have the permissions to access this file as the current user

    npm ERR!

    npm ERR! If you believe this might be a permissions issue, please double-check the

    npm ERR! permissions of the file and its containing directories, or try running

    npm ERR! the command again as root/Administrator.

    npm ERR! A complete log of this run can be found in:

    npm ERR! /home/pi/.npm/_logs/2019-11-02T08_05_32_599Z-debug.log

    Sorry, das hatte ich total verdrängt.... :conf:

    Achso, und aufgrund der

    npm ERR! permissions of the file and its containing directories, or try running

    npm ERR! the command again as root/Administrator

    habe ich batürlich den Befehl nochmal mit sudo ausgeführt.... :wallbash:

  • Moin!

    Na denn weißt du ja was zu machen ist.

    73 de Bernd

    Ich habe KEINE Ahnung und davon GANZ VIEL!!
    Bei einer Lösung freue ich mich über ein ":thumbup:"
    Vielleicht trifft man sich in der RPi-Plauderecke.
    Linux ist zum Lernen da, je mehr man lernt um so besser versteht man es.

  • Moin!

    Das kann aber auch nicht dein Bootverzeichnis umkopiert haben.

    Du hast ja auch npm installiert, hast du danach ein Reboot gemacht?

    Ok, du hast eigentlich nur einen Weg.

    Spiel dein Backup auf eine neue SD-Karte. Die alte Karte kommt in einen SD-Kartenleser. Starte den RPi und mounte die alte SD-Karte,. Dann kann man die Configdateien von iobroker versuchen auszulesen. Und testweise wieder in deinem "neuem" System einzuspielen. Vorher aber die funktionierenden Dateien weg kopieren.

    73 de Bernd

    Ich habe KEINE Ahnung und davon GANZ VIEL!!
    Bei einer Lösung freue ich mich über ein ":thumbup:"
    Vielleicht trifft man sich in der RPi-Plauderecke.
    Linux ist zum Lernen da, je mehr man lernt um so besser versteht man es.

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!