Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Gelöst] -> Benötige Hilfe beim Update js-controller from @1.4.2 to @1.5.7

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    771

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

[Gelöst] -> Benötige Hilfe beim Update js-controller from @1.4.2 to @1.5.7

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
js-controller 1.5.7js-controllerupdateERROR/PROBLEM
1 Beiträge 1 Kommentatoren 436 Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • O Offline
    O Offline
    OMCastle
    schrieb am zuletzt editiert von OMCastle
    #1

    Hallo zusammen,

    ich möchte meinen js-controller aktualisieren.

    Der ioBroker Installation "Fixer" hat alles repariert!!!
    Tommy, Danke für den Hinweis....Problem gelöst

    olli@iobroker-nuc:~$ sudo iobroker upgrade self
    Update js-controller from @1.4.2 to @1.5.7
    NPM version: 6.4.1
    npm install iobroker.js-controller@1.5.7 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
    Unhandled rejection Error: EACCES: permission denied, mkdir '/home/olli/.npm/_cacache/tmp'
    npm ERR! cb() never called!
    
    npm ERR! This is an error with npm itself. Please report this error at:
    npm ERR!     <https://npm.community>
    Host "iobroker-nuc" (linux) updated
    Execute: chmod -R 777 /opt/iobroker
    chmod: changing permissions of '/opt/iobroker/backups/2019_02_16-16_51_50_backupiobroker.tar.gz': Operation not permitted
    Chmod finished. Restart controller
    

    Aber selbst unter root erhalte ich Zugriffsfehler. Anscheinend wird eine Verzeichnis benötigt, welches nicht existiert...

    Kann mir jemand helfen?

    Output unter dem root-User:

    root@iobroker-nuc:/opt/iobroker# sudo iobroker stop
    root@iobroker-nuc:/opt/iobroker# iobroker upgrade self
    Update js-controller from @1.4.2 to @1.5.7
    NPM version: 6.4.1
    npm install iobroker.js-controller@1.5.7 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
    npm ERR! path /root/.npm/_logs
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall scandir
    npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
    npm ERR!  { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
    npm ERR!   stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'scandir',
    npm ERR!   path: '/root/.npm/_logs' }
    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 (though this is not recommended).
    glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
      stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
      errno: -13,
      code: 'EACCES',
      syscall: 'scandir',
      path: '/root/.npm/_logs' }
    npm ERR! path /root/.npm/_cacache/index-v5/1d/a8/f99642a9eccb731a5f4be46c26b08f83c59d3cff19a70c94e745504ac47e
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall open
    npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/1d/a8/f99642a9eccb731a5f4be46c26b08f83c59d3cff19a70c94e745504ac47e'
    npm ERR!  { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/1d/a8/f99642a9eccb731a5f4be46c26b08f83c59d3cff19a70c94e745504ac47e'
    npm ERR!   cause: 
    npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/1d/a8/f99642a9eccb731a5f4be46c26b08f83c59d3cff19a70c94e745504ac47e'
    npm ERR!      errno: -13,
    npm ERR!      code: 'EACCES',
    npm ERR!      syscall: 'open',
    npm ERR!      path: '/root/.npm/_cacache/index-v5/1d/a8/f99642a9eccb731a5f4be46c26b08f83c59d3cff19a70c94e745504ac47e' },
    npm ERR!   isOperational: true,
    npm ERR!   stack: 'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/1d/a8/f99642a9eccb731a5f4be46c26b08f83c59d3cff19a70c94e745504ac47e\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'open',
    npm ERR!   path: '/root/.npm/_cacache/index-v5/1d/a8/f99642a9eccb731a5f4be46c26b08f83c59d3cff19a70c94e745504ac47e' }
    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 (though this is not recommended).
    host.iobroker-nuc Cannot install iobroker.js-controller@1.5.7: 243
    

    Ich habe die im Forum gefundenen Ideen zu dem Thema bereits ausprobiert. Aber keine Besserung

    sudo chown -R $(whoami) ~/.npm
    

    und

    olli@iobroker-nuc:~$ npm rebuild
    iobroker.history@1.8.5 /home/olli/node_modules/iobroker.history
    olli@iobroker-nuc:~$ sudo npm rebuild
    iobroker.history@1.8.5 /home/olli/node_modules/iobroker.history
    
    
       ╭───────────────────────────────────────────────────────────────╮
       │                                                               │
       │       New minor version of npm available! 6.4.1 → 6.9.0       │
       │   Changelog: https://github.com/npm/cli/releases/tag/v6.9.0   │
       │               Run npm install -g npm to update!               │
       │                                                               │
       ╰───────────────────────────────────────────────────────────────╯
    

    Raspberrymatic auf Pi3 mit CUL für Eltako

    • 30 HomeMatic Aktoren, 10 Eltako Aktoren

    IOBroker auf OrangePi Plus 2e

    • 30 Xiamoi, 5 Netatmo, VW Golf Skript, Viessmann Heizung, ICal, PluseCounter für Strom und Gas, Instar Kameras
    1 Antwort Letzte Antwort
    0
    Antworten
    • In einem neuen Thema antworten
    Anmelden zum Antworten
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen


    Support us

    ioBroker
    Community Adapters
    Donate
    FAQ Cloud / IOT
    HowTo: Node.js-Update
    HowTo: Backup/Restore
    Downloads
    BLOG

    688

    Online

    32.6k

    Benutzer

    82.0k

    Themen

    1.3m

    Beiträge
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
    ioBroker Community 2014-2025
    logo
    • Anmelden

    • Du hast noch kein Konto? Registrieren

    • Anmelden oder registrieren, um zu suchen
    • Erster Beitrag
      Letzter Beitrag
    0
    • Home
    • Aktuell
    • Tags
    • Ungelesen 0
    • Kategorien
    • Unreplied
    • Beliebt
    • GitHub
    • Docu
    • Hilfe