if you have both in a docker-compose file, it performs the build and then tags it with `image:`
ruaok
oy. I think some tuning on ts is necessary.
it drives gaga to 98% disk space twice a day.
alastairp
oops. anything in logs about what it's doing?
recreating those materialised views?
ruaok
I'm guessing that is it.
I'll have to have a read on how to tune that.
_lucifer
ah ok! makes sense.
alastairp
_lucifer: I just added ./annoy_indices to dockerignore
I told you it was hacky :)
_lucifer
a lot of our work is :D
alastairp
oh - the other hacky part is that we're using postgres running directly on bono, and mounting in /var/run/postgresql to the image so that it can connect
in other news, I just tested a build and BU + setuptools dependency with no versions makes it try and install a version which isn't python-2 compatible
_lucifer
yup, i guessed that was the case seeing the volumes.
in BU 2 or 1.18?
alastairp
weirdly it's using 1.15
_lucifer
oh i see i changed the branch to download_ds.
i should probably merge master into the branch first.
but because the dependency for setuptools_scm in BU's setup.py has no version number, it seems like they released a new version which dropped py 2 support
_lucifer
oh!
makes sense.
agatzk joined the channel
alastairp
we could release BU 1.18.2 which includes a version restriction for AB
_lucifer
sure, let's do that.
alastairp
OK, let me do that. we discussed that we'll need a branch if we continue to make 1.18 releases. what do you want to call it? 1.18, or 1.x ?
_lucifer
there's already one iirc.
v1.18
alastairp
oops, missed the fact that we made one of those. thanks
although - now I'm a bit confused. latest setuptools_scm was released March 17, but our change was made March 31
maybe it's a dependency of a dependency
_lucifer
yeah, just saw that.
they dropped python2 support in 6.0.0.
maybe on March 31, somehow we still got the 5.* version so it worked?
yeah, it's possible that something like that happened?
huh. right
_lucifer
i merged master into the download_ds branch and now it installed correctly.
so something happened between 1.15 and 1.18.1?
AB is up on bono now but it is returning 502s.
alastairp
possibly. let's just ignore it :)
_lucifer
yup.
why do we need nginx on bono to run AB?
alastairp
because we're running it in uwsgi, not the dev server. so we need something that speaks http
_lucifer
ah ok!
i see consul issues in the logs.
alastairp
it's possible that the last time I ran this was before I made startup changes to AB
_lucifer
probably. so how do we update the consul config here?
alastairp
the easiest way may be to just have a local config.py in the repo, and then in docker-compose.yml set the `command` to run. this way it won't do any of the prod startup process, and will skip consul
in fact, there is already a config.py, so that might be what I was using before
I've added command: to docker-compose.yml, restarting
it's possible that 1) nginx is trying to serve static files and not pass through to web, or 2) they've not been built in web for some reason
_lucifer
yeah, seems the static files not built. css and js not working.
can we just bring up a dev instance?
Zhele has quit
alastairp
yeah, that should work too. just take everything down, find a port that's not used, and consider using the local database so that you have some content
Zhele joined the channel
ROpdebee has quit
ruaok
alastairp: the issue with gaga running out of diskspace has to do with the old continuous aggregates. we should really work to merge the time ranges PR ASAFP.
I think the new continuous aggregate will use less diskspace.
in order for letsencrypt to assign certs it needs to have access to port 80 (unencrypted) to start the process. once the process is done, all port 80 requests are sent to 443.
what do you want to do?
_lucifer
but this is running on another port not 80
bring up a dev instance of AB
ruaok
ah. its a different side of the same setup.
I guess you are connecting to the musicbrainz_docker (or whatever) network? if so, any container that is found on that network will be shunted through SSL.
_lucifer
yeah right. oh ok.
is there a way to get around this?
ruaok
the setup is quite hacky, it could do with moving to a separate account.
[bookbrainz-site] dependabot[bot] opened pull request #623 (master…dependabot/npm_and_yarn/underscore-1.13.1): chore(deps): bump underscore from 1.10.2 to 1.13.1 https://github.com/bookbrainz/bookbrainz-site/p...
agatzk has quit
agatzk joined the channel
[listenbrainz-server] dependabot-preview[bot] opened pull request #1431 (master…dependabot/npm_and_yarn/ua-parser-js-0.7.28): [Security] Bump ua-parser-js from 0.7.21 to 0.7.28 https://github.com/metabrainz/listenbrainz-serv...