Nico640 / docker-unms

All-in-one docker image for Ubiquiti UISP (formerly UNMS). Supports x86_64 and ARM (Raspberry Pi).
https://hub.docker.com/r/nico640/docker-unms
203 stars 26 forks source link

System Backup over the UNMS Webinterface Failed #2

Closed pr3mi3r3 closed 4 years ago

pr3mi3r3 commented 5 years ago

Hello, I can not do any Backups over the UNMS Webinterface. I get an error every time. Can you help me?

Best regards pr3mi3r3

Nico640 commented 5 years ago

This seems to be caused by UNMS trying to backup UCRM. However, UCRM isn't installed in the image yet.

Logs: {"name":"UNMS","hostname":"c6e0f2be15f0","pid":1461,"level":50,"err":{"message":"UCRM backup timed out.","name":"Error","stack":"Error: UCRM backup timed out.\n at Timeout.setTimeout (/home/app/unms/lib/crm/service.js:140:14)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at unrefdHandle (timers.js:520:7)\n at Timer.processTimers (timers.js:222:12)"},"msg":"Failed to create backup","time":"2019-08-09T18:12:29.322Z","v":0}

I don't think this can be fixed without installing UCRM, which I am still working on.

pr3mi3r3 commented 5 years ago

ok thanks for the feedback, I will do a manual backup via Bash. Hopefully you will implement UCRM soon... Good luck

patricegautier commented 5 years ago

Ran into the same thing.. Can you point me to what needs to be backed up? Thanks..

Nico640 commented 5 years ago

I would probably just backup the whole /config folder

patricegautier commented 5 years ago

Mm.. unclear’s it’s safe because DB files in there keep changing. It’s a busy little container!

Nico640 commented 4 years ago

UCRM is now integrated and this issue is fixed in the latest build.

patricegautier commented 4 years ago

Confirm that - thanks Nico!