NEWS
SyntaxError: Unexpected Tokken
-
geht auch nicht...
code_textpi@All-In-One_RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash – bash: –: Datei oder Verzeichnis nicht gefunden pi@All-In-One_RasPi:/opt/iobroker $ -
geht auch nicht...
code_textpi@All-In-One_RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash – bash: –: Datei oder Verzeichnis nicht gefunden pi@All-In-One_RasPi:/opt/iobroker $cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller -
code_textpi@All-In-One_RasPi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller sudo: Unbekannter Benutzer: iobroker sudo: Regelwerks-Plugin konnte nicht initialisiert werden pi@All-In-One_RasPi:/opt/iobroker $ -
code_textpi@All-In-One_RasPi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller sudo: Unbekannter Benutzer: iobroker sudo: Regelwerks-Plugin konnte nicht initialisiert werden pi@All-In-One_RasPi:/opt/iobroker $@Finnimeister
Warum hast du denn keinen user iobroker?
So eine alte Installation?cd /opt/iobroker npm install iobroker.js-controller -
Danke !!! bist der beste....es läuft wieder....
-
Danke !!! bist der beste....es läuft wieder....
@Finnimeister
Dann jetzt den Fixer hinterher! -
Meinst du das...
code_textcurl -sL https://iobroker.net/fix.sh | bash – -
Meinst du das...
code_textcurl -sL https://iobroker.net/fix.sh | bash –@Finnimeister
Ja. Oderiobroker stop iobroker fix -
code_textpi@All-In-One_RasPi:/opt/iobroker $ iobroker fix Commands: iobroker setup [--objects <host>] [--states <host>] [custom] iobroker start - starts the js-controller iobroker stop - stops the js-controller iobroker start <adapter>[.instance] - starts a specified adapter instance iobroker stop <adapter>.[instance] - stops a specified adapter instance iobroker start all - starts js-controller and all adapters iobroker restart - restarts the js-controller iobroker restart <adapter>[.instance] - restarts a specified adapter iobroker debug <adapter> [--ip=<ip>] [--port=<port>] [--wait] - Starts a Node.js debugging session for the adapter --wait stops the execution until the debugger is attached. --ip and --port can be used to change the listen IP and port. Use IP 0.0.0.0 for remote debugging. iobroker info - shows the host info iobroker logs [adapter] [--watch] [--lines=1000] iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>] iobroker install <adapter> - installs a specified adapter iobroker rebuild <adapter>|self [--install] iobroker url <url> [<name>] - install adapter from specified url, e.g. GitHub iobroker del <adapter> - remove adapter from system iobroker del <adapter>.<instance> - remove adapter instance iobroker update [repository url] [--updatable/--u] [--installed/--i] [--force/--f] - update repository and optionally filter installed/updateable adapters, use --force to bypass hash check iobroker upgrade [repository url] iobroker upgrade self [repository url] - upgrade js-controller and all adapters, optionally you can specify the repository url iobroker upgrade <adapter> [repository url] - upgrade specified adapter, optionally you can specify the repository url iobroker upload <pathToLocalFile> <pathIniobroker> iobroker upload all - upload all adapter files to make them available for instances iobroker upload <adapter> - upload specified adapter files to make them available for instances iobroker object get <id> - get object specified by id iobroker object set <id> <json-value> - set object with the given id by providing a new json object iobroker object set <id> propertyname=<value or json-value> - update part of the object by providing a new value or partial object iobroker object extend <id> <json-value> - extend object with the given id by providing a new json object iobroker object del <id|pattern> [--yes] iobroker object chmod <object-mode> [state-mode] <id> iobroker object chown <user> <group> <id> iobroker object list <id> iobroker state get <id> - get state, specified by id iobroker state getplain <id> [--pretty] iobroker state getvalue <id> iobroker state set <id> <value> [ack] iobroker state del <id> iobroker message <adapter>[.instance] <command> [<message>] iobroker list <type> [filter] iobroker chmod <mode> <file> iobroker chown <user> <group> <file> iobroker touch <file> iobroker rm <file> iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>] iobroker file write <filesystem-path-to-read> <iobroker-path-to-write> iobroker file rm <iobroker-path-to-delete> iobroker file sync iobroker user add <user> [--ingroup group] [--password pass] iobroker user del <user> iobroker user passwd <user> [--password pass] iobroker user enable <user> iobroker user disable <user> iobroker user get <user> iobroker user check <user> [--password pass] iobroker group add <group> iobroker group del <group> iobroker group list <group> iobroker group enable <group> iobroker group disable <group> iobroker group get <group> iobroker group adduser <group> <user> iobroker group deluser <group> <user> iobroker host this iobroker host <hostname> iobroker host set <hostname> iobroker host remove <hostname> iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false] iobroker license <license.file or license.text> iobroker cert create iobroker cert view [<certificate name>] iobroker clean iobroker backup iobroker restore <backup name or path> - restore a specified backup iobroker validate <backup name or path> - validate a specified backup iobroker <command> --timeout 5000 iobroker status [all|<adapter>.<instance>] iobroker repo [name] iobroker repo add <name> <path or url> iobroker repo set <name> iobroker repo del <name> iobroker uuid iobroker unsetup iobroker fix - execute the installation fixer script, this updates your ioBroker installation iobroker multihost <enable|disable> [--secure true|false] iobroker multihost browse iobroker multihost connect iobroker compact status - show if compact mode is enabled in general iobroker compact <enable|on|disable|off> - enable or disable compact mode in general iobroker compact <adapter>.<instance> status - show if compact mode is enabled for a specific instance iobroker compact <adapter>.<instance> group <group-id> - define compact group of a specific adapter iobroker compact <adapter>.<instance> <disable|off> - enable or disable compact mode for specified adapter instance iobroker compact <adapter>.<instance> <enable|on> [group-id] - enable or disable compact mode for specified adapter instance and set comapct group optionally iobroker plugin enable <pluginname> [--host <hostname>] - enables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin disable <pluginname> [--host <hostname>] - disables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin status <pluginname> [--host <hostname>] - checks if a plugin is enabled for the specified host. If no host is specified, the current one is used iobroker plugin enable <pluginname> --instance <adapter>[.<nr>] - enables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin disable <pluginname> --instance <adapter>[.<nr>] - disables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin status <pluginname> --instance <adapter>[.<nr>] - checks if a plugin is enabled for the specified adapter instance (defaults to instance 0) iobroker version [adapter] - show version of js-controller or specified adapter iobroker [adapter] -v - show version of js-controller or specified adapter Options: --help Hilfe anzeigen [boolean] --version Version anzeigen [boolean] pi@All-In-One_RasPi:/opt/iobroker $ iobroker start Starting iobroker controller daemon... iobroker controller daemon failed to start: Failed to write pidfile (EACCES) An unknown error occurred: Error: Failed to write pidfile (EACCES) pi@All-In-One_RasPi:/opt/iobroker $ -
code_textpi@All-In-One_RasPi:/opt/iobroker $ iobroker fix Commands: iobroker setup [--objects <host>] [--states <host>] [custom] iobroker start - starts the js-controller iobroker stop - stops the js-controller iobroker start <adapter>[.instance] - starts a specified adapter instance iobroker stop <adapter>.[instance] - stops a specified adapter instance iobroker start all - starts js-controller and all adapters iobroker restart - restarts the js-controller iobroker restart <adapter>[.instance] - restarts a specified adapter iobroker debug <adapter> [--ip=<ip>] [--port=<port>] [--wait] - Starts a Node.js debugging session for the adapter --wait stops the execution until the debugger is attached. --ip and --port can be used to change the listen IP and port. Use IP 0.0.0.0 for remote debugging. iobroker info - shows the host info iobroker logs [adapter] [--watch] [--lines=1000] iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>] iobroker install <adapter> - installs a specified adapter iobroker rebuild <adapter>|self [--install] iobroker url <url> [<name>] - install adapter from specified url, e.g. GitHub iobroker del <adapter> - remove adapter from system iobroker del <adapter>.<instance> - remove adapter instance iobroker update [repository url] [--updatable/--u] [--installed/--i] [--force/--f] - update repository and optionally filter installed/updateable adapters, use --force to bypass hash check iobroker upgrade [repository url] iobroker upgrade self [repository url] - upgrade js-controller and all adapters, optionally you can specify the repository url iobroker upgrade <adapter> [repository url] - upgrade specified adapter, optionally you can specify the repository url iobroker upload <pathToLocalFile> <pathIniobroker> iobroker upload all - upload all adapter files to make them available for instances iobroker upload <adapter> - upload specified adapter files to make them available for instances iobroker object get <id> - get object specified by id iobroker object set <id> <json-value> - set object with the given id by providing a new json object iobroker object set <id> propertyname=<value or json-value> - update part of the object by providing a new value or partial object iobroker object extend <id> <json-value> - extend object with the given id by providing a new json object iobroker object del <id|pattern> [--yes] iobroker object chmod <object-mode> [state-mode] <id> iobroker object chown <user> <group> <id> iobroker object list <id> iobroker state get <id> - get state, specified by id iobroker state getplain <id> [--pretty] iobroker state getvalue <id> iobroker state set <id> <value> [ack] iobroker state del <id> iobroker message <adapter>[.instance] <command> [<message>] iobroker list <type> [filter] iobroker chmod <mode> <file> iobroker chown <user> <group> <file> iobroker touch <file> iobroker rm <file> iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>] iobroker file write <filesystem-path-to-read> <iobroker-path-to-write> iobroker file rm <iobroker-path-to-delete> iobroker file sync iobroker user add <user> [--ingroup group] [--password pass] iobroker user del <user> iobroker user passwd <user> [--password pass] iobroker user enable <user> iobroker user disable <user> iobroker user get <user> iobroker user check <user> [--password pass] iobroker group add <group> iobroker group del <group> iobroker group list <group> iobroker group enable <group> iobroker group disable <group> iobroker group get <group> iobroker group adduser <group> <user> iobroker group deluser <group> <user> iobroker host this iobroker host <hostname> iobroker host set <hostname> iobroker host remove <hostname> iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false] iobroker license <license.file or license.text> iobroker cert create iobroker cert view [<certificate name>] iobroker clean iobroker backup iobroker restore <backup name or path> - restore a specified backup iobroker validate <backup name or path> - validate a specified backup iobroker <command> --timeout 5000 iobroker status [all|<adapter>.<instance>] iobroker repo [name] iobroker repo add <name> <path or url> iobroker repo set <name> iobroker repo del <name> iobroker uuid iobroker unsetup iobroker fix - execute the installation fixer script, this updates your ioBroker installation iobroker multihost <enable|disable> [--secure true|false] iobroker multihost browse iobroker multihost connect iobroker compact status - show if compact mode is enabled in general iobroker compact <enable|on|disable|off> - enable or disable compact mode in general iobroker compact <adapter>.<instance> status - show if compact mode is enabled for a specific instance iobroker compact <adapter>.<instance> group <group-id> - define compact group of a specific adapter iobroker compact <adapter>.<instance> <disable|off> - enable or disable compact mode for specified adapter instance iobroker compact <adapter>.<instance> <enable|on> [group-id] - enable or disable compact mode for specified adapter instance and set comapct group optionally iobroker plugin enable <pluginname> [--host <hostname>] - enables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin disable <pluginname> [--host <hostname>] - disables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin status <pluginname> [--host <hostname>] - checks if a plugin is enabled for the specified host. If no host is specified, the current one is used iobroker plugin enable <pluginname> --instance <adapter>[.<nr>] - enables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin disable <pluginname> --instance <adapter>[.<nr>] - disables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin status <pluginname> --instance <adapter>[.<nr>] - checks if a plugin is enabled for the specified adapter instance (defaults to instance 0) iobroker version [adapter] - show version of js-controller or specified adapter iobroker [adapter] -v - show version of js-controller or specified adapter Options: --help Hilfe anzeigen [boolean] --version Version anzeigen [boolean] pi@All-In-One_RasPi:/opt/iobroker $ iobroker start Starting iobroker controller daemon... iobroker controller daemon failed to start: Failed to write pidfile (EACCES) An unknown error occurred: Error: Failed to write pidfile (EACCES) pi@All-In-One_RasPi:/opt/iobroker $curl -sL https://iobroker.net/fix.sh | bash – -
code_textpi@All-In-One_RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash – bash: –: Datei oder Verzeichnis nicht gefunden pi@All-In-One_RasPi:/opt/iobroker $ -
code_textpi@All-In-One_RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash – bash: –: Datei oder Verzeichnis nicht gefunden pi@All-In-One_RasPi:/opt/iobroker $@Finnimeister
Versuch mal ohne - am Ende:curl -sL https://iobroker.net/fix.sh | bashIst die bash überhaupt installiert?
apt policy bash -
code_textpi@All-In-One_RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash library: loaded Library version=2020-06-12 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-04-12 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== OK:1 http://archive.raspberrypi.org/debian stretch InRelease OK:2 https://www.pivccu.de/piVCCU stable InRelease OK:3 https://deb.nodesource.com/node_12.x stretch InRelease OK:4 http://raspbian.raspberrypi.org/raspbian stretch InRelease Paketlisten werden gelesen... Fertig Installed gcc-c++ -
..aber es passiert nix,geht nicht weiter...
-
..aber es passiert nix,geht nicht weiter...
-
code_textpi@All-In-One_RasPi:~ $ sudo adduser iobroker Lege Benutzer »iobroker« an ... Lege neue Gruppe »iobroker« (1001) an ... Lege neuen Benutzer »iobroker« (1001) mit Gruppe »iobroker« an ... Erstelle Home-Verzeichnis »/home/iobroker« ... Kopiere Dateien aus »/etc/skel« ... Geben Sie ein neues UNIX-Passwort ein: Geben Sie das neue UNIX-Passwort erneut ein: passwd: Passwort erfolgreich geändert Benutzerinformationen für iobroker werden geändert. Geben Sie einen neuen Wert an oder drücken Sie ENTER für den Standardwert Vollständiger Name []: Heiko Zimmernummer []: Telefon geschäftlich []: Telefon privat []: Sonstiges []: Sind die Informationen korrekt? [J/n] j pi@All-In-One_RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash library: loaded Library version=2020-06-12 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-04-12 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== OK:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease OK:2 http://archive.raspberrypi.org/debian stretch InRelease OK:3 https://www.pivccu.de/piVCCU stable InRelease OK:4 https://deb.nodesource.com/node_12.x stretch InRelease Paketlisten werden gelesen... Fertig Installed gcc-c++ -
code_textpi@All-In-One_RasPi:~ $ sudo adduser iobroker Lege Benutzer »iobroker« an ... Lege neue Gruppe »iobroker« (1001) an ... Lege neuen Benutzer »iobroker« (1001) mit Gruppe »iobroker« an ... Erstelle Home-Verzeichnis »/home/iobroker« ... Kopiere Dateien aus »/etc/skel« ... Geben Sie ein neues UNIX-Passwort ein: Geben Sie das neue UNIX-Passwort erneut ein: passwd: Passwort erfolgreich geändert Benutzerinformationen für iobroker werden geändert. Geben Sie einen neuen Wert an oder drücken Sie ENTER für den Standardwert Vollständiger Name []: Heiko Zimmernummer []: Telefon geschäftlich []: Telefon privat []: Sonstiges []: Sind die Informationen korrekt? [J/n] j pi@All-In-One_RasPi:~ $ curl -sL https://iobroker.net/fix.sh | bash library: loaded Library version=2020-06-12 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-04-12 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== OK:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease OK:2 http://archive.raspberrypi.org/debian stretch InRelease OK:3 https://www.pivccu.de/piVCCU stable InRelease OK:4 https://deb.nodesource.com/node_12.x stretch InRelease Paketlisten werden gelesen... Fertig Installed gcc-c++sudo -u iobroker groups -
sudo -u iobroker groups@Thomas-Braun sagte in SyntaxError: Unexpected Tokken:
sudo -u iobroker groups
code_textpi@All-In-One_RasPi:~ $ sudo -u iobroker groups iobroker pi@All-In-One_RasPi:~ $ -
@Thomas-Braun sagte in SyntaxError: Unexpected Tokken:
sudo -u iobroker groups
code_textpi@All-In-One_RasPi:~ $ sudo -u iobroker groups iobroker pi@All-In-One_RasPi:~ $@Finnimeister
Keine Ahung, warum der Fixer abbricht.
Starte mal komplett persudo rebootdurch. Und dann nochmal:
curl -sL https://iobroker.net/fix.sh | bash -mit - am Ende.
-
code_textpi@All-In-One_RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash - library: loaded Library version=2020-06-12 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-04-12 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== OK:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease OK:2 http://archive.raspberrypi.org/debian stretch InRelease OK:3 https://deb.nodesource.com/node_12.x stretch InRelease OK:4 https://www.pivccu.de/piVCCU stable InRelease Paketlisten werden gelesen... Fertig Installed gcc-c++ Installed python-dev ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service. Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again!
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden