DEgITx / rats-search

BitTorrent P2P multi-platform search engine for Desktop and Web servers with integrated torrent client.
MIT License
1.61k stars 176 forks source link

Webserver version fails to start. sphinx closed with code 127 #206

Closed jj15warrior closed 3 months ago

jj15warrior commented 3 months ago

after npm run server: image

when i try to kill it using CTRL+C: image

system info: kernel - 6.10.5-arch1-1

npm version: image

i can provide more logs if some one guides me where to find them

jj15warrior commented 3 months ago

I think it might be somehow connected to having DE (maybe some libraries that come with it) because i run a nearly-identical system on my laptop (although with KDE installed, meaning all electron libs and so on are installed) and it works perfectly fine. I'm currently trying to debug this, will PR when i'll find it

jj15warrior commented 3 months ago

FOUND IT! turns out i needed the core/openssl-1.1 library . I suggest putting it in readme (maybe the server compatibility file)

directentis1 commented 3 months ago

FOUND IT! turns out i needed the core/openssl-1.1 library . I suggest putting it in readme (maybe the server compatibility file)

@jj15warrior openssl-1.1 is deprecated on recent release of Debian/Ubuntu. I wonder how you solve it? 👀

directentis1 commented 3 months ago

well, you'll need to compile it yourself and manually linking it before run the rats-search.

So here what I was to do: Because libssl is important library, replace default libssl installed by your distro would cause more troubles to another applications), you should compile it from source code and manually linking it.

After did all of these things, I still got:

WARNING: [BUDDY] no manticore-buddy found at '/usr/share/manticore/modules/manticore-buddy', disabled
accepting connections

[8/21/2024] [sphinx] catched sphinx start
[8/21/2024] [patcher] version not founded, set db version to 1
[8/21/2024] [patcher] db version 1
[8/21/2024] [patcher] patch db to version 2
[8/21/2024] [patcher] optimizing torrents

image

directentis1 commented 3 months ago

For those need quick and dirty way, I was built it. data.tar.zst.zip

Just need to remove .zip extension and extract it with tar -xf.

jj15warrior commented 3 months ago

hmm that's weird. I think because libssl-1.1 is used as widely as the 3.3.1 (latest) version, the arch repo provides it separately. I did not have to re-link anythink and just installed both versions alongside each other

directentis1 commented 3 months ago

Yeah, it already has. But now version 1.1 is out of support by official guidance. Because rats-search has not been update for about 1 year ago, some of its dependencies already outdated.

Maybe it's also why AUR stills support libssl 1.1, to avoid break change between old and new packages. But that's not the case for Debian based apps. 😵‍💫

kotenok2000 commented 2 months ago

I have downloaded it with wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb and installed on 22.04 with sudo apt install ./libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb

Turns out apt supports installing local packages.