Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter startet nicht #37

Closed
mistermaster2punkt0 opened this issue Mar 31, 2019 · 9 comments
Closed

Adapter startet nicht #37

mistermaster2punkt0 opened this issue Mar 31, 2019 · 9 comments

Comments

@mistermaster2punkt0
Copy link

Seit kurzem darf auch ich nun eine Fritzbox mein Eigen nennen. Nun würde ich gerne diesen Adapter in Betrieb nehmen. Ich habe die aktuelle Version des Adapters installiert. Leider startet er nicht. Im Log steht:
host.ioBroker-RasPi | 2019-03-31 22:59:14.141 | error | startInstance tr-064-community.0: cannot find start file!

Einen Upload habe ich bereits durchgeführt.
Woran könnte es liegen, dass er nicht starten will?

@Apollon77
Copy link
Member

Wir übernehmen die Adapter gerade erst ... Dauert ggf noch ein paar Tage. Aöternativ die alte Verion von "soef" bzw die aus dem repo nehmen

@mistermaster2punkt0
Copy link
Author

Oh, okay. Alles klar :-)
Die von soef startet bei mir zwar, geht jedoch nach 2 Sekunden sofort auf rot ...
Dann muss ich wohl noch ein bisschen warten. Vielen Dank für die schnelle Nachricht!

@libertyx82
Copy link

Die alte Version startet bei mir leider auch nicht mehr.

host.IoBroker | 2019-05-07 16:19:12.110 | error | instance system.adapter.tr-064.0 terminated with code 1 ()
-- | -- | -- | --
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at bootstrap_node.js:625:3
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at startup (bootstrap_node.js:204:16)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at Function.Module.runMain (module.js:694:10)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at Function.Module._load (module.js:498:3)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at tryModuleLoad (module.js:506:12)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at Module.load (module.js:566:32)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at Object.Module._extensions..js (module.js:664:10)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at Module._compile (module.js:653:30)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.tr-064/tr-064.js:16:20)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1383:23)
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: TypeError: fns.adapter is not a function
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: ^
Caught | 2019-05-07 16:19:12.110 | error | by controller[0]: fns.adapter = fns.adapter(options);
Caught | 2019-05-07 16:19:12.109 | error | by controller[0]: /opt/iobroker/node_modules/soef/soef.js:1383

@slimline33
Copy link

slimline33 commented May 18, 2019

Habe heute den Admin Adapter geupdatet und seitdem auch das Problem wie @libertyx82 . Adapter gelöscht, Instanz gelöscht. Neuestes Paket via Github hinzugefügt und habe jetzt nur noch:

host.iobroker666 | 2019-05-18 18:08:02.899 | error | startInstance tr-064-community.0: cannot find start file!

Admin Version: 3.6.2
FritzOS: 07.08-68239 BETA

Bekomme leider keine anderen Fehlermeldungen - trotz Debug Modus.

Gruß slimline

Edit: start über die Kommandozeile bringt den Adapter wohl zum laufen...

node node_modules/iobroker.tr-064/tr-064.js --force --logs

@Apollon77
Copy link
Member

mach mal

iobroker upload tr-064

@slimline33
Copy link

slimline33 commented May 19, 2019

`
root@iobroker666:/opt/iobroker# iobroker upload tr-064

Cannot find io-package.json in null

Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
`
Habe jetzt aber auch gesehen, dass ich den TR-64 Adapter zweimal in der Liste der Instanzen habe. Sehe aber dass es eine Community Edition gibt und den normalen? Die haben natürlich unterschiedliche Ordner. Die Fehlermeldung cannot find start file! kommt bei dieser.

Nehme ich die Version aus der Instanzenliste bekomme ich obige Fehler

`

host.iobroker666 2019-05-19 12:14:42.797 error instance system.adapter.tr-064.0 terminated with code 1 ()
Caught 2019-05-19 12:14:42.797 error by controller[0]: at bootstrap_node.js:625:3
Caught 2019-05-19 12:14:42.797 error by controller[0]: at startup (bootstrap_node.js:204:16)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at Function.Module.runMain (module.js:694:10)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at Function.Module._load (module.js:498:3)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at tryModuleLoad (module.js:506:12)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at Module.load (module.js:566:32)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at Object.Module._extensions..js (module.js:664:10)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at Module._compile (module.js:653:30)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.tr-064/tr-064.js:16:20)
Caught 2019-05-19 12:14:42.797 error by controller[0]: at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1383:23)
Caught 2019-05-19 12:14:42.797 error by controller[0]: TypeError: fns.adapter is not a function
Caught 2019-05-19 12:14:42.797 error by controller[0]: ^
Caught 2019-05-19 12:14:42.796 error by controller[0]: fns.adapter = fns.adapter(options);
Caught 2019-05-19 12:14:42.796 error by controller[0]: /opt/iobroker/node_modules/soef/soef.js:1383

`

@libertyx82
Copy link

Die Version 0.4.14 aus dem repro fuktioniert bei mir.

@slimline33
Copy link

Die nutze ich jetzt auch und funktioniert ebenso.

@Apollon77
Copy link
Member

Bitte aktuelle Version von Hier per GitHub installieren

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants