Hi! If I recall correctly, it looks like the amount of listens has gone down. I assume that's from the cleaning done in database change. How can I get a JSON export of the previous version? Want to make sure I've got a copy of everything. Thanks!
2020-08-06 21935, 2020
sumedh joined the channel
2020-08-06 21950, 2020
killme has quit
2020-08-06 21915, 2020
killme joined the channel
2020-08-06 21916, 2020
slriv has quit
2020-08-06 21916, 2020
slriv joined the channel
2020-08-06 21923, 2020
white_shadow joined the channel
2020-08-06 21905, 2020
slriv has quit
2020-08-06 21939, 2020
slriv joined the channel
2020-08-06 21922, 2020
white_shadow has quit
2020-08-06 21904, 2020
white_shadow joined the channel
2020-08-06 21948, 2020
_flow_ has left the channel
2020-08-06 21914, 2020
slriv has quit
2020-08-06 21908, 2020
slriv joined the channel
2020-08-06 21907, 2020
sumedh has quit
2020-08-06 21948, 2020
Higilopochtli has quit
2020-08-06 21942, 2020
Higilopochtli joined the channel
2020-08-06 21903, 2020
iliekcomputers
goldenshimmer: I do not think that is easily possible. You could download one of the older data dumps from ftp but they'll contain ALL listens, not just yours.
2020-08-06 21935, 2020
iliekcomputers
We only removed listens that were very obvious duplicates.
Wr can have it tomorrow if you are busy. No issues. I will try to get BP desktop done too
2020-08-06 21907, 2020
ruaok
lets play it by ear -- I may have sufficient connectivity on the train -- I'll have to see. if we can't today, lets do it tomorrow.
2020-08-06 21931, 2020
shivam-kapila
sure sure
2020-08-06 21938, 2020
jmp_music_
mooooin!
2020-08-06 21946, 2020
ruaok
iliekcomputers: remind me, how does the entry point for the listenbrainz-cron container work? I see the "touch cron down" in the Dockerfile, but what code turns on cron for that container? is there an entrypoint?
2020-08-06 21947, 2020
iliekcomputers
ruaok: for a few days, sure.
2020-08-06 21909, 2020
ruaok
iliekcomputers: I'm not keen to do that, TBH.
2020-08-06 21913, 2020
ruaok
enough things on my plate.
2020-08-06 21929, 2020
iliekcomputers
yeah, and maintaining it might be painful.
2020-08-06 21935, 2020
iliekcomputers
i'm hesitant too
2020-08-06 21946, 2020
iliekcomputers
the cron stuff is slightly confusing, the rest of the services work out of uwsgi.service, but i couldn't get cron to work like that. so i took the AB way and started it out of rc.local https://github.com/metabrainz/listenbrainz-server…
2020-08-06 21912, 2020
iliekcomputers
i have a ticket for moving all of the services to rc.local like AB but haven't gotten the time to actually do it.
2020-08-06 21920, 2020
ruaok
ahhh, I remember seeing rc.local and being confused by it a while ago. I should've looked in it.
2020-08-06 21931, 2020
alastairp
rc.local is automatically run by runnit
2020-08-06 21945, 2020
alastairp
before it starts services
2020-08-06 21946, 2020
slriv has quit
2020-08-06 21916, 2020
ruaok
perfect that puts all the pieces in clear reach -- I can copy the rest as needed.
yeah, just like uwsgi.service, but not tied to a web server, which makes more general sense
2020-08-06 21900, 2020
legoktm has quit
2020-08-06 21916, 2020
ruaok
alastairp: yeah, exactly. those were the bits I was referring to that need copying.
2020-08-06 21927, 2020
alastairp
(y)
2020-08-06 21937, 2020
ruaok
hopefully I can part out the messybrainz-labs repo today and retire it.
2020-08-06 21957, 2020
slriv joined the channel
2020-08-06 21958, 2020
ruaok
I'll make a new repo for the stuff running on bono:8000 -- the unproven stuff.
2020-08-06 21918, 2020
ruaok
ok, check out time has arrived. back in a couple of hours, hopefully.
2020-08-06 21929, 2020
legoktm joined the channel
2020-08-06 21922, 2020
alastairp
just an additional thing there - look at the syntax of the acousticbrainz crontab file, it has a 'user' column. there's some weird magic happening in listenbrainz to install the crontab because it's missing that column
yes, but files in /etc/cron.d/ should have a user column, and cron will automatically pick up changes and reload them
2020-08-06 21905, 2020
alastairp
if you want to install a file to a _user's_ crontab, you don't need the user column, then you can use `crontab -u user [file]` to install it
2020-08-06 21918, 2020
alastairp
but you shouldn't put the file in /etc/cron.d/ to install it. that file is invalid for the location
2020-08-06 21937, 2020
iliekcomputers
hmm, that makes sense.
2020-08-06 21900, 2020
alastairp
so either: 1) add a user column and put them in /etc/cron.d and don't run `crontab`, or 2) don't have user column, install them, but copy to /tmp or something for the installation instead of /etc/cron.d
2020-08-06 21909, 2020
iliekcomputers
i'll move them. i did try option 1 last time i was mucking around with cron, but the jobs weren't getting triggered for some reason that i couldn't debug.
2020-08-06 21927, 2020
alastairp
I bet they weren't getting triggered because they didn't have the user column :)
2020-08-06 21939, 2020
iliekcomputers
i added that
2020-08-06 21946, 2020
alastairp
ah, right. who knows then
2020-08-06 21954, 2020
alastairp
AB works properly
2020-08-06 21949, 2020
Lotheric[m] has quit
2020-08-06 21949, 2020
Cyna[m] has left the channel
2020-08-06 21902, 2020
Gazooo has quit
2020-08-06 21943, 2020
ruaok
alastairp: we spent a lot of time messing with this. This was the only thing we got to work.
2020-08-06 21903, 2020
alastairp
ruaok: and then I messed with it a bit more and got it working in acousticbrainz
2020-08-06 21907, 2020
ruaok
Ah, ok. Then I'll copy the AB way. (And pester you for Debug help)
2020-08-06 21955, 2020
alastairp
great, it'll be good to get everything consistent
2020-08-06 21902, 2020
white_snack joined the channel
2020-08-06 21942, 2020
Gazooo joined the channel
2020-08-06 21925, 2020
jmp_music_
@alastairp: Hey Alastair! Do you have any free time for meeting later today?