I was able to create the db yesterday. However, when I am building the docker compose, I see this error
`failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: `
I think I am missing some steps. Can you please guide me a bit?
Also, while trying to get it up, I see `Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:5000 -> 0.0.0.0:0: listen tcp 0.0.0.0:5000: bind: address already in use` How can I change the port?
Thanks lucifer! Worked well for me. 5000 is hardcoded at a lot of places so I had to Replace it everywhere with a different port to get things working.
I think I should have only updated it for the Dockerfile in dev area.
atj
Pretty irritating how Docker registry and MB both default to port 5000
akshaaatt
I still don't have the right config yet atj. Please tell me where to update the port exactly.
mayhem, atj: fixed, the record was missing for listenbrainz.org, added & tested
atj
nice one zas
if that's the worst they've found mayhem then I'd be very happy!
mayhem
Indeed!
!m zas and atj
BrainzBot
You're doing good work, zas and atj!
mayhem
I'll respond to the mail.
Already done, I see. :)
zas
about floyd & pink upgrade options, the natural upgrade would be PX93 + hardware RAID10, but it would double the monthly cost compared to current cost. AX102 with software RAID1 would keep cost at ~same level. Since CPU is much faster, RAM is DDR5, and SSDs will be NVMe I don't think performance will be too much impacted (but only experience can tell). There's a few days delay to have one.
I think to go with option 2 upgrade (different IP, run in parallel) (https://docs.hetzner.com/robot/dedicated-server...), I'll coordinate with bitmap for the move (as it will require to switch to new IP).
this way we run benchmarks having both machines in parallel. It will also let some time to ensure the machine is stable. If we detect anything annoying, we'll decide what to do.
bitmap: ^^
atj
Software raid is preferable these days IMO
mayhem
atj: why is that?
I'm happy that it is, but why?
and if we dont have a lot of disk io (as planned) the software raid should be ok, no?
atj
Hardware RAID is a black box, and can fail in weird ways. Different controllers behave very differently and often don't pass through SMART data on the individual disks so you can't monitor them effectively
mayhem
ah, ok
atj
Unless you have a memory backed write cache they don't offer much benefit
the4oo4 has quit
the4oo4 joined the channel
mayhem
atj: > if that's the worst they've found mayhem then I'd be very happy!
well, we just received another one. :)
forwarded.
atj
again not really that significant IMV, if we don't have any legacy HTTP endpoints then we can add it
HSTS isn't enabled for most websites (it should once we are sure we don't serve over HTTP anymore), atm it is enabled only for picard website, it can be done through docker-server-configs, see https://github.com/metabrainz/docker-server-con...
enabling HSTS for a service still using HTTP is a serious mess...
the report we got by email isn't clear about the domain tested
if we go for enabling HSTS for all websites, we might need to change things a bit to have a short max-age in case of (and later increase it once everything is sure). HSTS is like permanent redirections, it is hard to undo as everything happens on browser side.
atj
I don't think it's reasonable to enable HSTS on all sites, but maybe we can look at what is HTTPS only
bitmap
zas: ready to help whenever the machine is ready
the plan is to clone floyd first, i.e. have two standbys running side-by-side and compare their performance?
Zhele has quit
reosarevok: I think the code should probably be taking an intersection of the attributes, rather than a union
I was just suggesting this because there may be mismatch between now playing and bp
monkey
We plan on showing listening now and pinned recordings at the top
Between the website and the app you mean?
jasje
no the website only
in case lets say someone else (my brother) is listening songs on my phone
that submits a different now playing
but I, on website, sees that my now playing and BrainzPlayer entry is glitching out
(but is actually not)
monkey
Well, it would accurately show that you(-ish) are listening to a song on your phone
jasje
it does that?
akshaaatt
I don’t think we should work on solving this problem. Even netflix accounts are shared by multiple people but all comes under the same person
monkey
It can if you submit that information in the listen
In any case that seems like an edge case to me.
jasje
alright that solves it
(not in my case, thats a regular case :P)
in my**
akshaaatt
I would be fine with keeping an array of playing nows if that is easy enough. Otherwise, I agree with monkey that it is an edge case and we can ignore it
monkey
jasje: time to get your brother a listenbrainz account :p