[CiderWebmail] How to configure session store (or ciderwebmail in
general)
Stefan Seifert
nine at detonation.org
Wed Sep 4 16:48:20 GMT 2013
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
Stefan
More information about the Cider-webmail
mailing list