linuxserver / docker-unifi-network-application

GNU General Public License v3.0
551 stars 40 forks source link

[BUG] Automatic backup is failing due to missing autobackup directory #91

Closed hubertbanas closed 1 day ago

hubertbanas commented 2 weeks ago

Is there an existing issue for this?

Current Behavior

Unifi Network is expecting autobackup directory located at /usr/lib/unifi/data/backup/autobackup

New install is missing this directory.

Here is the server.log

java.io.FileNotFoundException: /usr/lib/unifi/data/backup/autobackup/autobackup_8.2.93_20240607_0330_1717731000003.unf (No such file or directory)
[2024-06-06 23:30:01,541] <schedule-backup> ERROR schedule - Failed to execute[backup]: File system element for parameter 'path' does not exist: '/usr/lib/unifi/data/backup/autobackup/autobackup_8.2.93_20240607_0330_1717731000003.unf'
java.lang.IllegalArgumentException: File system element for parameter 'path' does not exist: '/usr/lib/unifi/data/backup/autobackup/autobackup_8.2.93_20240607_0330_1717731000003.unf'

Workaround Creating missing directory fixes the issue and autobackup starts to work as expected.

Expected Behavior

No response

Steps To Reproduce

  1. Perform new install
  2. Configure autobackup

Environment

No response

CPU architecture

x86-64

Docker creation

Installed using docker-compose.yml

Container logs

See "Current Behavior" section.
github-actions[bot] commented 2 weeks ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 2 weeks ago

Please provide your actual compose used and also the container start up logs.

drizuid commented 1 day ago

OP did not provide the required template info, closing.