soef / ioBroker.tr-064

tr-64 Adapter for ioBroker
MIT License
21 stars 9 forks source link

Probleme bei der Aktualisierung des Adapters #95

Open Borti86 opened 5 years ago

Borti86 commented 5 years ago

Hallo zusammen, ich habe versucht den Adapter im IOBroker zu aktualisieren, leider bekomme ich folgende Fehlermeldung. Wo könnte das Problem liegen? Für eure Mühe möchte ich mich im Voraus bedanken!

Liebe Grüße Borti

`$ ./iobroker upgrade tr-064 Update tr-064 from @0.4.14 to @0.4.18 NPM version: 6.11.3 npm install iobroker.tr-064@0.4.18 --production --save --prefix "/opt/iobroker" (System call) npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dgramnpm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/ip npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/safe-buffer npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dns-packet npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/sprintf-js npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/soef

npm

WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.tradfri/package.json' npm WARN bl@0.7.0 requires a peer of stream-browserify@ but none is installed. You must install peer dependencies yourself.npm WARN bl@0.7.0 requires a peer of stream-browserify@ but none is installed. You must install peer dependencies yourself. npm WARN @typescript-eslint/eslint-plugin@1.12.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.npm WARN @typescript-eslint/parser@1.12.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.

npm ERR! code EACCESnpm ERR! syscall access npm ERR! path /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext'npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext\'',npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: npm ERR! '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext' }

npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2019-09-17T13_01_30_485Z-debug.log

ERROR: host.raspberrypi Cannot install iobroker.tr-064@0.4.18: 243 ERROR: process exited with code 25`

Borti86 commented 5 years ago

Bei dem Versuch einer Deinstallation kommt folgende Fehlermeldung

$ ./iobroker del tr-064 Delete adapter "tr-064" host.raspberrypi Counted 1 states of tr-064 host.raspberrypi Counted 1 states (system.adapter.tr-064.*) from states host.raspberrypi Deleting 1 object(s). host.raspberrypi Deleting 1 state(s). npm uninstall iobroker.tr-064 --silent --save --prefix "/opt/iobroker" (System call) ERROR: Error deleting adapter tr-064 from disk: Error: host.raspberrypi: Cannot uninstall iobroker.tr-064: 243 ERROR: You might have to delete it yourself! process exited with code 0

bergjet commented 5 years ago

Selber Fehler bei der Installation:

`$ ./iobroker upgrade tr-064@0.4.18 Update tr-064 from @0.4.18 to @0.4.18 NPM version: 6.11.3 npm install iobroker.tr-064@0.4.18 --loglevel error --production --save --prefix "/opt/iobroker" (System call) npm ERR! code EACCESnpm ERR! syscall accessnpm ERR! path /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-extnpm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext'npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext']npm ERR! stack:npm ERR! 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext\'',npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'access',npm ERR! path:npm ERR! '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext' }npm ERR! npm ERR! The operation was rejected by your operating system.npm ERR! It is likely you do not have the permissions to access this file as the current usernpm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2019-10-18T16_19_33_601Z-debug.log ERROR: host.raspberrypi Cannot install iobroker.tr-064@0.4.18: 243 ERROR: process exited with code 25`

salopette commented 4 years ago

Ich kann meinen Adapter auch nicht deinstallieren und auch nicht aktualisieren, kann mir da einer weiter helfen?