#metabrainz

/

      • reosarevok
        We don't know
      • 2018-11-26 33026, 2018

      • CatQuest
        couldn't hurt?
      • 2018-11-26 33030, 2018

      • CatQuest
        what is "Safe Browsing" ?
      • 2018-11-26 33036, 2018

      • yvanzo
        (Thanks Freso)
      • 2018-11-26 33041, 2018

      • reosarevok
        Probably not, because chances are there *is* one dodgy file in that server
      • 2018-11-26 33054, 2018

      • reosarevok
        It's just if Google doesn't tell them what to take down, good luck finding it
      • 2018-11-26 33003, 2018

      • CatQuest
        sowhat I want ot know is. should the IA actually remove that file or ot?
      • 2018-11-26 33024, 2018

      • CatQuest
        i mena, if it's a hisotrical phisihing fiel it might be inteeresting :D
      • 2018-11-26 33026, 2018

      • CatQuest
        but yea
      • 2018-11-26 33019, 2018

      • yvanzo
        CatQuest: That's the issue, the warning might be legitimate, but it is not necessarily about CAA images.
      • 2018-11-26 33046, 2018

      • reosarevok
        Sure, but they are server wide warnings
      • 2018-11-26 33051, 2018

      • CatQuest
        weird though. you'd think it woudl be in gogles inerest with safe browsing to actually tell the IA what is triggering it so that wthat fiel coudl be removed...
      • 2018-11-26 33000, 2018

      • reosarevok
        So unless they change the way the whole system works...
      • 2018-11-26 33040, 2018

      • reosarevok
        CatQuest: then (i)legitimate phishers could figure out what Google is testing for and avoid it
      • 2018-11-26 33044, 2018

      • reosarevok
        That's why
      • 2018-11-26 33057, 2018

      • CatQuest
        but like. wouldn't like. any phishing file indexed by like actually google itself mean that google's server would flop as well? 🤔
      • 2018-11-26 33021, 2018

      • CatQuest
        but IA isn't a phiser. it's the IA! it's in IA's interest ot remove such a file!
      • 2018-11-26 33028, 2018

      • duh is now known as legoktm
      • 2018-11-26 33035, 2018

      • CatQuest
        duh
      • 2018-11-26 33037, 2018

      • CatQuest
        :D
      • 2018-11-26 33010, 2018

      • reosarevok
        Sure. There's a chance because it's the IA they will eventually tell them what the issue is, when they realize what's going on
      • 2018-11-26 33042, 2018

      • CatQuest
        let's hope so
      • 2018-11-26 33055, 2018

      • CatQuest
        we have to collaborate to make sure the web is safe and usable both :nod:
      • 2018-11-26 33021, 2018

      • travis-ci joined the channel
      • 2018-11-26 33022, 2018

      • travis-ci
        Project bookbrainz-site build #1916: passed in 6 min 14 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2018-11-26 33022, 2018

      • travis-ci has left the channel
      • 2018-11-26 33012, 2018

      • CatQuest
        dev spam is best spam
      • 2018-11-26 33029, 2018

      • Mr_Monkey
        :)
      • 2018-11-26 33048, 2018

      • bukwurm
        Mr_Monkey: There were some issues with the Dockerfile over the weekend
      • 2018-11-26 33012, 2018

      • github joined the channel
      • 2018-11-26 33012, 2018

      • github
        [listenbrainz-server] paramsingh opened pull request #464: Check if channel is open before entering with block (master...channelclosed) https://git.io/fpuXt
      • 2018-11-26 33012, 2018

      • github has left the channel
      • 2018-11-26 33044, 2018

      • iliekcomputers
        ruaok: ping, quick one ^^. There are lots of Sentry errors due to ChannelClosed
      • 2018-11-26 33056, 2018

      • Freso
        InSight is landing on Mars right now: https://www.youtube.com/watch?v=bGD_YF64Nwk
      • 2018-11-26 33027, 2018

      • Leo_Verto
        You mean it landed 7 minutes ago? :P Thanks for the reminder though!
      • 2018-11-26 33023, 2018

      • Freso
        Shh.
      • 2018-11-26 33017, 2018

      • github joined the channel
      • 2018-11-26 33017, 2018

      • github
        [picard-website] phw opened pull request #143: Document work and movement tags (picard-2.1.0...document-work-and-movement-tags) https://git.io/fpu1S
      • 2018-11-26 33017, 2018

      • github has left the channel
      • 2018-11-26 33032, 2018

      • outsidecontext has quit
      • 2018-11-26 33031, 2018

      • yvanzo
        Freso: Insight landed on my browser too: https://addons.mozilla.org/firefox/addon/insight-…
      • 2018-11-26 33037, 2018

      • Freso
        zas: Ping? SSL on forums seem to be broken.
      • 2018-11-26 33026, 2018

      • zas
        Freso: it works for me, served, a SSL cert from LE valid till 16/02/2019; what do you observe?
      • 2018-11-26 33045, 2018

      • Freso
        "Der opstod en fejl under forbindelsen til community.metabrainz.org. Svaret fra OCSP-serveren var ødelagt eller var på anden måde fejlbehæftet. Fejlkode: SEC_ERROR_OCSP_MALFORMED_RESPONSE"
      • 2018-11-26 33050, 2018

      • Leo_Verto
        seems to be the OCSP server
      • 2018-11-26 33001, 2018

      • zas
        Freso: which browser are you using ?
      • 2018-11-26 33019, 2018

      • zas
        Does it happen with another browser on the same machine?
      • 2018-11-26 33040, 2018

      • zas
        It doesn't happen for me on any browser or machines i tried, does it happen for someone else here?
      • 2018-11-26 33024, 2018

      • iliekcomputers
      • 2018-11-26 33047, 2018

      • iliekcomputers
      • 2018-11-26 33004, 2018

      • zas
        iliekcomputers: with which browser?
      • 2018-11-26 33031, 2018

      • iliekcomputers
        Mozilla Firefox 62.0.3
      • 2018-11-26 33047, 2018

      • zas
        lol, i just got the issue too, after few reloads
      • 2018-11-26 33024, 2018

      • zas
        on firefox, but not chrome
      • 2018-11-26 33006, 2018

      • zas
        Freso, iliekcomputers : check if it still happens to you
      • 2018-11-26 33036, 2018

      • iliekcomputers
        site is back for me
      • 2018-11-26 33059, 2018

      • zas
        ok, something weird was happening, restarting the nginx frontend solved it, let me know if it happens again
      • 2018-11-26 33020, 2018

      • Freso
        zas: Firefox; it works now.
      • 2018-11-26 33049, 2018

      • Freso
        It also didn't work in tor-browser on the same machine (but over TOR).
      • 2018-11-26 33000, 2018

      • Freso
        (But tor-browser is based on Firefox.)
      • 2018-11-26 33041, 2018

      • Cyna
        Anyone found a solution for this ?
      • 2018-11-26 33024, 2018

      • Cyna
      • 2018-11-26 33056, 2018

      • Cyna
        Even running with only `CreateDB.sh` gives the same error
      • 2018-11-26 33010, 2018

      • Leo_Verto
        odd, that worked fine for me, let me check
      • 2018-11-26 33002, 2018

      • Leo_Verto
        ah, try /CreateDB.sh
      • 2018-11-26 33009, 2018

      • Leo_Verto
        the script is in the root dir of the container
      • 2018-11-26 33047, 2018

      • Cyna
        lol worked
      • 2018-11-26 33008, 2018

      • Leo_Verto
        sorry, for some reason it worked without the slash for me so I gave you the wrong command yesterday
      • 2018-11-26 33011, 2018

      • Cyna
        Mann I'll push the changes to master
      • 2018-11-26 33029, 2018

      • Cyna
        and Create a doc for it, Incase someone needs it
      • 2018-11-26 33044, 2018

      • Leo_Verto
        yeah, documenting the docker process definitely sounds like a good idea :P
      • 2018-11-26 33016, 2018

      • Leo_Verto
        the Dockerfile in bookbrainz-site isn't used by bookbrainz-docker, I'm not sure why it even exists
      • 2018-11-26 33046, 2018

      • Cyna
      • 2018-11-26 33000, 2018

      • Cyna
        got an error
      • 2018-11-26 33040, 2018

      • Leo_Verto
        hmm, looks like the containers aren't linked properly
      • 2018-11-26 33047, 2018

      • Leo_Verto
        you didn't change docker-compose.yml, did you?
      • 2018-11-26 33010, 2018

      • Cyna
        Nope
      • 2018-11-26 33012, 2018

      • Cyna
        Branch is up to date with master
      • 2018-11-26 33047, 2018

      • Cyna
        It worked when I changed from `site` to `site-dev`
      • 2018-11-26 33053, 2018

      • Leo_Verto
        ah yeah, site is just a "virtual" service that isn't actually linked to any other containers
      • 2018-11-26 33053, 2018

      • Cyna
      • 2018-11-26 33026, 2018

      • Leo_Verto
        yeah, you'll have to recreate your postgres container. run "docker-compose rm -f postgresql"
      • 2018-11-26 33036, 2018

      • Leo_Verto
        then start it again and run createdb
      • 2018-11-26 33042, 2018

      • Cyna
        I guessed it might be because of trying the docker commands before so I also tried the same command after running `docker system prune`
      • 2018-11-26 33032, 2018

      • Cyna
        the error remains the same
      • 2018-11-26 33033, 2018

      • Cyna
        Hmm the active containers weren't deleted by prune,
      • 2018-11-26 33056, 2018

      • Cyna
        Deleted them and things are normal
      • 2018-11-26 33059, 2018

      • Leo_Verto
        no, prune just deletes stopped ones
      • 2018-11-26 33020, 2018

      • Leo_Verto
        yeah, I was about to recommend docker-compose down which does the same but only for services and networks defined in the compose file
      • 2018-11-26 33015, 2018

      • Cyna
        Now should the site be active on `localhost:90991
      • 2018-11-26 33022, 2018

      • Cyna
        *9099
      • 2018-11-26 33034, 2018

      • Cyna
        Cause It isn't for me :thi
      • 2018-11-26 33039, 2018

      • Cyna
        🤔
      • 2018-11-26 33023, 2018

      • Mr_Monkey
        Yes Cyna, localhost:9099 is correct
      • 2018-11-26 33025, 2018

      • Leo_Verto
        you did run docker-compose up site-dev, right?
      • 2018-11-26 33032, 2018

      • Cyna
        Yea
      • 2018-11-26 33037, 2018

      • Mr_Monkey
        Sorry, just re-read that. The port is 9099
      • 2018-11-26 33015, 2018

      • Leo_Verto
        it may take a while for the site to start
      • 2018-11-26 33033, 2018

      • Leo_Verto
        you should see some logs in the console window where you started it
      • 2018-11-26 33054, 2018

      • Cyna
        These errors dont stop
      • 2018-11-26 33055, 2018

      • Cyna
        Im restarting the docker client https://www.irccloud.com/pastebin/G8mfJc69/
      • 2018-11-26 33054, 2018

      • Mr_Monkey
        Cyna It looks like you already have it running (run `docker ps` to see if that's the case)
      • 2018-11-26 33026, 2018

      • Leo_Verto
        This looks like an old container or some other service is already using port 9099
      • 2018-11-26 33028, 2018

      • Mr_Monkey
        Or at least it looks like port 9099 is already used
      • 2018-11-26 33045, 2018

      • Cyna
        I just checked my system and its not being used
      • 2018-11-26 33044, 2018

      • Mr_Monkey
        Sorry I can't help much at the moment, I'm writing from my phone
      • 2018-11-26 33005, 2018

      • Leo_Verto
        Assuming you are running macOS High Sierra, run lsof -nP -i4TCP:9099 | grep LISTEN
      • 2018-11-26 33021, 2018

      • Cyna
        There is no output
      • 2018-11-26 33059, 2018

      • Leo_Verto
        okay, then try starting site-dev again
      • 2018-11-26 33042, 2018

      • Cyna
        Yep started the whole process again
      • 2018-11-26 33053, 2018

      • Cyna
        I guess there is some progress
      • 2018-11-26 33018, 2018

      • Cyna
        Though I had a question
      • 2018-11-26 33045, 2018

      • Cyna
        How would I test my own repository after solving bugs using docker 🤔
      • 2018-11-26 33010, 2018

      • Cyna
        I guess all the links are hardcoded into scripts
      • 2018-11-26 33015, 2018

      • bukwurm has quit
      • 2018-11-26 33055, 2018

      • Leo_Verto
        yeah, that would require changing the Dockerfile and docker-compose.yml quite a bit
      • 2018-11-26 33031, 2018

      • Leo_Verto
        I don't think any of the developers uses Docker for development other than for running services like postgres
      • 2018-11-26 33010, 2018

      • Cyna
        I'd prefer using docker to a VM
      • 2018-11-26 33058, 2018

      • Leo_Verto
        usually in projects like this you'd have Dockerfile and docker-compose.yml in the project root and set up something similar to this https://devcenter.heroku.com/articles/local-devel…
      • 2018-11-26 33009, 2018

      • Cyna
        You can start any service directly in a few commands and you dont have to depend on os differences
      • 2018-11-26 33026, 2018

      • Leo_Verto
        which means that compose just looks for the Dockerfile, builds it and runs it all at once
      • 2018-11-26 33057, 2018

      • Cyna
        How does the sign-in work ?
      • 2018-11-26 33022, 2018

      • Cyna
        For me it got me redirected to musicbrainz, then it shows me invalid client
      • 2018-11-26 33023, 2018

      • Leo_Verto
        what you could do is run postgres, elasticsearch, etc. in docker and -site locally which means you wouldn't have to rebuild between changes
      • 2018-11-26 33036, 2018

      • Leo_Verto
        yeah, you need to set up MB oauth tokens for that to work
      • 2018-11-26 33052, 2018

      • Cyna
        I set up the config.json in the site folder
      • 2018-11-26 33008, 2018

      • Cyna
        shouldn't that do the job
      • 2018-11-26 33001, 2018

      • Leo_Verto
        that folder unfortunately isn't being used, if you look at the Dockerfile apparently being used for -site, it just clones the latest bb-site master from github https://github.com/bookbrainz/bookbrainz-docker/b…
      • 2018-11-26 33015, 2018

      • Leo_Verto
        this setup works for deployment but not really for development
      • 2018-11-26 33018, 2018

      • Leo_Verto
        what you could do is use the postgres container set up by bb-docker, publish port 5432 instead of exposing it, run bb-site directly on your machine and connect to postgres as if it was also running locally
      • 2018-11-26 33029, 2018

      • Leo_Verto
        kinda hacky but should work until a more permanent solution is in place
      • 2018-11-26 33045, 2018

      • Cyna
        Will try
      • 2018-11-26 33011, 2018

      • Cyna
        Still getting invalid client though I replaced the credentials in the `docker-compose.yml
      • 2018-11-26 33038, 2018

      • Leo_Verto
        those changes will only be applied on an image rebuild. run "docker-compose run site" to rebuild the image with the new arguments
      • 2018-11-26 33042, 2018

      • Cyna
        I ran the whole setup again
      • 2018-11-26 33047, 2018

      • Cyna
        Didnt work
      • 2018-11-26 33018, 2018

      • Leo_Verto
        when does "docker image ls" say the bookbrainz-docker_site image has been created?
      • 2018-11-26 33044, 2018

      • Cyna
        When running `docker-compose site`. it doesnt detach itself
      • 2018-11-26 33005, 2018

      • Cyna
        Is it expected behaviour ?
      • 2018-11-26 33009, 2018

      • Leo_Verto
        yeah, you can kill it, the point is that it rebuilds the image with the new MB_OAUTH vars
      • 2018-11-26 33017, 2018

      • Leo_Verto
        *args
      • 2018-11-26 33042, 2018

      • Leo_Verto
        in docker args are only updated at build time while environment variables can be updated during a container's start
      • 2018-11-26 33040, 2018

      • Cyna
        Can I use `docker-compose up -d site` instead ?
      • 2018-11-26 33006, 2018

      • Leo_Verto
        the thing is, you shouldn't run site directly, it doesn't link to the other containers
      • 2018-11-26 33042, 2018

      • Leo_Verto
        which is an odd design decision but that's the way the compose file is set up right now
      • 2018-11-26 33040, 2018

      • Cyna
        I think having so many links and interconnections makes thing complex and hard to understand
      • 2018-11-26 33012, 2018

      • Leo_Verto
        yeah, it certainly isn't ideal for development
      • 2018-11-26 33031, 2018

      • Cyna
        tired trying to set up the whole thing
      • 2018-11-26 33042, 2018

      • Cyna
        Thanks for the help Leo_Verto
      • 2018-11-26 33003, 2018

      • Leo_Verto
        No problem, sorry about the bad experience you're having with this :/