Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Repository-Verzeichnisse werden nicht gespeichert

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Repository-Verzeichnisse werden nicht gespeichert

    This topic has been deleted. Only users with topic management privileges can see it.
    • Zaphod
      Zaphod @Thomas Braun last edited by

      @thomas-braun

      pi@raspberrypi:~ $ ps -edaf | grep iobroker
      iobroker     578       1 35 20:36 ?        00:00:42 iobroker.js-controller
      iobroker     647     578  7 20:36 ?        00:00:08 io.admin.0
      iobroker     730     578 10 20:36 ?        00:00:11 io.history.0
      iobroker     746     578 45 20:36 ?        00:00:48 io.javascript.0
      iobroker     810     578  3 20:36 ?        00:00:03 io.pushover.0
      iobroker     866     578 11 20:36 ?        00:00:11 io.hm-rega.0
      iobroker     873     578  5 20:36 ?        00:00:05 io.hm-rpc.0
      iobroker     929     578  6 20:36 ?        00:00:05 io.hm-rpc.1
      iobroker     976     578  9 20:36 ?        00:00:08 io.tr-064.0
      iobroker     993     578  6 20:36 ?        00:00:05 io.netatmo.0
      iobroker    1045     578 22 20:36 ?        00:00:17 io.alexa2.0
      iobroker    1064     578  6 20:37 ?        00:00:04 io.backitup.0
      iobroker    1084     578 11 20:37 ?        00:00:08 io.deconz.0
      iobroker    1131     578  4 20:37 ?        00:00:02 io.discovery.0
      iobroker    1146     578  5 20:37 ?        00:00:03 io.harmony.0
      iobroker    1227     578 16 20:37 ?        00:00:10 io.info.0
      iobroker    1246     578 11 20:37 ?        00:00:06 io.iot.0
      iobroker    1314     578 19 20:37 ?        00:00:09 io.lovelace.0
      iobroker    1483     578  8 20:37 ?        00:00:03 io.socketio.0
      iobroker    1736     578 10 20:37 ?        00:00:04 io.web.0
      iobroker    1880     578 10 20:37 ?        00:00:04 io.yahka.0
      iobroker    2132     578 11 20:37 ?        00:00:03 io.terminal.0
      pi          3248    1721  0 20:38 pts/0    00:00:00 grep --color=auto iobroker
      pi@raspberrypi:~ $ iob repo list
      List is empty
      

      😞

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Zaphod last edited by

        @zaphod

        Zumindest sind die komischen

        /usr/bin/node /opt/iobroker/node_modules/-Prozesse weg.

        iob version
        

        sagt?

        Zaphod 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Thomas Braun last edited by

          @thomas-braun sagte in Repository-Verzeichnisse werden nicht gespeichert:

          Das schaut für mich aus als wenn da irgendwas doppelt läuft.

          das wäre neine zweite Frage gewesen, dann stand nämoich beim wechselseitigrn stop und start der Instanz auch nur "node" bei top, und nicht der Instanzenname.

          ich weiß im moment gar nicht wer und ob top oder htop soeieso nur "node" anzeigt

          1 Reply Last reply Reply Quote 0
          • Zaphod
            Zaphod @Thomas Braun last edited by

            @thomas-braun

            pi@raspberrypi:~ $ iob version
            4.0.24
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Zaphod last edited by Thomas Braun

              @zaphod
              Das sollte eigentlich ein 5er js-controller sein...

              cd /opt/iobroker
              iob update
              iob stop
              iob setup first
              iob update
              sudo -H -u iobroker npm install iobroker.js-controller
              
              Zaphod 1 Reply Last reply Reply Quote 0
              • Zaphod
                Zaphod @Thomas Braun last edited by

                @thomas-braun said in Repository-Verzeichnisse werden nicht gespeichert:

                sudo -H -u iobroker npm install iobroker.js-controller

                pi@raspberrypi:~ $ cd /opt/iobroker
                pi@raspberrypi:/opt/iobroker $ iob update
                Error: no repositories found in the "system.config
                pi@raspberrypi:/opt/iobroker $ iob stop
                pi@raspberrypi:/opt/iobroker $ iob setup first
                Successfully migrated 9601 objects to Redis Sets
                Existing earlier generated certificate is invalid (too old, validity longer then 345 days or keylength too short). Generating new Certificate!
                object system.certificates updated
                object _design/system updated
                {
                  ...
                }
                Update certificate defaultPrivate
                The object "system.certificates" was updated successfully.
                Update certificate defaultPublic
                The object "system.certificates" was updated successfully.
                pi@raspberrypi:/opt/iobroker $ iob update
                Error: no repositories found in the "system.config
                pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                
                removed 91 packages in 12s
                
                108 packages are looking for funding
                  run `npm fund` for details
                pi@raspberrypi:/opt/iobroker $ iob repo list
                List is empty
                
                

                "iob update" tut nie.

                Merkwürdig:
                "iob setup first" hat wohl Probleme mit den Zertifikaten "too old, validity longer then 345 days or keylength too short"
                ... obwohl ich vorhin ja schon mal erfolgreich "iob setup first" ausgeführt habe (?)

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Zaphod last edited by

                  @zaphod

                  Könnte damit zusammenhängen, das dein js-controller halt steinalt ist. Der hat vermutlich die alten, ausgelaufenen Zertifikate dabei. Wenn man sein System regelmäßig aktuell hält sind auch die Zerts aktuell.
                  Keine Ahnung wie man da jetzt dran vorbei kommt.

                  Zaphod 1 Reply Last reply Reply Quote 0
                  • Zaphod
                    Zaphod @Thomas Braun last edited by

                    @thomas-braun

                    ich hab' immer brav geupdated - bis mir keine Updates mehr angezeigt wurden .. wegen der fehlenden Repos 😞
                    O.k. ist mir dann nicht aufgefallen - lief ja (uind läuft eigentlich auch immer noch ... halt ohne updates<)

                    ... habe auch immer brav backups gemacht - scheue mich aber alles neu aufzusetzen und die dann wohl alten Backups einzuspielen ...

                    ... Ideen?

                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Zaphod last edited by

                      @zaphod

                      Wie schauen denn die objects an der Stelle aus?

                      e2cd9e74-b169-4e8c-a73f-f2a7e65a1b53-image.png

                      Zaphod 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Zaphod last edited by

                        @zaphod
                        Und wenn man ganz frech so herangeht:

                        iob repo add stable http://download.iobroker.net/sources-dist.json
                        
                        Zaphod 1 Reply Last reply Reply Quote 0
                        • Zaphod
                          Zaphod @Thomas Braun last edited by

                          @thomas-braun

                          jetzt wird's wahrscheinlich peinlich für mich.
                          Irgendwie hab' ich kein objekt "system":

                          Objects.jpg

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Zaphod last edited by

                            @zaphod sagte in Repository-Verzeichnisse werden nicht gespeichert:

                            Irgendwie hab' ich kein objekt "system":

                            Nur im Expertenmodus sichtbar.

                            Zaphod 2 Replies Last reply Reply Quote 0
                            • Zaphod
                              Zaphod @Thomas Braun last edited by

                              @thomas-braun

                              pi@raspberrypi:/opt/iobroker $ iob repo add stable http://download.iobroker.net/sources-dist.json
                              Cannot add repository location: Cannot read properties of undefined (reading 'stable')
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Zaphod
                                Zaphod @Thomas Braun last edited by

                                @thomas-braun

                                🙂

                                {
                                  "_id": "system.certificates",
                                  "type": "config",
                                  "common": {
                                    "name": "System certificates",
                                    "icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCI+DQogICAgPHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTIgMUwzIDV2NmMwIDUuNTUgMy44NCAxMC43NCA5IDEyIDUuMTYtMS4yNiA5LTYuNDUgOS0xMlY1bC05LTR6bTAgMTAuOTloN2MtLjUzIDQuMTItMy4yOCA3Ljc5LTcgOC45NFYxMkg1VjYuM2w3LTMuMTF2OC44eiIvPg0KPC9zdmc+"
                                  },
                                  "native": {
                                    "certificates": {
                                      "defaultPrivate": "...",
                                      "defaultPublic": "..."
                                    },
                                    "letsEncrypt": {
                                      "path": "letsencrypt",
                                      "email": "",
                                      "domains": ""
                                    }
                                  },
                                  "acl": {
                                    "owner": "system.user.admin",
                                    "ownerGroup": "system.group.administrator",
                                    "object": 1536
                                  },
                                  "from": "system.adapter.admin.0",
                                  "user": "system.user.admin",
                                  "ts": 1707075689897
                                }
                                
                                1 Reply Last reply Reply Quote 0
                                • Zaphod
                                  Zaphod @Thomas Braun last edited by

                                  @thomas-braun

                                  Die Zertifikate unterscheiden sich im Objekt von denen, die mit "iob setup first" erzeugt wurden.

                                  1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Zaphod last edited by

                                    @zaphod

                                    Die Stelle mit den Zertifkaten sieht bei mir etwas anders aus.

                                    Aber ich kann dir wohl nicht weiterhelfen, keine Idee mehr.

                                    Zaphod 1 Reply Last reply Reply Quote 0
                                    • Zaphod
                                      Zaphod @Thomas Braun last edited by

                                      @thomas-braun

                                      o.k. - vielen Dank für Deine Hilfe - das war sehr nett!

                                      Vielleicht hat @homoran noch eine Idee.

                                      Ich werd' die Zertifikate im Objekt sichern und dann durch die neu generierten austauschen ... hab' aber wenig Hoffnung.

                                      Schönen (Rest-)Abend!

                                      LG Peter

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

                                        @zaphod sagte in Repository-Verzeichnisse werden nicht gespeichert:

                                        Vielleicht hat @homoran noch eine Idee.

                                        nöö!
                                        das ist weit außerhalb meiner Skills

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

                                          @zaphod

                                          @thomas-braun sagte in Repository-Verzeichnisse werden nicht gespeichert:
                                          @zaphod

                                          Wie schauen denn die objects an der Stelle aus?

                                          e2cd9e74-b169-4e8c-a73f-f2a7e65a1b53-image.png

                                          Hast du die Datenpunkte :

                                          config und repositories vorhanden !?

                                          gehe jeweils auf dem Bleistift und poste hier den Inhalt ( Objektdaten ) davon

                                          Zaphod 1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser last edited by Glasfaser

                                            @zaphod sagte in Repository-Verzeichnisse werden nicht gespeichert:

                                            Objects type: jsonl

                                            Zeige mal

                                            ls -lh /opt/iobroker/iobroker-data/backup-objects/
                                            

                                            und seit wann hast du dieses Problem !?

                                            Man könnte aus einem alten Objekt Backup die Daten dazu wiederholen .

                                            Zaphod Glasfaser 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            402
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            64
                                            2965
                                            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