Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK

    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

    Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GOETSCHHOFER @crunchip last edited by

      @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

      @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

      N: Repository 'http://ftp.debian.org/debian buster InRelease' changed its 'Versi on' value from '10.9' to '10.10'
      E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission d enied)
      E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are y ou root?

      steht doch da, dein Benutzer darf das nicht

      Bedeutet dies nun, dass die updates/upgrades bei meinen LXC-Influxdb und Grafana nicht durchgeführt wurden ?

      Meister Mopper 1 Reply Last reply Reply Quote 0
      • Meister Mopper
        Meister Mopper @GOETSCHHOFER last edited by

        @goetschhofer
        versuch es mal mit sudo apt-get update && sudo apt-get dist-upgrade -y
        Danach hatte ich diese Fehlermeldung nicht mehr.

        BBTown G 2 Replies Last reply Reply Quote 0
        • BBTown
          BBTown @Meister Mopper last edited by

          @meister-mopper
          soviel ich weiß wird das apt-get als veraltete Form nicht mehr verwendet sondern nur die neuere, kurze Version apt
          so wie die alte Form apt upgrade durch apt dist-upgrade ersetzt wurde.

          Meister Mopper crunchip 2 Replies Last reply Reply Quote 0
          • Meister Mopper
            Meister Mopper @BBTown last edited by

            @bbtown
            Trotzdem hat es bei mir (mit gleicher Fehlermeldung) funktioniert
            ¯ \(ツ)/¯

            1 Reply Last reply Reply Quote 0
            • G
              GOETSCHHOFER @Meister Mopper last edited by GOETSCHHOFER

              @meister-mopper said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

              sudo apt-get update && sudo apt-get dist-upgrade -y

              Ja, dies hat jetzt so ohne Fehlermeldung funktioniert ! 👍

              Danke


              karl@192.168.1.178's password:
              Linux LXC-GRAFANA-192 5.4.114-1-pve #1 SMP PVE 5.4.114-1 (Sun, 09 May 2021 17:13 :05 +0200) x86_64

              The programs included with the Debian GNU/Linux system are free software;
              the exact distribution terms for each program are described in the
              individual files in /usr/share/doc/*/copyright.

              Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
              permitted by applicable law.
              Last login: Fri Jul 9 17:41:38 2021 from 192.168.1.3
              karl@LXC-GRAFANA-192:~$ sudo apt-get update && sudo apt-get dist-upgrade -y
              [sudo] password for karl:
              Hit:1 http://ftp.debian.org/debian buster InRelease
              Hit:2 http://security.debian.org buster/updates InRelease
              Hit:3 http://ftp.debian.org/debian buster-updates InRelease
              Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease
              Hit:5 https://packages.grafana.com/oss/deb stable InRelease
              Reading package lists... Done
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Calculating upgrade... Done
              The following packages will be upgraded:
              grafana
              1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              Need to get 55.8 MB of archives.
              After this operation, 4353 kB of additional disk space will be used.
              Get:1 https://packages.grafana.com/oss/deb stable/main amd64 grafana amd64 8.0.5 [55.8 MB]
              Fetched 55.8 MB in 12s (4664 kB/s)
              apt-listchanges: Reading changelogs...
              (Reading database ... 26094 files and directories currently installed.)
              Preparing to unpack .../grafana_8.0.5_amd64.deb ...
              Unpacking grafana (8.0.5) over (7.5.7) ...
              Setting up grafana (8.0.5) ...
              Restarting grafana-server service... OK
              Processing triggers for systemd (241-7~deb10u7) ...
              karl@LXC-GRAFANA-192:~$

              Meister Mopper 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @BBTown last edited by

                @bbtown bin zwar kein Linux Experte, aber ja,
                in neuen Distros nur noch apt update,
                aber bei apt upgrade vs apt dist-upgrade, zieht letzteres auch den Kernel hoch, bin ich zumindest der Meinung

                1 Reply Last reply Reply Quote 1
                • Meister Mopper
                  Meister Mopper @GOETSCHHOFER last edited by

                  @goetschhofer
                  Vielleicht hat ja ein Wissender die Muße, dieses Phänomen zu erklären @Thomas-Braun

                  Thomas Braun 1 Reply Last reply Reply Quote 1
                  • Thomas Braun
                    Thomas Braun Most Active @Meister Mopper last edited by

                    karl@LXC-INFLUXDB-192:~$ sudo apt update && apt upgrade
                    

                    Da fehlt schlicht und einfach ein sudo vor apt upgrade

                    1 Reply Last reply Reply Quote 1
                    • crunchip
                      crunchip Forum Testing Most Active @GOETSCHHOFER last edited by

                      @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                      bekomme ich wieder diesen Hinweis,

                      geb das in der shell ein und danach deinen Browser neu starten, danach ist die Meldung wieder weg

                      sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
                      
                      K G 2 Replies Last reply Reply Quote 2
                      • K
                        Kueppert @crunchip last edited by

                        @crunchip sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                        sed -i.backup -z "s/res === null || res === undefined || !res || res\n\t\t\t.data.status.toLowerCase() !== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

                        hat funktioniert 🙂 Proxmox 6.4-12

                        1 Reply Last reply Reply Quote 0
                        • G
                          GOETSCHHOFER @crunchip last edited by

                          @crunchip

                          Vielen Dank für den Tipp !

                          Meister Mopper 1 Reply Last reply Reply Quote 0
                          • Meister Mopper
                            Meister Mopper @GOETSCHHOFER last edited by

                            @goetschhofer Du benötigst aber dann ein script, damit dies auch nach jedem upgrade wieder gesetzt wird.

                            crunchip 1 Reply Last reply Reply Quote 1
                            • crunchip
                              crunchip Forum Testing Most Active @Meister Mopper last edited by

                              @meister-mopper sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                              nach jedem upgrade

                              Doch nur wenn sich auch die PVE Version ändert

                              Meister Mopper 1 Reply Last reply Reply Quote 1
                              • Meister Mopper
                                Meister Mopper @crunchip last edited by

                                @crunchip Ja klar, aber mit 'nem Script ist man immer auf der sicheren Seite 😊

                                G crunchip 2 Replies Last reply Reply Quote 1
                                • G
                                  GOETSCHHOFER @Meister Mopper last edited by

                                  @meister-mopper said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                  @crunchip Ja klar, aber mit 'nem Script ist man immer auf der sicheren Seite 😊

                                  Ich hätte dies jetzt jedesmal händisch durchgeführt, aber wenn dies mit einem Skript und damit komfortabler möglich ist, dann wäre dies eine effiziente Sache.

                                  Hättest du solch ein Skript für mich ?

                                  Danke im Voraus.

                                  Meister Mopper crunchip 2 Replies Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Meister Mopper last edited by

                                    @meister-mopper sofern die Variante auch mit der zukünftigen Version funktioniert.

                                    So oft rufe ich die Seite nicht auf, von daher ist es mir egal, ob da ne Meldung kommt.

                                    Andernfalls zahlt man dafür, dann bekommt man auch im Zweifelsfall entsprechend Hilfe, direkt bei Proxmox

                                    1 Reply Last reply Reply Quote 0
                                    • Meister Mopper
                                      Meister Mopper @GOETSCHHOFER last edited by

                                      @goetschhofer

                                      Ein Verzeichnis erstellen, in dem Anpassungen gespeichert werden. Der Name ist egal.

                                      sudo mkdir /usr/share/custom

                                      Jetzt ein Script erstellen, dass die Anpassungen anwendet und anschließend ausführbar machen:

                                      sudo echo '#!/usr/bin/env bash' > /usr/share/custom/apply.sh

                                      sudo chmod a+x /usr/share/custom/apply.sh

                                      In das Script folgendes eintragen (hier können auch weitere Anpassungen, wie z. B. themes, reingeschrieben werden:

                                      sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

                                      Abschließend eine Datei erstellen, die apt sagt, dass es nach einem upgrade das Script startet:

                                      sudo echo 'DPkg::Post-Invoke { "/usr/share/custom/apply.sh"; };' > /etc/apt/apt.conf.d/90custom

                                      Jetzt wird /usr/share/custom/apply.sh ausgeführt, nachdem apt installiert oder upgradet.

                                      Sehr vorsichtig sein, was man in das script reinpackt, das kann fatale Folgen haben!!!

                                      G 1 Reply Last reply Reply Quote 1
                                      • crunchip
                                        crunchip Forum Testing Most Active @GOETSCHHOFER last edited by

                                        @goetschhofer wurde zwar beschrieben wie es mit einem script funktioniert, jedoch HIER noch ne andere Beschreibung und paar andere nützlichen Sachen auf der Seite zu finden.

                                        1 Reply Last reply Reply Quote 1
                                        • G
                                          GOETSCHHOFER @Meister Mopper last edited by

                                          @meister-mopper said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                          @goetschhofer

                                          Ein Verzeichnis erstellen, in dem Anpassungen gespeichert werden. Der Name ist egal.

                                          sudo mkdir /usr/share/custom

                                          Jetzt ein Script erstellen, dass die Anpassungen anwendet und anschließend ausführbar machen:

                                          sudo echo '#!/usr/bin/env bash' > /usr/share/custom/apply.sh

                                          sudo chmod a+x /usr/share/custom/apply.sh

                                          In das Script folgendes eintragen (hier können auch weitere Anpassungen, wie z. B. themes, reingeschrieben werden:

                                          sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

                                          Abschließend eine Datei erstellen, die apt sagt, dass es nach einem upgrade das Script startet:

                                          sudo echo 'DPkg::Post-Invoke { "/usr/share/custom/apply.sh"; };' > /etc/apt/apt.conf.d/90custom

                                          Jetzt wird /usr/share/custom/apply.sh ausgeführt, nachdem apt installiert oder upgradet.

                                          Sehr vorsichtig sein, was man in das script reinpackt, das kann fatale Folgen haben!!!

                                          Hallo meister-popper,
                                          vielen Dank für die sehr ausführliche Erläuterung
                                          Ich befürchte nur, dass ich hier fachlich etwas überfordert bin, dies traue ich mir nicht umzusetzen.
                                          Aber gut zu wissen, dass es hier auch eine automatisierte Lösung gibt.

                                          Bei meinen minimalen Linux-Kenntnissen ist die händische Rücksetzung der Fehlermeldung durch den Befehl fast risikolos.

                                          ed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
                                          
                                          da_Woody 1 Reply Last reply Reply Quote 0
                                          • da_Woody
                                            da_Woody @GOETSCHHOFER last edited by

                                            @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                            fachlich etwas überfordert bin

                                            das ist aber genau der grund, warum @Meister-Mopper das genau so detailiert beschrieben hat!
                                            wenn du das genau so durchführst, kann nichts passieren! backup vorher sicherheitshalber anlegen!
                                            du glaubst nur überfordert zu sein. versuche zu verstehen, was da abgeht. man lernt daraus... 😉
                                            das warning zum schluss ist ja nur für den fall, daß du da noch andere sachen mit reinpackst. da kanns dann zu einem schuss ins knie kommen. ja und? backup haste ja... 😄

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

                                            Support us

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

                                            450
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            1008
                                            195302
                                            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