lucifer, mayhem : mapping information is not part of the data dumps currently, despite the PR merged and deployed last week. I think it is because the background-tasks container is still running an old version. Is it safe to deploy the newest image to that container?
I think they key is to check to make sure no background tasks are currently scheduled. if there are none, we can restart. I just dont know how to check.
mayhem[m] goes to check the backgound tasks in the DB
2025-01-14 01402, 2025
mayhem[m]
empty. let me restart, monkey
2025-01-14 01431, 2025
monkey[m]
mayhem: with newest image please ! Or I can do it if you prefer
2025-01-14 01452, 2025
mayhem[m]
go for it.
2025-01-14 01406, 2025
mayhem[m]
but before you make the actual restart, let me check the queue again, ok?
2025-01-14 01441, 2025
monkey[m]
K
2025-01-14 01405, 2025
monkey[m]
mayhem: i'm ready to press enter
2025-01-14 01422, 2025
mayhem[m]
go!
2025-01-14 01444, 2025
monkey[m]
restarted, thanks
2025-01-14 01452, 2025
monkey[m] updates consul config
2025-01-14 01405, 2025
d4rk-ph0enix has quit
2025-01-14 01431, 2025
d4rk-ph0enix joined the channel
2025-01-14 01450, 2025
suvid[m] joined the channel
2025-01-14 01450, 2025
suvid[m] uploaded an image: (59KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/KSZrKOjkTUSnPDpjXicaHMuM/image.png >
2025-01-14 01450, 2025
suvid[m]
Hi monkey
2025-01-14 01451, 2025
suvid[m]
I cant think of any other place to change volume
2025-01-14 01459, 2025
suvid[m]
except the render function 🤔
2025-01-14 01421, 2025
monkey[m]
Did you try calling setVolume somewhere?
2025-01-14 01455, 2025
suvid[m]
not yet
2025-01-14 01455, 2025
suvid[m]
but I believe ready event listener also gets called only once when its ready to stream
2025-01-14 01402, 2025
suvid[m]
but lemme try putting it there
2025-01-14 01416, 2025
suvid[m]
ok so I am able to change volume from has_player_state_changed listener but the listener fires randomly... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/tBmNijKIxoJqMOjbFMudTZeR>)
2025-01-14 01403, 2025
suvid[m]
monkey:
2025-01-14 01403, 2025
suvid[m]
tried in many places
2025-01-14 01403, 2025
suvid[m]
cant think of any other place to put it :(
2025-01-14 01433, 2025
suvid[m]
same issue everywhere
2025-01-14 01418, 2025
monkey[m]
I don't have any better suggestions I'm afraid. will have to try it myself
2025-01-14 01401, 2025
suvid[m]
<monkey[m]> "I don't have any better suggesti..." <- ok it works when i put it in componentdidchange... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/whBRaQHLRNqTLYrkLdOtwDBw>)
2025-01-14 01406, 2025
suvid[m]
:)
2025-01-14 01448, 2025
suvid[m]
so now only 1 problem is there,... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/GJynKZRYuJdpRGQPxKSwbNFy>)
2025-01-14 01416, 2025
monkey[m]
i'll have to look into it closer, when i have a moment i'll check your PR
2025-01-14 01420, 2025
texke joined the channel
2025-01-14 01457, 2025
d4rk-ph0enix has quit
2025-01-14 01423, 2025
d4rk-ph0enix joined the channel
2025-01-14 01435, 2025
gaurav993[m]1 joined the channel
2025-01-14 01436, 2025
gaurav993[m]1
I am having a problem with listenbrainz-server. I have followed the steps in the documentation and the website is running. But whenever I am running the ./develop.sh up command, the files in frontend/js/src are being recreated. When I am comparing the file content, it is the same but they are being shown as modified in my git status.
2025-01-14 01436, 2025
gaurav993[m]1
Also whenever I am making changes in the frontend, they are not being automatically compiled. On making changes, I have to close and run again the project to view changes.
2025-01-14 01436, 2025
gaurav993[m]1
It would be really helpful if someone could help me fix this issue.
2025-01-14 01433, 2025
mayhem[m]
how do you invoke develop.sh? I normally use "./develop.sh up web static_builder"
2025-01-14 01446, 2025
mayhem[m]
the static builder is what compiles all the JS/CSS stuff.
2025-01-14 01429, 2025
gaurav993[m]1
I am using "./develop.sh up" command only for running it at the beginning. Do I have to run "./develop.sh up web static_builder" in case I want to view the changes in the frontend after editing?
2025-01-14 01458, 2025
mayhem[m]
yes
2025-01-14 01419, 2025
gaurav993[m]1
Ok, thanks for the help.
2025-01-14 01432, 2025
d4rk-ph0enix has quit
2025-01-14 01458, 2025
d4rk-ph0enix joined the channel
2025-01-14 01459, 2025
mayhem[m]
ansh: monkey ok to have the LB meeting tomorrow?
2025-01-14 01435, 2025
monkey[m]
yes
2025-01-14 01453, 2025
monkey[m]
<gaurav993[m]1> "I am using "./develop.sh up..." <- actually on, running ./develop.sh up should start all the containers, including the static_builder.
2025-01-14 01457, 2025
monkey[m]
no8
2025-01-14 01400, 2025
monkey[m]
no*
2025-01-14 01450, 2025
monkey[m]
gaurav993: Check your docker logs for possible errors thrown by the static_builder container.
2025-01-14 01450, 2025
monkey[m]
Also be aware you'll need to hard refresh the web page to see changes. I set my browser developer console to "disable cache when devtools is open"
2025-01-14 01403, 2025
monkey[m]
(in devtools Preferences>Network)
2025-01-14 01414, 2025
gaurav993[m]1
<monkey[m]> "gaurav993: Check your docker..." <- I checked the console, there were no errors. Disable cache options is already on. The problem is whenever i am making changes in frontend code, there were no changes in the websites, nor in the console.
2025-01-14 01449, 2025
monkey[m]
There should definitely be some ouput from docker containers in your terminal
2025-01-14 01400, 2025
monkey[m]
Check that and see if static-builder throws an error
2025-01-14 01426, 2025
ansh[m]
<mayhem[m]> "ansh: monkey ok to have the LB..." <- Yes
2025-01-14 01405, 2025
gaurav993[m]1
monkey[m]: The console showed 0 errors and 27 warnings when I first ran the ./develop.sh up command. On checking static-builder logs in docker, there is no changes in it on making changes in frontend code.
2025-01-14 01448, 2025
mayhem[m]
lucifer: monkey ansh LB meeting tomorrow at 1600 UTC then?
2025-01-14 01459, 2025
mayhem[m]
(normal time for it, just on wednesday)
2025-01-14 01402, 2025
monkey[m]
gaurav993[m]1: That is suspicious. Check where the last line of output from static_builder, and if it is about the container exiting, something is going wrong.
2025-01-14 01423, 2025
gaurav993[m]1
monkey[m]: The last line was webpack.Progess 100% and no changes since then. I think the changes made in frontend are not being detected.
2025-01-14 01421, 2025
monkey[m]
could you try another file in src, maybe a .tsx file you haven't touched yet, and make an obvious change then check the logs, just to be certain
2025-01-14 01446, 2025
monkey[m]
If still no change detected, then maybe there is an issue with docker or permissions or something like that.
2025-01-14 01425, 2025
gaurav993[m]1
monkey[m]: still no changes.
2025-01-14 01435, 2025
monkey[m]
As a backup, you could run webpack locally. It's all the static_builder does
2025-01-14 01436, 2025
monkey[m]
For that you'll want node installed, run npm install to install dependencies, then run npm run build
2025-01-14 01456, 2025
gaurav993[m]1
<gaurav993[m]1> "I am having a problem with..." <- Btw as I have mentioned here, on running static-builder, all the files in frontend are being recreated. I thought maybe it was due to this issue.
2025-01-14 01438, 2025
monkey[m]
the files in src should definitely not be recreated. the dist folder however gets recreated
2025-01-14 01427, 2025
gaurav993[m]1
monkey[m]: Yes, this is what I was doing yesterday. I was running npm run build:dev command first, and then "./develop.sh up" command. In this cases the changes were being showed. But after sometimes it just automatically stops.
2025-01-14 01451, 2025
gaurav993[m]1
monkey[m]: the dist folder is created.
2025-01-14 01454, 2025
monkey[m]
oof, that would possibly be messy
2025-01-14 01432, 2025
monkey[m]
So, if you want to run webpack on your machine, you can't run it at the same time in docker, so you'll have to comment out static_builder in the docker-compose file.
2025-01-14 01433, 2025
monkey[m]
That being said, if I were you i would try starting from scratch in another folder and trying the docker way (using develop.sh only, not running webpack manually) again to check
2025-01-14 01452, 2025
gaurav993[m]1
monkey[m]: I will try it once more. But I had already tried this the first time I tried to run the project. I have been getting this problem of frontend files being recreated and changes in code not being reflected on the website for a week. Since 2-3 days, I been trying to run static builder manually along with develop.sh so it made it a bit easier.
2025-01-14 01442, 2025
monkey[m]
Did you make any changes to the docker-compose files prior to that? I don't understand how the frontend source file could be rewritten
2025-01-14 01448, 2025
gaurav993[m]1
* I will try it once more. But I had already tried this the first time I tried to run the project. I have been getting this problem of frontend files being recreated and changes in code not being reflected on the website for a week so i had to run develop.sh again and again. Since 2-3 days, I been trying to run static builder manually along with develop.sh so it made it a bit easier but it also stops working after making 2-3
2025-01-14 01448, 2025
gaurav993[m]1
changes in the code.
2025-01-14 01420, 2025
monkey[m]
We do modify some files when webpack autoformats, for example, but it would not recreated all the files
2025-01-14 01427, 2025
gaurav993[m]1
monkey[m]: not made any changes.
2025-01-14 01458, 2025
monkey[m]
Which OS are you on? And which flavour and version of docker are you using?
2025-01-14 01455, 2025
gaurav993[m]1
Windows, Docker version is 27.4.0. I have been using docker desktop application.
2025-01-14 01454, 2025
monkey[m]
I wonder if this could be a permissions issue with docker desktop, I've seen similar issue before
2025-01-14 01411, 2025
mayhem[m]
who here is using the codacity app for github?
2025-01-14 01422, 2025
mayhem[m]
s/codacity/codacy/
2025-01-14 01413, 2025
gaurav993[m]1
<monkey[m]> "I wonder if this could be a..." <- Just tried everything by reinstalling docker, cloning a new repo, and following all the steps from start. Still the same issue. Seems there is some problem with my pc, will search a bit more about this.