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.
    • 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
                                    • Zaphod
                                      Zaphod @Glasfaser last edited by

                                      @glasfaser

                                      pi@raspberrypi:/opt/iobroker $ ls -lh /opt/iobroker/iobroker-data/backup-objects/
                                      total 26M
                                      -rw-rwxr--+ 1 iobroker iobroker 5.8K Feb  6  2022 2022-02-06_12-51_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker   22 Feb  6  2022 2022-02-06_12-51_states.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker  28K Feb  6  2022 2022-02-06_12-53_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 9.5K Feb  6  2022 2022-02-06_12-53_states.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker  28K Feb  6  2022 2022-02-06_12-54_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 9.5K Feb  6  2022 2022-02-06_12-55_states.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 731K Feb  6  2022 2022-02-06_13-06_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 1.7M Feb  6  2022 2022-02-06_13-07_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 302K Feb  6  2022 2022-02-06_13-07_states.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 1.8M Feb  6  2022 2022-02-06_13-41_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 1.8M Feb  6  2022 2022-02-06_13-50_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 1.8M Feb  6  2022 2022-02-06_13-57_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 1.8M Feb  6  2022 2022-02-06_13-58_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 1.8M Feb  6  2022 2022-02-06_14-00_objects.json.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  2 17:43 2024-02-02_17-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  2 19:43 2024-02-02_19-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  2 21:43 2024-02-02_21-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  2 23:43 2024-02-02_23-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 01:43 2024-02-03_01-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 03:43 2024-02-03_03-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 05:43 2024-02-03_05-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 07:43 2024-02-03_07-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 09:43 2024-02-03_09-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 11:43 2024-02-03_11-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 13:43 2024-02-03_13-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 15:43 2024-02-03_15-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 17:43 2024-02-03_17-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 19:43 2024-02-03_19-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 21:43 2024-02-03_21-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  3 23:43 2024-02-03_23-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 01:43 2024-02-04_01-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 03:43 2024-02-04_03-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 05:43 2024-02-04_05-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 07:43 2024-02-04_07-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 09:43 2024-02-04_09-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 11:43 2024-02-04_11-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 13:43 2024-02-04_13-43_objects.jsonl.gz
                                      -rw-rwxr--+ 1 iobroker iobroker 607K Feb  4 15:43 2024-02-04_15-43_objects.jsonl.gz
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @Glasfaser last edited by

                                        @Zaphod

                                        Kannst du bitte nach und nach die Fragen beantworten und nicht quer etwas posten.
                                        Danke 🙂

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

                                          @glasfaser

                                          config:

                                          {
                                            "common": {
                                              "name": "System configuration",
                                              "city": "Wettenberg",
                                              "country": "Germany",
                                              "longitude": "...",
                                              "latitude": "...",
                                              "language": "de",
                                              "tempUnit": "°C",
                                              "currency": "€",
                                              "dateFormat": "DD.MM.YYYY",
                                              "isFloatComma": false,
                                              "licenseConfirmed": true,
                                              "defaultHistory": "history.0",
                                              "activeRepo": [
                                                "stable"
                                              ],
                                              "diag": "no-city",
                                              "tabs": [
                                                "tab-adapters",
                                                "tab-instances",
                                                "tab-logs",
                                                "tab-scenes",
                                                "tab-javascript",
                                                "tab-text2command-0",
                                                "tab-enums",
                                                "tab-intro",
                                                "tab-wetty-0",
                                                "tab-fullcalendar-0",
                                                "tab-hosts",
                                                "tab-objects",
                                                "tab-terminal-0",
                                                "tab-devices"
                                              ],
                                              "defaultNewAcl": {
                                                "object": 1636,
                                                "state": 1636,
                                                "file": 1636,
                                                "owner": "system.user.admin",
                                                "ownerGroup": "system.group.administrator"
                                              },
                                              "intro": {},
                                              "wizard": true,
                                              "infoAdapterInstall": true,
                                              "tabsVisible": [
                                                {
                                                  "name": "tab-intro",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-adapters",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-instances",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-objects",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-enums",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-logs",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-users",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-hosts",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-files",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-backitup-0",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-info",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-devices",
                                                  "visible": false
                                                },
                                                {
                                                  "name": "tab-javascript",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-alias-manager",
                                                  "visible": true
                                                },
                                                {
                                                  "name": "tab-terminal-0",
                                                  "visible": true
                                                }
                                              ],
                                              "firstDayOfWeek": "monday",
                                              "expertMode": false
                                            },
                                            "acl": {
                                              "object": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            },
                                            "_id": "system.config",
                                            "native": {
                                              "secret": "bc84dd0d172e1a0c583c4d3d96648f039bc649ffc8e39a58"
                                            },
                                            "type": "config",
                                            "from": "system.adapter.admin.0",
                                            "user": "system.user.admin",
                                            "ts": 1707069666415
                                          }
                                          

                                          repositories:

                                          {
                                            "common": {},
                                            "native": {},
                                            "type": "meta",
                                            "_id": "system.repositories",
                                            "acl": {
                                              "object": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            }
                                          }
                                          

                                          repositories ist ein leerer Ordner

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

                                            @

                                            @glasfaser sagte in Repository-Verzeichnisse werden nicht gespeichert:
                                            und seit wann hast du dieses Problem !?

                                            ??

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            549
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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