Title the ipv6_only field is not created by the initial SQL setup
Priority urgent Status resolved
Superseder Nosy List dagobert, floeff, jcpunk, poeml, rhertzog
Assigned To Keywords
I followed the instructions from the manual to setup the database
sudo su - mirrorbrain
gunzip -c /usr/share/doc/mirrorbrain/sql/schema-postgresql.sql.gz | psql -U
gunzip -c /usr/share/doc/mirrorbrain/sql/initialdata-postgresql.sql.gz | psql -U
But the schema-postgresql.sql.gz doesn't contain the ipv6_only field and yet the
schema version is set as if it were the case. So I had to fix the schema myself
echo "ALTER TABLE server ADD COLUMN ipv6_only boolean NOT NULL default 'f';" |
psql -U mirrorbrain mirrorbrain
Without this, mirrorbrain would not work at all.
Note that I use the Debian package of mirrorbrain:
$ dpkg -s mirrorbrain
Status: install ok installed
Maintainer: Peter Poeml email@example.com
Description: MirrorBrain is a scalable download redirector and Metalink generator.
Can confirm this for the Ubuntu 11.10 packages. Same problem, same fix that helped.
Looks like this was fixed in the source tree:
Indeed, this bug had already been fixed a while ago, but no release was done, so it
slept in the source trunk.
Big sorry about that.
I'll close the report. (Thanks for it.) I'm confident that the next release is near...
The issue also hit me now, can you please add the new field to the version migration
Dagobert, the field should already be added automatically if you use the SVN trunk. See
Were you still be hit by the issue, or were you using the last released codebase?
I was using the 2.17.0 tarball. My suggestion was adding this field to the schema
upgrade script which you also provided for older versions. After altering the
table it looks good for me now.
However, it took me a while to figure out what was wrong as the code just bailed
out in the relational mapping code.
Ah, never mind, I now saw the upgrading code is actually already in trunk.
Fixed in 2.18.0. Thanks everyone!
Date User Action Args
2014-02-02 12:35:26 poeml set status: chatting -> resolved
messages: + msg513
2014-01-27 21:18:01 dagobert set messages: + msg483
2014-01-27 21:15:31 dagobert set messages: + msg482
2014-01-27 21:00:23 poeml set messages: + msg480
status: resolved -> chatting
2014-01-25 18:09:07 dagobert set nosy: + dagobert
messages: + msg474
status: chatting -> resolved
2014-01-02 23:38:56 poeml set nosy: + poeml
messages: + msg440
2013-04-19 19:07:58 jcpunk set nosy: + jcpunk
messages: + msg424
status: unread -> chatting
2013-03-14 16:30:29 floeff set nosy: + floeff
messages: + msg421
2013-02-25 16:03:48 rhertzog create