Comments (5)
Hi,
You can just run start.sh
again to have it try again. Could you do that and let me know? Look for any output/errors related to roundcube.
from mailinabox.
Output of start.sh
:
[user]@[computername]:/mail# sudo scripts/start.sh
Enter the hostname you want to assign to this machine.
We've guessed a value. Just backspace it if it's wrong.
Josh uses box.occams.info as his hostname. Yours should
be similar.
Hostname: mail.[hostname]
Enter the public IP address of this machine, as given to
you by your ISP. We've guessed a value, but just backspace
it if it's wrong.
Public IP: [ipaddess]
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
[some packages that need removing]
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version.
The following packages were automatically installed and are no longer required:
[some packages that need removing]
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists...
Building dependency tree...
Reading state information...
ntp is already the newest version.
fail2ban is already the newest version.
The following packages were automatically installed and are no longer required:
[some packages that need removing]
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Skipping adding existing rule
Skipping adding existing rule (v6)
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Firewall is active and enabled on system startup
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Skipping adding existing rule
Skipping adding existing rule (v6)
Reading package lists...
Building dependency tree...
Reading state information...
dovecot-core is already the newest version.
dovecot-imapd is already the newest version.
openssl is already the newest version.
postfix is already the newest version.
sqlite3 is already the newest version.
dovecot-lmtpd is already the newest version.
dovecot-sqlite is already the newest version.
postgrey is already the newest version.
The following packages were automatically installed and are no longer required:
[some packages that need removing]
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
dovecot stop/waiting
dovecot start/running, process 12051
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Skipping adding existing rule
Skipping adding existing rule (v6)
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Skipping adding existing rule
Skipping adding existing rule (v6)
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Skipping adding existing rule
Skipping adding existing rule (v6)
Reading package lists...
Building dependency tree...
Reading state information...
opendkim is already the newest version.
opendkim-tools is already the newest version.
The following packages were automatically installed and are no longer required:
[some packages that need removing]
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Restarting OpenDKIM: opendkim.
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Reading package lists...
Building dependency tree...
Reading state information...
dovecot-sieve is already the newest version.
dovecot-antispam is already the newest version.
pyzor is already the newest version.
razor is already the newest version.
spampd is already the newest version.
The following packages were automatically installed and are no longer required:
[some packages that need removing]
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x
* Starting spam checking proxy daemon spampd [ OK ]
dovecot stop/waiting
dovecot start/running, process 12344
nsd stop/waiting
nsd start/running, process 12428
Restarting OpenDKIM: opendkim.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
[some packages that need removing]
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2 libapache2-mod-php5
0 to upgrade, 0 to newly install, 2 to remove and 0 not to upgrade.
After this operation, 10.4 MB disk space will be freed.
(Reading database ... 265367 files and directories currently installed.)
Removing libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4) ...
php5_invoke prerm: Disable module readline for apache2 SAPI
php5_invoke prerm: Disable module pspell for apache2 SAPI
php5_invoke prerm: Disable module pdo_sqlite for apache2 SAPI
php5_invoke prerm: Disable module opcache for apache2 SAPI
php5_invoke prerm: Disable module curl for apache2 SAPI
php5_invoke prerm: Disable module mcrypt for apache2 SAPI
php5_invoke prerm: Disable module mysqli for apache2 SAPI
php5_invoke prerm: Disable module gd for apache2 SAPI
php5_invoke prerm: Disable module intl for apache2 SAPI
php5_invoke prerm: Disable module tidy for apache2 SAPI
php5_invoke prerm: Disable module pdo for apache2 SAPI
php5_invoke prerm: Disable module sqlite3 for apache2 SAPI
php5_invoke prerm: Disable module mysql for apache2 SAPI
php5_invoke prerm: Disable module pdo_mysql for apache2 SAPI
php5_invoke prerm: Disable module json for apache2 SAPI
Module php5 disabled.
apache2_invoke prerm: Disable module php5
Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not restarting Apache 2
Removing apache2 (2.4.7-1ubuntu4) ...
* Stopping web server apache2 *
* The apache2 configtest failed, so we are trying to kill it manually. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!
Processing triggers for man-db (2.6.7.1-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
nginx is already the newest version.
php5-cgi is already the newest version.
The following packages were automatically installed and are no longer required:
apache2-data [some packages that need removing]
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
System start/stop links for /etc/init.d/php-fastcgi already exist.
* Restarting nginx nginx [ OK ]
* Restarting php-fastcgi php-fastcgi [ OK ]
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Skipping adding existing rule
Skipping adding existing rule (v6)
WARN: Duplicate profile 'Apache', using last found
WARN: Duplicate profile 'Apache Secure', using last found
WARN: Duplicate profile 'Apache Full', using last found
Skipping adding existing rule
Skipping adding existing rule (v6)
File 'externals/roundcube_0.9.5-4_all.deb’ already there; not retrieving.
File 'externals/roundcube-core_0.9.5-4_all.deb’ already there; not retrieving.
File 'externals/roundcube-sqlite3_0.9.5-4_all.deb’ already there; not retrieving.
File 'externals/roundcube-plugins_0.9.5-4_all.deb’ already there; not retrieving.
(Reading database ... 265329 files and directories currently installed.)
Preparing to unpack .../roundcube_0.9.5-4_all.deb ...
Unpacking roundcube (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-core_0.9.5-4_all.deb ...
Unpacking roundcube-core (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-sqlite3_0.9.5-4_all.deb ...
Unpacking roundcube-sqlite3 (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-plugins_0.9.5-4_all.deb ...
Unpacking roundcube-plugins (0.9.5-4) over (0.9.5-4) ...
Setting up roundcube-core (0.9.5-4) ...
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
* Reloading web server apache2 *
* The apache2 configtest failed. Not doing anything.
Output of config test was:
env: apache2ctl: No such file or directory
invoke-rc.d: initscript apache2, action "reload" failed.
Setting up roundcube-sqlite3 (0.9.5-4) ...
Setting up roundcube-plugins (0.9.5-4) ...
Setting up roundcube (0.9.5-4) ...
File 'externals/roundcube_0.9.5.orig.tar.gz’ already there; not retrieving.
* Restarting php-fastcgi php-fastcgi [ OK ]
from mailinabox.
I'm not sure what's going on.
I just updated how roundcube is installed, so if you git pull and try again maybe something will change.
Otherwise, how exactly did you create your fresh Ubuntu 14.04 machine? I can try to do the same thing.
from mailinabox.
Oh, is a fresh machine a requirement? Mine is definitely not.
I have done some googling and a couple of the sites I have found suggest that this error is due to a mis-configured roundcube. Personally, I think it might be the database configuration. When I re-installed apache, I stopped nginx and created a 'mail' subdomain in apache, pointing the DocumentRoot to /var/lib/roundcube. When testing this I got to the roundcube login page but upon entering my details I got this error: Invalid Request: No data was saved
. When I googled this error I general consensus was that the database was configured correctly and could not, therefor, store session details.
But anyway I pulled and here is the output of the updated start.sh
:
[user]@[computer name]:/mail# sudo scripts/start.sh
Enter the hostname you want to assign to this machine.
We've guessed a value. Just backspace it if it's wrong.
Josh uses box.occams.info as his hostname. Yours should
be similar.
Hostname: mail.[hostname]
Enter the public IP address of this machine, as given to
you by your ISP. We've guessed a value, but just backspace
it if it's wrong.
Public IP: [ip address]
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
roundcube roundcube-plugins roundcube-sqlite3
3 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/482 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
(Reading database ... 264871 files and directories currently installed.)
Preparing to unpack .../roundcube_0.9.5-4_all.deb ...
Unpacking roundcube (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-plugins_0.9.5-4_all.deb ...
Unpacking roundcube-plugins (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-sqlite3_0.9.5-4_all.deb ...
Unpacking roundcube-sqlite3 (0.9.5-4) over (0.9.5-4) ...
Setting up roundcube (0.9.5-4) ...
Setting up roundcube-plugins (0.9.5-4) ...
Setting up roundcube-sqlite3 (0.9.5-4) ...
Reading package lists...
Building dependency tree...
Reading state information...
openssh-server is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists...
Building dependency tree...
Reading state information...
ntp is already the newest version.
fail2ban is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists...
Building dependency tree...
Reading state information...
ufw is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Skipping adding existing rule
Skipping adding existing rule (v6)
Firewall is active and enabled on system startup
Skipping adding existing rule
Skipping adding existing rule (v6)
Reading package lists...
Building dependency tree...
Reading state information...
dovecot-core is already the newest version.
dovecot-imapd is already the newest version.
openssl is already the newest version.
postfix is already the newest version.
sqlite3 is already the newest version.
dovecot-lmtpd is already the newest version.
dovecot-sqlite is already the newest version.
postgrey is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
dovecot stop/waiting
dovecot start/running, process 30001
Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
Reading package lists...
Building dependency tree...
Reading state information...
opendkim is already the newest version.
opendkim-tools is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Restarting OpenDKIM: opendkim.
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Reading package lists...
Building dependency tree...
Reading state information...
dovecot-sieve is already the newest version.
dovecot-antispam is already the newest version.
pyzor is already the newest version.
razor is already the newest version.
spampd is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x
* Starting spam checking proxy daemon spampd [ OK ]
dovecot stop/waiting
dovecot start/running, process 30295
nsd stop/waiting
nsd start/running, process 30379
Restarting OpenDKIM: opendkim.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'apache2.2-common' is not installed, so not removed
Package 'apache2' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists...
Building dependency tree...
Reading state information...
nginx is already the newest version.
php5-cgi is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
System start/stop links for /etc/init.d/php-fastcgi already exist.
* Restarting nginx nginx [ OK ]
* Restarting php-fastcgi php-fastcgi [ OK ]
Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
File 'externals/roundcube_0.9.5-4_all.deb’ already there; not retrieving.
File 'externals/roundcube-core_0.9.5-4_all.deb’ already there; not retrieving.
File 'externals/roundcube-sqlite3_0.9.5-4_all.deb’ already there; not retrieving.
File 'externals/roundcube-plugins_0.9.5-4_all.deb’ already there; not retrieving.
(Reading database ... 264865 files and directories currently installed.)
Preparing to unpack .../roundcube_0.9.5-4_all.deb ...
Unpacking roundcube (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-core_0.9.5-4_all.deb ...
Unpacking roundcube-core (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-sqlite3_0.9.5-4_all.deb ...
Unpacking roundcube-sqlite3 (0.9.5-4) over (0.9.5-4) ...
Preparing to unpack .../roundcube-plugins_0.9.5-4_all.deb ...
Unpacking roundcube-plugins (0.9.5-4) over (0.9.5-4) ...
Setting up roundcube-core (0.9.5-4) ...
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
invoke-rc.d: unknown initscript, /etc/init.d/apache2 not found.
Setting up roundcube-sqlite3 (0.9.5-4) ...
Setting up roundcube-plugins (0.9.5-4) ...
Setting up roundcube (0.9.5-4) ...
File 'externals/roundcube_0.9.5.orig.tar.gz’ already there; not retrieving.
* Restarting php-fastcgi php-fastcgi [ OK ]
Finally, a quick question, why does root passwords need to be turned off for this to work (I have temp turned them off for the sake of getting this to work)?
from mailinabox.
Hey, yes, it must be a fresh machine. It's too difficult to debug other situations. Happy to look more into it if you can reproduce the problem on a fresh machine.
why does root passwords need to be turned off for this to work
The eventual target audience is non-technical people, so it forcibly requires best security practices.
from mailinabox.
Related Issues (20)
- SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) + SCRAM-SHA3-512(-PLUS) supports HOT 4
- Mailinabox discourse is down? HOT 1
- Weird output (from Roundcube?) during install HOT 2
- Update to SpamAssassin 4 HOT 2
- hostname example.host.tld does not resolve to address xxx.xxx.xxx.xxx HOT 4
- Fail2ban - miab-munin.conf filter not cathing HTTP/2.0
- Add an edit button on DNS entries
- LetsEncrypt certificate renewal fails
- Systemd service not working
- how make a file copy of incoming email?
- Backup Error happening with mailinabox command I think HOT 1
- Break System Status Checks up into smaller checks HOT 2
- Root Domain configs in nginx
- owncloud-unlockadmin.sh has incorrect path for mail.py HOT 4
- Backup: File size can't be validated, because of missing capabilities of the backend HOT 4
- freebsd support HOT 2
- active-sync is with imap, or with mapi
- Multiple Domain why change NS ?? HOT 3
- Feature request: Add the ability for parked domain email user to edit it's own DNS records in the control panel HOT 1
- Mailinabox V68 when connecting with /mail or /cloud receiving 502 Bad Gateway and Android clients force to verify email address again.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailinabox.