[Config Support]: Recordings & motion data unavailable in Frigate afer updating docker-compose.yml #13606
-
Describe the problem you are havingWhen I update docker.compose.yml, recordings and other data produced by Frigate are no longer available in Frigate (as well as users). I've just installed Frigate (on a Pi 5 ) and am playing with it - apart from this I am very impressed, but this (losing a lot of data if updating docker.compose.yml) is not workable in the long run. Is there a way I can change things like port mapping, networking, device access, without losing previews and recordings? Or, is there a way to reprocess old recordings and produce again the lost data? Thanks in advance. I'll attach the docker-compose config instead of the Frigate config because it seems more relevant. Version0.14.1-f4f3cfa Frigate config fileservices:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "64mb"
devices:
- /dev/bus/usb:/dev/bus/usb #Used for Coral if Available
- /dev/video10 #Map the Pi hardware acceleration
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/igor/frigate-nvr/config.yml:/config/config.yml
- /home/igor/frigate-nvr/storage:/media/frigate
- type: tmpfs #Remove this if using a Pi with 2GB or Less RAM
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
# - "5000:5000"
- "1984:1984" #Go2RTC
- "5353:5353" #mDNS
- "51827:51827" #HomeKit
- "8971:8971"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: "PASSWORD"Relevant Frigate log outputNo relevant Frigate log outputRelevant go2rtc log outputNo relevant go2rtc log outputFrigate statsNo response Operating systemDebian Install methodDocker Compose Object DetectorCPU (no coral) Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Your database is stored in /config by default, so you need to map the entire See the docs: https://docs.frigate.video/frigate/installation#docker |
Beta Was this translation helpful? Give feedback.
Your database is stored in /config by default, so you need to map the entire
/configdirectory, not just config.yml.See the docs: https://docs.frigate.video/frigate/installation#docker