Topic: Nginx won't start following upgrade to 0.9.9
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
0.9.9
- Deployed with iRedMail Easy or the downloadable installer?
Installer
- Linux/BSD distribution name and version:
Ubumtu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
LDAP
- Web server (Apache or Nginx):
Ngnix
- Manage mail accounts with iRedAdmin-Pro?
Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Nginx wont restart following upgrade I get the following error:
2019/02/25 20:52:34 [error] 1316#1316: *2039 open() "/var/www/html/favicon.ico" failed (2: No such file or directory), client: 81.139.102.58, server: _, request: "GET /favicon.ico HTTP/1.1", host: "post.brookecon.com", referrer: "https://post.brookecon.com/netdata/"
2019/02/25 21:02:51 [emerg] 1190#1190: duplicate location "/favicon.ico" in /etc/nginx/templates/misc.tmpl:14
If I comment out the favicon line and the following robots.txt line I can get it to start up but the website is then served without any fomatting or other static content and the following errors :
2019/02/25 21:19:12 [error] 2759#2759: *25 open() "/var/www/iredadmin/static/js/jquery.idtabs.js" failed (2: No such file or directory), client: 81.139.102.58, server: _, request: "GET /iredadmin/static/js/jquery.idtabs.js HTTP/1.1", host: "post.brookecon.com", referrer: "https://post.brookecon.com/iredadmin/dashboard/checknew"
2019/02/25 21:19:12 [error] 2759#2759: *29 open() "/var/www/iredadmin/static/js/jquery.fancybox.js" failed (2: No such file or directory), client: 81.139.102.58, server: _, request: "GET /iredadmin/static/js/jquery.fancybox.js HTTP/1.1", host: "post.brookecon.com", referrer: "https://post.brookecon.com/iredadmin/dashboard/checknew"
2019/02/25 21:19:12 [error] 2759#2759: *33 open() "/var/www/iredadmin/static/default/css/screen.css" failed (2: No such file or directory), client: 81.139.102.58, server: _, request: "GET /iredadmin/static/default/css/screen.css HTTP/1.1", host: "post.brookecon.com", referrer: "https://post.brookecon.com/iredadmin/dashboard/checknew"
2019/02/25 21:19:12 [error] 2759#2759: *32 open() "/var/www/iredadmin/static/fontawesome/css/fontawesome-all.min.css" failed (2: No such file or directory), client: 81.139.102.58, server: _, request: "GET /iredadmin/static/fontawesome/css/fontawesome-all.min.css HTTP/1.1", host: "post.brookecon.com", referrer: "https://post.brookecon.com/iredadmin/dashboard/checknew"
2019/02/25 21:19:12 [error] 2759#2759: *34 open() "/var/www/iredadmin/static/js/jquery-1.12.4.min.js" failed (2: No such file or directory), client: 81.139.102.58, server: _, request: "GET /iredadmin/static/js/jquery-1.12.4.min.js HTTP/1.1", host: "post.brookecon.com", referrer: "https://post.brookecon.com/iredadmin/dashboard/checknew"
2019/02/25 21:19:12 [error] 2759#2759: *35 open() "/var/www/iredadmin/static/js/jquery.tooltip.js" failed (2: No such file or directory), client: 81.139.102.58, server: _, request: "GET /iredadmin/static/js/jquery.tooltip.js HTTP/1.1", host: "post.brookecon.com", referrer: "https://post.brookecon.com/iredadmin/dashboard/checknew"
Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.