Description of problem: After installing the package, I tried to configure roundcubemail by pointing my browser to: http://localhost/roundcubemail/installer/ Filling out the prompts on that page, and upon proceeding to the next page I get the following errors: main.inc.php (download) [Warning: could not read the config template file] db.inc.php (download) [Warning: could not read the config template file] Reproducible: Steps to Reproduce:
CC: (none) => remco
Assignee: mageia => thomas
When you installed roundcubemail-0.9.5 you got the following message: configuration/upgrade ------- Use the GUI to do the configuration/upgrade: RoundCube provides an installer which can help you to do all the installation/upgrade. The feature is disabled by default for security reasons but you can enable it in 'main.inc.php' by setting the 'enable_installer' variable to 'true'. Once done, browse http://server/roundcubemail/installer Use the CLI to do the configuration/upgrade: You will need to edit %{_sysconfdir}/roundcubemail/main.inc.php and %{_sysconfdir}/roundcubemail/db.inc.php appropriately for your site before you can use Roundcube. You must at least configure an appropriate mail server and port in main.inc.php, and change the $rcmail_config['des_key'] setting. In db.inc.php you must configure an appropriate database location and user; in the most simple configuration, you would create a new user and database both named 'roundcubemail' on a MySQL server running on the same machine, give the roundcubemail user full read/write access to the roundcubemail database, and set db.inc.php appropriately. Information: - you can drop all of the tables and use the '*.initial.sql' file to fully recreate the database. - If any database change is needed, go to %{_datadir}/roundcubemail/SQL and use '*.update.sql' where '*' is your database backend type. Did you follow these instructions, especially did you enable the installer?
Status: NEW => ASSIGNED
Whiteboard: (none) => Needs Info
The last activity is now close to 5 month old and no replay received. I am going to close this as invalid. Please reopen it again if it's still valid.
Status: ASSIGNED => RESOLVEDResolution: (none) => INVALID
ok, i was able to reproduce in mga5... the problem is that the 2nd step (create config) in the installer, actually is missing the template files... which i don't actually know where or what they are and where the installer expects them...
Status: RESOLVED => REOPENEDCC: (none) => alienVersion: 4 => 5Resolution: INVALID => (none)
apparently the config constant is being overwritten somewhere and becomes /usr/share/roundcubemail/config instead of /etc/roundcubemail ... probably due to packaging somewhere...
i added a symlink to be able to configure it
test page for installer shows: Warning: file(/usr/share/roundcubemail/SQL/mysql.initial.sql): failed to open stream: No such file or directory in /usr/share/roundcubemail/installer/rcube_install.php on line 397 which is because the files are moved into doc...
AL13N This bug is for mga4. I am thinking about closing it, and open a new bug report. mga5 has a very different version (1.0.6) and the installer has been removed.
i have 1.0.6 in mga5 and i had this issue with installer... it wasn't removed, it just wasn't set by default, but there was no default config either... so... how would you do this? the installer is still kind of required, no?
(In reply to AL13N from comment #8) > i have 1.0.6 in mga5 and i had this issue with installer... it wasn't > removed, it just wasn't set by default, but there was no default config > either... so... > > how would you do this? the installer is still kind of required, no? Please, show me where it is in >= vers.1.0.0
The installer was removed when upgrading to 1.0.0, REV. 613094 I don't remember the reason, but the spec was adapted from the developers. AL13N I can add it again, if you need it.
I think the installer was removed because it's a security issue. After installing, it has to be removed and there is no guarantee this will be done. So I am going to close it as invalid. If someone needs it, it would be easy for him to download the srpm, make the small change in the spec file and rebuild the package.
Status: REOPENED => RESOLVEDResolution: (none) => INVALID