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

      Beim update/upgrade LXC-InfluxDB und LXC-Grafana bekomme ich ganz am Schluss eine Fehlermeldung ?
      Was bedeutet dies ?

      Danke


      login as: karl
      karl@192.168.1.177's password:
      Linux LXC-INFLUXDB-192 5.4.114-1-pve #1 SMP PVE 5.4.114-1 (Sun, 09 May 2021 17:1 3: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: Sat May 22 11:55:44 2021
      karl@LXC-INFLUXDB-192:~$ sudo apt update && apt upgrade
      [sudo] password for karl:
      Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
      Get:2 http://ftp.debian.org/debian buster InRelease [122 kB]
      Get:3 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
      Get:4 https://repos.influxdata.com/debian buster InRelease [4737 B]
      Get:5 http://security.debian.org buster/updates/main amd64 Packages [293 kB]
      Get:6 http://security.debian.org buster/updates/main Translation-en [152 kB]
      Get:7 http://ftp.debian.org/debian buster/main amd64 Packages [7907 kB]
      Get:8 https://repos.influxdata.com/debian buster/stable amd64 Packages [1072 B]
      Get:9 http://ftp.debian.org/debian buster-updates/main amd64 Packages.diff/Index [7624 B]
      Get:10 http://ftp.debian.org/debian buster-updates/main Translation-en.diff/Inde x [5164 B]
      Get:11 http://ftp.debian.org/debian buster-updates/main amd64 Packages 2021-06-2 1-1401.46.pdiff [656 B]
      Get:12 http://ftp.debian.org/debian buster-updates/main amd64 Packages 2021-06-2 3-1401.37.pdiff [4999 B]
      Get:12 http://ftp.debian.org/debian buster-updates/main amd64 Packages 2021-06-2 3-1401.37.pdiff [4999 B]
      Get:13 http://ftp.debian.org/debian buster-updates/main Translation-en 2021-06-2 1-1401.46.pdiff [719 B]
      Get:14 http://ftp.debian.org/debian buster-updates/main Translation-en 2021-06-2 3-1401.37.pdiff [6585 B]
      Get:14 http://ftp.debian.org/debian buster-updates/main Translation-en 2021-06-2 3-1401.37.pdiff [6585 B]
      Get:15 http://ftp.debian.org/debian buster/main Translation-en [5968 kB]
      Get:16 http://ftp.debian.org/debian buster/contrib amd64 Packages [50.1 kB]
      Fetched 14.6 MB in 5s (2783 kB/s)
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      13 packages can be upgraded. Run 'apt list --upgradable' to see them.
      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?

      karl@LXC-INFLUXDB-192:~$


      login as: karl
      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:05 2021 from 192.168.1.3
      karl@LXC-GRAFANA-192:~$ sudo apt update && apt upgrade
      [sudo] password for karl:
      Hit:1 http://security.debian.org buster/updates InRelease
      Hit:2 http://ftp.debian.org/debian buster InRelease
      Get:3 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
      Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease
      Hit:5 https://packages.grafana.com/oss/deb stable InRelease
      Fetched 51.9 kB in 0s (107 kB/s)
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      1 package can be upgraded. Run 'apt list --upgradable' to see it.
      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?

      karl@LXC-GRAFANA-192:~$

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

        @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

        G 1 Reply Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            594
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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