mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-04-11 15:00:44 -05:00
slskd #124
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vhsdream on GitHub.
Originally assigned to: @vhsdream on GitHub.
https://github.com/community-scripts/ProxmoxVE/discussions/735
App name
slskd
Website
https://github.com/slskd/slskd
Description
slskd is a modern client-server application for the Soulseek file sharing network.
@vhsdream commented on GitHub:
This also includes Soularr.
@IReclaimer commented on GitHub:
I think the user should at least be directed to the two config files that they need to edit to get setup, but they should then be pointed to the documentation for the two apps for how to set them up.
They're located here:
/opt/soularr/confg.ini/opt/slskd/config/slskd.ymlHere's mine:
I've tested the slskd part of things and it seems to be working fine.
The Soularr part of things doesn't seem to be working, and I can't seem to find why. It's using a lot of CPU, but it appears to be all IO use, as it's scanning my music library at 36MB/s. I left it for a day, and it's still doing it, so I'm not sure what's up there. It doesn't appear to be fulfilling it's function though. Any advice?
@joon-im commented on GitHub:
@MickLesk I'm currently testing the functionality but please be aware that I am a novice at this stuff. Apologies if I am approaching this in the incorrect way. Please give me some pointers if so.
Anyways, here is what I've found so far:
@vhsdream commented on GitHub:
This might be out of scope a bit, but it's also important that people are able to start using the apps that they install, with relative ease.
Can you share the part of the config with the directories config? In case there are credentials please remove.
Have you tested that you are able to read/write from the SMB share that you have bind-mounted in the LXC? If you can't, then it's a permissions issue that you'll need to fix before being able to download or upload files in slskd.
Also, can you share the output of
journalctl -u slskd.service -f?@MickLesk commented on GitHub:
i only can test the and Installation. Fixed some missing verbose flags.
Can anyone test the functionality? @joon-im | @Daviid-P | @Jokosch | @lklynet | @IReclaimer
@vhsdream
this should be added into json, not into ct
Finish configuring Soularr at ´/opt/soularr/config.ini´. Then start with ´systemctl start soularr.timer´
@IReclaimer commented on GitHub:
Unfortunately that wasn't it. It went right back to 99% CPU after the restart.
@vhsdream commented on GitHub:
Oh this is embarrassing. 🤦🏻
So first just stop the service if it's running, then stop the timer so it doesn't execute when you are editing.
Then delete the
while true; doline and thedoneline in/opt/soularr/run.shand then fix the indentation for theifstatement.Reboot the LXC.
This is what I get for trying to use sed instead of just quickly making my own script.
So the script should look like this:
Somehow my eyes just passed over the while loop.
@vhsdream commented on GitHub:
Oops, yeah sorry about that, I didn't even bother to look at the username.
Actually I may have found the issue. Go to the
run.shscript in/opt/soularr/and remove the"$@"from the line that executes soularr, then restart the LXC.Mind you I haven't tested it yet, but I think that is what is causing your soularr to go haywire.
@IReclaimer commented on GitHub:
I think this should be sufficient. As a general, it's probably not a good idea to provide too much instruction other than where things differ from the creator's docs. Otherwise things can change and you'll have to keep going back to update them.
It was @joon-im that had issues with the bind mounts. I got my NFS bind mounts setup fairly easily so I don't think it's an issue with the script.
I hope this is mentioned in the official docs somewhere, but users should definitely add their music library bind mount as read-only!
I'll keep looking at this from my end. Let me know if you'd like me to try something specific.
@vhsdream commented on GitHub:
Thank you for getting me this info.
As far as helping people get started with configuring parts of applications that we can't do for them, the paths to the config files are in the slskd.json file, so when you go to the website to grab the oneliner command, the info is there as two notes. There are also links to documentation on the page.
As you can surely appreciate, the space for information is limited, but since I haven't looked at every single LXC that the helper-scripts service, maybe there are examples of other LXCs that have more information on their page, at which point I'll feel comfortable fleshing out the info for slskd.
So it sounds like you fixed your issue with slskd being unable to write to your mounted file share, that's good. Bind mounts can be finicky especially with unprivileged LXCs.
So now to soularr. I will have to investigate further to see what might be happening; perhaps the run script is messed up. Thank you for the report 👍🏻
@lklynet commented on GitHub:
Got it, it's scanning my library right now but everything seems to be working on my end.
Yeah, its working great.
You should specify that you have to update docker-compose.yml as well in the soularr folder though to point at the slskd downloads folder. That held me up for a second.
@MickLesk commented on GitHub:
Its an core thing, can be ignored currently
@vhsdream commented on GitHub:
Soularr only logs to stdout by default, but you could configure it to log to a file as well; instructions are on their Github page.
Are you sure that Soularr is able to reach both Lidarr and Slskd, and that each instance can properly access the download folders?
When I was troubleshooting my own, I disabled the systemd timer, and then made sure I had something Wanted in Lidarr, then I just ran soularr manually to check if it was working.
@lklynet commented on GitHub:
___/ // // /
/ / / / /// __ /
( ) ( ) ,< / // /
/////||_,_/
⚙️ Using Default Settings on node proxmox2
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
💾 Disk Size: 4 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 512 MiB
🆔 Container ID: 134
🚀 Creating a slskd LXC using the above default settings
Posting to API...
✔️ Using local for Template Storage.
✔️ Using flash for Container Storage.
✔️ Updated LXC Template List
💡 Template debian-12-standard_12.7-1_amd64.tar.zst not found in storage or seems to be corrupted. Redownloading.
✔️ Template download successful.
✔️ LXC Template is ready to use.
✔️ LXC Container 134 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.133
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.113.4
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Setup slskd
✔️ Installed Soularr
✔️ Created Services
✔️ Customized Container
✔️ Cleaned
/dev/fd/62: line 167: exit_code: unbound variable
/dev/fd/63: line 76: SPINNER_PID: unbound variable
root@proxmox2:~#
I'm not sure what is up with the two bottom lines for unbound variables
@IReclaimer commented on GitHub:
It happens to us all.
I made the change and that fixed the CPU issue.
However, it doesn't seem to be doing anything at all now. As far as I can tell (soularr doesn't provide any logs, unfortunately), it's not looking at lidarr, making a list of what it needs to find, and then going out to slskd to find it. There's no logs to suggest soularr is talking to lidarr in lidarr and none in slskd to suggest that soularr is talking to slskd either.
@MickLesk commented on GitHub:
and after all, ready for merge or need to modify ?
@github-actions[bot] commented on GitHub:
A PR has been created for slskd: community-scripts/ProxmoxVE#3516
@vhsdream commented on GitHub:
Uh, I don't think you need to do anything with that. This isn't using Docker in any way whatsoever.
@vhsdream commented on GitHub:
I just made some small changes to the update script to clean up some things (specify
.servicein the stop command for soularr, clearer naming for the files that are temporarily moved before the update, move the clean-up to the end); but I think it is ready 👍🏻@lklynet commented on GitHub:
Well I have no idea what I changed then but it's working 100% for me after a fresh install
@github-actions[bot] commented on GitHub:
Files deleted with PR #154
@michelroegl-brunner commented on GitHub:
Merged with #3516 in ProxmoxVE