Closed kskenyon closed 1 month ago
Hi, thank you for your message. This is the first time I hear this issue. So is probably related to your installation. Can you tell me more about that? How do you run Matterbridge? Os? Bridge mode or Childbridge mode? Docker or service or standalone? And when this happens?
Raspbian 64 up to date on Pi4
Bridge mode
Docker using docker-compose
It happens often, not sure why. Possibly related to running docker-compose up without -d.
matterbridge.json shows up as a 0 length file. Backup is OK and usable after a rename.
matterbridge won’t run with a 0 length .json file.
Kevin
On Jun 5, 2024, at 1:02 AM, Luligu @.***> wrote:
Hi, thank you for your message. This is the first time I hear this issue. So is probably related to your installation. Can you tell me more about that? How do you run Matterbridge? Os? Bridge mode or Childbridge mode? Docker or service or standalone? And when this happens?
— Reply to this email directly, view it on GitHub https://github.com/Luligu/matterbridge/issues/42#issuecomment-2148860422, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4WTTHTS6PRO4R72VLUEE3ZF2LXLAVCNFSM6AAAAABIZVNEVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYHA3DANBSGI. You are receiving this because you authored the thread.
So, it seems a standard configuration but I would not run docker compose without -d. Btw the file 0 length means that it crashed while matter was writing to it. Maybe memory or hardware problems on the raspberry. When it happens try to look at the log before to see if something happened before... this can help you to identify the problem.
Hi, any news? Can I close the issue ?
Seems OK if I don't use docker-compose up then kill it. Close it.
Then probably is a sort of docker weakness. Good to know that everything is working fine.
matterbridge.json is often saved as a zero length file necessitating replacing it with matterbridge.backup.json.
I don't know the reason this happens but can it be fixed so it does not happen? Might be related to installing updates?
Kevin