[packaging] [Bug 2811] Database Problem at setup-kolab with Debian Wheezy (unable to open database file None None)

Kolab Bugzilla noreply at kolab.org
Mon Feb 3 13:40:24 CET 2014


https://issues.kolab.org/show_bug.cgi?id=2811

--- Comment #3 from rdnetto at gmail.com ---
Created attachment 626
  --> https://issues.kolab.org/attachment.cgi?id=626&action=edit
Fixes bug in setup_roundcube.py

OK, I've figured out what's going on. The table fails to be created because it
has a foreign key which depends on the table users. users was not being
created, because the nested loops at
/usr/share/pyshared/pykolab/setup/setup_roundcube.py:137 exited after
processing only one folder in /usr/share/doc/roundcube*. I've removed the extra
break statement and added some assertions to check that the mysql commands
don't fail.

Instructions for testing: 
(Note: this wipes your existing roundcube install)
-stop all kolab daemons
-run as root:
    mysql -p -e "DROP DATABASE roundcube"
    cd /usr/share/pyshared/pykolab/setup
    patch < ~/setup_roundcube.patch
    setup-kolab roundcube

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20140203/6427fe03/attachment.htm>


More information about the packaging-bugs mailing list