#musicbrainz-devel

/

      • olaf_ joined the channel
      • 2011-08-11 22312, 2011

      • ianmcorvidae joined the channel
      • 2011-08-11 22331, 2011

      • kepstin-laptop joined the channel
      • 2011-08-11 22340, 2011

      • kepstin-laptop
        anyways, I was curious: if I have a replicated database, is there anything special I have to do for schema updates, or is that pulled automatically as part of the replication updates?
      • 2011-08-11 22320, 2011

      • ianmcorvidae
        I think replication packets do it for you, although I'm not sure
      • 2011-08-11 22305, 2011

      • lfranchi joined the channel
      • 2011-08-11 22355, 2011

      • dinog joined the channel
      • 2011-08-11 22309, 2011

      • olaf_ joined the channel
      • 2011-08-11 22314, 2011

      • Leftmost joined the channel
      • 2011-08-11 22314, 2011

      • olaf_ joined the channel
      • 2011-08-11 22300, 2011

      • dinog1 joined the channel
      • 2011-08-11 22332, 2011

      • djce joined the channel
      • 2011-08-11 22316, 2011

      • adhawkins joined the channel
      • 2011-08-11 22353, 2011

      • adhawkins
        Anyone here have the NGS virtual machine running under virtualbox?
      • 2011-08-11 22342, 2011

      • adhawkins
        Triyng to find out why it won't run for me, I suspect it's because it's a 64 bit OS
      • 2011-08-11 22350, 2011

      • olaf_
        teuf: something is wrong with file numbering
      • 2011-08-11 22329, 2011

      • ruaok
        adhawkins: its 32bit. I just checked.
      • 2011-08-11 22334, 2011

      • teuf
        olaf_: how so?
      • 2011-08-11 22349, 2011

      • ruaok
        it was created on 4.1.0
      • 2011-08-11 22335, 2011

      • olaf_
      • 2011-08-11 22353, 2011

      • olaf_
        both cd #1 and #2 have their tracks numbered 01 - xxx
      • 2011-08-11 22314, 2011

      • olaf_
        shouldnt that be 01-01 and 02-01 or similar? picard at least shows it that way
      • 2011-08-11 22304, 2011

      • olaf_
        also, the old version had DISCNUMBER=0. with original rhythmbox
      • 2011-08-11 22353, 2011

      • teuf can't make sense of that description
      • 2011-08-11 22348, 2011

      • Mineo
        adhawkins: a wild guess: did you forget to modprobe virtualbox' kernel modules?
      • 2011-08-11 22357, 2011

      • olaf_
        teuf: should rhythmbox name the files for the first track on a multicd album 1-01 , 2-01, 3-01 and so on?
      • 2011-08-11 22308, 2011

      • teuf
        "I have this Judas Priest album composed of 2 discs, when I rip it, I get 01 - 01 xxxxx.ogg for a file from the 1st disc, and its tags are ... I get 01 - 01 yyyy.ogg for a file from the 2nd disc, and its tags are .... I'd expect the files to be named X and Y, and the tags to be W and Z"
      • 2011-08-11 22340, 2011

      • teuf
        olaf_: the other way round no ? 02 - 01 foo.ogg for disc 2, track 1
      • 2011-08-11 22348, 2011

      • teuf
        and 01 - 02 bar.ogg for disc 1, track 2
      • 2011-08-11 22358, 2011

      • teuf
        depends on what you set in your preferences
      • 2011-08-11 22359, 2011

      • olaf_
        teuf: I just get 01 - name-from-cd1 and 01 - name-from-cd2
      • 2011-08-11 22355, 2011

      • teuf
        ah, this is probably a side-effect of these changes
      • 2011-08-11 22303, 2011

      • teuf
        the musicbrainz-side changes
      • 2011-08-11 22336, 2011

      • teuf
        since until know multidisc albums were named AlbumName (Disc N), the tracks from different discs were automatically separated
      • 2011-08-11 22343, 2011

      • teuf
        so no need for the disc number in the naming scheme
      • 2011-08-11 22326, 2011

      • teuf
        you can change it in dconf-editor
      • 2011-08-11 22331, 2011

      • olaf_
        have to run
      • 2011-08-11 22330, 2011

      • reosarevok joined the channel
      • 2011-08-11 22359, 2011

      • pecastro joined the channel
      • 2011-08-11 22334, 2011

      • adhawkins
        ruaok, well, I can create my own vm
      • 2011-08-11 22343, 2011

      • adhawkins
        If I boot from a 32 bit debian disk it runs Ok
      • 2011-08-11 22353, 2011

      • adhawkins
        If I try to boot it from a 64 bit debian disk it just hangs after the boot menu
      • 2011-08-11 22337, 2011

      • adhawkins
        mineo: I have all the modules loaded, I can boot other VMs
      • 2011-08-11 22305, 2011

      • adhawkins
        Ok, if I want to install NGS from scratch, what distro would you guys suggest as a starting point
      • 2011-08-11 22310, 2011

      • adhawkins
        I'm a Debian man myself
      • 2011-08-11 22337, 2011

      • ruaok
        debian works fine.
      • 2011-08-11 22325, 2011

      • ruaok
        k, bed time.
      • 2011-08-11 22326, 2011

      • ruaok
        nn
      • 2011-08-11 22320, 2011

      • reosarevok joined the channel
      • 2011-08-11 22359, 2011

      • adhawkins
        nn ruaok
      • 2011-08-11 22325, 2011

      • outsidecontext joined the channel
      • 2011-08-11 22325, 2011

      • warp
        buenos dias!
      • 2011-08-11 22331, 2011

      • adhawkins
        My god, how long does cpanm . take?
      • 2011-08-11 22343, 2011

      • warp
        what does that do?
      • 2011-08-11 22316, 2011

      • adhawkins
        It's one of the steps in installing the server
      • 2011-08-11 22323, 2011

      • adhawkins
        Installing a load of perl stuff
      • 2011-08-11 22303, 2011

      • ocharles
        yes, we have a lot of dependencies :)
      • 2011-08-11 22354, 2011

      • adhawkins
        So I see...
      • 2011-08-11 22354, 2011

      • warp
        cpanm . takes the deps from the Makefile.PL in the current directory or something?
      • 2011-08-11 22312, 2011

      • adhawkins
        Just one thing, what exactly does 'Make sure the proper environment variables for local::lib are set (PERL5LIB, PERL_MM_OPT, MODULEBUILDRC, and PATH)' mean?
      • 2011-08-11 22327, 2011

      • warp
        Having the following line in your ~/.bashrc should be enough for that:
      • 2011-08-11 22330, 2011

      • warp
        eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
      • 2011-08-11 22305, 2011

      • adhawkins
        Can't locate local/lib.pm in @INC (@INC contains: /home/mbserver/perl5/lib/perl5/i486-linux-gnu-thread-multi /home/mbserver/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .).
      • 2011-08-11 22351, 2011

      • adhawkins
        Ah, doesn't look like I've installed it yet.
      • 2011-08-11 22354, 2011

      • ocharles
        warp: yea
      • 2011-08-11 22348, 2011

      • adhawkins
        Would it matter if I did the cpanm . before installing that?
      • 2011-08-11 22350, 2011

      • warp
        hm, perhaps we should add some local::lib instructions or atleast a pointer in our INSTALL file.
      • 2011-08-11 22350, 2011

      • adhawkins
        Doh.
      • 2011-08-11 22311, 2011

      • adhawkins
        It is mentioned in the wiki, but I only installed the perl modules the INSTALL file specifically says
      • 2011-08-11 22332, 2011

      • warp
        adhawkins: local::lib is used to install cpan packages in your home directory
      • 2011-08-11 22344, 2011

      • adhawkins
        So where were they going before I had it installed?
      • 2011-08-11 22349, 2011

      • warp
        adhawkins: which is one way to make sure cpan doesn't mess up any perl packages installed by your distribution.
      • 2011-08-11 22359, 2011

      • adhawkins
        I'm running as a normal user I've created for the server
      • 2011-08-11 22321, 2011

      • warp
        I would expect the default path to be /usr/local/ for perl stuff installed by cpan.
      • 2011-08-11 22333, 2011

      • adhawkins
        So would cpan be able to put stuff there as a normal user?
      • 2011-08-11 22338, 2011

      • adhawkins
        I'd expect not
      • 2011-08-11 22337, 2011

      • warp
        normally, no. (I sometimes make /usr/local writable for "warp" :)
      • 2011-08-11 22354, 2011

      • adhawkins
        Oh well, we'll see what happens.
      • 2011-08-11 22359, 2011

      • adhawkins
        I can always start again if necessary.
      • 2011-08-11 22305, 2011

      • adhawkins
        I've got a snapshot of before I started this.
      • 2011-08-11 22319, 2011

      • warp
        ah, good.
      • 2011-08-11 22322, 2011

      • adhawkins
        Anyone else found virtualbox a bit flaky? Keeps marking the VMs as 'unaccessible'
      • 2011-08-11 22303, 2011

      • adhawkins
        Doing it all headless under linux, using vboxmanage primarily
      • 2011-08-11 22305, 2011

      • luks
        I should take the time and try to write an external version of the MB webservice
      • 2011-08-11 22317, 2011

      • warp
        I haven't had trouble with virtualbox. but I just use it to run windows vm's on a debian machine.
      • 2011-08-11 22321, 2011

      • ocharles
        what's an external version?
      • 2011-08-11 22326, 2011

      • luks
        not in mb_server
      • 2011-08-11 22302, 2011

      • adhawkins
        I did see a lot of failures going past, could these have just been install failures cos /usr/local/wasn't writable?
      • 2011-08-11 22314, 2011

      • ocharles
        possibly, yea
      • 2011-08-11 22327, 2011

      • adhawkins
        Oh well, off and running again now
      • 2011-08-11 22340, 2011

      • adhawkins
        How much disc space does a server use roughly? Including a database obviously.
      • 2011-08-11 22357, 2011

      • ocharles
        Having 50GB aside is a good idea
      • 2011-08-11 22301, 2011

      • adhawkins
        Erk!
      • 2011-08-11 22304, 2011

      • ocharles
        I think the full db is 40
      • 2011-08-11 22312, 2011

      • adhawkins
        Is all of that required?
      • 2011-08-11 22316, 2011

      • ocharles
        no
      • 2011-08-11 22324, 2011

      • adhawkins
        What I want is a local server I can run XML requests against
      • 2011-08-11 22331, 2011

      • ocharles
        then you don't really need any data
      • 2011-08-11 22337, 2011

      • adhawkins
        Trying not to be antisocial by scanning my music collection against the real server every night
      • 2011-08-11 22341, 2011

      • ocharles
        we have webservice.sql which loads it up with our test data
      • 2011-08-11 22344, 2011

      • ocharles
        oh
      • 2011-08-11 22347, 2011

      • ocharles
        then you'll need all the data
      • 2011-08-11 22352, 2011

      • adhawkins
        Oh ok.
      • 2011-08-11 22352, 2011

      • ocharles
        except edits
      • 2011-08-11 22359, 2011

      • ocharles
        which is quite a saving actually, that's the biggest dump
      • 2011-08-11 22303, 2011

      • ocharles
        hrm
      • 2011-08-11 22307, 2011

      • adhawkins
        Can a slave be set up to not populate edits?
      • 2011-08-11 22308, 2011

      • ocharles
        you wouldn't need cdstubs either
      • 2011-08-11 22311, 2011

      • ocharles
        you probably only need the core data
      • 2011-08-11 22320, 2011

      • ocharles
        well you can't make edits on a slave
      • 2011-08-11 22325, 2011

      • adhawkins
        I don't want to
      • 2011-08-11 22336, 2011

      • adhawkins
        So it just won't download any of that when it replicates?
      • 2011-08-11 22344, 2011

      • ocharles
        it's not replicated
      • 2011-08-11 22351, 2011

      • ocharles
        so you'll be fine
      • 2011-08-11 22352, 2011

      • adhawkins
        Apologies then, wrong terminology
      • 2011-08-11 22359, 2011

      • adhawkins
        I want to be able to replicate with the main server
      • 2011-08-11 22343, 2011

      • adhawkins
        # DB_STAGING_SERVER to 0.
      • 2011-08-11 22343, 2011

      • adhawkins
        What I want is a relatively up to date copy of the main database locally
      • 2011-08-11 22335, 2011

      • ocharles
        WHAT
      • 2011-08-11 22337, 2011

      • ocharles
        WHATWHATWHAT
      • 2011-08-11 22302, 2011

      • ocharles
        This sucks :(
      • 2011-08-11 22350, 2011

      • adhawkins
        So ocharles, is it SLAVE that I want?
      • 2011-08-11 22304, 2011

      • ocharles
        yep
      • 2011-08-11 22332, 2011

      • adhawkins
        Ok.
      • 2011-08-11 22339, 2011

      • adhawkins
        And what data will that fetch in the replication packets?
      • 2011-08-11 22341, 2011

      • adhawkins
        Edits too?
      • 2011-08-11 22346, 2011

      • adhawkins
        Or just the 'core' data?
      • 2011-08-11 22309, 2011

      • ocharles
        no, edits do not get replicated
      • 2011-08-11 22309, 2011

      • adhawkins
        Cool
      • 2011-08-11 22321, 2011

      • adhawkins
        That fits with the previous server, it didn't need anywhere near 50 gig
      • 2011-08-11 22307, 2011

      • reosarevok joined the channel
      • 2011-08-11 22336, 2011

      • adhawkins
        Any way to tell how far through the cpanm process it is?
      • 2011-08-11 22330, 2011

      • ocharles
        not that I know of
      • 2011-08-11 22311, 2011

      • adhawkins
        Yay :)
      • 2011-08-11 22329, 2011

      • adhawkins
        Currently processing Heap-0.80
      • 2011-08-11 22342, 2011

      • adhawkins
        File-NFSLock-1.21
      • 2011-08-11 22353, 2011

      • adhawkins
        (this could get dull very quickly!)
      • 2011-08-11 22346, 2011

      • adhawkins
        Oooh, it's finished with an error
      • 2011-08-11 22350, 2011

      • adhawkins
        Re-running to see what happens
      • 2011-08-11 22352, 2011

      • adhawkins
        - XML::LibXML ...missing. (would need 1.60)
      • 2011-08-11 22304, 2011

      • adhawkins
        Shouldn't it go get that and install it?
      • 2011-08-11 22317, 2011

      • adhawkins
        Or is it because libxml isn't installed?
      • 2011-08-11 22348, 2011

      • pecastro
        adhawkins: most likely.
      • 2011-08-11 22328, 2011

      • adhawkins
        libxml2 was but libxml2-dev wasn't.
      • 2011-08-11 22332, 2011

      • adhawkins
        Installing that and will re-run
      • 2011-08-11 22340, 2011

      • adhawkins
        Still failed. It's trying to install XML-Parser-2.41
      • 2011-08-11 22343, 2011

      • adhawkins
        Expat.xs:12:19: error: expat.h: No such file or directory
      • 2011-08-11 22349, 2011

      • adhawkins
        Any idea where that comes from?
      • 2011-08-11 22324, 2011

      • adhawkins
        libexpat1-dev?
      • 2011-08-11 22316, 2011

      • adhawkins
        Looks better