Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import function broken on docker 3.2.3 #393

Closed
jj3os opened this issue Jan 21, 2025 · 6 comments
Closed

Import function broken on docker 3.2.3 #393

jj3os opened this issue Jan 21, 2025 · 6 comments

Comments

@jj3os
Copy link

jj3os commented Jan 21, 2025

Following the import instructions:

docker run -it --entrypoint sh -v $PWD/malojadata:/mljdata -e MALOJA_DATA_DIRECTORY=/mljdata krateng/maloja
cd /mljdata
maloja import my_last_fm_export.csv

but maloja is no longer a daemon on the container:

root@a8004291ac69:/mljdata# maloja

sh: maloja: not found

Probably due to cf0a856

Everything is working correctly when using image 3.2.2

@D4rkT1m0
Copy link

D4rkT1m0 commented Jan 22, 2025

Same here, I'm not able to import csv file with ssh command line.
Version 3.2.3
Same error output

@GitPuffy
Copy link

GitPuffy commented Feb 1, 2025

I found the executable in /venv/bin/majola

Sadly the import failed on all of the files in my .csv file

And found this: #382 (comment)
which worked perfectly.

@krateng
Copy link
Owner

krateng commented Feb 5, 2025

Import should now happen on server startup for files placed in import, let me know if this works for you!

@jj3os
Copy link
Author

jj3os commented Feb 6, 2025

Import should now happen on server startup for files placed in import, let me know if this works for you!

Thank you, the new method works perfectly.

This can be closed once the docker image is updated on hub.

@GitPuffy
Copy link

GitPuffy commented Feb 9, 2025

Import should now happen on server startup for files placed in import, let me know if this works for you!

Are you going to push a new docker image soon with this change?

@krateng krateng closed this as completed Feb 10, 2025
@captainnapalm
Copy link

Sorry to ping an old thread, but I get that the export from listenbrainz "could not be identified as a valid import source".

I downloaded the .zip file, extracted it which contains a user.json file and a "listens" directory, where each year of scrobbles is sorted into individual sub-directories with a .jsonl file per month. I also tried the .zip file directly, but this was also met with the same message as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants