Thanks, it's working now.

On Thu, Apr 12, 2012 at 7:44 PM, Adam Grelck <adam.grelck@gmail.com> wrote:

Let me fix that real quick...

Adam

On Apr 12, 2012 12:42 PM, "Claudio Kuenzler" <ck@claudiokuenzler.com> wrote:
Umm... yes....

I get this when accessing trac.roundcube.net:

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/api.py", line 440, in send_error
    data, 'text/html')
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/chrome.py", line 827, in render_template
    message = req.session.pop('chrome.%s.%d' % (type_, i))
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/api.py", line 216, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", line 300, in _get_session
    return Session(self.env, req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/session.py", line 198, in __init__
    self.get_session(sid)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/session.py", line 219, in get_session
    super(Session, self).get_session(sid, authenticated)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/session.py", line 61, in get_session
    db = self.env.get_db_cnx()
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/env.py", line 328, in get_db_cnx
    return get_read_db(self)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/db/api.py", line 90, in get_read_db
    return _transaction_local.db or DatabaseManager(env).get_connection()
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/db/api.py", line 152, in get_connection
    return self._cnx_pool.get_cnx(self.timeout or None)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/db/pool.py", line 226, in get_cnx
    return _backend.get_cnx(self._connector, self._kwargs, timeout)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/db/pool.py", line 146, in get_cnx
    raise TimeoutError(errmsg)
TimeoutError: Unable to get database connection within 0 seconds. (TracError(u'Database "/var/www/trac.roundcube.net_mysql/db/trac.db" not found.',))


On Thu, Apr 12, 2012 at 7:36 PM, Thomas Bruederli <thomas@roundcube.net> wrote:
Hello again

Thanks to the recent efforts of Adam, our trac site is now running on mysql
and is showing a much better performance. The "database locked" errors
should now be gone.

Therefore we're not in need for a new Trac server anymore. But thanks to
all the offerings we got on and off list.

Best regards,
Thomas


Adam Grelck wrote:
> Hey Thomas,
>
> I can look into running the current Trac instance with MySQL tonight.
> It seems there is much more documentation on it than the last time I
> looked into it.
>
> Thanks,
> Adam
>
> On Wed, Apr 11, 2012 at 11:33 AM, Thomas Bruederli <thomas@roundcube.net> wrote:
>> Hello folks
>>
>> You're most likely all aware of the problems we have with our current Trac
>> server running on a single sqlite database which is always locked. Together
>> with the migration from SVN to github I'd also like to move Trac to a
>> dedicated host running a mysql database.
>>
>> Before I register an Amazon EC2 instance for that I wanted to ask if
>> somebody is willing to donate a virtual machine instance to the Roundcube
>> project. To make it as simple as possible, all we need is a prepared VM
>> from http://bitnami.org/stack/trac and SSH access to it.
>>
>> Anybody?
>>
>> Best,
>> Thomas
>> _______________________________________________
>> Roundcube Development discussion mailing list
>> dev@lists.roundcube.net
>> http://lists.roundcube.net/mailman/listinfo/dev
> _______________________________________________
> Roundcube Development discussion mailing list
> dev@lists.roundcube.net
> http://lists.roundcube.net/mailman/listinfo/dev
_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev


_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev