Fedora - Roundcube FAQ

How do I install it?

Access the installation directory's /roundcubemail/installer path to start the installation process.

That URL is not loading.

You need to access it from localhost. In case you can't then edit /etc/httpd/conf.d/roundcubemail.conf file to provide access to /roundcubemail/installer directory for everyone.

<Directory /usr/share/roundcubemail/installer/>
	<IfModule mod_authz_core.c>
		Require granted all
		# Require local <-- remove this.

You need to put Require granted all in place of Require local and reload the http server.

I get an empty config.inc.php file to download when I finish the configuration

You need to provide apache server's write permission to /etc/roundcubemail directory for it to work. Yes the horror, a folder in your /etc directory has to be given world write permission otherwise it won't work. Later you can revoke it.

The SMTP server is giving error.

Edit /etc/roundcubemail/config.inc.php and add this line
$config['smtp_server'] = 'tls://sanjir.com';

For it to work with TLS.

What about the database initialization error?

Change it's path in the /etc/roundcubemail/config.inc.php file too. See that it's in the root. Change it to some sane location. And it will initialize after installation.

I want to reinstall a 2nd time

Delete /etc/roundcubemail/config.inc.php and then try again.

Web page says default.inc.php not found

You need to chown -R habib.habib /etc/roundcubemail/. And no other directory from the roundcube installation will need permission change other than this one.
Published
12-Oct-2022
Updated
12-Oct-2022