Giter Site home page Giter Site logo

Comments (6)

PeteLawrence avatar PeteLawrence commented on June 28, 2024

Hi André,

Sounds like the user that you're running homebridge under doesn't have permission to write to /home/pi/.homebridge/persist. Could you paste the output from the following commands:

whoami
and
ls -la /home/pi/.homebridge/persist

from homebridge-people.

AKoch1 avatar AKoch1 commented on June 28, 2024

Hi Pete,

thanks for your quick reply.

I got the following outputs:

whoami --> pi

pi@raspberrypi:~ $ ls -la /home/pi/.homebridge/persist
insgesamt 40
drwxr-xr-x 2 pi pi 4096 Mär 13 13:20 .
drwxr-xr-x 4 pi pi 4096 Mär 13 00:09 ..
-rw-r--r-- 1 pi pi 704 Mär 13 18:26 AccessoryInfo.CC223DE3CE30.json
-rw-r--r-- 1 pi pi 8239 Mär 13 18:26 IdentifierCache.CC223DE3CE30.json
-rw-r--r-- 1 pi pi 13 Mär 13 16:58 person_10.0.1.16
-rw-r--r-- 1 pi pi 13 Mär 13 19:16 person_10.0.1.2
-rw-r--r-- 1 pi pi 13 Mär 13 19:16 person_10.0.1.3
-rw-r--r-- 1 pi pi 13 Mär 13 19:16 person_10.0.1.9

Just to give you some additional information:

I am using the new Raspberry Pi 3 Model B with the newest stable version of Raspbian.

Furthermore, each time the described problem occurs, the Raspberry Pi becomes unresponsive so that I cannot use SSH, VNC or RDP any more to connect to it using my laptop.

from homebridge-people.

PeteLawrence avatar PeteLawrence commented on June 28, 2024

Strange, those permissions look fine. Things I'd try:

  1. Check that the SD card isn't full
  2. Check that homebridge is definitely running as the 'pi' user
  3. Try deleting the file in question
  4. Try restarting, in case something somewhere has left the file open.

from homebridge-people.

AKoch1 avatar AKoch1 commented on June 28, 2024
  1. Only 30% of the SD card are used.
  2. Yep, homebridge is running as the "pi" user.
  3. Deleting the files for all observed people did the trick, at least so far.
  4. Each time the RPi became unresponsive, I had to restart it by unplugging its USB power supply since no commands were accepted any more.

I will observe the issue and keep you updated.

If the problem occurs again, do you think a hardware defect may be the cause?

from homebridge-people.

AKoch1 avatar AKoch1 commented on June 28, 2024

Unfortunately, deleting the files did not solve the issue after all.

This time it only to longer for the problem to arise.

from homebridge-people.

PeteLawrence avatar PeteLawrence commented on June 28, 2024

I use the latest version of Raspbian on my Pi1 and can't replicate this problem. I'm wondering if the plugin crashing is a symptom rather than the actual problem. If you uninstall the plugin does the Pi work fine for an extended amount of time? What make/class of SD card are you using? It could be a fault with the card, or the card not being able to handle continual writes, which causes Raspbian to put the card into read only mode, and the plugin crashing is the first thing that errors.

from homebridge-people.

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.