|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
roundcubemail-1.1.0p0 - unable to open database file
Hi All,
I have Openbsd snapshot 5.7 and I am trying to configure package roundcubemail-1.1.0p0 Code:
$ dmesg | head -10 OpenBSD 5.7 (GENERIC) #825: Sun Mar 8 10:59:14 MDT 2015 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 520081408 (495MB) avail mem = 502415360 (479MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x1ffffec0 (10 entries) bios0: vendor Seabios version "0.5.1" date 01/01/2007 bios0: Red Hat KVM Code:
Check DB config DSN (write): NOT OK(SQLSTATE[HY000] [14] unable to open database file) Make sure that the configured database exists and that the user has write privileges DSN: sqlite:/var/www/roundcubemail/db/sqlite.db?mode=0660 Code:
$ ls -l /var/www/roundcubemail/ total 2516 -r--r--r-- 1 root www 122716 Feb 8 13:48 CHANGELOG -r--r--r-- 1 root www 1290 Feb 8 13:48 Dockerfile -r--r--r-- 1 root www 9459 Feb 8 13:48 INSTALL -r--r--r-- 1 root www 35147 Feb 8 13:48 LICENSE -r--r--r-- 1 root www 3750 Feb 8 13:48 README.md drwxr-xr-x 6 root www 512 Mar 9 12:11 SQL -r--r--r-- 1 root www 2974 Feb 8 13:48 UPGRADING drwxr-x--- 2 root www 512 Mar 9 12:11 bin -rw-r--r-- 1 root www 1548 Mar 9 12:11 composer.json -r--r--r-- 1 root www 1548 Feb 8 13:48 composer.json-dist -rwx------ 1 root www 1038934 Mar 8 03:58 composer.phar drwxr-xr-x 2 root www 512 Mar 9 12:11 config drwxrwxr-x 2 root www 512 Mar 12 15:00 db -r--r--r-- 1 root www 12323 Feb 8 13:48 index.php drwxr-xr-x 3 root www 512 Mar 9 12:11 installer drwxrwx--- 2 root www 512 Mar 12 15:36 logs drwxr-xr-x 34 root www 1024 Mar 9 12:11 plugins drwxr-xr-x 8 root www 512 Mar 9 12:11 program -r--r--r-- 1 root www 26 Feb 8 13:48 robots.txt -r--r--r-- 1 root www 448 Mar 8 03:58 roundcubemail.conf.dist drwxr-xr-x 4 root www 512 Mar 9 12:11 skins drwxrwx--- 2 root www 512 Mar 9 12:11 temp $ ls -l /var/www/roundcubemail/db total 92 -rw-rw---- 1 root www 46080 Mar 12 15:00 sqlite.db There is one more problem: Code:
Test filetype detection Fileinfo/mime_content_type configuration: OK Mimetype to file extension mapping: NOT OK Please set a valid path to your webserver's mime.types file to the mime_types config option. If you can't find such a file, download it from svn.apache.org. Thanks for help. Valus |
|
|||
I had the same problem... I *think* I just had to get the path right. If you edit the config.inc.php file directly, this is what I have:
Code:
$config['db_dsnw'] = 'sqlite:////roundcubemail/db/sqlite.db?mode=0646'; As for the mime-types, I think I still have that error, too. Haven't bothered to look into it. Tim. Last edited by ocicat; 14th March 2015 at 11:33 PM. Reason: added [code] & [/code] to add clarity |
|
|||
Hi Tim,
I changed the line as you wrote and now it is working. Code:
$config['db_dsnw'] = 'sqlite:////roundcubemail/db/sqlite.db?mode=0660'; Thanks. Valus |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Network Printing, no output or errors from "lpr 'filename' | spacebar_permissions | OpenBSD General | 15 | 29th January 2016 08:13 PM |
ZFS and Database fragmentation | J65nko | General software and network | 2 | 26th February 2014 07:11 AM |
Uploading a file using ftp and/or a .netrc file from the command line | J65nko | Guides | 3 | 16th February 2013 11:53 AM |
unable to get packages/INDEX file from selected media... | clovis | FreeBSD Installation and Upgrading | 5 | 11th August 2010 07:39 PM |
PHP read file contents - Maximum file size | cksraj | Programming | 1 | 21st September 2009 11:38 AM |