-
-
Notifications
You must be signed in to change notification settings - Fork 699
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I restore from a backup, after logging back in and going to the "Sites List" page, there is an error:
nginx: [crit] pread() "/etc/nginx/modules-enabled/50-mod-http-image-filter.conf" failed (21: Is a directory)
nginx: configuration file /etc/nginx/nginx.conf test failed
exit status 1
To Reproduce
Steps to reproduce the behavior:
- Go to nginx-ui webui
- Click on Backup -> Backup -> Create Backup. Then I download the backup file and copied the security token.
- Create new nginx-ui instance then choose "Restore from Backup" -> upload the backup file and paste security token.
- Login to new nginx-ui instance
- Go to Manage Sites/Sites List -> Error
Expected behavior
No error. All file in folder /etc/nginx/modules-enabled/
should be file, not directory.

Screenshots
If applicable, add screenshots to help explain your problem.
Info (please complete the following information):
- Server OS: Ubuntu 22.04
- Server Arch: x86
- Nginx UI Version: 2.1.17
- Your Browser: Chrome
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Status
Done