NEWS
*Gelöst* requestPath: 'coffee-script'
-
@stephan-schleich sagte in requestPath: 'coffee-script':
+-- iobroker.javascript@5.7.0 |
-- request@2.88.2 |
-- tough-cookie@2.5.0die ganzen oder viele module sind scheinbar im javascript unvollständig, wie kann ich die alle wieder vervollständigen?
host.ioBroker 2022-07-12 15:13:21.518 error instance system.adapter.javascript.1 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at node:internal/main/run_main_module:17:47 host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:58:23) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:5:18) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/index.js:143:19) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:11:21) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.518 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/node_modules/http-signature/lib/index.js:3:14) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/node_modules/http-signature/lib/parser.js:5:13) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/node_modules/http-signature/lib/utils.js:4:13) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/index.js:3:11) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/key.js:8:19) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/fingerprint.js:11:18) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.517 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/private-key.js:10:17) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/signature.js:10:13) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/utils.js:32:10) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1069:27) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at wrapSafe (node:internal/modules/cjs/loader:1033:15) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: at Object.compileFunction (node:vm:352:18) host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: SyntaxError: Unexpected end of input host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: host.ioBroker 2022-07-12 15:13:21.516 error Caught by controller[0]: var u = b.y.toBigInteger().multiply( host.ioBroker 2022-07-12 15:13:21.515 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.javascript/node_modules/ecc-jsbn/lib/ec.js:126
-
Zunächst mal nicht als root rumhampeln, dann schauen ob nodejs senkrecht installiert ist.
-
@thomas-braun Was heißt senkrecht? wie mach ich das?
-
Schau in meine Signatur, da steht's drin.
-
@thomas-braun wenn ichs richtig gemacht habe, hats nichts gebracht - kanns gerne mal via TeamViewer herzeigen?
-
TeamViewer? Was ist das?
Für ein Terminal braucht es kein TeamViewer.
Was kommt da konkret ums Eck und bist du mittlerweile als user und nicht mehr als root unterwegs? -
@thomas-braun das kommt rum
root@ioBroker:/opt/iobroker# uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs x86_64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.15.1 v16.15.1 8.11.0 root /opt/iobroker Hit:1 https://repos.influxdata.com/debian focal InRelease Hit:2 https://deb.nodesource.com/node_16.x focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB] Fetched 228 kB in 1s (261 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 40 packages can be upgraded. Run 'apt list --upgradable' to see them. nodejs: Installed: 16.15.1-deb-1nodesource1 Candidate: 16.16.0-deb-1nodesource1 Version table: 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages *** 16.15.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 10.19.0~dfsg-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages root@ioBroker:/opt/iobroker# sudo apt install nodejs --reinstall 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 39 not upgraded. Need to get 26.5 MB of archives. After this operation, 6144 B of additional disk space will be used. Get:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.16.0-deb-1nodesource1 [26.5 MB] Fetched 26.5 MB in 4s (7135 kB/s) (Reading database ... 34743 files and directories currently installed.) Preparing to unpack .../nodejs_16.16.0-deb-1nodesource1_amd64.deb ... Unpacking nodejs (16.16.0-deb-1nodesource1) over (16.15.1-deb-1nodesource1) ... Setting up nodejs (16.16.0-deb-1nodesource1) ... Processing triggers for man-db (2.9.1-1) ... root@ioBroker:/opt/iobroker#
-
Auf ubuntu rumpelt man nicht als root durch das System. Punkt.
-
@thomas-braun Das hat derzeit nix mit dem Problem zu tun, ich schau mir das später an, das Problem ist mir derzeit wichtiger weil nix mehr läuft
-
@stephan-schleich sagte in requestPath: 'coffee-script':
Das hat derzeit nix mit dem Problem zu tun
Sehe ich anders. Aber viel Erfolg noch weiterhin.
-
Für jeden dem dieses root gelaber in jedem Post auch aufn Sack geht, es mag seine Berechtigung haben, aber es ist jedem das seine:
Die Lösung war folgende:
- /opt/iobroker/node_modules/iobroker.javascript\node_modules umbenennen z.b. *.old
- npm rebuild iobroker.javascript
dann läufts wieder.
-
@stephan-schleich sagte in requestPath: 'coffee-script':
Für jeden dem dieses root gelaber in jedem Post auch aufn Sack geht
Dann änder es halt. Dann musst du auch nicht 'angelabert' werden.
-
@stephan-schleich sagte in *Gelöst* requestPath: 'coffee-script':
Für jeden dem dieses root gelaber in jedem Post auch aufn Sack geht,
eigentlich nicht , denn @Thomas-Braun hat recht .... bzw. auch darauf hinzuweisen .
es mag seine Berechtigung haben, aber es ist jedem das seine:
deshalb .... sei froh das @Thomas-Braun dir noch soweit geholfen hat
-
Hallo @Thomas-Braun
hab m.E. fast das gleiche Problem seit dem letzten JS-Update. Sieht bei mir trotzdem anders austhorsten@ioBroker2:/opt/iobroker$ npm ls coffee-script iobroker.inst@2.0.3 /opt/iobroker └─┬ iobroker.javascript@5.8.8 └── UNMET PEER DEPENDENCY coffee-script@1.12.7 npm ERR! peer dep missing: coffee-script@>=1.6.2, required by coffee-compiler@0.3.2
thorsten@ioBroker2:/opt/iobroker$ npm ls tough-cookie iobroker.inst@2.0.3 /opt/iobroker ├─┬ iobroker.backitup@2.4.10 │ ├─┬ dropbox-v2-api@2.5.3 │ │ └─┬ request@2.88.2 │ │ └── tough-cookie@2.5.0 │ └─┬ request@2.88.2 │ └── tough-cookie@2.5.0 ├─┬ iobroker.echarts@1.0.12 │ └─┬ jsdom@19.0.0 │ └── tough-cookie@4.0.0 ├─┬ iobroker.harmony@1.2.2 │ └─┬ harmonyhubws@1.0.6 │ └─┬ request-promise-native@1.0.7 │ └── tough-cookie@2.4.3 deduped ├─┬ iobroker.hm-rega@3.0.40 │ └─┬ request@2.88.2 │ └── tough-cookie@2.5.0 ├─┬ iobroker.javascript@5.8.8 │ └─┬ request@2.88.2 │ └── tough-cookie@2.5.0 ├─┬ iobroker.js-controller@4.0.23 │ ├─┬ @iobroker/js-controller-common@4.0.23 │ │ └─┬ request@2.88.2 │ │ └── tough-cookie@2.5.0 │ └─┬ request@2.88.2 │ └── tough-cookie@2.5.0 ├─┬ iobroker.pi-hole@1.4.0 (github:unltdnetworx/ioBroker.pi-hole#8af228102edc7ee8356183670187a8cd00263428) │ └─┬ request@2.88.2 │ └── tough-cookie@2.5.0 ├─┬ iobroker.pollenflug@1.0.6 │ ├─┬ request@2.88.2 │ │ └── tough-cookie@2.5.0 │ └─┬ request-promise-native@1.0.8 │ └── tough-cookie@2.5.0 deduped ├─┬ iobroker.proxmox@1.3.4 │ └─┬ request@2.88.2 │ └── tough-cookie@2.5.0 ├─┬ iobroker.tankerkoenig@2.1.1 │ └─┬ request@2.88.0 │ └── tough-cookie@2.4.3 ├─┬ iobroker.telegram@1.14.1 │ └─┬ node-telegram-bot-api@0.58.0 │ └─┬ request-promise@4.2.6 │ └── tough-cookie@2.4.3 deduped ├─┬ iobroker.unifi@0.6.1 │ └─┬ node-unifi@2.1.0 │ └── UNMET PEER DEPENDENCY tough-cookie@4.0.0 └─┬ iobroker.whatsapp-cmb@0.2.2 └─┬ request@2.88.2 └── tough-cookie@2.5.0 npm ERR! peer dep missing: tough-cookie@^4.0.0, required by http-cookie-agent@4.0.1
Das sieht echt schräg aus...hab da nix (mehr) mit Root auf der Konsole rumgefummelt
Ein NPM-rebuild vom iobroker.javascript (ging nur mit root, nicht mal mit sudo) hat auch nichts gebracht habs gemäß dem Hinweis von Stephan hier im Thread gemacht. Fehlermeldung im ioBroker bleibt die Gleiche:
host.ioBroker2 2022-07-14 09:01:44.445 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker2 2022-07-14 09:01:44.445 error Caught by controller[0]: } host.ioBroker2 2022-07-14 09:01:44.445 error Caught by controller[0]: ] host.ioBroker2 2022-07-14 09:01:44.444 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js' host.ioBroker2 2022-07-14 09:01:44.444 error Caught by controller[0]: '/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js', host.ioBroker2 2022-07-14 09:01:44.444 error Caught by controller[0]: requireStack: [ host.ioBroker2 2022-07-14 09:01:44.444 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.ioBroker2 2022-07-14 09:01:44.443 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) { host.ioBroker2 2022-07-14 09:01:44.443 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) host.ioBroker2 2022-07-14 09:01:44.443 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) host.ioBroker2 2022-07-14 09:01:44.442 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) host.ioBroker2 2022-07-14 09:01:44.442 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) host.ioBroker2 2022-07-14 09:01:44.442 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js:7:10) host.ioBroker2 2022-07-14 09:01:44.441 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18) host.ioBroker2 2022-07-14 09:01:44.441 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) host.ioBroker2 2022-07-14 09:01:44.441 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:746:27) host.ioBroker2 2022-07-14 09:01:44.440 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) host.ioBroker2 2022-07-14 09:01:44.440 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js host.ioBroker2 2022-07-14 09:01:44.440 error Caught by controller[0]: - /opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js host.ioBroker2 2022-07-14 09:01:44.439 error Caught by controller[0]: Require stack: host.ioBroker2 2022-07-14 09:01:44.439 error Caught by controller[0]: Error: Cannot find module 'coffee-script' host.ioBroker2 2022-07-14 09:01:44.438 error Caught by controller[0]: ^ host.ioBroker2 2022-07-14 09:01:44.438 error Caught by controller[0]: throw err; host.ioBroker2 2022-07-14 09:01:44.430 error Caught by controller[0]: internal/modules/cjs/loader.js:905
-
@kueppert sagte in *Gelöst* requestPath: 'coffee-script':
Ein NPM-rebuild vom iobroker.javascript (ging nur mit root, nicht mal mit sudo)
Dann ist das komplett krumm alles bei dir. In einer sauberen Installation MUSS das auch als User funktionieren, das ist so in den sudoers angelegt.
Aber was sage ich. Per root verpfuschst du dir schneller alles als du gucken kannst. Aber das will ja keiner hören.
-
@thomas-braun ja, damals als ich anfing mit ioBroker...viele Jahre her (und so alt ist meine Installation auch), hab ich das Betriebssystem gemäß irgendeiner Anleitung als Root aufgesetzt und dann ioBroker drauf gemacht. Puuuh...ich schaue mal, ob ich das gerade bekomme. Ansonsten beiß ich mal in den sauren Apfel und mach das System (VM) ganz neu...
-
@thomas-braun hab nen Reboot vom iob gemacht. Eine Meldung im LOG vom iob ist jetzt neu:
host.ioBroker2 2022-07-14 09:10:29.225 warn adapter "javascript" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
Vielleicht repariert es sich ja von selbst...ich berichte
-
@thomas-braun leider fehlgeschlagen:
host.ioBroker2 2022-07-14 09:16:30.862 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker2 2022-07-14 09:16:30.862 error Caught by controller[0]: } host.ioBroker2 2022-07-14 09:16:30.862 error Caught by controller[0]: ] host.ioBroker2 2022-07-14 09:16:30.861 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js' host.ioBroker2 2022-07-14 09:16:30.861 error Caught by controller[0]: '/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js', host.ioBroker2 2022-07-14 09:16:30.861 error Caught by controller[0]: requireStack: [ host.ioBroker2 2022-07-14 09:16:30.861 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.ioBroker2 2022-07-14 09:16:30.860 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) { host.ioBroker2 2022-07-14 09:16:30.860 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) host.ioBroker2 2022-07-14 09:16:30.860 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) host.ioBroker2 2022-07-14 09:16:30.860 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) host.ioBroker2 2022-07-14 09:16:30.859 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) host.ioBroker2 2022-07-14 09:16:30.859 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js:7:10) host.ioBroker2 2022-07-14 09:16:30.859 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18) host.ioBroker2 2022-07-14 09:16:30.859 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) host.ioBroker2 2022-07-14 09:16:30.858 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:746:27) host.ioBroker2 2022-07-14 09:16:30.858 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) host.ioBroker2 2022-07-14 09:16:30.857 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js host.ioBroker2 2022-07-14 09:16:30.857 error Caught by controller[0]: - /opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js host.ioBroker2 2022-07-14 09:16:30.857 error Caught by controller[0]: Require stack: host.ioBroker2 2022-07-14 09:16:30.856 error Caught by controller[0]: Error: Cannot find module 'coffee-script' host.ioBroker2 2022-07-14 09:16:30.856 error Caught by controller[0]: ^ host.ioBroker2 2022-07-14 09:16:30.855 error Caught by controller[0]: throw err; host.ioBroker2 2022-07-14 09:16:30.854 error Caught by controller[0]: internal/modules/cjs/loader.js:905 host.ioBroker2 2022-07-14 09:16:29.285 error iobroker npm-rebuild: Rebuilding native modules failed
-
@kueppert sagte in *Gelöst* requestPath: 'coffee-script':
Falls npm@8 jetzt verwendet wird.
iobroker stop iobroker fix cd/opt/iobroker/node_modules/iobroker.javascript sudo -H -u iobroker npm install --omit=dev cd /opt/iobroker/node_modules/iobroker.javascript sudo -H -u iobroker npm install --omit=dev iobroker start
-
@thomas-braun danke dir für deine Hilfe. Habe auf Grundlage deines Werkzeugkastens festgestellt, dass ich anders als vermutet noch auf Buster-Sourcen laufe (teilweise). Hab die Sources.list jetzt korrigiert und baller gerade bullseye drüber. Dann sind alle Sourcen hoffentlich auf bullseye umgeschrieben von mir...
Werde danach schauen, was noch geht. Das hat nun doch nichts mehr mit dem Thema hier zu tun und ich möchte den Thread nicht weiter zuspammen, da mein Problem anscheinend ganz wo anders lag/liegt