22:12 PM
ruaok
du -s /mnt/*
22:12 PM
yes, good move.
22:12 PM
ymsc
20128960/mnt/data
22:12 PM
4/mnt/indexdata
22:12 PM
23961016/mnt/pgdata
22:13 PM
ruaok
remember, I'm flying blind on this since my VM is still being built...
22:13 PM
ah yes, that would be the problem.
22:13 PM
ymsc
no problem. Mine kept crashing everyday trying to do the replication
22:13 PM
ruaok ponders a quick fix.
22:14 PM
ruaok
I won't really have time to make the right fix happen this second.
22:15 PM
ymsc
no problem
22:15 PM
ruaok
let's try a hack.
22:15 PM
LordSputnik
zas: know much about systemd targets? what would you suggest waiting for before starting postgres and node?
22:15 PM
ruaok
sudo rm -rf /mnt/data
22:16 PM
ymsc
done
22:17 PM
ruaok
are you still user search?
22:18 PM
MajorLurker has quit
22:18 PM
ymsc
no, I'm still user vagrant
22:18 PM
22:18 PM
ruaok
yeah, I see the problem.
22:19 PM
not sure why it worked on my test setup.
22:19 PM
ok, lets go with this.
22:19 PM
sudo su - search
22:19 PM
cd /mnt
22:19 PM
mkdir pgdata/search
22:19 PM
ymsc
No passwd entry for user 'search'
22:19 PM
do I need to get the containers back up?
22:20 PM
ruaok
not yet.
22:21 PM
sudo mkdir /mnt/pgdata/search
22:21 PM
ymsc
is it ok to run the commands as the vagrant user
22:21 PM
ruaok
sudo ln -s /mnt/pgdata/search /mnt/search
22:21 PM
yeah, since you correctly point out that there are no other users.
22:21 PM
I'm still so very used to our production systems and not very much so the -vm setup.
22:22 PM
did that sudo work?
22:22 PM
ymsc
yes
22:22 PM
ruaok
sudo ls -la /mnt
22:23 PM
I <3 google guest wifi
22:23 PM
ymsc
pretty fast?
22:23 PM
ruaok
amazeballs.
22:24 PM
I was getting under a 1mbit at the hotel.
22:24 PM
here is is something more akin to what I get at the office where we have 300mbit fiber.
22:24 PM
ymsc
did you want the output for the ls -la /mnt?
22:24 PM
ruaok
plz
22:25 PM
ymsc
last speed test I ran at work was just under 1gb
22:25 PM
22:25 PM
ruaok
nice, where do you work?
22:25 PM
ymsc
a public university
22:25 PM
ruaok
ah, ok.
22:26 PM
ymsc
we have 2 10gb connections
22:26 PM
ruaok
sudo du -s /mnt
22:26 PM
ymsc
23961032/mnt
22:26 PM
ruaok
sudo du -s /mnt/*
22:27 PM
ymsc
4/mnt/indexdata
22:27 PM
23961024/mnt/pgdata
22:27 PM
0/mnt/search
22:27 PM
Freso
LordSputnik: What do you need to know about about systemd targets?
22:28 PM
ruaok
something is still a bit fishy. lets cleanup more.
22:28 PM
sudo rm -rf /mnt/indexdata
22:28 PM
sudo ln -s /mnt/indexdata /mnt/pgdata/search
22:30 PM
ymsc
those are done
22:30 PM
ruaok
sudo ls -ls /mnt
22:30 PM
ymsc
total 4
22:30 PM
4 drwxr-xr-x 5 root root 4096 Oct 27 22:21 pgdata
22:30 PM
0 lrwxrwxrwx 1 root root 18 Oct 27 22:22 search -> /mnt/pgdata/search
22:31 PM
ruaok
I cocked up the last ln
22:31 PM
sudo ln -s /mnt/pgdata/search /mnt/search
22:31 PM
sudo ls -la /mnt
22:31 PM
ymsc
total 4
22:31 PM
4 drwxr-xr-x 5 root root 4096 Oct 27 22:21 pgdata
22:31 PM
0 lrwxrwxrwx 1 root root 18 Oct 27 22:22 search -> /mnt/pgdata/search
22:33 PM
ruaok
there should be a link /mnt/indexdata link that also points to /mnt/pgdata/search
22:34 PM
well, you can try the reindex after we start the containers.
22:34 PM
if something borks, try setting up that link as well.
22:34 PM
for now
22:34 PM
ymsc
ok
22:34 PM
ruaok
cd ~/musicbrainz-docker
22:34 PM
docker-compose build && docker-compose up
22:34 PM
that will give you logs in one window. open another window and log back into the vm.
22:35 PM
LordSputnik
Freso: I'm trying to get
bb.org/test.bb.org to start cleanly when the server restarts. Sometimes they are and sometimes they aren't. I think that pg is perhaps starting too soon in some cases - I'm using After=network.target and Requires=network.target
22:35 PM
ruaok
"docker-compose up -d" will run that in the background.
22:35 PM
for now, make sure to keep that window open.
22:35 PM
ymsc
ok
22:36 PM
ruaok
does it look like things are happy?
22:36 PM
in the new window try
22:36 PM
docker ps
22:36 PM
and pastebin that
22:36 PM
Freso
LordSputnik: But the site itself should work without network, right? (I mean, it won't be accessible, but it should be as soon as network comes up.)
22:36 PM
LordSputnik: Maybe try and see if there's pgsql .socket you can use?
22:36 PM
ymsc
should I do the git pull first?
22:36 PM
ruaok
yes
22:37 PM
ymsc
Failed to write all bytes for _bisect.so
22:37 PM
when I tried to bring them up
22:38 PM
ruaok
wha?
22:38 PM
pastebin
22:39 PM
ymsc
one sec
22:40 PM
22:41 PM
looks like /tmp fills up when I run it
22:43 PM
ruaok
df -h
22:43 PM
didn't we take care of the disk issues now?
22:44 PM
ymsc
22:44 PM
there is free space, but /tmp is full
22:44 PM
JonnyJD_ has quit
22:45 PM
ruaok
/tmp is 1mb? da hell?
22:45 PM
what is in tmp? can you try do do some cleanup?
22:45 PM
ymsc
I did, and it filled up again
22:45 PM
when I ran the docker compose command
22:45 PM
22:47 PM
ruaok
that is exceptionally dumb.
22:47 PM
how about trying to umount /tmp
22:48 PM
and then doing a softlink to / ?
22:48 PM
ymsc
can try it
22:50 PM
once I unmounted it /tmp looks better
22:52 PM
ruaok
does docker compose now run ok?
22:53 PM
ymsc
22:53 PM
nope
22:53 PM
error is at the bottom
22:54 PM
LordSputnik
Freso: this is a really weird issue
22:54 PM
docker-compose isn't correctly setting up the link to the dependency, so the site can't find the database hostname
22:56 PM
ruaok
do a git pull in musicbrainz-docker and try again
22:58 PM
ymsc
looks to be doing better, it is still doing the build
23:04 PM
Gentlecat
zas: I think stuff is running properly on serge now
23:04 PM
ruaok
still building, ymsc ?
23:05 PM
ymsc
yes
23:05 PM
Leftmost` joined the channel
23:05 PM
taking a lot longer then the last time I ran the build
23:06 PM
ruaok
yeah.
23:06 PM
Leftmost`
In Cali.
23:06 PM
ruaok
check disk space.
23:06 PM
welcome Leftmost`
23:06 PM
are you headed to the hotel tonight?
23:06 PM
Leftmost`
Yep. There now.
23:07 PM
ruaok
oh sweet. I'm over at the google compus.
23:07 PM
I'll walk back as soon as this data import is done.
23:07 PM
did you get any montana wiskey?
23:07 PM
it is drink o'clock after all.
23:07 PM
Leftmost`
No, couldn't find any that'd travel.
23:07 PM
ruaok
booo.
23:08 PM
I have catalan vermut, but none of the things required to drink it.
23:08 PM
maybe the reception has an orange and plastic knife.
23:08 PM
then we could manage.
23:08 PM
Leftmost`
I'll just have to make sure to bring a bottle to BCN the next time.
23:08 PM
ruaok
that works.
23:08 PM
ymsc: what is it stuck on?
23:08 PM
Leftmost`: what room are you in? 212 here.
23:09 PM
ymsc
looks like it finished building
23:09 PM
ruaok
docker-compose up
23:09 PM
bitmap
you're both at the sheraton right?
23:09 PM
ruaok
or docker-compose up -d
23:09 PM
I am.
23:09 PM
ymsc
indexer_1 | stdin: is not a tty