[GH-ISSUE #1781] Modoboa not accessible via web #1402

Closed
opened 2026-02-27 11:16:55 +03:00 by kerem · 3 comments
Owner

Originally created by @cekpek on GitHub (Oct 5, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1781

Impacted versions

  • Modoboa: 1.7.2
  • installer used: Yes
  • Webserver: Nginx

I am not sure how to reproduce this issue, however after using modoboa for a year, suddenly the it can not be accessed via web (i'm still able to access the email from email client like emClient). Found out that nginx is not running, something wrong with its configuration,

root@e-mail:/# nginx -t
nginx: [crit] pread() "/etc/nginx/sites-enabled/env" failed (21: Is a directory)
nginx: configuration file /etc/nginx/nginx.conf test failed

Not so sure what it is, but is it something related to the virtual env?

Originally created by @cekpek on GitHub (Oct 5, 2019). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1781 # Impacted versions * Modoboa: 1.7.2 * installer used: Yes * Webserver: Nginx I am not sure how to reproduce this issue, however after using modoboa for a year, suddenly the it can not be accessed via web (i'm still able to access the email from email client like emClient). Found out that nginx is not running, something wrong with its configuration, > root@e-mail:/# nginx -t nginx: [crit] pread() "/etc/nginx/sites-enabled/env" failed (21: Is a directory) nginx: configuration file /etc/nginx/nginx.conf test failed Not so sure what it is, but is it something related to the virtual env?
kerem closed this issue 2026-02-27 11:16:56 +03:00
Author
Owner

@tonioo commented on GitHub (Oct 11, 2019):

@cekpek Looks like there is a mistake somewhere in your configuration. Did you modify anything manually?

<!-- gh-comment-id:541077965 --> @tonioo commented on GitHub (Oct 11, 2019): @cekpek Looks like there is a mistake somewhere in your configuration. Did you modify anything manually?
Author
Owner

@cekpek commented on GitHub (Oct 11, 2019):

@tonioo i dis not alter the configuration, in fact i never touch the backend after the installation and first configuration, everything i do is through the frontend. Checked the server, and did not find any intruder.

<!-- gh-comment-id:541079925 --> @cekpek commented on GitHub (Oct 11, 2019): @tonioo i dis not alter the configuration, in fact i never touch the backend after the installation and first configuration, everything i do is through the frontend. Checked the server, and did not find any intruder.
Author
Owner

@tonioo commented on GitHub (Oct 13, 2019):

this path is wrong: /etc/nginx/sites-enabled/env. If you used the installer with default configuration, it should not be there. Can you grep this pattern against nginx configuration files to see where it happens?

<!-- gh-comment-id:541412824 --> @tonioo commented on GitHub (Oct 13, 2019): this path is wrong: ``/etc/nginx/sites-enabled/env``. If you used the installer with default configuration, it should not be there. Can you grep this pattern against nginx configuration files to see where it happens?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1402
No description provided.