Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Instalation auf einem Orange pi zero Probleme

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Instalation auf einem Orange pi zero Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      @snotech:

      wegen hatte ich Copy Past deiner ersten Nachricht gemacht `
      :oops: :oops: sehe ich jetzt erst :oops: :oops:

      Dicke Finger und kleines Handy.

      Das kommt davon wenn man immer von unterwegs helfen will 😢

      Der OPi zero hat IMHO nur 512MB RAM im schlimmsten Fall sogar nur 256MB. Letzteres reicht gar nicht.

      Es kann sein, dass die Installation nicht vollständig ist.

      Mach mal bitte

      cd /opt/iobroker
      sudo iobroker list instances
      

      und poste das Ergebnis.

      Gruß

      Rainer

      1 Reply Last reply Reply Quote 0
      • snotech
        snotech last edited by

        Danke das du so schnell mit den Antworten bist 😄

        root@orangepizero:/opt/iobroker# sudo iobroker list instances

        Da tat sich leider gar nichts deswegen hab ich mal eine alten Dos Befehl eingegeben und der schmeist das raus:

        root@orangepizero:/opt/iobroker# dir

        etc iobroker killall.sh node_modules reinstall.sh

        install.sh iobroker-data log package.json

        Gruß

        SNO

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          Dann hat die Installation nicht geklappt!

          Einzelne Verzeichnisse sind angelegt, nur was da drin ist ist unbekannt.

          Was sagen denn

          free
          df -h
          

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • snotech
            snotech last edited by

            root@orangepizero:/opt/iobroker# free

            total used free shared buff/cache available

            Mem: 245764 45676 58856 4208 141232 174592

            Swap: 122864 256 122608

            root@orangepizero:/opt/iobroker# df -h

            Filesystem Size Used Avail Use% Mounted on

            udev 85M 0 85M 0% /dev

            tmpfs 25M 2.5M 22M 11% /run

            /dev/mmcblk0p1 7.1G 1.3G 5.7G 19% /

            tmpfs 120M 0 120M 0% /dev/shm

            tmpfs 5.0M 0 5.0M 0% /run/lock

            tmpfs 120M 0 120M 0% /sys/fs/cgroup

            tmpfs 120M 0 120M 0% /tmp

            log2ram 50M 1.7M 49M 4% /var/log

            tmpfs 25M 0 25M 0% /run/user/0

            so sieht es aus 🙂

            Gruß SNO

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              Dann hast du den zero mit nur 256 MB RAM.

              Ist aber noch einiges an RAM available.

              SD-Card hat auch noch genug Reserven.

              Was mich dann irritiert ist dass iobroker anscheinend startet, aber KEINE Instanzen existieren. Also auch kein admin.

              Gruß

              rainer

              1 Reply Last reply Reply Quote 0
              • snotech
                snotech last edited by

                Und was mach ich da jetzt?

                Hatte auch schon mal neu instaliert war aber das gleiche Ergebnis 😉

                Gruß

                SNO

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  @snotech:

                  Hatte auch schon mal neu instaliert `
                  kommen da irgendwelche Meldungen?

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • snotech
                    snotech last edited by

                    😉 Nein nichts außergewöhnliches

                    root@orangepizero:~# sudo mkdir /opt/iobroker
                    mkdir: cannot create directory ‘/opt/iobroker’: File exists
                    root@orangepizero:~# sudo chmod 777 /opt/iobroker
                    root@orangepizero:~# cd /opt/iobroker
                    root@orangepizero:/opt/iobroker# sudo npm install iobroker --unsafe-perm
                    
                    > iobroker@1.0.8 install /opt/iobroker/node_modules/iobroker
                    > node lib/setup.js
                    
                    NPM version: 2.15.12
                    
                    npm install iobroker.discovery --production --save --prefix /opt/iobroker
                    npm install iobroker.admin --production --save --prefix /opt/iobroker
                    npm install iobroker.js-controller --production --save --prefix /opt/iobroker
                    Write "./iobroker start" to start the ioBroker
                    Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
                    iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
                    iobroker.inst@1.0.8 /opt/iobroker
                    └── iobroker@1.0.8
                    
                    root@orangepizero:/opt/iobroker#
                    
                    

                    Oder siehst du da irgendetwas was von der Norm abweicht?

                    Gruß SNO

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      Ich sehe npm 2.x.

                      Wie ist denn die nodejs version?

                      node -v
                      nodejs -v
                      

                      Gruß Rainer

                      1 Reply Last reply Reply Quote 0
                      • snotech
                        snotech last edited by

                        6.13.0

                        Installation Node.js
                        
                        Diese Anleitung bezieht sich auf nodejs 6.x
                        

                        Gruß

                        SNO

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          cd /opt/iobroker 
                          sudo iobroker restart
                          

                          Und bitte den output posten

                          Gruß Rainer

                          1 Reply Last reply Reply Quote 0
                          • snotech
                            snotech last edited by

                            root@orangepizero:~# cd /opt/iobroker
                            root@orangepizero:/opt/iobroker# sudo iobroker restart
                            iobroker controller daemon is not running
                            Starting iobroker controller daemon...
                            iobroker controller daemon started. PID: 3933
                            
                            

                            oh sorry hat es falsch interpretiert

                            Gruß SNO

                            1 Reply Last reply Reply Quote 0
                            • snotech
                              snotech last edited by

                              Ja leider konnte Ich das Problem nicht 😢 lösen und habe mir einen Pi3 gegönnt.

                              Da ging alles Problemlos 😄

                              Danke für die Hilfe

                              Gruß SNO

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              356
                              Online

                              32.0k
                              Users

                              80.3k
                              Topics

                              1.3m
                              Posts

                              3
                              19
                              1811
                              Loading More Posts
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes
                              Reply
                              • Reply as topic
                              Log in to reply
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                              The ioBroker Community 2014-2023
                              logo