If I do any work in either, then I guess I can just submit pull requests via Github for your review.
2012-11-01 30653, 2012
adhawkins
That sounds like a good start?
2012-11-01 30604, 2012
adhawkins
Other option is for me to create branches directly in your repo, and you merge from there.
2012-11-01 30613, 2012
ocharles
nah, pull requests sound fine
2012-11-01 30626, 2012
adhawkins
Ok. Bit more hassle for me due to the submodules, but hopefully it'll work out!
2012-11-01 30631, 2012
adhawkins
We'll give that a go then.
2012-11-01 30634, 2012
ocharles
oh?
2012-11-01 30641, 2012
ocharles
because you have to bump the submodule up too?
2012-11-01 30649, 2012
ocharles
I can take care of that if you give me instructions in the cookbooks pull request
2012-11-01 30654, 2012
reosarevok joined the channel
2012-11-01 30659, 2012
adhawkins
You have to move the submodule in the fork to point to the forked cookbook
2012-11-01 30611, 2012
adhawkins
Does that make sense? :)
2012-11-01 30626, 2012
ocharles
yea, but as I said - I can do that juggling
2012-11-01 30646, 2012
adhawkins
But for me to work I have to do it too. Otherwise my 'master' repo would be pointing to your cookbook
2012-11-01 30635, 2012
adhawkins
Anyway, a couple of ideas to move it forward.
2012-11-01 30609, 2012
adhawkins
The first we've already talked about. Create a 'base' VM with (say) a 10G 'root' partition, and a bigger (what size?) partition for the postgres databases.
2012-11-01 30621, 2012
adhawkins
I can proceed with that if you tell me what OS you want to base it on.
2012-11-01 30645, 2012
kurtjx joined the channel
2012-11-01 30656, 2012
adhawkins
Other idea was to write a script that downloads the latest DB dumps, and include this in the VM to make it easier for people to do the initial import
2012-11-01 30607, 2012
ocharles
brb, gotta chat with last.fm
2012-11-01 30635, 2012
adhawkins
ok
2012-11-01 30622, 2012
Freso joined the channel
2012-11-01 30621, 2012
adhawkins
ocharles: On this VM, nothing appears to be listening on port 5000. What process should be running for that?
2012-11-01 30618, 2012
ocharles
hmm, plackup
2012-11-01 30632, 2012
ocharles
you should have /etc/service/musicbrainz-server
2012-11-01 30602, 2012
adhawkins
Ok, and what starts that?
2012-11-01 30612, 2012
adhawkins
I'll do a reboot after importing and see if that helps
2012-11-01 30615, 2012
reosarevok
Why are the forums a 504?
2012-11-01 30627, 2012
Freso
Sh*t'n'giggles?
2012-11-01 30601, 2012
kurtjx joined the channel
2012-11-01 30619, 2012
reosarevok
Has anyone seen ijabz lately?
2012-11-01 30650, 2012
ocharles
adhawkins: sudo svc -u /etc/service/musicbrainz-server should start it
2012-11-01 30601, 2012
ocharles
you can check /etc/service/musicbrainz-server/log/main/current to see what it's doing
warp: renaming README files in the postgresql extensions broke the Makefiles
2012-11-01 30655, 2012
warp
luks: oh, the READMEs get installed?
2012-11-01 30613, 2012
luks
yes
2012-11-01 30617, 2012
ocharles
I should add those extensions to jenkins
2012-11-01 30620, 2012
luks
that's why they are in makefiles :)
2012-11-01 30601, 2012
luks
and can you please remove the libunac mention in the unaccent one
2012-11-01 30614, 2012
luks
I'm not sure why it's there, but libunac is definitely not required
2012-11-01 30601, 2012
warp
luks: do you think it's OK to just remove the DOCS line then? or would you prefer to see the name change reverted?
2012-11-01 30636, 2012
luks
I have no opinion on that, given that they are just internal code
2012-11-01 30650, 2012
ocharles likes the markdown readmes and would like to keep that if possible
2012-11-01 30651, 2012
luks
for general purpose extensions I'd want them to be renamed back
2012-11-01 30607, 2012
warp
it seems more valuable to have the instructions readable on github than hidden away in some postgres installed location. but I'll see if I can find a way to have both.
2012-11-01 30650, 2012
nikki
why can't you read it on github?
2012-11-01 30647, 2012
luks
it doesn't seem like something to spend time on
2012-11-01 30659, 2012
warp
nikki: github automatically displays documentation for the project if it is named "README" or "README.md"
2012-11-01 30655, 2012
nikki
and what did we have?
2012-11-01 30606, 2012
Freso
warp: If postgres installs documentation to /usr/share/doc/ it shouldn't be hard to find.
2012-11-01 30633, 2012
Freso is known to look up docs in /usr/share/doc/ every now and then
2012-11-01 30645, 2012
warp
Freso: but does it?
2012-11-01 30607, 2012
warp
(oh it does, sort of. /usr/share/doc/postgresql-doc-9.1/contrib/README.musicbrainz_collate )
2012-11-01 30604, 2012
adhawkins
ocharles: No sign of anything on port 5000. Any logs I can check?
2012-11-01 30628, 2012
voiceinsideyou joined the channel
2012-11-01 30631, 2012
_flow_ joined the channel
2012-11-01 30644, 2012
luks
hm, acoustid is going to get a *lot* of new mbids from the ia data
2012-11-01 30659, 2012
reosarevok
Isn't that a good thing?
2012-11-01 30653, 2012
luks
it is of course, but it's more than I expected
2012-11-01 30603, 2012
luks
I'm mostly susprised how well the fuzzy toc matching method works
2012-11-01 30600, 2012
voiceinsideyou joined the channel
2012-11-01 30650, 2012
Freso
Speaking of fuzzy TOC matching...
2012-11-01 30654, 2012
Freso
ianmcorvidae: Any news? :D
2012-11-01 30616, 2012
ocharles
adhawkins: you can check /etc/service/musicbrainz-server/log/main/current to see what it's doing
2012-11-01 30631, 2012
reosarevok
ocharles: guess you're not home? :(
2012-11-01 30644, 2012
ocharles
no, sorry, I will try hard to remember tonight!
2012-11-01 30659, 2012
ocharles
let me check if i have it in an email actually
2012-11-01 30611, 2012
adhawkins
ocharles: Unable to run carton: file does not exist
2012-11-01 30620, 2012
ocharles
adhawkins: ah yes, this is that patch I was talking about :)
2012-11-01 30632, 2012
adhawkins
But this is with a fully populated database...
2012-11-01 30645, 2012
adhawkins
I thought that was just to run against an empty one?
2012-11-01 30645, 2012
ocharles
sure, this patch is about being able to run the server
2012-11-01 30649, 2012
adhawkins
Ah, ok.
2012-11-01 30650, 2012
ocharles
nope
2012-11-01 30651, 2012
adhawkins
So... :)
2012-11-01 30602, 2012
ocharles
I will try and find this stuff for reosarevok and then see if I can get that commit pushed
2012-11-01 30611, 2012
adhawkins
Ok cool.
2012-11-01 30631, 2012
adhawkins
If you let me know which OS you want to base this on, I can make a start on the 'base' VM too if you like.
2012-11-01 30649, 2012
ocharles
ubunt 12.04
2012-11-01 30650, 2012
ocharles
+u
2012-11-01 30659, 2012
adhawkins
Just need a rough idea of sizes of the two disks. 'Main' disk should leave space for a database dump I guess, unless we do the download into the postgres partition
2012-11-01 30643, 2012
ocharles
60GB for DB, 20GB for main should be sufficient
2012-11-01 30651, 2012
ocharles
they will expand as necessary
2012-11-01 30646, 2012
adhawkins
20Gig should give them room to download dumps too I guess
2012-11-01 30614, 2012
adhawkins
You happy to upload the VM to GitHub for download purposes? Or is it better on ftp.mb.org?
2012-11-01 30658, 2012
ocharles
adhawkins: better on ftp
2012-11-01 30608, 2012
ocharles
but base boxes aren't big, are they?
2012-11-01 30614, 2012
ocharles
about 300MB?
2012-11-01 30615, 2012
adhawkins
A few hundred meg I think
2012-11-01 30626, 2012
ocharles
right
2012-11-01 30634, 2012
ocharles
fine for the ftp
2012-11-01 30607, 2012
ocharles
adhawkins: git pull && vagrant provision
2012-11-01 30610, 2012
ocharles
should get you a working server
2012-11-01 30644, 2012
adhawkins
Cool.
2012-11-01 30649, 2012
adhawkins
ubuntu desktop or server?
2012-11-01 30656, 2012
adhawkins
And 32 or 64 bit? I think we decided 32.
2012-11-01 30621, 2012
adhawkins
Complains about the git step. Could that be because I've edited a file to import dumps without edits?
2012-11-01 30640, 2012
ocharles
server, 32 bit seems fine
2012-11-01 30648, 2012
ocharles
what is the complaint? and yes probably
2012-11-01 30623, 2012
adhawkins
Ah, looks like it's actually a github issue.
2012-11-01 30631, 2012
adhawkins
Can we switch to git:// protocol rather than https?
2012-11-01 30635, 2012
adhawkins
Or rather http
2012-11-01 30657, 2012
adhawkins
STDOUT:
2012-11-01 30658, 2012
adhawkins
valid: is this a git repository?
2012-11-01 30600, 2012
ocharles
why hasn't this broke before though?
2012-11-01 30621, 2012
ocharles
i'm happy to use git://, could you edit cookbooks/musicbrainz-server/recipes/default.rb and see if that fixes it for you?
2012-11-01 30602, 2012
adhawkins
It has been intermittent for me.
2012-11-01 30634, 2012
ocharles
with http://, you mean?
2012-11-01 30637, 2012
adhawkins
Yes.
2012-11-01 30641, 2012
adhawkins
What do I need to do to start plackup?
2012-11-01 30650, 2012
adhawkins
The VM was already running.
2012-11-01 30641, 2012
ocharles
just 'vagrant provision'
2012-11-01 30647, 2012
ocharles
it should then 'just work'
2012-11-01 30651, 2012
ocharles
oh
2012-11-01 30656, 2012
adhawkins
Oh?
2012-11-01 30602, 2012
ocharles
as the vagrant user you first need to : sudo rm /etc/service/musicbrainz-server
2012-11-01 30604, 2012
ocharles
and then provision again
2012-11-01 30610, 2012
ocharles
sadly it doesn't pick up that I'm using a new service
go into your vagrant folder on your host, and check that cookbooks/musicbrainz-server/recipes/default.rb has: link "/etc/service/musicbrainz-server/mb_server" do to "/home/musicbrainz/musicbrainz-server"
2012-11-01 30653, 2012
ocharles
it sounds like your cookbook is not at the right revision
2012-11-01 30609, 2012
adhawkins
It's not. git submodule update?
2012-11-01 30622, 2012
ocharles
yea
2012-11-01 30628, 2012
ocharles
git pull should have done that though
2012-11-01 30648, 2012
ocharles
I guess you didn't clone with --recursive?
2012-11-01 30618, 2012
adhawkins
No
2012-11-01 30644, 2012
adhawkins
Success!
2012-11-01 30650, 2012
ocharles
the server is serving pages?
2012-11-01 30653, 2012
adhawkins
Yes
2012-11-01 30601, 2012
ocharles
.o/
2012-11-01 30615, 2012
adhawkins
If you can change the git protocol, I'll blow this lot away and run from scratch.
2012-11-01 30624, 2012
ocharles
sure
2012-11-01 30642, 2012
adhawkins
Let me know when I can clone again. I'll do it recursively this time :)
2012-11-01 30602, 2012
ocharles
if possible, follow the README.md with copy & paste