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. Русский
  3. ioBroker
  4. ioBroker установка и конфигурация
  5. Установка на Cubieboard2

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    484

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

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

Установка на Cubieboard2

Geplant Angeheftet Gesperrt Verschoben ioBroker установка и конфигурация
12 Beiträge 5 Kommentatoren 6.1k Aufrufe
  • Ä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.
  • BluefoxB Offline
    BluefoxB Offline
    Bluefox
    schrieb am zuletzt editiert von
    #3

    @vtec:

    @Bluefox:

    /etc/init.d/iobroker.sh Почему то нет такого файла в этой папке. Где его можно взять?
    В инструкции была ошибка:

    • в последних шагах надо не:
    Установим ioBroker:
    $ npm install iobroker.js-controller
    
    

    а

    $ npm install iobroker
    

    Файл можно взять здесь, только нужно подправить ручками:

    https://github.com/ioBroker/ioBroker/bl … obroker.sh

    Как то вот так:

    ! #!/bin/bash
    ! ### BEGIN INIT INFO
    ! # Provides: iobroker.sh
    ! # Required-Start: $network $local_fs $remote_fs
    ! # Required-Stop:: $network $local_fs $remote_fs
    ! # Default-Start: 2 3 4 5
    ! # Default-Stop: 0 1 6
    ! # Short-Description: starts ioBroker
    ! # Description: starts ioBroker
    ! ### END INIT INFO
    ! (( EUID )) && echo .You need to have root privileges.. && exit 1
    ! PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid
    ! NODECMD=/usr/local/bin/node
    ! IOBROKERCMD=/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
    ! RETVAL=0
    ! IOBROKERUSER=root
    ! start() {
    ! export IOBROKER_HOME=/opt/iobroker
    ! echo -n "Starting ioBroker"
    ! sudo -u ${IOBROKERUSER} $NODECMD $IOBROKERCMD start
    ! RETVAL=$?
    ! }
    ! stop() {
    ! echo -n "Stopping ioBroker"
    ! sudo -u ${IOBROKERUSER} $NODECMD $IOBROKERCMD stop
    ! RETVAL=$?
    ! }
    ! case "$1" in
    ! start)
    ! start
    ! ;;
    ! stop)
    ! stop
    ! ;;
    ! restart)
    ! stop
    ! start
    ! ;;
    ! *)
    ! echo "Usage: iobroker {start|stop|restart}"
    ! exit 1
    ! ;;
    ! esac
    ! exit $RETVAL

    1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      spectrekr
      schrieb am zuletzt editiert von
      #4

      @vtec:

      Устанавливаем пакеты для установки node.js

      $ sudo apt-get -y install mc git build-essential wget mpg321 lame

      $ cd /tmp

      Скачиваем файл для установки node.js

      $ wget https://deb.nodesource.com/setup

      $ chmod 755 ./setup

      $ ./setup (нажать enter)

      После того как скрипт отработает:

      $ apt-get install nodejs npm `
      По данной инструкции какая версия node ставится?

      1 Antwort Letzte Antwort
      0
      • V Offline
        V Offline
        vtec
        schrieb am zuletzt editiert von
        #5

        0.10.36

        1 Antwort Letzte Antwort
        0
        • BluefoxB Offline
          BluefoxB Offline
          Bluefox
          schrieb am zuletzt editiert von
          #6

          @vtec:

          0.10.36 `
          У тебя получилось установить?

          1 Antwort Letzte Antwort
          0
          • BluefoxB Offline
            BluefoxB Offline
            Bluefox
            schrieb am zuletzt editiert von
            #7

            Я выложил статейку на WIKI:

            https://github.com/ioBroker/ioBroker/wi … ubieboard2

            1 Antwort Letzte Antwort
            0
            • V Offline
              V Offline
              vtec
              schrieb am zuletzt editiert von
              #8

              @Bluefox:

              @vtec:

              0.10.36 У тебя получилось установить?

              Я ещё раз запустил "sudo npm install iobroker" и перезагрузился, все заработало и старт сам происходит.

              1 Antwort Letzte Antwort
              0
              • A Offline
                A Offline
                Alekseym6
                schrieb am zuletzt editiert von
                #9

                у меня сразу после установки в логе:

                host-Cubian 2015-09-16 09:19:32 error instance system.adapter.web.0 terminated with code 6 (uncaught exception)

                web-0 2015-09-16 09:19:32 info http server listening on port 8082

                Error: 2015-09-16 09:19:32 error at Manager. (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/component-bind/index.js:21:15)

                Error: 2015-09-16 09:19:32 error at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:220:12)

                Error: 2015-09-16 09:19:32 error at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:295:6)

                Error: 2015-09-16 09:19:32 error at Socket. (/opt/iobroker/node_modules/iobroker.web/main.js:70:21)

                Error: 2015-09-16 09:19:32 error at main (/opt/iobroker/node_modules/iobroker.web/main.js:118:21)

                Error: 2015-09-16 09:19:32 error at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:378:30)

                Error: 2015-09-16 09:19:32 error at require (module.js:380:17)

                Error: 2015-09-16 09:19:32 error at Module.require (module.js:364:17)

                Error: 2015-09-16 09:19:32 error at Function.Module._load (module.js:280:25)

                Error: 2015-09-16 09:19:32 error at Function.Module._resolveFilename (module.js:338:15)

                Error: 2015-09-16 09:19:32 error Cannot find module '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.socketio/lib/iobrokersocket.js'

                uncaught 2015-09-16 09:19:32 error exception: Cannot find module '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.socketio/lib/iobrokersocket.js'

                web-0 2015-09-16 09:19:32 info starting. Version 0.4.3 in /opt/iobroker/node_modules/iobroker.web

                host-Cubian 2015-09-16 09:19:29 info instance system.adapter.web.0 started with pid 3541

                где исправить? web удалял и ставил заного из admin-ки

                1 Antwort Letzte Antwort
                0
                • A Offline
                  A Offline
                  Alekseym6
                  schrieb am zuletzt editiert von
                  #10

                  сам устранил. переустановил из консоли ./iobroker upgrade web.

                  1 Antwort Letzte Antwort
                  0
                  • B Offline
                    B Offline
                    bondrogeen
                    schrieb am zuletzt editiert von
                    #11

                    Доброго времени суток. Подскажите как добавить iobroker в автозагрузку на cubieboard 2 ?

                    Стоит Debian

                    1 Antwort Letzte Antwort
                    0
                    • BluefoxB Offline
                      BluefoxB Offline
                      Bluefox
                      schrieb am zuletzt editiert von
                      #12

                      @bondrogeen:

                      Доброго времени суток. Подскажите как добавить iobroker в автозагрузку на cubieboard 2 ?

                      Стоит Debian `
                      Этот файл https://raw.githubusercontent.com/ioBro … obroker.sh

                      скопировать в /etc/init.d/

                      и выполнить:

                      chown root:root /etc/init.d/iobroker.sh
                      update-rc.d iobroker.sh defaults
                      
                      
                      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

                      752

                      Online

                      32.5k

                      Benutzer

                      81.8k

                      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