Closed Althestrasz closed 2 years ago
In poking around with the exec
command, I was able to recover a recent auto backup from the container data (<container ID>:/var/lib/unifi/backup/autobackup/<file>
). This file works in a newly set-up container and has all the data that I needed.
I would consider my issue 'resolved', but maybe it's good review the issue before closing it to see if this is further food for thought on the other issues with MongoDB and 64-bit (#69 and #6).
Hi there,
I realize that this is quite an edge case, but maybe this is an issue others are also seeing.
Situation
Full disclosure, I rsync'd the /var/lib/docker folder of my recently-expired microSD (32-bit) to my new Raspbian (64-bit) installation. This has been working fine for all my other containers, provided that I ran
docker-compose pull
first to ensure the container matches the 'new' architecture.Issue
This has not been the case for Unifi; MongoDB seems to crash despite pulling the specific (latest) Arm64-v8 container. The webpage shows "Database Migration in progress..." The error in logs/server.log indicates that the database keeps halting (similar to #61 and #54), specific message found in the logs (there are literally hundreds of this pair in the log, but two conveys the message):
[2021-09-30T20:57:24,666] <db-server> INFO db - 2021-09-30T20:57:24.665+0000 I STORAGE [main] Engine custom option: cache_size=256M
[2021-09-30T20:57:24,692] <db-server> INFO db - DbServer stopped
Normally I would start with a clean slate, but since I do not have a back-up of this configuration I would like to see if I could recover it.
Attempted solutions
-DbServer stopped
error, no web connection possible.Any suggestions as to what might be a solution here?