Author Topic: Config file and sqlite database file not created  (Read 410 times)

Offline sergiortc

  • Newbie
  • *
  • Posts: 8
Config file and sqlite database file not created
« on: August 14, 2022, 08:27:52 PM »
I am trying to install Roundcube 1.6.0
My server is Windows Server 2022 version 21H2 (OS Build 20348.825)
My IIS is version 10.0.20348.1
I have installed PHP Version 8.1.6
I added the write permission on folders Logs, Database, Temp for the IIS_IUSRS user
SQLite 3.39.2 ins installed in the server and C:\sqlite is in the system path
I downloaded roundcubemail-1.6.0-complete.tar.gz and extracted it under wwwroot
After following the install instructions I connected to localhost/roundcubemail-1.6.0/installer

I get this:
Checking PHP version
Version:  OK(PHP 8.1.6 detected)
Checking PHP extensions
The following modules/extensions are required to run Roundcube:

PCRE:  OK
DOM:  OK
Session:  OK
XML:  OK
Intl:  OK
JSON:  OK
PDO:  OK
Multibyte:  OK
OpenSSL:  OK
Filter:  OK
Ctype:  OK

The next couple of extensions are optional and recommended to get the best performance:
cURL:  OK
FileInfo:  OK
Exif:  OK
Iconv:  OK
LDAP:  OK
GD:  OK

Imagick:  NOT AVAILABLE(See https://www.php.net/manual/en/book.imagick.php)

XMLWriter:  OK
Zip:  OK

Checking available databases
Check which of the supported extensions are installed. At least one of them is required.

MySQL:  NOT AVAILABLE(See https://www.php.net/manual/en/ref.pdo-mysql.php)
PostgreSQL:  NOT AVAILABLE(See https://www.php.net/manual/en/ref.pdo-pgsql.php)

SQLite:  OK

SQLite (v2):  NOT AVAILABLE(See https://www.php.net/manual/en/ref.pdo-sqlite.php)
SQL Server (SQLSRV):  NOT AVAILABLE(See https://www.php.net/manual/en/ref.pdo-sqlsrv.php)
SQL Server (DBLIB):  NOT AVAILABLE(See https://www.php.net/manual/en/ref.pdo-dblib.php)
Oracle:  NOT AVAILABLE(See https://www.php.net/manual/en/book.oci8.php)
Check for required 3rd party libs
This also checks if the include path is set correctly.

PEAR:  OK
Auth_SASL:  OK
Net_SMTP:  OK
Mail_mime:  OK
GuzzleHttp\Client:  OK
Net_LDAP3:  OK
Checking php.ini/.htaccess settings
The following settings are required to run Roundcube:

file_uploads:  OK
session.auto_start:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK
The following settings are optional and recommended:

date.timezone:  OK

I click Next and set configuration values as this:

Support url: a mailto: link
Identities level: one identity with possibility of editing all parameters except email address
Database setup
SQLite
C:\inetpub\wwwroot\roundcubemail-1.6.0\Database\RcDb.db

All other values are the default
I enabled the following plugins
attachment_reminder
emoticons
filesystem_attachments
Help
Password

When i click on Create Config
Config file is not created
database is not created
I get 251 warnings of the form:
PHP Warning:  Undefined array key "db_dsnw" in C:\inetpub\wwwroot\roundcubemail-1.6.0\program\include\rcmail_install.php on line 220
PHP Warning:  Undefined array key "db_dsnr" in C:\inetpub\wwwroot\roundcubemail-1.6.0\program\include\rcmail_install.php on line 220

Can you help me solve this problem?
Thank you
« Last Edit: August 14, 2022, 08:38:44 PM by sergiortc »

Offline sergiortc

  • Newbie
  • *
  • Posts: 8
Re: Config file and sqlite database file not created
« Reply #1 on: August 15, 2022, 11:42:46 AM »
I followed the manual installation procedure and everything seems to be working just fine. :D
Thanks.