#metabrainz

/

      • rahul24 has quit
      • 2019-12-15 34941, 2019

      • rahul24 joined the channel
      • 2019-12-15 34916, 2019

      • D4RK-PH0ENiX has quit
      • 2019-12-15 34904, 2019

      • Cathain has quit
      • 2019-12-15 34905, 2019

      • D4RK-PH0ENiX joined the channel
      • 2019-12-15 34922, 2019

      • chaban has quit
      • 2019-12-15 34929, 2019

      • chaban joined the channel
      • 2019-12-15 34926, 2019

      • rahul24 has quit
      • 2019-12-15 34950, 2019

      • Lotheric
        wow
      • 2019-12-15 34956, 2019

      • Lotheric
        great collection by paula
      • 2019-12-15 34958, 2019

      • Lotheric
      • 2019-12-15 34902, 2019

      • yokel has quit
      • 2019-12-15 34932, 2019

      • yokel joined the channel
      • 2019-12-15 34950, 2019

      • c1e0 joined the channel
      • 2019-12-15 34910, 2019

      • thomasross_ joined the channel
      • 2019-12-15 34910, 2019

      • thomasross is now known as Guest14563
      • 2019-12-15 34910, 2019

      • Guest14563 has quit
      • 2019-12-15 34910, 2019

      • thomasross_ is now known as thomasross
      • 2019-12-15 34901, 2019

      • thomasross has quit
      • 2019-12-15 34954, 2019

      • sarthak_jain joined the channel
      • 2019-12-15 34927, 2019

      • n1tr0maverick joined the channel
      • 2019-12-15 34931, 2019

      • thomasross joined the channel
      • 2019-12-15 34931, 2019

      • sarthak_jain has quit
      • 2019-12-15 34936, 2019

      • pristine__
        sarthak_jain: hey
      • 2019-12-15 34948, 2019

      • sarthak_jain joined the channel
      • 2019-12-15 34900, 2019

      • pristine__
        Nice :) you can know follow "read the docs"
      • 2019-12-15 34910, 2019

      • pristine__
        And lemme know if you get stuck anywhere.
      • 2019-12-15 34922, 2019

      • sarthak_jain
        Okay I'll get started with the MB application part.
      • 2019-12-15 34910, 2019

      • sarthak_jain
        I need to create an account? Right?
      • 2019-12-15 34947, 2019

      • pristine__
        Nice. So we are generally away on weekends, but if you want to ping anyone on weekends just leave a message, we usually read backlogs, so your queries will be answered definitely.
      • 2019-12-15 34949, 2019

      • pristine__
        Yee
      • 2019-12-15 34959, 2019

      • pristine__
        Visit the application page. There is a link :)
      • 2019-12-15 34900, 2019

      • pristine__
        sarthak_jain: you don't need to initialize spotify ids and Last fm ids unless you are going for development in LB-server. After updating config.py with Musicbrainz ids, you can directly go to "initialize listenbrainz containers"
      • 2019-12-15 34925, 2019

      • sarthak_jain
        Oh.. you saved me. Was about to get to that
      • 2019-12-15 34928, 2019

      • sarthak_jain
        :p
      • 2019-12-15 34948, 2019

      • pristine__
        We are setting up lb-server before labs because labs uses server's network.
      • 2019-12-15 34931, 2019

      • pristine__
      • 2019-12-15 34940, 2019

      • pristine__
        Here.
      • 2019-12-15 34911, 2019

      • sarthak_jain
        When i initialize the LB databases
      • 2019-12-15 34919, 2019

      • sarthak_jain
        I get the error in terminal saying
      • 2019-12-15 34938, 2019

      • pristine__
        Post the error
      • 2019-12-15 34939, 2019

      • sarthak_jain
        Version in "./docker/docker-compose.yml" is unsupported.
      • 2019-12-15 34910, 2019

      • sarthak_jain
        ERROR: Version in "./docker/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use
      • 2019-12-15 34910, 2019

      • sarthak_jain
        version 1.For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
      • 2019-12-15 34925, 2019

      • c1e0 has quit
      • 2019-12-15 34930, 2019

      • pristine__
        A sec
      • 2019-12-15 34909, 2019

      • pristine__
        What is your docker engine version?
      • 2019-12-15 34905, 2019

      • sarthak_jain
        Version: 18.09.7 API version: 1.39 Go version: go1.10.4 Git commit: 2d0083d Built: Fri Aug 16 14:19:38 2019 OS/Arch: linux/amd64 Experimental: false
      • 2019-12-15 34919, 2019

      • sarthak_jain
        18.09.07
      • 2019-12-15 34907, 2019

      • sarthak_jain
        How do I share the screenshot here?
      • 2019-12-15 34914, 2019

      • sarthak_jain
        Is there any option?
      • 2019-12-15 34912, 2019

      • pristine__
        It's fine. Can you change the version to 3.3 and try.
      • 2019-12-15 34927, 2019

      • sarthak_jain
        How do i do that?
      • 2019-12-15 34931, 2019

      • pristine__
      • 2019-12-15 34934, 2019

      • pristine__
        Here
      • 2019-12-15 34909, 2019

      • sarthak_jain
        Dint get you!
      • 2019-12-15 34943, 2019

      • sarthak_jain
        Got it.
      • 2019-12-15 34951, 2019

      • sarthak_jain
        I changed the docker-compose.yml file
      • 2019-12-15 34958, 2019

      • sarthak_jain
        But now I get this error:
      • 2019-12-15 34900, 2019

      • sarthak_jain
        ERROR: yaml.parser.ParserError: while parsing a block mapping in "./docker/docker-compose.yml", line 2, column 1expected <block end>, but found '-' in "./docker/docker-compose.yml", line 125, column 1
      • 2019-12-15 34934, 2019

      • pristine__
        Check for the syntax
      • 2019-12-15 34922, 2019

      • pristine__
        Did you close the double quotes?
      • 2019-12-15 34915, 2019

      • pristine__
        Since I am not at your end, I cannot see wht you have written. In case of errors, the first step is to google the error since you know what you have written :)
      • 2019-12-15 34940, 2019

      • sarthak_jain
        I dint write. I copy pasted the content of the file on the git
      • 2019-12-15 34946, 2019

      • pristine__
        Okay. Go to listenbrainz-server/docker/docker-compose.yml file in your local machine
      • 2019-12-15 34935, 2019

      • n1tr0maverick has quit
      • 2019-12-15 34906, 2019

      • pristine__
        On line you will see version:"3.4"
      • 2019-12-15 34922, 2019

      • sarthak_jain
        Yes
      • 2019-12-15 34924, 2019

      • pristine__
        Change it to 3.7 and save
      • 2019-12-15 34925, 2019

      • sarthak_jain
        I do see
      • 2019-12-15 34934, 2019

      • pristine__
        Keep the quotes intact
      • 2019-12-15 34955, 2019

      • pristine__
        Then run ./develop.sh
      • 2019-12-15 34914, 2019

      • pristine__
        And make sure that you are inside listenbrainz-server directory while running the commands
      • 2019-12-15 34945, 2019

      • sarthak_jain
        Yes
      • 2019-12-15 34952, 2019

      • sarthak_jain
        when i run ./develop.sh
      • 2019-12-15 34954, 2019

      • sarthak_jain
        version: "3.4"# IMPORTANT NOTE: Volume paths mounted on containers are relative to the# directory that this file is in (`docker/`) and so probably need to start with# `../` to refer to a directory in the main code checkoutvolumes: postgres: redis: influxdb: rabbitmq:services: db: image: postgres:9.5.3 volumes: -
      • 2019-12-15 34955, 2019

      • sarthak_jain
        postgres:/var/lib/postgresql/data:z redis: image: redis:5.0.3 volumes: - redis:/data:z influx: image: influxdb:1.2.4 volumes: - influxdb:/var/lib/influxdb:z environment: INFLUXDB_REPORTING_DISABLED: 'true' INFLUXDB_META_LOGGING_ENABLED: 'false' INFLUXDB_DATA_QUERY_LOG_ENABLED: 'false'
      • 2019-12-15 34955, 2019

      • sarthak_jain
        INFLUXDB_DATA_WAL_LOGGING_ENABLED: 'false' INFLUXDB_DATA_DATA_LOGGING_ENABLED: 'false' INFLUXDB_HTTP_LOG_ENABLED: 'true' INFLUXDB_CONTINUOUS_QUERIES_LOG_ENABLED: 'false' rabbitmq: image: rabbitmq:3.6.5 volumes: - rabbitmq:/var/lib/rabbitmq:z web: build: context: .. dockerfile: Dockerfile target:
      • 2019-12-15 34956, 2019

      • sarthak_jain
        listenbrainz-dev command: python3 /code/listenbrainz/manage.py runserver -h 0.0.0.0 -p 80 -d image: web volumes: - ..:/code/listenbrainz:z - ../listenbrainz/webserver/static:/static ports: - "80:80" depends_on: - redis - db - influx - rabbitmq api_compat: image: web command: python3
      • 2019-12-15 34956, 2019

      • sarthak_jain
        /code/listenbrainz/manage.py run_api_compat_server -h 0.0.0.0 -p 8080 -d ports: - "8080:8080" volumes: - ..:/code/listenbrainz:z depends_on: - redis - db - influx - rabbitmq influx_writer: image: web command: python3 -m "listenbrainz.influx_writer.influx_writer" volumes: -
      • 2019-12-15 34957, 2019

      • sarthak_jain
        ..:/code/listenbrainz:z depends_on: - redis - influx - rabbitmq spotify_reader: image: web volumes: - ..:/code/listenbrainz:z command: python3 -m "listenbrainz.spotify_updater.spotify_read_listens" depends_on: - redis - influx - rabbitmq bigquery: image: web volumes: -
      • 2019-12-15 34957, 2019

      • sarthak_jain
        ../credentials:/code/credentials:z - ..:/code/listenbrainz:z environment: GOOGLE_APPLICATION_CREDENTIALS: '/code/credentials/bigquery-credentials.json' command: python3 -m "listenbrainz.bigquery_writer.bigquery_writer" depends_on: - redis - rabbitmq follow_server: image: web volumes: -
      • 2019-12-15 34958, 2019

      • sarthak_jain
        ..:/code/listenbrainz:z command: python manage.py run_follow_server -h 0.0.0.0 -p 8081 ports: - "8081:8081" depends_on: - redis - rabbitmq static_builder: build: context: .. dockerfile: docker/Dockerfile.webpack command: npm run build:dev volumes: - ..:/code/listenbrainz:z-
      • 2019-12-15 34958, 2019

      • sarthak_jain
        ../listenbrainz/webserver/static:/static:z
      • 2019-12-15 34928, 2019

      • sarthak_jain
        Define and run multi-container applications with Docker.Usage: docker-compose [-f <arg>...] [options] [COMMAND] [ARGS...] docker-compose -h|--helpOptions: -f, --file FILE Specify an alternate compose file (default: docker-compose.yml) -p, --project-name NAME Specify an alternate project name (default: directory name) --verbose
      • 2019-12-15 34928, 2019

      • sarthak_jain
        Show more output -v, --version Print version and exit -H, --host HOST Daemon socket to connect to --tls Use TLS; implied by --tlsverify --tlscacert CA_PATH Trust certs signed only by this CA --tlscert CLIENT_CERT_PATH Path to TLS certificate file --tlskey TLS_KEY_PATH Path to TLS
      • 2019-12-15 34929, 2019

      • sarthak_jain
        key file --tlsverify Use TLS and verify the remote --skip-hostname-check Don't check the daemon's hostname against the name specified in the client certificate (for example if your docker host is an IP address)
      • 2019-12-15 34933, 2019

      • pristine__
        Wait
      • 2019-12-15 34943, 2019

      • pristine__
        Don't past errors like this
      • 2019-12-15 34911, 2019

      • sarthak_jain
        Sorrry
      • 2019-12-15 34911, 2019

      • pristine__
      • 2019-12-15 34917, 2019

      • pristine__
        And then paste the link here.
      • 2019-12-15 34942, 2019

      • pristine__
        Can you copy past the error on gist and give me the link? ;)
      • 2019-12-15 34958, 2019

      • pristine__
        Paste*
      • 2019-12-15 34914, 2019

      • CatQuest
        yikes
      • 2019-12-15 34925, 2019

      • pristine__
        CatQuest: :(
      • 2019-12-15 34937, 2019

      • CatQuest
        it's ok :)
      • 2019-12-15 34913, 2019

      • sarthak_jain
      • 2019-12-15 34939, 2019

      • pristine__
        Oh. My bad. The docs are not updates.
      • 2019-12-15 34948, 2019

      • pristine__
        ./develop.sh build
      • 2019-12-15 34910, 2019

      • pristine__
        `./develop.sh build`
      • 2019-12-15 34920, 2019

      • sarthak_jain
      • 2019-12-15 34900, 2019

      • pristine__
        I m confused. The version should work. Give me some time. I will return after lunch. I don't have laptop rn.
      • 2019-12-15 34908, 2019

      • pristine__
        Can you wait a lil?
      • 2019-12-15 34918, 2019

      • sarthak_jain
        Ya. Sure
      • 2019-12-15 34923, 2019

      • sarthak_jain
        No problem
      • 2019-12-15 34958, 2019

      • c1e0 joined the channel
      • 2019-12-15 34904, 2019

      • Wassabi joined the channel
      • 2019-12-15 34947, 2019

      • Wassabi has quit
      • 2019-12-15 34946, 2019

      • Wassabi joined the channel
      • 2019-12-15 34922, 2019

      • Nyanko-sensei joined the channel
      • 2019-12-15 34926, 2019

      • d4rkie has quit
      • 2019-12-15 34926, 2019

      • pristine__
        sarthak_jain: hey
      • 2019-12-15 34943, 2019

      • pristine__
        It looks like your docker-compose version is older.
      • 2019-12-15 34913, 2019

      • pristine__
        Can you run `docker-compose version` and paste the output?
      • 2019-12-15 34925, 2019

      • pristine__
        Also, try upgrading the docker-compose version
      • 2019-12-15 34923, 2019

      • pristine__
      • 2019-12-15 34935, 2019

      • pristine__
        this may help:)
      • 2019-12-15 34909, 2019

      • pristine__
      • 2019-12-15 34949, 2019

      • pristine__
      • 2019-12-15 34902, 2019

      • Gazooo has quit
      • 2019-12-15 34941, 2019

      • Gazooo joined the channel
      • 2019-12-15 34917, 2019

      • sbvkrishna joined the channel
      • 2019-12-15 34906, 2019

      • sarthak_jain
      • 2019-12-15 34924, 2019

      • sarthak_jain
        this is what I get after running docker-compose version
      • 2019-12-15 34936, 2019

      • D4RK-PH0ENiX has quit
      • 2019-12-15 34920, 2019

      • D4RK-PH0ENiX joined the channel
      • 2019-12-15 34941, 2019

      • sarthak_jain
        I uninstalled the docker and reinstalled it
      • 2019-12-15 34920, 2019

      • sarthak_jain
        But now, it doesnt recognize the command ./develop.sh
      • 2019-12-15 34950, 2019

      • sarthak_jain
        How do I update the docker engine?
      • 2019-12-15 34957, 2019

      • Gazooo has quit
      • 2019-12-15 34935, 2019

      • Gazooo joined the channel
      • 2019-12-15 34913, 2019

      • pristine__
        Are you using linux?
      • 2019-12-15 34945, 2019

      • pristine__
        See, your docker version is old. Should 1.18.0 or newer to run 3.4.
      • 2019-12-15 34914, 2019

      • pristine__
        The command is `./develop.sh build`
      • 2019-12-15 34926, 2019

      • pristine__
        And should be run from inside listenbrainz-server
      • 2019-12-15 34951, 2019

      • pristine__
        `cd listenbrainz-server`
      • 2019-12-15 34956, 2019

      • pristine__
        Then run the command.
      • 2019-12-15 34919, 2019

      • pristine__
        sarthak_jain: ^
      • 2019-12-15 34925, 2019

      • sarthak_jain
        Yes I am inside the listenbrainz-server directory
      • 2019-12-15 34900, 2019

      • pristine__
        What does it say when you run develop.sh?
      • 2019-12-15 34901, 2019

      • sarthak_jain
      • 2019-12-15 34906, 2019

      • sarthak_jain
        It shows this
      • 2019-12-15 34937, 2019

      • pristine__
        Run `sudo ./develop.sh build`
      • 2019-12-15 34937, 2019

      • pristine__
        Does it work?
      • 2019-12-15 34944, 2019

      • sarthak_jain
        Yes, I guess
      • 2019-12-15 34901, 2019

      • sarthak_jain
        Multiple downloads are happening in the terminal
      • 2019-12-15 34907, 2019

      • pristine__
        Yup
      • 2019-12-15 34910, 2019

      • pristine__
        Nice
      • 2019-12-15 34940, 2019

      • pristine__
        So to avoid using sudo, add the docker group