Code Monkey home page Code Monkey logo

Comments (3)

agners avatar agners commented on May 25, 2024

Updating Home Assistant Operating System to 12.2 has removed /dev/shm, I see no mentions of it in the release notes so it seems like a regression. If I am wrong and this was intended please enlighten me and close this :)

It shouldn't be removed, it might be read-only though due to a behavior change in Docker 25. This got fixed in Supervisor (see #4997). However, it seems that when the container has been created with the old Supervisor version, then Docker 25 gets updated (HAOS 12.2 installed), the fix we did to work around the behavior change doesn't get applied.

Long story short: Use ha core rebuild to recreate the Core container. This should bring back shm access.

from operating-system.

glyph-se avatar glyph-se commented on May 25, 2024

Hmm, when I check /dev/shm using the "Advanced SSH & Web Terminal" addon (without safe mode) it looks writeable. I tested and created an empty file in there just fine. I have limited knowledge about both Home Assistant and docker, maybe something related to startup order? ( or it could be me missing something )

I did try your workaround, ha core rebuild, and it works. Recorder now starts properly. Thanks! Is this something that would be needed after each upgrade or just once because of the upgrade to Docker 25?

from operating-system.

agners avatar agners commented on May 25, 2024

Hmm, when I check /dev/shm using the "Advanced SSH & Web Terminal"

That is another container, so not the same world as Core sees.

I did try your workaround, ha core rebuild, and it works. Recorder now starts properly. Thanks! Is this something that would be needed after each upgrade or just once because of the upgrade to Docker 25?

Just because of Docker 25.

Thanks for confirming. Closing then.

from operating-system.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.