1

Topic: apt-get update & dist-upgrade broke webserver

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Unknown
- Linux/BSD distribution name and version: Ubuntu 14.04
- Related log if you're reporting an issue:
====

I installed iRedMail and have had No issues - none. Then do a routine apt-get update, and everything has gone insane -
Getting 404 nginx on internal pages and all of my domains take me to roundcube.

Help!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: apt-get update & dist-upgrade broke webserver

You got any logs to help us narrow this down?

3

Re: apt-get update & dist-upgrade broke webserver

Opened a ticket with Zhang - working on it now.
Seems apache and nginx were fighting. Disabled nginx.
Now domains are pointing to roundcube - its as if it took over apache completely.

4

Re: apt-get update & dist-upgrade broke webserver

That was indeed the issue - after the update nginx started before apache and "stole" the port number --
(I had some other issues as well, so still needed support)

Quick Fix in case anyone needs it -

pkill nginx
sudo service apache2 start

Thanks to Zhang for helping me out on this! The support ticket is worth the cost.

5

Re: apt-get update & dist-upgrade broke webserver

You should consider migrating over to nginx as iredmail is dropping Apache support. You could always run Apache behind nginx to have the best of both worlds

6

Re: apt-get update & dist-upgrade broke webserver

I should also point out that you MUST clear your browsers cache - or test in "incognito" mode, otherwise the redirect stays in place.

7

Re: apt-get update & dist-upgrade broke webserver

Redirect? You said you were hitting a 404, not a redirect?

8

Re: apt-get update & dist-upgrade broke webserver

7t3chguy wrote:

You should consider migrating over to nginx as iredmail is dropping Apache support. You could always run Apache behind nginx to have the best of both worlds

Not 'is dropping Apache support', but plan to, not yet scheduled to be done in which future release.

9

Re: apt-get update & dist-upgrade broke webserver

dropping is an unspecified future tense, just means sometime in the future you will drop support Zhang

10

Re: apt-get update & dist-upgrade broke webserver

Dear 7t3chguy, thanks for correcting my poor English. smile