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. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.9k

[How-to] Node.js ioBroker richtig updaten-2021/22 Edition

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
812 Beiträge 97 Kommentatoren 365.6k Aufrufe 83 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.
  • NegaleinN Offline
    NegaleinN Offline
    Negalein
    Global Moderator
    schrieb am zuletzt editiert von
    #519

    Hallo

    Habe auch soeben auf 16.15.1 upgedatet.

    Im Log kommt nun

    
    javascript.0 2022-06-24 10:30:47.111	error	Request error: Error: connect ECONNRESET 85.31.3.249:443
    javascript.0 2022-06-24 10:30:47.111	error	Error in request callback: SyntaxError: Unexpected token u in JSON at position 0
    javascript.0 2022-06-24 10:30:15.935	error	notice
    javascript.0 2022-06-24 10:30:15.934	error	npm notice npm notice New minor version of npm available! 8.11.0 -> 8.13.1 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.1> npm notice Run `npm install -g npm@8.13.1` to update! npm
    javascript.0 2022-06-24 10:30:14.740	error	deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
    javascript.0 2022-06-24 10:30:14.740	error	npm WARN
    javascript.0 2022-06-24 10:30:14.673	error	deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    javascript.0 2022-06-24 10:30:14.672	error	npm WARN
    javascript.0 2022-06-24 10:30:14.537	error	deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
    javascript.0 2022-06-24 10:30:14.537	error	npm WARN
    javascript.0 2022-06-24 10:30:14.442	error	npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
    javascript.0 2022-06-24 10:30:14.354	error	WARN deprecated har-validator@5.1.5: this library is no longer supported
    javascript.0 2022-06-24 10:30:14.354	error	npm
    javascript.0 2022-06-24 10:29:46.746	error	npm WARN old lockfile
    javascript.0 2022-06-24 10:29:46.746	error	WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm,npm WARN old lockfile so supplemental metadata must be fetched from the registry.npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient...
    javascript.0 2022-06-24 10:29:46.745	error	npm
    javascript.0 2022-06-24 10:29:46.618	error	WARN config production Use `--omit=dev` instead.
    javascript.0 2022-06-24 10:29:46.618	error	npm
    

    Ist hier noch was zu machen?

    Und während dem fix kamen Permission Errors.

    nega@ioBroker:~$ iobroker stop
    nega@ioBroker:~$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
    [sudo] password for nega:
    
    ## Installing the NodeSource Node.js 16.x repo...
    
    
    ## Populating apt-get cache...
    
    + apt-get update
    Get:1 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
    Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
    Get:3 https://deb.nodesource.com/node_14.x focal/main amd64 Packages [774 B]
    Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
    Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
    Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1935 kB]
    Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [350 kB]
    Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [15.6 kB]
    Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1099 kB]
    Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [156 kB]
    Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [524 B]
    Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [924 kB]
    Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [208 kB]
    Get:15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.9 kB]
    Get:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.4 kB]
    Get:17 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [596 B]
    Get:18 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1583 kB]
    Hit:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Get:19 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [268 kB]
    Get:20 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [10.6 kB]
    Get:21 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1036 kB]
    Get:22 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [147 kB]
    Get:23 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [524 B]
    Get:24 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [708 kB]
    Get:25 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [127 kB]
    Get:26 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14.6 kB]
    Get:27 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [22.2 kB]
    Get:28 http://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5376 B]
    Get:29 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [512 B]
    Fetched 8891 kB in 3s (3494 kB/s)
    Reading package lists... Done
    
    ## Confirming "focal" is supported...
    
    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/focal/Release'
    
    ## Adding the NodeSource signing key to your keyring...
    
    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesou                                                                                                                                                                rce.gpg >/dev/null
    
    ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
    
    + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main' > /e                                                                                                                                                                tc/apt/sources.list.d/nodesource.list
    + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main'                                                                                                                                                                 >> /etc/apt/sources.list.d/nodesource.list
    
    ## Running `apt-get update` for you...
    
    + apt-get update
    Get:1 https://deb.nodesource.com/node_16.x focal InRelease [4583 B]
    Get:2 https://deb.nodesource.com/node_16.x focal/main amd64 Packages [773 B]
    Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
    Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
    Hit:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Fetched 5356 B in 1s (5113 B/s)
    Reading package lists... Done
    
    ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
    ## You may also need development tools to build native addons:
         sudo apt-get install gcc g++ make
    ## To install the Yarn package manager, run:
         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gp                                                                                                                                                                g >/dev/null
         echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee                                                                                                                                                                 /etc/apt/sources.list.d/yarn.list
         sudo apt-get update && sudo apt-get install yarn
    
    
    nega@ioBroker:~$ sudo apt install -y nodejs
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following package was automatically installed and is no longer required:
      libllvm11
    Use 'sudo apt autoremove' to remove it.
    The following packages will be upgraded:
      nodejs
    1 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
    Need to get 26.4 MB of archives.
    After this operation, 383 kB of additional disk space will be used.
    Get:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.15.1-deb-1nodesource1 [26.4 MB]
    Fetched 26.4 MB in 0s (73.7 MB/s)
    (Reading database ... 36343 files and directories currently installed.)
    Preparing to unpack .../nodejs_16.15.1-deb-1nodesource1_amd64.deb ...
    Unpacking nodejs (16.15.1-deb-1nodesource1) over (14.19.1-deb-1nodesource1) ...
    Setting up nodejs (16.15.1-deb-1nodesource1) ...
    Processing triggers for man-db (2.9.1-1) ...
    nega@ioBroker:~$ node -v
    v16.15.1
    nega@ioBroker:~$ npm -v
    8.11.0
    nega@ioBroker:~$ iobroker fix
    library: loaded
    Library version=2022-06-15
    
    ==========================================================================
    
        Welcome to the ioBroker installation fixer!
        Script version: 2022-06-03
    
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/3)
    ==========================================================================
    
    Hit:1 https://deb.nodesource.com/node_16.x focal InRelease
    Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
    Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
    Hit:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Reading package lists... Done
    Installed gcc-c++
    
    ==========================================================================
        Checking ioBroker user and directory permissions (2/3)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Fixing directory permissions...
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_01-01_30_11_3.63.8_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_04-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_06-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_06-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_06-23_01_46_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_06-23_01_51_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_07-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_07-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_07-23_01_00_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_07-23_01_48_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_07-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_08-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_08-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_08-23_01_47_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_08-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_16-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_19-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_21-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_21-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_21-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_21-23_01_57_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_22-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_22-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_22-23_01_02_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_22-23_01_53_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_22-23_01_58_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_23-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_23-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_23-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_23-23_01_56_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_01-01_30_11_3.63.8_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_04-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_06-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_06-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_06-23_01_46_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_06-23_01_51_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_07-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_07-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_07-23_01_00_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_07-23_01_48_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_07-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_08-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_08-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_08-23_01_47_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_08-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_16-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_19-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_21-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_21-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_21-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_21-23_01_57_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_22-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_22-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_22-23_01_02_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_22-23_01_53_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_22-23_01_58_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_23-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_23-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_23-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_23-23_01_56_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
    chown: changing ownership of '/opt/iobroker/backups': Operation not permitted
    This system does not support setting default permissions.
    Do not use npm to manually install adapters unless you know what you are doing!
    
    ==========================================================================
        Checking autostart (3/3)
    ==========================================================================
    
    Enabling autostart...
    Autostart enabled!
    
    ==========================================================================
    
        Your installation was fixed successfully
        Run iobroker start to start ioBroker again!
    
    ==========================================================================
    
    nega@ioBroker:~$ iobroker start
    nega@ioBroker:~$
    

    ° Node.js: 20.17.0 NPM: 10.8.2
    ° Proxmox, Ubuntu 22.04.3 LTS
    ° Fixer ---> iob fix

    Thomas BraunT apollon77A 2 Antworten Letzte Antwort
    0
    • NegaleinN Negalein

      Hallo

      Habe auch soeben auf 16.15.1 upgedatet.

      Im Log kommt nun

      
      javascript.0 2022-06-24 10:30:47.111	error	Request error: Error: connect ECONNRESET 85.31.3.249:443
      javascript.0 2022-06-24 10:30:47.111	error	Error in request callback: SyntaxError: Unexpected token u in JSON at position 0
      javascript.0 2022-06-24 10:30:15.935	error	notice
      javascript.0 2022-06-24 10:30:15.934	error	npm notice npm notice New minor version of npm available! 8.11.0 -> 8.13.1 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.1> npm notice Run `npm install -g npm@8.13.1` to update! npm
      javascript.0 2022-06-24 10:30:14.740	error	deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
      javascript.0 2022-06-24 10:30:14.740	error	npm WARN
      javascript.0 2022-06-24 10:30:14.673	error	deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      javascript.0 2022-06-24 10:30:14.672	error	npm WARN
      javascript.0 2022-06-24 10:30:14.537	error	deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
      javascript.0 2022-06-24 10:30:14.537	error	npm WARN
      javascript.0 2022-06-24 10:30:14.442	error	npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
      javascript.0 2022-06-24 10:30:14.354	error	WARN deprecated har-validator@5.1.5: this library is no longer supported
      javascript.0 2022-06-24 10:30:14.354	error	npm
      javascript.0 2022-06-24 10:29:46.746	error	npm WARN old lockfile
      javascript.0 2022-06-24 10:29:46.746	error	WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm,npm WARN old lockfile so supplemental metadata must be fetched from the registry.npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient...
      javascript.0 2022-06-24 10:29:46.745	error	npm
      javascript.0 2022-06-24 10:29:46.618	error	WARN config production Use `--omit=dev` instead.
      javascript.0 2022-06-24 10:29:46.618	error	npm
      

      Ist hier noch was zu machen?

      Und während dem fix kamen Permission Errors.

      nega@ioBroker:~$ iobroker stop
      nega@ioBroker:~$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
      [sudo] password for nega:
      
      ## Installing the NodeSource Node.js 16.x repo...
      
      
      ## Populating apt-get cache...
      
      + apt-get update
      Get:1 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
      Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
      Get:3 https://deb.nodesource.com/node_14.x focal/main amd64 Packages [774 B]
      Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
      Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
      Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1935 kB]
      Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [350 kB]
      Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [15.6 kB]
      Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1099 kB]
      Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [156 kB]
      Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [524 B]
      Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [924 kB]
      Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [208 kB]
      Get:15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.9 kB]
      Get:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.4 kB]
      Get:17 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [596 B]
      Get:18 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1583 kB]
      Hit:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
      Get:19 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [268 kB]
      Get:20 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [10.6 kB]
      Get:21 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1036 kB]
      Get:22 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [147 kB]
      Get:23 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [524 B]
      Get:24 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [708 kB]
      Get:25 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [127 kB]
      Get:26 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14.6 kB]
      Get:27 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [22.2 kB]
      Get:28 http://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5376 B]
      Get:29 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [512 B]
      Fetched 8891 kB in 3s (3494 kB/s)
      Reading package lists... Done
      
      ## Confirming "focal" is supported...
      
      + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/focal/Release'
      
      ## Adding the NodeSource signing key to your keyring...
      
      + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesou                                                                                                                                                                rce.gpg >/dev/null
      
      ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
      
      + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main' > /e                                                                                                                                                                tc/apt/sources.list.d/nodesource.list
      + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main'                                                                                                                                                                 >> /etc/apt/sources.list.d/nodesource.list
      
      ## Running `apt-get update` for you...
      
      + apt-get update
      Get:1 https://deb.nodesource.com/node_16.x focal InRelease [4583 B]
      Get:2 https://deb.nodesource.com/node_16.x focal/main amd64 Packages [773 B]
      Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
      Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
      Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
      Hit:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
      Fetched 5356 B in 1s (5113 B/s)
      Reading package lists... Done
      
      ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
      ## You may also need development tools to build native addons:
           sudo apt-get install gcc g++ make
      ## To install the Yarn package manager, run:
           curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gp                                                                                                                                                                g >/dev/null
           echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee                                                                                                                                                                 /etc/apt/sources.list.d/yarn.list
           sudo apt-get update && sudo apt-get install yarn
      
      
      nega@ioBroker:~$ sudo apt install -y nodejs
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following package was automatically installed and is no longer required:
        libllvm11
      Use 'sudo apt autoremove' to remove it.
      The following packages will be upgraded:
        nodejs
      1 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
      Need to get 26.4 MB of archives.
      After this operation, 383 kB of additional disk space will be used.
      Get:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.15.1-deb-1nodesource1 [26.4 MB]
      Fetched 26.4 MB in 0s (73.7 MB/s)
      (Reading database ... 36343 files and directories currently installed.)
      Preparing to unpack .../nodejs_16.15.1-deb-1nodesource1_amd64.deb ...
      Unpacking nodejs (16.15.1-deb-1nodesource1) over (14.19.1-deb-1nodesource1) ...
      Setting up nodejs (16.15.1-deb-1nodesource1) ...
      Processing triggers for man-db (2.9.1-1) ...
      nega@ioBroker:~$ node -v
      v16.15.1
      nega@ioBroker:~$ npm -v
      8.11.0
      nega@ioBroker:~$ iobroker fix
      library: loaded
      Library version=2022-06-15
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2022-06-03
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/3)
      ==========================================================================
      
      Hit:1 https://deb.nodesource.com/node_16.x focal InRelease
      Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
      Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
      Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
      Hit:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
      Reading package lists... Done
      Installed gcc-c++
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/3)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_01-01_30_11_3.63.8_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_04-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_06-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_06-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_06-23_01_46_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_06-23_01_51_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_07-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_07-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_07-23_01_00_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_07-23_01_48_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_07-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_08-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_08-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_08-23_01_47_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_08-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_16-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_19-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_21-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_21-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_21-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_21-23_01_57_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_22-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_22-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_22-23_01_02_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_22-23_01_53_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_22-23_01_58_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_23-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_23-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_23-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_23-23_01_56_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_01-01_30_11_3.63.8_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_04-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_06-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_06-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_06-23_01_46_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_06-23_01_51_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_07-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_07-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_07-23_01_00_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_07-23_01_48_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_07-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_08-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_08-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_08-23_01_47_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_08-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_16-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_19-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_21-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_21-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_21-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_21-23_01_57_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_22-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_22-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_22-23_01_02_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_22-23_01_53_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_22-23_01_58_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_23-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_23-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_23-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_23-23_01_56_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
      chown: changing ownership of '/opt/iobroker/backups': Operation not permitted
      This system does not support setting default permissions.
      Do not use npm to manually install adapters unless you know what you are doing!
      
      ==========================================================================
          Checking autostart (3/3)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      nega@ioBroker:~$ iobroker start
      nega@ioBroker:~$
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #520

      @negalein sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

      Ist hier noch was zu machen?

      Ja, hau die 70 Updates auf dein System!

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      NegaleinN 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @negalein sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

        Ist hier noch was zu machen?

        Ja, hau die 70 Updates auf dein System!

        NegaleinN Offline
        NegaleinN Offline
        Negalein
        Global Moderator
        schrieb am zuletzt editiert von
        #521

        @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

        Ja, hau die 70 Updates auf dein System!

        du meinst apt-get update && apt-get upgrade

        ° Node.js: 20.17.0 NPM: 10.8.2
        ° Proxmox, Ubuntu 22.04.3 LTS
        ° Fixer ---> iob fix

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • NegaleinN Negalein

          @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

          Ja, hau die 70 Updates auf dein System!

          du meinst apt-get update && apt-get upgrade

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #522

          @negalein

          Natürlich.
          Mach das regelmäßig. Besser aber:

          sudo apt update 
          sudo apt full-upgrade
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          NegaleinN 1 Antwort Letzte Antwort
          1
          • Thomas BraunT Thomas Braun

            @negalein

            Natürlich.
            Mach das regelmäßig. Besser aber:

            sudo apt update 
            sudo apt full-upgrade
            
            NegaleinN Offline
            NegaleinN Offline
            Negalein
            Global Moderator
            schrieb am zuletzt editiert von
            #523

            @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

            Besser aber:

            Merci :)

            ° Node.js: 20.17.0 NPM: 10.8.2
            ° Proxmox, Ubuntu 22.04.3 LTS
            ° Fixer ---> iob fix

            1 Antwort Letzte Antwort
            0
            • NegaleinN Negalein

              Hallo

              Habe auch soeben auf 16.15.1 upgedatet.

              Im Log kommt nun

              
              javascript.0 2022-06-24 10:30:47.111	error	Request error: Error: connect ECONNRESET 85.31.3.249:443
              javascript.0 2022-06-24 10:30:47.111	error	Error in request callback: SyntaxError: Unexpected token u in JSON at position 0
              javascript.0 2022-06-24 10:30:15.935	error	notice
              javascript.0 2022-06-24 10:30:15.934	error	npm notice npm notice New minor version of npm available! 8.11.0 -> 8.13.1 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.1> npm notice Run `npm install -g npm@8.13.1` to update! npm
              javascript.0 2022-06-24 10:30:14.740	error	deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
              javascript.0 2022-06-24 10:30:14.740	error	npm WARN
              javascript.0 2022-06-24 10:30:14.673	error	deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
              javascript.0 2022-06-24 10:30:14.672	error	npm WARN
              javascript.0 2022-06-24 10:30:14.537	error	deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
              javascript.0 2022-06-24 10:30:14.537	error	npm WARN
              javascript.0 2022-06-24 10:30:14.442	error	npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
              javascript.0 2022-06-24 10:30:14.354	error	WARN deprecated har-validator@5.1.5: this library is no longer supported
              javascript.0 2022-06-24 10:30:14.354	error	npm
              javascript.0 2022-06-24 10:29:46.746	error	npm WARN old lockfile
              javascript.0 2022-06-24 10:29:46.746	error	WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm,npm WARN old lockfile so supplemental metadata must be fetched from the registry.npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient...
              javascript.0 2022-06-24 10:29:46.745	error	npm
              javascript.0 2022-06-24 10:29:46.618	error	WARN config production Use `--omit=dev` instead.
              javascript.0 2022-06-24 10:29:46.618	error	npm
              

              Ist hier noch was zu machen?

              Und während dem fix kamen Permission Errors.

              nega@ioBroker:~$ iobroker stop
              nega@ioBroker:~$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
              [sudo] password for nega:
              
              ## Installing the NodeSource Node.js 16.x repo...
              
              
              ## Populating apt-get cache...
              
              + apt-get update
              Get:1 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
              Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
              Get:3 https://deb.nodesource.com/node_14.x focal/main amd64 Packages [774 B]
              Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
              Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
              Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1935 kB]
              Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [350 kB]
              Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [15.6 kB]
              Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1099 kB]
              Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [156 kB]
              Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [524 B]
              Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [924 kB]
              Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [208 kB]
              Get:15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.9 kB]
              Get:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.4 kB]
              Get:17 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [596 B]
              Get:18 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1583 kB]
              Hit:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
              Get:19 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [268 kB]
              Get:20 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [10.6 kB]
              Get:21 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1036 kB]
              Get:22 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [147 kB]
              Get:23 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [524 B]
              Get:24 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [708 kB]
              Get:25 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [127 kB]
              Get:26 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14.6 kB]
              Get:27 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [22.2 kB]
              Get:28 http://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5376 B]
              Get:29 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [512 B]
              Fetched 8891 kB in 3s (3494 kB/s)
              Reading package lists... Done
              
              ## Confirming "focal" is supported...
              
              + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/focal/Release'
              
              ## Adding the NodeSource signing key to your keyring...
              
              + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesou                                                                                                                                                                rce.gpg >/dev/null
              
              ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
              
              + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main' > /e                                                                                                                                                                tc/apt/sources.list.d/nodesource.list
              + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main'                                                                                                                                                                 >> /etc/apt/sources.list.d/nodesource.list
              
              ## Running `apt-get update` for you...
              
              + apt-get update
              Get:1 https://deb.nodesource.com/node_16.x focal InRelease [4583 B]
              Get:2 https://deb.nodesource.com/node_16.x focal/main amd64 Packages [773 B]
              Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
              Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
              Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
              Hit:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
              Fetched 5356 B in 1s (5113 B/s)
              Reading package lists... Done
              
              ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
              ## You may also need development tools to build native addons:
                   sudo apt-get install gcc g++ make
              ## To install the Yarn package manager, run:
                   curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gp                                                                                                                                                                g >/dev/null
                   echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee                                                                                                                                                                 /etc/apt/sources.list.d/yarn.list
                   sudo apt-get update && sudo apt-get install yarn
              
              
              nega@ioBroker:~$ sudo apt install -y nodejs
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              The following package was automatically installed and is no longer required:
                libllvm11
              Use 'sudo apt autoremove' to remove it.
              The following packages will be upgraded:
                nodejs
              1 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
              Need to get 26.4 MB of archives.
              After this operation, 383 kB of additional disk space will be used.
              Get:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.15.1-deb-1nodesource1 [26.4 MB]
              Fetched 26.4 MB in 0s (73.7 MB/s)
              (Reading database ... 36343 files and directories currently installed.)
              Preparing to unpack .../nodejs_16.15.1-deb-1nodesource1_amd64.deb ...
              Unpacking nodejs (16.15.1-deb-1nodesource1) over (14.19.1-deb-1nodesource1) ...
              Setting up nodejs (16.15.1-deb-1nodesource1) ...
              Processing triggers for man-db (2.9.1-1) ...
              nega@ioBroker:~$ node -v
              v16.15.1
              nega@ioBroker:~$ npm -v
              8.11.0
              nega@ioBroker:~$ iobroker fix
              library: loaded
              Library version=2022-06-15
              
              ==========================================================================
              
                  Welcome to the ioBroker installation fixer!
                  Script version: 2022-06-03
              
                  You might need to enter your password a couple of times.
              
              ==========================================================================
              
              
              ==========================================================================
                  Installing prerequisites (1/3)
              ==========================================================================
              
              Hit:1 https://deb.nodesource.com/node_16.x focal InRelease
              Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
              Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
              Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
              Hit:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
              Reading package lists... Done
              Installed gcc-c++
              
              ==========================================================================
                  Checking ioBroker user and directory permissions (2/3)
              ==========================================================================
              
              Created /etc/sudoers.d/iobroker
              Fixing directory permissions...
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_01-01_30_11_3.63.8_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_04-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_06-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_06-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_06-23_01_46_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_06-23_01_51_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_07-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_07-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_07-23_01_00_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_07-23_01_48_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_07-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_08-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_08-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_08-23_01_47_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_08-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_16-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_19-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_21-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_21-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_21-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_21-23_01_57_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_22-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_22-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_22-23_01_02_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_22-23_01_53_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_22-23_01_58_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_23-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_23-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_23-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_23-23_01_56_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_01-01_30_11_3.63.8_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_04-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_06-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_06-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_06-23_01_46_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_06-23_01_51_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/homematic_2022_06_07-01_30_11_3.63.9_backupiobroker                                                                                                                                                                .tar.sbk': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_07-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_07-23_01_00_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_07-23_01_48_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_07-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/iobroker_2022_06_08-23_00_10_Standard_backupiobroke                                                                                                                                                                r.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/historyDB_2022_06_08-23_00_58_Standard_backupiobrok                                                                                                                                                                er.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/grafana_2022_06_08-23_01_47_Standard_backupiobroker                                                                                                                                                                .tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker/javascripts_2022_06_08-23_01_53_Standard_backupiobr                                                                                                                                                                oker.tar.gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_16-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_19-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_21-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_21-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_21-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_21-23_01_57_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/homematic_2022_06_22-01_30_11_3.63.9_backupiobroker.tar.sbk'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_22-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_22-23_01_02_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_22-23_01_53_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_22-23_01_58_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/iobroker_2022_06_23-23_00_10_Standard_backupiobroker.tar.gz'                                                                                                                                                                : Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/historyDB_2022_06_23-23_01_01_Standard_backupiobroker.tar.gz                                                                                                                                                                ': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/grafana_2022_06_23-23_01_51_Standard_backupiobroker.tar.gz':                                                                                                                                                                 Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups/javascripts_2022_06_23-23_01_56_Standard_backupiobroker.tar.                                                                                                                                                                gz': Operation not permitted
              chown: changing ownership of '/opt/iobroker/backups': Operation not permitted
              This system does not support setting default permissions.
              Do not use npm to manually install adapters unless you know what you are doing!
              
              ==========================================================================
                  Checking autostart (3/3)
              ==========================================================================
              
              Enabling autostart...
              Autostart enabled!
              
              ==========================================================================
              
                  Your installation was fixed successfully
                  Run iobroker start to start ioBroker again!
              
              ==========================================================================
              
              nega@ioBroker:~$ iobroker start
              nega@ioBroker:~$
              
              apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #524

              @negalein sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

              chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted

              Das der Fixer aber nicht die persmissions fixen darf finde ich bedenklich

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              NegaleinN 1 Antwort Letzte Antwort
              1
              • apollon77A apollon77

                @negalein sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                chown: changing ownership of '/opt/iobroker/backups/ioBroker': Operation not permitted

                Das der Fixer aber nicht die persmissions fixen darf finde ich bedenklich

                NegaleinN Offline
                NegaleinN Offline
                Negalein
                Global Moderator
                schrieb am zuletzt editiert von
                #525

                @apollon77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                Das der Fixer aber nicht die persmissions fixen darf finde ich bedenklich

                soll was bedeuten, bzw. was wäre zu machen?

                ° Node.js: 20.17.0 NPM: 10.8.2
                ° Proxmox, Ubuntu 22.04.3 LTS
                ° Fixer ---> iob fix

                BananaJoeB Thomas BraunT 2 Antworten Letzte Antwort
                0
                • NegaleinN Negalein

                  @apollon77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                  Das der Fixer aber nicht die persmissions fixen darf finde ich bedenklich

                  soll was bedeuten, bzw. was wäre zu machen?

                  BananaJoeB Online
                  BananaJoeB Online
                  BananaJoe
                  Most Active
                  schrieb am zuletzt editiert von
                  #526

                  @negalein sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                  @apollon77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                  Das der Fixer aber nicht die persmissions fixen darf finde ich bedenklich

                  soll was bedeuten, bzw. was wäre zu machen?

                  Nicht gleich machen und warten was die anderen sagen, aber bei mir muss ich iobroker fix als root ausführen, also wäre es mit sudo. Was für mich Sinn macht weil nur der root alle Verzeichnisrechte auch anpassen dürfte, egal wem die gehören. Wenn es bei dir die Verzeichnisse nicht dem nega Benutzer gehören und nicht dem iobroker-Benutzer muss es halt fehlschlagen.

                  Aber wie gesagt warte mal eben was die anderen schreiben.

                  ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • NegaleinN Negalein

                    @apollon77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                    Das der Fixer aber nicht die persmissions fixen darf finde ich bedenklich

                    soll was bedeuten, bzw. was wäre zu machen?

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von Thomas Braun
                    #527

                    @negalein

                    Schau erstmal wie das Ding jetzt ausschaut:

                    getfacl /opt/iobroker/backups
                    

                    Ist das Verzeichnis ein Mountpunkt für eine Freigabe eines file-Servers?

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    NegaleinN 1 Antwort Letzte Antwort
                    1
                    • BananaJoeB BananaJoe

                      @negalein sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                      @apollon77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                      Das der Fixer aber nicht die persmissions fixen darf finde ich bedenklich

                      soll was bedeuten, bzw. was wäre zu machen?

                      Nicht gleich machen und warten was die anderen sagen, aber bei mir muss ich iobroker fix als root ausführen, also wäre es mit sudo. Was für mich Sinn macht weil nur der root alle Verzeichnisrechte auch anpassen dürfte, egal wem die gehören. Wenn es bei dir die Verzeichnisse nicht dem nega Benutzer gehören und nicht dem iobroker-Benutzer muss es halt fehlschlagen.

                      Aber wie gesagt warte mal eben was die anderen schreiben.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #528

                      @bananajoe sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                      aber bei mir muss ich iobroker fix als root ausführen

                      Standard ist das nicht. Aber du hältst dich ja auch nicht an den Standard mit deiner root shell...

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      1
                      • Thomas BraunT Thomas Braun

                        @negalein

                        Schau erstmal wie das Ding jetzt ausschaut:

                        getfacl /opt/iobroker/backups
                        

                        Ist das Verzeichnis ein Mountpunkt für eine Freigabe eines file-Servers?

                        NegaleinN Offline
                        NegaleinN Offline
                        Negalein
                        Global Moderator
                        schrieb am zuletzt editiert von
                        #529

                        @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                        getfacl /opt/iobroker/backups

                        nega@ioBroker:~$ getfacl /opt/iobroker/backups
                        getfacl: Removing leading '/' from absolute path names
                        # file: opt/iobroker/backups
                        # owner: nobody
                        # group: nogroup
                        user::rwx
                        group::rwx
                        other::rwx
                        

                        Ist das Verzeichnis ein Mountpunkt für eine Freigabe eines file-Servers?

                        Ja, auf ein NAS

                        ° Node.js: 20.17.0 NPM: 10.8.2
                        ° Proxmox, Ubuntu 22.04.3 LTS
                        ° Fixer ---> iob fix

                        apollon77A 1 Antwort Letzte Antwort
                        0
                        • NegaleinN Negalein

                          @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                          getfacl /opt/iobroker/backups

                          nega@ioBroker:~$ getfacl /opt/iobroker/backups
                          getfacl: Removing leading '/' from absolute path names
                          # file: opt/iobroker/backups
                          # owner: nobody
                          # group: nogroup
                          user::rwx
                          group::rwx
                          other::rwx
                          

                          Ist das Verzeichnis ein Mountpunkt für eine Freigabe eines file-Servers?

                          Ja, auf ein NAS

                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #530

                          @negalein Ha, na da haben wir den Grund ... In dem Fall "ists dann halt so" mit allen potentiellen Issues die das produzieren kann ..."

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          S 1 Antwort Letzte Antwort
                          1
                          • apollon77A apollon77

                            @negalein Ha, na da haben wir den Grund ... In dem Fall "ists dann halt so" mit allen potentiellen Issues die das produzieren kann ..."

                            S Offline
                            S Offline
                            Sushibomba
                            schrieb am zuletzt editiert von
                            #531

                            @apollon77 Hey kann mir jemand einmal alle Befehle schicken die ich brauche um reibungslos von Node 14 auf die 16er Version zu kommen?
                            Und gibt es auch Befehle um alte Paket aufzuräumen auf dem PI?

                            Thomas BraunT apollon77A 2 Antworten Letzte Antwort
                            0
                            • S Sushibomba

                              @apollon77 Hey kann mir jemand einmal alle Befehle schicken die ich brauche um reibungslos von Node 14 auf die 16er Version zu kommen?
                              Und gibt es auch Befehle um alte Paket aufzuräumen auf dem PI?

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #532

                              @sushibomba

                              Schau in meiner Signatur.
                              Da wird's erklärt.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              S 1 Antwort Letzte Antwort
                              0
                              • S Sushibomba

                                @apollon77 Hey kann mir jemand einmal alle Befehle schicken die ich brauche um reibungslos von Node 14 auf die 16er Version zu kommen?
                                Und gibt es auch Befehle um alte Paket aufzuräumen auf dem PI?

                                apollon77A Offline
                                apollon77A Offline
                                apollon77
                                schrieb am zuletzt editiert von
                                #533

                                @sushibomba Im ersten Post ist alles beschrieben ... und 14 durch 16 austauschen sollte ja kein großes Problem sein. Es macht in meinen Augen wenig Sinn jetzt hier alles nochmals zu wiederholen

                                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                S 1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  @sushibomba Im ersten Post ist alles beschrieben ... und 14 durch 16 austauschen sollte ja kein großes Problem sein. Es macht in meinen Augen wenig Sinn jetzt hier alles nochmals zu wiederholen

                                  S Offline
                                  S Offline
                                  Sushibomba
                                  schrieb am zuletzt editiert von
                                  #534

                                  @apollon77 Ok klasse. Wusste nicht das es so einfach ist. Tut mir leid für die dumme Frage. Dachte ich müsse vielleicht noch was anderes berücksichtigen.

                                  1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @sushibomba

                                    Schau in meiner Signatur.
                                    Da wird's erklärt.

                                    S Offline
                                    S Offline
                                    Sushibomba
                                    schrieb am zuletzt editiert von
                                    #535

                                    @thomas-braun Meinst du den Beitrag von 2020?

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • S Sushibomba

                                      @thomas-braun Meinst du den Beitrag von 2020?

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #536

                                      @sushibomba
                                      Den meine ich:

                                      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                                      Wird aber regelmäßig up-to-date gehalten.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      S 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @sushibomba
                                        Den meine ich:

                                        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                                        Wird aber regelmäßig up-to-date gehalten.

                                        S Offline
                                        S Offline
                                        Sushibomba
                                        schrieb am zuletzt editiert von
                                        #537

                                        @thomas-braun Danke. Ok dann war ich doch richtig.
                                        Ich möchte allerdings ungerne den zweiten dieser Befehle ausführen, weil es letztes Mal dazu geführt hat, dass ich mein Grafana nicht mehr abrufen konnte :/
                                        Geht das auch ohne diesen Befehl?

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • S Sushibomba

                                          @thomas-braun Danke. Ok dann war ich doch richtig.
                                          Ich möchte allerdings ungerne den zweiten dieser Befehle ausführen, weil es letztes Mal dazu geführt hat, dass ich mein Grafana nicht mehr abrufen konnte :/
                                          Geht das auch ohne diesen Befehl?

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #538

                                          @sushibomba sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                          Geht das auch ohne diesen Befehl?

                                          Welcher zweite Befehl?
                                          Und nodejs hat nix mit Grafana zu tun.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          S 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

                                          787

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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