Roundcube Community Forum

Release Support => Release Discussion => Topic started by: billw on November 18, 2021, 02:41:45 PM

Title: Installer produces empty config file
Post by: billw on November 18, 2021, 02:41:45 PM
With a fresh install of Roundcube, I use the web installer to configure and it gives me a blank config file.  (Image attached)

defaults.inc.php does not exist in the /usr/share/roundcube directory, so I thought maybe this is a permissions problem, but that directory is 755 and owned by the web server.
The environment check gives an OK for everything that is required.
The database and tables exist and look like they are supposed to as far as I can tell.
I have tested the database user account successfully.

It has to be something stupid, right?  What am I missing?
Title: Re: Installer produces empty config file
Post by: JohnDoh on November 18, 2021, 03:19:58 PM
Quote
defaults.inc.php does not exist in the /usr/share/roundcube directory

So where is it? The defaults.inc.php file is shipped as part of the Roundcube paackage, in the config dir, and it is essential. The idea is that defaults.inc.php is controlled by the Roundcube devs while the config.inc.php file which the installer can create or can be created manually holds the instance specific settings, the things that override the defaults. If your default.inc.php file is missing then the installer will have no basis from which to generate a config.in.php file.

How did you install Roundcube, did you download the package from roundcube.net or somewhere else? If you got it from somewhere else then you should contact the package maintainers for support.
Title: Re: Installer produces empty config file
Post by: billw on November 18, 2021, 03:28:53 PM
Well, that's interesting.  This is the default apt package for Ubuntu 20.04.  I just purged it and installed again to make sure that I didn't screw something up.  Still no defaults.

I guess I will download and install manually.  Thanks!
Title: Re: Installer produces empty config file
Post by: billw on November 18, 2021, 04:27:58 PM
Working fine after a manual install from tarball.  The apt package did not install a config directory at all.  Thanks again.