Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Feiertage plotzlich weg

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [gelöst] Feiertage plotzlich weg

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

      vorgestern fiel mir auf, dass angeblich in 7 Tagen Maria Himmelfahrt sein sollte.

      Uuups, starte mal die Instanz neu -> keine Änderung kein Fehler.

      Habe dann ein Upload machen wollen und staunte nicht schlecht, als "Feiertage" unter Adapter als nicht installiert angezeigt wurde, unter Instanzen aber vorhanden ist.
      144_feiertage_20180902.png

      Eine erneute Instanziierung warf sofort einen Fehler.

      JS-controller: 1.4.2

      ADMIN: 3.5.7

      Feiertage: 1.0.8 (?)

      Gruß

      Rainer

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

        Was denn für nen Fehler?

        Es gab bei Feiertage mal nen Fehler in der io-Package …

        Gesendet vom Handy ...

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

          $ ./iobroker add feiertage  --host linaro-alip
          ERROR: module.js:597    throw err;
              ^
          
          SyntaxError: /opt/iobroker/node_modules/iobroker.feiertage/io-package.json: Unexpected token d in JSON at position 1868
              at Object.parse (native)
              at Object.Module._extensions..json (module.js:594:27)
              at Module.load (module.js:494:32)
              at tryModuleLoad (module.js:453:12)
              at Function.Module._load (module.js:445:3)
              at Module.require (module.js:504:17)
              at require (internal/module.js:20:19)
              at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:219:23)
              at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:712:24
              at Socket.objects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:391:57)
          
          ERROR: process exited with code 1
          
          1 Reply Last reply Reply Quote 0
          • BuZZy
            BuZZy last edited by

            Feiertage komplett löschen, dann neu installieren.

            @apollon77:

            Es gab bei Feiertage mal nen Fehler in der io-Package … `

            @Homoran:

            SyntaxError: /opt/iobroker/node_modules/iobroker.feiertage/io-package.json: Unexpected token d in JSON at position 1868
            ```` `  
            

            Gruß

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

              @BuZZy:

              Feiertage komplett löschen, dann neu installieren. `
              Nee? Nich?

              Das hätte ich auch allein gekonnt 😞

              EDIT:

              root@linaro-alip:/opt/iobroker# iobroker del feiertage
              Delete adapter "feiertage"
              host.linaro-alip no instances of adapter feiertage found
              host.linaro-alip Counted 1 adapters for feiertage
              host.linaro-alip Counted 1 states of feiertage
              host.linaro-alip Counted 1 states (system.adapter.feiertage.*) from states
              host.linaro-alip Deleting 2 object(s).
              host.linaro-alip Deleting 1 state(s).
              Error deleting adapter feiertage from disk: SyntaxError: /opt/iobroker/node_modules/iobroker.feiertage/io-package.json: Unexpected token d in JSON at position 1868
              You might have to delete it yourself!
              
              

              Gruß

              Rainer

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

                nach ein wenig Problemen (s.o.) läuft es.

                mit

                cd /opt/iobroker
                sudo npm cache clean -f
                

                und anschließendem

                sudo npm install iobroker.feiertage
                

                im Installationsordner hat es dann geklappt.

                Gruß

                Rainer

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

                  @Homoran:

                  You might have to delete it yourself!
                  ```` `  
                  

                  Manuell mit npm auf der Kommandozeile deinstallieren.. 😉

                  Gruß

                  Edit:

                  Du warst schneller. 😄

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  936
                  Online

                  31.6k
                  Users

                  79.5k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  407
                  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