[CiderWebmail] How to configure session store (or ciderwebmail
in general)
Nikolaus Rath
Nikolaus at rath.org
Wed Sep 4 22:58:06 GMT 2013
On 09/04/2013 09:48 AM, Stefan Seifert wrote:
> On Tuesday 03 September 2013 18:53:25 Nikolaus Rath wrote:
>
>> Now I'm getting the next error though:
>>
>> Couldn't instantiate component "CiderWebmail::Model::DB",
>> "DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: DBI
>> connect('root/var/user_settings.sql','',...) failed: unable to open
>> database file at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1249 at
>> /usr/share/perl5/CiderWebmail/Model/DB.pm line 18"Compilation failed in
>> require at /usr/share/perl5/Module/Runtime.pm line 317. at
>> /usr/share/perl5/Catalyst/ScriptRunner.pm line 50
>>
>> Please do not tell me that ciderwebmail needs to use a /root/var
>> directory :-).
>
> Not /root/var but root/var which would probably be
> /usr/share/ciderwebmail/root/var on your system.
>
> But according to the config you posted:
> <Model::DB>
> connect_info dbi:SQLite:/var/lib/ciderwebmail/user_settings.sql
> </Model::DB>
> the user setting database should be at /var/lib/ciderwebmail/
>
> It would seem like CiderWebmail cannot find your config file. I tried it
> locally and get the correct error message:
> DBI connect('/var/lib/ciderwebmail/user_settings.sql','',...) failed: unable
> to open database file
So how do I tell it which config file to use?
Thanks,
Nikolaus
More information about the Cider-webmail
mailing list