I tried adding 127.0.0.53 to docker daemon config too.
ruaok
zas: you still about?
we could use your expertise for a second.
maybe a firewall issue?
making changes to docker daemon requires a docker restart.
zas
Eating right now, can it wait few minutes ?
ruaok
but containers have been up for 40 minutes... so.
zas: k
yvanzo
I did restart docker service
ruaok
bitmap: can I restart docker?
yvanzo
(on purple)
bitmap
ruaok: sure
ruaok
it didn't restart.
k
oh, I see, times didn't reset on the containers.
hmm.
yeah, not working.
I suspect firewall.
yvanzo
failed again
zas
Docker is set up to not use iptables, if you use docker networks it I'd likely the problem
ruaok
yes, we are.
are we forced to hose hostmode for networking?
zas
Check etc docker daemon.json
yvanzo
I did add 127.0.0.53 to dns in /etc/docker/daemon.json
ruaok
actually, we can do iptable for now.
restarting docker.
working now.
go ahead, yvanzo
yvanzo
I cannot even ping github from container (but fetching repo from github worked fine while building the image worked fine)
ruaok
you should be able to now.
yvanzo
same
ruaok
I can access the outside world from other containers.
maybe stop all containers and start again?
yvanzo
I did that already
even rebuilt images
ruaok: works now, thanks
ruaok
great.
ok, I'm idle. ping me if you need anything bitmap, yvanzo
yvanzo
I had to remove dns settings for containers
(fetching db dump for real)
bitmap
artwork-indexer container is running. it seems to be able to connect to PG fine.
(gives FATAL: database "musicbrainz_db" does not exist for now)
artwork-redirect*
ruaok
lets see if the gateway picked it up
OH JEEZ MAKE IT STOP.
it picked it up and there is a TON of traffic.
scary.
bitmap
oof, stopped
ruaok
bitmap: sorry, not you.
that was badly expressed, sorry.
put that back it was doing great. :)
docker logs -f 73b2abdd60b2
is a bit of an assault.
bitmap
haha yes I see what you mean
I wonder why the artwork-redirect_caa_1 logs aren't showing errors for these
ruaok
ah, there is some cert problem. I guess I need to restart the service to pick up the changes.
its not quite working yet. the cert wasn't correctly generated. hang on
`[Mon Nov 1 21:10:11 UTC 2021] coverartartchive.org:Verify error:DNS problem: NXDOMAIN looking up A for coverartartchive.org - check that a DNS record exists for this domain
fat fingered that one. :)
can you please fix that extra t in the domain, bitmap ?
and restart your container?
cover art art chive. way to go mr. kaye.
bitmap
whoops, ok one sec
ruaok
there may be two instances
bitmap
yeah
ruaok
I bet you have traffic now.
bitmap
indeed...
ruaok
piles and piles of it.
bitmap
I probably *should* stop the containers for now until these tracebacks stop
zas
I'll switch back from herb to kiki
bitmap
huh. there actually is no index_listing view in the database
ruaok
oh dear, the load is already 20 and we have no DB in service.
bitmap
yvanzo: I assume the schema is still being created?
ruaok
we can stop the proxy too. that will make the import go faster.
let me do that
yvanzo
bitmap: yes
bitmap
okay
I stopped the caa container for now
ruaok
yvanzo: the whole server is yours now.
once the import is done we'll bring everything up and hope that one server can cope.
if not, we'll get a bigger server tomorrow.
yvanzo
almost loaded db dump
ruaok
yvanzo: musicbrainz-docker_search_1 is continually restarting
yvanzo
I stopped it
(not needed)
ruaok
k
this poor server is going to get hammered.
zas: you about? is this server already configured for high load?
yvanzo
I guess I should allocate more than 4GB to PG shared buffers then?
zas
I don't think so
I guess nginx & sysctl will need tuning
ruaok
can you please work on that?
yvanzo: yes, give it 33%, I would say
20Gb
because almost nothing else is going to take ram, might as well give it all to pg.
yvanzo
you just need the DB, not MB server?
bitmap
we'll need replication running at least
ruaok
no MB server, but yes replication.
but don't work harder to turn off MB server. its just not needed.
yvanzo
I will reduce the number of processes to 1 at least
ruaok
puurfect.
yvanzo
bitmap: do we need materialized tables?
ruaok
bitmap: ^^
bitmap
yvanzo No I don’t think so
ruaok
zas: how can we get the nginx and sysctl turning done soon?
yvanzo
creating PKs
zas
let me see
where's your nginx.conf ?
ruaok
thx
there is no additional nginx.conf as of yet
the whole setup lives in ~musicbrainz/nginx-proxy
and by whole, I mean that one file.
zas
hmmm
it will not be easy to configure
ruaok
what do you want to do?
zas
well, we need to configure a lot of things at all levels in the config file, mainly set workers (at top level) and backlog (in server blocks)