#metabrainz

/

      • mayhem
        I would prefer us to move to HTTP and be done with it.
      • 2023-04-17 10748, 2023

      • mayhem
        yes, exactly.
      • 2023-04-17 10720, 2023

      • atj
        i'm sure zas can provide some reasons why it's not so straightforward
      • 2023-04-17 10749, 2023

      • mayhem
        oh, there is server work to be done?
      • 2023-04-17 10707, 2023

      • atj
        erm, let me check
      • 2023-04-17 10717, 2023

      • mayhem
        if it is just the musicbrainz-docker side of things it shouldn't be more than just changing the protocol we use.
      • 2023-04-17 10743, 2023

      • atj
        yes you're right, http already works
      • 2023-04-17 10708, 2023

      • atj
        OK, that's the simplest fix then
      • 2023-04-17 10731, 2023

      • atj
        zas, yvanzo, reosarevok: what's preventing us switching the Docker scripts to pull dumps via HTTP and announcing FTP access to ftp. is deprecated and will be removed in ~3 months?
      • 2023-04-17 10729, 2023

      • mayhem
        it would be great if we could get a PR for this fix up today and then merge it in 3 months if we need to the time.
      • 2023-04-17 10731, 2023

      • yvanzo
        atj: If by Docker scripts you mean musicbrainz-docker, I can look into it.
      • 2023-04-17 10738, 2023

      • mayhem
        yvanzo: yes.
      • 2023-04-17 10747, 2023

      • yvanzo
        We need at least to let the schema change go.
      • 2023-04-17 10749, 2023

      • mayhem
        yvanzo: let me forward you the email from atj
      • 2023-04-17 10703, 2023

      • mayhem
        meaning we should do it after?
      • 2023-04-17 10727, 2023

      • yvanzo
        yes, 3 months if 2 months after the schema change, so it's fine.
      • 2023-04-17 10736, 2023

      • mayhem
        ah, got it.
      • 2023-04-17 10754, 2023

      • mayhem
        this should be a pretty simple fix, right?
      • 2023-04-17 10709, 2023

      • yvanzo
        Our Docker Compose project supports FTP only atm, but it should be simple to handle HTTP/S too.
      • 2023-04-17 10745, 2023

      • lucifer
      • 2023-04-17 10728, 2023

      • yvanzo
        mbdata is using HTTP already
      • 2023-04-17 10709, 2023

      • yvanzo
        Unless some of our backends need FTP (in which case zas or bitmap would know), I don’t think there is any reason not to drop it.
      • 2023-04-17 10719, 2023

      • zas
        atj: support for HTTP was a quick hack over FTP (which is here for historical reasons). I see no problem in deprecating FTP, though serving via HTTPS might need some improvements (fancier index pages, ensuring everything is properly configured to serve big files, and better/simpler cert management, etc...)
      • 2023-04-17 10743, 2023

      • atj
        Well if the status quo is FTP I see no issue with HTTP. HTTPS could be added later.
      • 2023-04-17 10726, 2023

      • yvanzo
        atj: Is the PASV issue a FTP server configuration issue or client missing flags?
      • 2023-04-17 10744, 2023

      • yvanzo
        (or both)
      • 2023-04-17 10723, 2023

      • atj
        yvanzo: it's a client and a server issue but not something that can be easily resolved
      • 2023-04-17 10719, 2023

      • atj
        The client host is using IPv4 in IPv6 addressing which is something to do with the clients host network configuration
      • 2023-04-17 10745, 2023

      • yvanzo
        Ok, that’s really easier to move to HTTP/S then.
      • 2023-04-17 10757, 2023

      • atj
        you end up in a bizarre situation where wget is making a IPv4 request but think it is making an IPv6 request
      • 2023-04-17 10705, 2023

      • atj
        *thinks
      • 2023-04-17 10736, 2023

      • atj
        and because FTP is so archaic, they had to add additional commands to the FTP protocol to support IPv6
      • 2023-04-17 10758, 2023

      • yvanzo
        atj: Are you working on a patch to musicbrainz-docker already?
      • 2023-04-17 10718, 2023

      • atj
        yvanzo: yes, give me 20 mins
      • 2023-04-17 10735, 2023

      • yvanzo
        Ok, just let me know if you need any help with it.
      • 2023-04-17 10715, 2023

      • yvanzo
        reosarevok, bitmap: What is an "MBID submitter"? It’s not documented in https://musicbrainz.org/doc/Editor and there are none in https://musicbrainz.org/privileged
      • 2023-04-17 10729, 2023

      • BrainzGit
        [musicbrainz-docker] 14atj opened pull request #242 (03master…mirror-http): Fetch DB dumps via HTTP instead of FTP https://github.com/metabrainz/musicbrainz-docker/…
      • 2023-04-17 10731, 2023

      • atj
        yvanzo: see above, it's draft at the moment because i'm not sure about the changes to fetch-dump.sh
      • 2023-04-17 10701, 2023

      • yvanzo
        atj: there are FTP mirrors indeed.
      • 2023-04-17 10702, 2023

      • atj
        hmm, so what behaviour makes sense? if the URL doesn't start with http:// or ftp:// add ftp:// ?
      • 2023-04-17 10712, 2023

      • atj
        that should be backwards compatible
      • 2023-04-17 10742, 2023

      • mayhem
        lucifer: looks good to me!
      • 2023-04-17 10705, 2023

      • mayhem
        who is kleinaviad@.... ?
      • 2023-04-17 10741, 2023

      • yvanzo
        atj: to add a --base-http-url option and deprecate the current option?
      • 2023-04-17 10720, 2023

      • atj
        yvanzo: you had to choose the more complex option didn't you ;)
      • 2023-04-17 10747, 2023

      • atj
        that makes sense, i'll update the PR
      • 2023-04-17 10742, 2023

      • zas
        mayhem: I doubt that's anyone we know, likely phishing attempt
      • 2023-04-17 10758, 2023

      • zas
        atj: I think we can merge https://github.com/metabrainz/metabrainz-ansible/… if you have nothing else to add to it.
      • 2023-04-17 10727, 2023

      • atj
        zas: I want to deploy to sentry first the merge
      • 2023-04-17 10731, 2023

      • atj
        *then
      • 2023-04-17 10736, 2023

      • zas
        ok
      • 2023-04-17 10753, 2023

      • atj
        going to have lunch then i'll do it, are you around?
      • 2023-04-17 10721, 2023

      • yvanzo
        bitmap, reosarevok: updating MB beta servers
      • 2023-04-17 10753, 2023

      • reosarevok
        Are you releasing prod after this?
      • 2023-04-17 10700, 2023

      • reosarevok
        Mbid submitter is unused iirc
      • 2023-04-17 10721, 2023

      • reosarevok
        It's for some external data users to be able to create their own mbids for stuff they don't want to make public yet
      • 2023-04-17 10728, 2023

      • reosarevok
        mayhem might remember the details
      • 2023-04-17 10733, 2023

      • yvanzo
        reosarevok: yes for prod
      • 2023-04-17 10753, 2023

      • reosarevok
        Thanks
      • 2023-04-17 10741, 2023

      • yvanzo
        reosarevok: Can you please create the blog post? The editor is not loading correctly for me atm.
      • 2023-04-17 10757, 2023

      • yvanzo
        updating MB main servers now
      • 2023-04-17 10728, 2023

      • mayhem
        reosarevok: pretty much that. still no takers.
      • 2023-04-17 10707, 2023

      • yvanzo
        reosarevok: on it, seems to work fine with chrome atm
      • 2023-04-17 10753, 2023

      • reosarevok
        Ok. I can review in a couple hours
      • 2023-04-17 10712, 2023

      • reosarevok
        (going home now)
      • 2023-04-17 10716, 2023

      • atj
        zas: bootstrapping sentry - do we want the usual user accounts on it or a subset?
      • 2023-04-17 10744, 2023

      • zas
        I guess we can have usual ones
      • 2023-04-17 10747, 2023

      • atj
        ok
      • 2023-04-17 10721, 2023

      • atj
        🤞🏼
      • 2023-04-17 10752, 2023

      • petitminion_ has quit
      • 2023-04-17 10718, 2023

      • atj
        ok, bootstrap done, deploying site playbook
      • 2023-04-17 10730, 2023

      • atj
        zas: sentry runs the bundled version of docker. the one from the docker repo is newer and has a different package name
      • 2023-04-17 10727, 2023

      • atj
        not 100% sure how that would go so I think we need to organise some downtime for sentry to do the docker install and a reboot
      • 2023-04-17 10749, 2023

      • yvanzo
        atj, zas: I updated GH RSA key on clash
      • 2023-04-17 10739, 2023

      • yvanzo
        bitmap, reosarevok: The script skipped updating MB API container on clash, but there is no expected change in API anyway.
      • 2023-04-17 10738, 2023

      • prout has quit
      • 2023-04-17 10752, 2023

      • prout joined the channel
      • 2023-04-17 10759, 2023

      • reosarevok
        Ok
      • 2023-04-17 10722, 2023

      • yvanzo
        Same on patton
      • 2023-04-17 10722, 2023

      • petitminion_ joined the channel
      • 2023-04-17 10743, 2023

      • yvanzo
        atj: Is FTP download still mostly working or should we have this patch in today’s release?
      • 2023-04-17 10706, 2023

      • atj
        yvanzo: it's still working for most people
      • 2023-04-17 10702, 2023

      • yvanzo
        Ok, thanks. We can also release later today if we want to include this patch in the same release.
      • 2023-04-17 10706, 2023

      • yvanzo
        I can no more log into paco: kex_exchange_identification: Connection closed by remote host
      • 2023-04-17 10733, 2023

      • yvanzo
        It's back now.
      • 2023-04-17 10759, 2023

      • yvanzo
        bitmap, reosarevok: Done with updating web containers; I didn't update others as I manually deployed the patch for bootleg report last week.
      • 2023-04-17 10723, 2023

      • zas
        atj: I guess we can't avoid a small downtime on sentry
      • 2023-04-17 10742, 2023

      • atj
        it should be very small
      • 2023-04-17 10728, 2023

      • petitminion_ has quit
      • 2023-04-17 10703, 2023

      • rain0r joined the channel
      • 2023-04-17 10705, 2023

      • lucifer
      • 2023-04-17 10750, 2023

      • atj
        I love how people think that getting a reply within one day is "quick"
      • 2023-04-17 10709, 2023

      • atj
        shows how poor customer support is in general
      • 2023-04-17 10752, 2023

      • mayhem
        atj: amen to that. but we did have a few exchanges before where our side was fast to respond.
      • 2023-04-17 10719, 2023

      • atj
        I saw your previous response was "lightning" fast :)
      • 2023-04-17 10743, 2023

      • mayhem
        atj: I'm dumping all the tax info to our accountants, and I had to admit to our accountants that I failed to pay you last year. And a boozer at my house is not easy to account for, lol. ;)
      • 2023-04-17 10709, 2023

      • mayhem
        heh, yeah. I guess everything is different when the people are engaged and proud of their worl.
      • 2023-04-17 10712, 2023

      • mayhem
        work,
      • 2023-04-17 10709, 2023

      • atj
        i encounter the same type of response a lot at work, especially when they ring and a real person without a script answers the phone
      • 2023-04-17 10730, 2023

      • mayhem nods
      • 2023-04-17 10716, 2023

      • atj
        yvanzo: i've updated the PR
      • 2023-04-17 10706, 2023

      • atj
        added a "--base-http-url" argument with a default value, the "--base-ftp-url" argument no longer has a default but if specified has precedence over HTTP
      • 2023-04-17 10714, 2023

      • yvanzo
        OK, looking into it
      • 2023-04-17 10728, 2023

      • yvanzo
        zas: forwarded you a mail about picard
      • 2023-04-17 10733, 2023

      • atj
        hopefully it matches your thinking
      • 2023-04-17 10733, 2023

      • mayhem
        taxes submitted. (I love having accountants do the actual work)
      • 2023-04-17 10709, 2023

      • yvanzo
        atj: It looks neat. Did you test it somehow?
      • 2023-04-17 10711, 2023

      • atj
        yvanzo: yes, let me add a comment to the PR
      • 2023-04-17 10740, 2023

      • atj
        hah, I just did another test and it broke :)
      • 2023-04-17 10755, 2023

      • atj
        forgot to update createdb.sh
      • 2023-04-17 10709, 2023

      • yvanzo
        made a few comments
      • 2023-04-17 10712, 2023

      • monkey
        Looks good for my stats lucifer
      • 2023-04-17 10716, 2023

      • monkey
        Nice work :)
      • 2023-04-17 10705, 2023

      • monkey
        The real proof will be with user ulkigpulkig and their all_time stats with the two beatles white albums
      • 2023-04-17 10725, 2023

      • atj
        yvanzo: thanks, maybe we should just add a new --mirror-url option, which can support whatever wget allows, with no heuristics for automatically adding a protocol, and let base-ftp-url override it for backwards compatibility?
      • 2023-04-17 10712, 2023

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #2451 (03master…fix-lb-1189): LB-1189: YoutubePlayer: Use getVideoIDFromListen utility https://github.com/metabrainz/listenbrainz-server…
      • 2023-04-17 10737, 2023

      • atj
        that way we don't tie ourselves into HTTP, and can switch the default to HTTPS later without having to add /another/ argument
      • 2023-04-17 10759, 2023

      • yvanzo
        atj: If adding HTTP option is simpler for now, I’m fine with adding it, releasing it today, and replacing it later on with something more robust.
      • 2023-04-17 10741, 2023

      • atj
        i think adding a general option is actually easier
      • 2023-04-17 10700, 2023

      • yvanzo
        I just added a ticket to track the improvement.
      • 2023-04-17 10744, 2023

      • yvanzo
        👍
      • 2023-04-17 10745, 2023

      • Zhele has quit
      • 2023-04-17 10718, 2023

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #2436 (03master…faraz16iqbal_feature_save-data-header): LB-1011: Don't load album covers if Save-Data HTTP header is on https://github.com/metabrainz/listenbrainz-server…
      • 2023-04-17 10733, 2023

      • yvanzo
        atj (apparently this message didn’t go through): We can do that too. These heuristics have been added because many people used to copy/paste URL without scheme.
      • 2023-04-17 10749, 2023

      • yvanzo
        But there are better ways to handle such oversight.
      • 2023-04-17 10726, 2023

      • reosarevok
        yvanzo: is the blog ready to review? :)
      • 2023-04-17 10733, 2023

      • yvanzo
        reosarevok: yes :)
      • 2023-04-17 10736, 2023

      • reosarevok
        Ok!
      • 2023-04-17 10704, 2023

      • reosarevok
        (also, fwiw, at least with opera for some reason if you edit a URL to remove or change something, then copy it, it will copy it without scheme)
      • 2023-04-17 10708, 2023

      • reosarevok
        (no idea why)
      • 2023-04-17 10747, 2023

      • yvanzo
        We might have a patch for musicbrainz-docker, so release is pending that too.
      • 2023-04-17 10755, 2023

      • yvanzo
        (release blog post)
      • 2023-04-17 10703, 2023

      • reosarevok
        Ok :)
      • 2023-04-17 10730, 2023

      • reosarevok
        But that won't affect the post text, right? Just the link and whatnot
      • 2023-04-17 10746, 2023

      • yvanzo
        right
      • 2023-04-17 10716, 2023

      • reosarevok
        We usually remove "Other" from "other task" if there's no React tasks, right?
      • 2023-04-17 10709, 2023

      • reosarevok
        Made a couple small changes, but it seems good, thanks
      • 2023-04-17 10755, 2023

      • reosarevok
        Is it fine to merge approved stuff to master already then? :)
      • 2023-04-17 10705, 2023

      • reosarevok
        Or do you want to finish the docker + post process?
      • 2023-04-17 10723, 2023

      • yvanzo
        reosarevok: I updated master with production, it is fine to merge stuff :)
      • 2023-04-17 10709, 2023

      • reosarevok
        Thanks
      • 2023-04-17 10733, 2023

      • reosarevok
        mayhem: I can take today :)
      • 2023-04-17 10735, 2023

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2754 (03master…MBS-12712): MBS-12712: Improve wording for new release adding on disc ID lookup https://github.com/metabrainz/musicbrainz-server/…
      • 2023-04-17 10748, 2023

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2761 (03master…MBS-12738): MBS-12738 / MBS-12739: Don't assume "single" and "studio" are ETI unless inside parens https://github.com/metabrainz/musicbrainz-server/…
      • 2023-04-17 10718, 2023

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2782 (03master…MBS-12785): MBS-12785: Wrap things sensibly on release sidebar https://github.com/metabrainz/musicbrainz-server/…
      • 2023-04-17 10759, 2023

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2898 (03master…MBS-12989): MBS-12989 / MBS-12998: Edit list quick links improvements https://github.com/metabrainz/musicbrainz-server/…
      • 2023-04-17 10703, 2023

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2773 (03master…MBS-12779): MBS-12779: Treat "n-bit" and "loop" as ETI if in parens https://github.com/metabrainz/musicbrainz-server/…
      • 2023-04-17 10739, 2023

      • mayhem
        ok
      • 2023-04-17 10746, 2023

      • CatQuest
        :D
      • 2023-04-17 10701, 2023

      • reosarevok
        <BANG>