I cannot submit a 4 hours spokenword track to acousticbrainz without my disc space running out ^^
chirlu joined the channel
Freso
:p
I usually get an error when analysing tracks more than ~1 hour.
(And not running out of diskspace.)
AfroThundr has quit
AfroThundr joined the channel
dpmittal has quit
demonimin has quit
dpmittal joined the channel
demonimin joined the channel
dpmittal has quit
dpmittal joined the channel
JonnyJD joined the channel
JonnyJD_ has quit
dboys_ joined the channel
D4RK-PH0ENiX has quit
Gentlecat
anshuman73: it looks like the database is not running again when you execute the init_db command
D4RK-PH0ENiX joined the channel
regagain has quit
yvanz joined the channel
dpmittal
yvanz : ping
drsaunder joined the channel
Lord_of_Codes has quit
anshuman73
Gentlecat: any idea how to fix that ?
Gentlecat
in the startup it looked like postgres already found its data directory
try deleting `data` directories again
(just do this every time until it works so that there are no conflicts)
anshuman73
wrong ownership error again
hmm.
I guess I'll go again
Freso
gcilou: Did you add gig and concert to MB?
anshuman73
side note, I saw you fixed the data dir location yesterday.
whenever i do docker-compose up
it makes two data dir
one ./data and another ./docker/data
Gentlecat
yes, after that fix it should be just one
gcilou
Freso: the gig is background music for a party. And hm idk about the concert. The band is in mb
Gentlecat
but I didn't want to confuse you with rebasing again
anshuman73
inside ./docker right ?
Gentlecat
if you want I can push your changes to a branch so that you can keep your work
Freso
gcilou: If there's (live) music, it is "notable enough" for an MB:Event :D
Gentlecat
no it would be just one in the root of the project
anshuman73
ahh yes
gcilou
Freso: :D I'll look into it after my interview
yvanz
dpmittal: pong
Freso
dpmittal: Unless it's been more than 24 hours, you shouldn't ping someone to review your task. Just be patient. :) (If you're pinging yvanz for other reasons, then nevermind. ;))
anshuman73
Gentlecat: If you can do that, that would be good, in case I am unable to get it back later
dpmittal
Freso : Actually i m facing issues installing MBS on my laptop that's why i pinged yvanz
anshuman73
Gentlecat: should I pull only the last commit, drop every other commit except the last one to correct the data dir error ?
you can pull that from the metabrainz repository and push into your own
actually wait
yvanz
dpmittal: In this case, you did very well. I just reviewed your hard work :) and added hints that might help you with style issues.
Gentlecat
it still has that issue with postgres
anshuman73
Gentlecat: well, I could pull it, make the chnages you made yesterday and then push it into mine
Freso
yvanz: 👍 :)
Eh. dpmittal ^
Gentlecat
give me a minute
ok, I updated it again
anshuman73
Gentlecat: souncloud_integration branch ?
Gentlecat
so remove your local soundcloud_integration branch or rename it
and then get one from the metabrainz repo
yes
regagain joined the channel
anshuman73
Gentlecat: how do I clone specific branch with existing repo? o.O
Gentlecat
do you know what metabrainz remote is called?
paste your .git/config somewhere
(it's in the critiquebrainz project root directory)
Freso
anshuman73: `git remote` to show your remotes, `git checkout <name of remote>/<name of branch on remote>` to check out a branch on that remote. Obviously, you can do `-b <branchname>` and other usual things to make a local branch as well.
anshuman73
yes, I did just rename the local branch, the issue lies in pulling just a branch without cloning the whol repo
whole*
Gentlecat: one sec
Freso
anshuman73: You can't do that.
Gentlecat
you don't need to clone the repository again, it's the same as yours
now delete both data directories if they exist and go through creation again
anshuman73
in the branch I am on currently ? (i.e. soundcloud_integration)
Gentlecat
don't forget that all containers need to be running before you try to initialize the database
yes
anshuman73 is confirming cause he suspects earlier problems may have been caused due to being on a different branch
anshuman73
okay
Running sudo docker-compose -f docker/docker-compose.dev.yml up --build
https://dpaste.de/Hz87 Gentlecat, waiting for your confirmation to run `sudo docker-compose -f docker/docker-compose.dev.yml run critiquebrainz python3 manage.py init_db --skip-create-db` in a separate terminal now
Gentlecat
`FATAL: data directory "/var/lib/postgresql/data/pgdata" has wrong ownership`
something is wrong with your setup again
anshuman73 confirms he's in the right branch, which means he has the updated config