that's different, that is the port number of the musicbrainz webserver
2016-05-28 14938, 2016
stixx
ok
2016-05-28 14951, 2016
alastairp
OK. now we need to change some default configuration of postgres so that the import process can connect to it
2016-05-28 14900, 2016
stixx
ok
2016-05-28 14920, 2016
alastairp
then, as the blog post says, you will need to download a recent dump of the musicbrainz database and import it
2016-05-28 14932, 2016
alastairp
first we should check how much disk space you have
2016-05-28 14936, 2016
alastairp
run df -h
2016-05-28 14950, 2016
alastairp
there will be a line that ends with /
2016-05-28 14952, 2016
alastairp
/dev/sda2 909G 694G 170G 81% /
2016-05-28 14932, 2016
stixx
ok
2016-05-28 14959, 2016
stixx
i have 68G available
2016-05-28 14909, 2016
Gore
administrating jira on saturday, changing all the things
2016-05-28 14913, 2016
Gore
\o/
2016-05-28 14923, 2016
alastairp
OK. I don't know if that'll be enough. I know that traditionally the VM doesn't have a lot of disk space. unfortunately I don't have any experience in increasing it
2016-05-28 14926, 2016
alastairp
we can try if you want
2016-05-28 14929, 2016
opatel99 has quit
2016-05-28 14940, 2016
stixx
yeah lets do it
2016-05-28 14945, 2016
alastairp
do you have a commandline text editor that you know how to use?
2016-05-28 14958, 2016
stixx
i have nano
2016-05-28 14902, 2016
alastairp
great
2016-05-28 14923, 2016
alastairp
let's start with the database access
2016-05-28 14946, 2016
alastairp
sudo nano /etc/postgresql/9.5/main/pg_hba.conf
2016-05-28 14914, 2016
stixx
ok
2016-05-28 14921, 2016
alastairp
if you scroll down, there is a section that says
2016-05-28 14922, 2016
alastairp
# TYPE DATABASE USER ADDRESS METHOD
2016-05-28 14946, 2016
stixx
yep
2016-05-28 14959, 2016
alastairp
ah, one sec. just got to check something
2016-05-28 14933, 2016
alastairp
ok, let's go up a few lines:
2016-05-28 14954, 2016
alastairp
local all postgres peer
2016-05-28 14901, 2016
alastairp
*before* this line, write:
2016-05-28 14904, 2016
alastairp
local all all trust
2016-05-28 14929, 2016
alastairp
don't worry about aligning the columns. you only need at least one space between the words
does anyone know how repication cron is configured?
2016-05-28 14951, 2016
alastairp
if you run crontab -e, do you see a line that contains "replication" ?
2016-05-28 14938, 2016
stixx
no crontab for vm - using an empty one
2016-05-28 14945, 2016
alastairp
hmm, ok. not there
2016-05-28 14957, 2016
alastairp
ohwell, let's not worry. it shouldn't cause too much of a problem
2016-05-28 14917, 2016
alastairp
let's run from the blog, steps 4, 5, 6
2016-05-28 14906, 2016
stixx
ok
2016-05-28 14939, 2016
stixx
The program 'git' is currently not installed. looks like i dont have this
2016-05-28 14947, 2016
The_Freso joined the channel
2016-05-28 14950, 2016
alastairp
whoops
2016-05-28 14958, 2016
alastairp
sudo apt-get install git
2016-05-28 14930, 2016
Freso has quit
2016-05-28 14930, 2016
The_Freso is now known as Freso
2016-05-28 14938, 2016
stixx
Usage: cpanm [options] Module [...] getting this when I run cpanm --installdeps --notest
2016-05-28 14926, 2016
stixx
wait
2016-05-28 14932, 2016
stixx
forgot the dot
2016-05-28 14915, 2016
stixx
--> Working on . Configuring /home/musicbrainz/musicbrainz-server ... FAIL ! Timed out (> 60s). Use --verbose to retry. ! Configuring . failed. See /home/vm/.cpanm/work/1464432287.12460/build.log for details. vm@musicbrainzvm:/home/musicbrainz/musicbrainz-server$
2016-05-28 14908, 2016
stixx
sorry got a error
2016-05-28 14951, 2016
alastairp
Hmm. Not sure, sorry
2016-05-28 14903, 2016
alastairp
I don't often work with this part of musicbrainz
2016-05-28 14938, 2016
alastairp
It may be that you vm is having trouble connecting to the Internet or to the cpan site
2016-05-28 14949, 2016
alastairp
You could try again soon
2016-05-28 14928, 2016
stixx
tried a couple times can we skip that?
2016-05-28 14958, 2016
alastairp
I'm not sure
2016-05-28 14915, 2016
alastairp
I think for the next step we can
2016-05-28 14927, 2016
alastairp
Try step 1 in the install document
2016-05-28 14910, 2016
alastairp
you may have to apt-get install postgresql-server-dev-9.5 in order for the commands to work
2016-05-28 14953, 2016
stixx
vm@musicbrainzvm:/home/musicbrainz/musicbrainz-server/postgresql-musicbrainz-unaccent$ make make: *** No targets specified and no makefile found. Stop.
2016-05-28 14911, 2016
stixx
any suggestions
2016-05-28 14910, 2016
alastairp
ah. yeah
2016-05-28 14902, 2016
alastairp
these folders are git submodules
2016-05-28 14908, 2016
alastairp
and perhaps they are not configured
2016-05-28 14917, 2016
alastairp
I don't know how to update them
2016-05-28 14928, 2016
stixx
ok
2016-05-28 14932, 2016
alastairp
what if you run
2016-05-28 14939, 2016
alastairp
git submodule update --init
2016-05-28 14948, 2016
alastairp
from inside the unaccent directory?
2016-05-28 14955, 2016
stixx
ok it did something
2016-05-28 14935, 2016
stixx
and gave me this Submodule path '../postgresql-musicbrainz-unaccent': checked out '62989e884ba1008da8a5dd0aa2ba0b7bf0ecb725'
2016-05-28 14945, 2016
stixx
is that good?
2016-05-28 14923, 2016
stixx
?
2016-05-28 14913, 2016
stixx
alastairp
2016-05-28 14923, 2016
stixx
if your busy I can catch you later mate?
2016-05-28 14920, 2016
reosarevok
I *think* that's good
2016-05-28 14952, 2016
stixx
ok so where should I go next
2016-05-28 14955, 2016
reosarevok
Now do the cd postgresql-musicbrainz-unaccent - make - etc stuff again
2016-05-28 14909, 2016
reosarevok
See if you get something different
2016-05-28 14949, 2016
reosarevok
I'm off for lunch, but if that works you can try to work down the install doc until something doesn't work
2016-05-28 14958, 2016
reosarevok
If not, then hopefully alastairp will be back soonish :)
2016-05-28 14916, 2016
stixx
thanks mate ill give it a shot
2016-05-28 14908, 2016
stixx
and thanks alastairp for all the help I have learned alot today. I will try on my own from here and come back if I cant get it to work but your help has been greatly appreciated!!
2016-05-28 14949, 2016
alastairp
hey. no problem
2016-05-28 14958, 2016
rickatnight11 joined the channel
2016-05-28 14901, 2016
alastairp
you should be able to follow the instructions in INSTALL.md now to get the database imported