haiwen / seafile-docker

A Docker image for Seafile server
Other
536 stars 180 forks source link

Create nginx log directory #363

Closed darkdragon-001 closed 6 months ago

darkdragon-001 commented 6 months ago

When restoring from backup which strips logs directories, startup failes with

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)

This change should also handle this case gracefully.

darkdragon-001 commented 6 months ago

This does not seem necessary any more after #362.