Comments (3)
- Can you please provide command list how you tried to run it
- have you performed git clone --recurse-submodules https://github.com/DEgITx/rats-search.git with recurse-submodules after you clone program ?
from rats-search.
I init submodules (git submodule update --init --recursive) and have following error
[12.08.2023 04:56:03] [system] Desktop server
(node:1150243) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `rats-search --trace-deprecation ...` to show where the warning was created)
[12.08.2023 04:56:03] [udp-tracker] listening udp tracker respose on 0.0.0.0:4446
[12.08.2023 04:56:03] [sphinx] Sphinx Path: /opt/rats-search-git/x64/searchd
[12.08.2023 04:56:03] [config] dbPath = /home/basedlord/.config/Rats on The Boat
[12.08.2023 04:56:03] [sphinx] writed sphinx config to /home/basedlord/.config/Rats on The Boat
[12.08.2023 04:56:03] [sphinx] db path: /home/basedlord/.config/Rats on The Boat
[12.08.2023 04:56:03] [sphinx] sphinx closed with code 127 and signal null
[12.08.2023 04:56:03] [sphinx] sphinx closing...
[12.08.2023 04:56:03] [sphinx] stoping with sphinx stopwait
I missed the point with submodules earlier, but when you initialize them and copy them, it goes like this. The following script is used to start it (the program is installed in /opt)
#!/bin/bash
# Launch application
exec /opt/rats-search-git/rats-search "$@"
from rats-search.
What could be wrong with this PKGBUILD? (I want to provide support for rats-search at aur)
# Maintainer: Amog-us <ask at amogussugomus at proton dot me>
# Contributor: davedatum <ask at davedatum dot com>
pkgname=rats-search-git
pkgver=1.11.0.r18.gcbda746
pkgrel=1
pkgdesc="BitTorrent P2P multi-platform search engine for Desktop and Web servers with integrated torrent client."
arch=("x86_64")
url="https://github.com/DEgITx/rats-search"
license=("MIT")
depends=("electron")
makedepends=("git" "npm" "imagemagick")
provides=("${pkgname}")
conflicts=("${pkgname}")
install=${pkgname}.install
source=("${pkgname}::git+$url.git"
"${pkgname}.sh"
"${pkgname}.desktop"
"${pkgname}.install")
md5sums=('SKIP'
'bf8d0e316e3904298ec63d3e5a44bc94'
'a0d9bad379a6774e8bbc28da8a4979a3'
'1a85dc610507dd1b2db75f95d1917126')
prepare() {
cd "${srcdir}/${pkgname}"
git submodule update --init --recursive
sed -i -e '/"scripts": {/a "linux": "npm run prebuild && electron-builder --dir",' "${srcdir}/${pkgname}/package.json"
}
pkgver() {
cd "${pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
npm install --force && npm run linux
#Yes, --force is really needed here. If you are worried about security, use a sandbox like firejail or bubblejail.
}
package() {
install -dm755 "${pkgdir}/opt/${pkgname}"
cp -a "${srcdir}/${pkgname}/dist/linux-unpacked/." "${pkgdir}/opt/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
for _size in "192x192" "128x128" "96x96" "64x64" "48x48" "32x32" "24x24" "22x22" "20x20" "16x16" "8x8"
do
install -dm755 "${pkgdir}/usr/share/icons/hicolor/${_size}/apps"
convert "${srcdir}/${pkgname}/resources/icons/512x512.png" \
-resize "${_size}" "${pkgdir}/usr/share/icons/hicolor/${_size}/apps/${pkgname}.png"
done
}
from rats-search.
Related Issues (20)
- Add force bind to interface HOT 1
- Manticore 5 support HOT 2
- Docker support HOT 2
- unknown key name 'stored_only_fields' in /opt/rats-search/sphinx.conf line 29 col 20. HOT 1
- Crashing o launch (Windows) HOT 2
- Dark mode? HOT 1
- Discord Invite Invalid, Need some help. HOT 3
- can't install on win7 HOT 1
- New installation unable to install dependencies HOT 6
- Linux Daemon + REST API HOT 4
- The app crashes on windows HOT 2
- Quits instantly after launching HOT 1
- Не запускается как сервер HOT 1
- rarbg tracker is down & doesn't respond to dns
- The web interface is not working
- Doesn't run in Docker image mode
- Can you provide build instructions for windows executable?
- Hi
- Webserver version fails to start. sphinx closed with code 127 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rats-search.