Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Platte aufräumen, Speicherplatzwird voll

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Platte aufräumen, Speicherplatzwird voll

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @liv-in-sky last edited by crunchip

      @liv-in-sky jetzt lösch ich mit aller Sicherheit erstmal gar nix😜 muss dann gleich zur Arbeit
      installiert war es schon, hat nur aktualisiert

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @crunchip last edited by

        @crunchip ncdu - übersicht über meine root platte

        sudo ncdu /
        

        Image 1.png

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

          Ich hatte auch die Schn.., ähm Platte voll.
          konnte dann aber noch den zugewiesenen Plattenplatz für die VM erweitern.

          Das geht im ersten Schritt über die PVE.
          anschließend muss aber der VM noch über gparted gesagt werden, das sie jetzt mehr Platz benutzen darf

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

            @homoran weiß ich doch, habe ich auch schon 2mal gemacht, beim ersten mal damals war es nicht so einfach, da der swap mittendrin saß und scheinbar was schief gelaufen ist, beim 2ten mal hab ich dann um weiter 5GB erweitert, jedoch fehlen mir nach wie vor die 4GB.
            seitdem hab ich eigentlich ne 20GB, genutzt werden können aber nur 16GB
            hab auch keinen Vergleich, wie groß eine Iobroker VM in der Regel sein sollte, bzw ob 16Gb unnormal ist
            wie oben geschrieben, npm mit 6.9 GB kommt mir sehr groß vor

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

              @crunchip

              Den npm cache kann man eigentlich gefahrlos löschen.
              Soll sich npm halt bei Bedarf im Netz bedienen.

              npm cache clear --force
              

              könnte da gut was freischaufeln.

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

                @thomas-braun @crunchip

                npm cache clean --force
                

                wäre der richtige Befehl. Sicherheitshalber auch noch als ioBroker ausführen, der wird seinen eigenen Cache haben:

                sudo -u iobroker npm cache clean --force
                
                Thomas Braun crunchip 2 Replies Last reply Reply Quote 2
                • Thomas Braun
                  Thomas Braun Most Active @AlCalzone last edited by

                  @alcalzone
                  Ist egal, es geht clear wie auch clean.

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

                    @thomas-braun sagte in Platte aufräumen, Speicherplatzwird voll:

                    @alcalzone
                    Ist egal, es geht clear wie auch clean.

                    Aber nicht offiziell:

                     npm cache --help
                    npm cache add <tarball file>
                    npm cache add <folder>
                    npm cache add <tarball url>
                    npm cache add <git url>
                    npm cache add <name>@<version>
                    npm cache clean
                    npm cache verify
                    

                    und bevor jetzt noch ne Frage kopmmt:

                    npm --help
                    
                    Usage: npm <command>
                    
                    where <command> is one of:
                        access, adduser, audit, bin, bugs, c, cache, ci, cit,
                        clean-install, clean-install-test, completion, config,
                        create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                        edit, explore, fund, get, help, help-search, hook, i, init,
                        install, install-ci-test, install-test, it, link, list, ln,
                        login, logout, ls, org, outdated, owner, pack, ping, prefix,
                        profile, prune, publish, rb, rebuild, repo, restart, root,
                        run, run-script, s, se, search, set, shrinkwrap, star,
                        stars, start, stop, t, team, test, token, tst, un,
                        uninstall, unpublish, unstar, up, update, v, version, view,
                        whoami
                    
                    1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active last edited by

                      ok dann werd ich mich heut abend mal an npm machen

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

                        @alcalzone sagte in Platte aufräumen, Speicherplatzwird voll:

                        npm cache clean --force

                        Festplattenplatz stieg von rund 740Mb auf 960Mb

                        @alcalzone sagte in Platte aufräumen, Speicherplatzwird voll:

                        sudo -u iobroker npm cache clean --force

                        hab ich ausgeführt + anschließendes Update auf 6.14.11
                        Ergebnis: habe nun 8GB wieder frei???

                        UncleSam 1 Reply Last reply Reply Quote 0
                        • UncleSam
                          UncleSam Developer @crunchip last edited by

                          @crunchip sagte in Platte aufräumen, Speicherplatzwird voll:

                          Ergebnis: habe nun 8GB wieder frei???

                          Hast du ja selber geschrieben:

                          home/iobroker/.npm 6.9GB

                          Das ist das Cache Verzeichnis von NPM für den Benutzer iobroker.

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kueppert last edited by

                            Sehr cool...gerade 11GB NPM-cache geleert vom ioBroker (Installation über 3 Jahre alt inkl. Update Debian 10 => Debian 11)

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

                            Support us

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

                            725
                            Online

                            32.1k
                            Users

                            80.7k
                            Topics

                            1.3m
                            Posts

                            festplattengöße speichergrösse
                            7
                            19
                            4236
                            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