-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] auto backup don't work #73
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
You need to log into the unifi server log to see why it's failing. |
thank you fir reply. and find [2024-01-25 00:00:12,032] ERROR schedule - Failed to execute[backup]: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='unifi', source='unifi_stat', password=, mechanismProperties=} but rest of controller works... thank you |
sorry, i think is related... if i run manual backup i can download file without problem. only autobackup doesn't work thank you |
That error seems to be relate to not being able to talk to your mongodb. |
ok where i find how container talk to mongodb? |
i found in system.properties
but this is ok , thank you |
Seems another related issue here: https://community.ui.com/questions/UniFi-network-application-not-able-to-do-backups/47e48e7f-c199-499e-b17a-ec6c8f8bae95 Seems like might not have setup the database correctly. |
ok but i can't understand how solve... another way is schedule on crontab a script to backup file. like thank you |
If you didn't follow our instructions for setting up the mongodb in our read me, it looks like you need to make sure the mongo user has access to the database mentioned in the thread I linked. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
May I ask if your problem has been resolved? I have encountered the same problem as you. If it has been resolved, please let me know. If not, could you please let me know how to manually backup? I have not found the button for manual backup. |
i fixed with
|
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is locked due to inactivity |
Is there an existing issue for this?
Current Behavior
i enable auto backup but no available backup.
i setup every day but after one week i don't see nothing...
Expected Behavior
execute autobackup every day.
Steps To Reproduce
i use this docker compose, works all fine.
i use my access point without problem, only autobackup don't work
`
version: "2.1"
services:
unifi-db:
image: mongo:4.4
container_name: unifi-db
volumes:
- ./mongodb:/data/db
- ./mongodb-init/mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
restart: unless-stopped
unifi-network-application:
#image: lscr.io/linuxserver/unifi-network-application:latest
image: linuxserver/unifi-network-application:latest
container_name: unifi-network-application
cpus: 1
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Rome
- MONGO_USER=unifi
- MONGO_PASS=mypassword
- MONGO_HOST=unifi-db
- MONGO_PORT=27017
- MONGO_DBNAME=unifi-db
#- MEM_LIMIT=1024M #optional
#- MEM_STARTUP=128M #optional
- MONGO_TLS= #optional
- MONGO_AUTHSOURCE= #optional
volumes:
- ./config:/config
ports:
- 192.168.123.1:8443:8443
- 3478:3478/udp
#- 10001:10001/udp
- 8080:8080
#- 1900:1900/udp #optional
#- 8843:8843 #optional
#- 8880:8880 #optional
#- 6789:6789 #optional
- 5514:5514/udp #optional
restart: unless-stopped
`
Environment
CPU architecture
arm64
Docker creation
read docker compose posted before
Container logs
The text was updated successfully, but these errors were encountered: