Need help fixing my mail stack

So apparently i messed up.

Trying to start fresh:
root@server:~# ee stack remove --mail
root@server:~# ee stack purge --mail

And again:
root@server:~# ee stack install --mail
Mail server is already installed
Nginx already installed
PHP already installed
MySQL connection is already alive
Postfix is already installed
root@server:~# ls /etc/nginx/sites-enabled/
22222 default mydomain.tld
root@server:~# ls /var/www/22222/htdocs/
cache db fpm php

So where is vimbadmin??? The tutorial says it is the next step, see: https://easyengine.io/docs/commands/stack/

Currently: https://mydomain.tld:22222/vimbadmin => 404 Not Found

So how do I start from scratch? the web part is working perfect, I just need to finish the mail part and then I’m all sorted.

I had the same issue. The only way to solve it was reinstalling Ubuntu from zero.

I hope I did the wrong thing, but in your case I’d start thinking of moving to another temporary server in order to format the current one.

Thanks, I’m sure that will work but I’ll wait another day or two and see if a developer is going to reply and tell us what the mail stack is installing and how one can manually wipe/reset it so ee will actually install it again.

So I went ahead and reinstalled this server from scratch. did an ee stack install --mail went to https://example.com:22222/vimbadmin and was asked for user/pass not salt, the default easyengine/easyengine didn’t work, so I reset it with: ee secure --auth and I can log in then I am greeted with 404 not found.

Hello @ovidiu

I have tested and could not regenerate the issue. Could you say which OS (Ubuntu/Debian) Distro you are using ?

Could you also provide the output of following command :

ls /var/www/22222/htdocs

Sorry, its Debian8 and the output of that command was in my first thread:

ls /var/www/22222/htdocs cache db fpm php

Hello @ovidiu

I have tested on debian 8 , could not find any issue .

root@debian-jessie:~# lsb_release -a

No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 8.1 (jessie)
Release:    8.1
Codename:    jessie

root@debian-jessie:~# ls /var/www/22222/htdocs/
fpm  php  vimbadmin

lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.2 (jessie) Release: 8.2 Codename: jessie

OK, so something went wrong, how do I install again without re-installing the complete server?

Where woudl I find the install logs to show you what happened?

install log can be found in /var/log/ee/ee.log .

In the install log there is almost no trace of vimbadmin:

cat /var/log/ee/install.log  | grep -i 'vimbadmin'
copying ee/cli/templates/vimbadmin.mustache -> /usr/lib/ee/templates
copying ee/cli/templates/vimbadmin.mustache -> /usr/lib/ee/templates

 cat /var/log/ee/ee.log  | grep -i 'vimbadmin'
2015-12-09 01:15:52,942 (DEBUG) ee : Downloading following: [['https://github.com/opensolutions/ViMbAdmin/archive/3.0.12.tar.gz', '/tmp/vimbadmin.tar.gz', 'ViMbAdmin'], ['https://github.com/roundcube/roundcubemail/releases/download/1.1.3/roundcubemail-1.1.3.tar.gz', '/tmp/roundcube.tar.gz', 'Roundcube']]
2015-12-09 01:15:52,942 (INFO) ee : Downloading ViMbAdmin

I don’t see anything wrong here in the ee.log file

Processing triggers for libc-bin (2.19-18+deb8u1) ...
2015-12-09 01:15:52,942 (DEBUG) ee : ^[[95mDownloading following: [['https://github.com/opensolutions/ViMbAdmin/archive/3.0.12.tar.gz', '/tmp/vimbadmin.tar.gz', 'ViMbAdmin'], ['https://github.com/$
2015-12-09 01:15:52,942 (INFO) ee : ^[[94mDownloading ViMbAdmin           ^[[0m
2015-12-09 01:15:54,854 (INFO) ee : ^[[94m[^[[0mDone^[[94m]^[[0m
2015-12-09 01:15:54,854 (INFO) ee : ^[[94mDownloading Roundcube           ^[[0m
2015-12-09 01:16:00,008 (INFO) ee : ^[[94m[^[[0mDone^[[94m]^[[0m
2015-12-09 01:16:00,008 (DEBUG) ee : ^[[95mCalling post_pref^[[0m
2015-12-09 01:16:00,008 (DEBUG) ee : ^[[95mAdding user^[[0m
2015-12-09 01:16:00,009 (DEBUG) ee : ^[[95mRunning command: adduser --uid 5000 --home /var/vmail --disabled-password --gecos '' vmail^[[0m

OK, so I guess its time to move on and either switch to a free control panel or continue administering by hand.

I have the same problem with vimbadmin, getting “404 Not Found”. Anyone found a solution to this? Getting error when installing mail packages, here is some of the ee log.

Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for systemd (229-4ubuntu13) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for dovecot-core (1:2.2.22-1ubuntu2.2) ...
Errors were encountered while processing:
 amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)
2017-02-23 18:44:10,198 (INFO) ee : ^[[94m^[[91mOops Something went wrong!!^[[0m
2017-02-23 18:44:10,198 (ERROR) ee : ^[[91mCheck logs for reason `tail /var/log/ee/ee.log` & Try Again!!!^[[0m