Package Details: flood-git 4.8.2.r4.g812f351-1

Git Clone URL: https://aur.archlinux.org/flood-git.git (read-only, click to copy)
Package Base: flood-git
Description: A modern web UI for various torrent clients with a Node.js backend and React frontend.
Upstream URL: https://github.com/jesec/flood
Keywords: rtorrent
Licenses: GPL-3.0-only
Conflicts: nodejs-flood
Provides: nodejs-flood
Submitter: arshlinux
Maintainer: disastro
Last Packager: disastro
Votes: 13
Popularity: 0.000006
First Submitted: 2016-12-15 17:20 (UTC)
Last Updated: 2024-05-09 13:28 (UTC)

Required by (23)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

emacsomancer commented on 2021-03-20 15:30 (UTC)

With the new version, I get an error when I try to (re)start:

> flood@4.5.0 start
> node --use_strict dist/index.js

internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module '/usr/lib/flood/dist/index.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

disastro commented on 2021-02-28 12:27 (UTC)

Soon did mean something else back a month ago but I've been and will be busy for another week at least, expect an update then. Basically have a near complete PKGBUILD already that lacks at least systemd testing.

disastro commented on 2021-01-20 18:01 (UTC)

Thanks I'll look into changing to it soon

PlainTextField commented on 2021-01-20 17:45 (UTC) (edited on 2021-01-20 17:45 (UTC) by PlainTextField)

There is a more active fork here: https://github.com/jesec/flood

It removes the Python 2 dependency for node-gyp and uses more recent Node.js packages. It even offers fully static binaries.

disastro commented on 2019-08-18 10:32 (UTC) (edited on 2019-08-18 21:38 (UTC) by disastro)

I've adopted the package and am working on it, stay tuned

EDIT: So, flood still seems kind of a mess to package but I've tried to make it as as sane as possible. It's only been tested lightly so some issues might be lurking around. I couldn't get any to show up though.

solsticedhiver commented on 2018-11-23 19:53 (UTC)

The build fails on ARM when you use nodejs aka v11. This needs to use nodejs-lts-dubnium (v10 LTS)

May be nodejs-lts-dubnium should even be a dep for this package ? Did anyone on x86_64 build it with nodejs v11 ??

arshlinux commented on 2018-07-12 16:07 (UTC) (edited on 2018-07-12 16:09 (UTC) by arshlinux)

For Flood being able to move rTorrent downloads, I suggest to override the flood user so it the same user that rTorrent is running under. Let's say it's the seedbox user.

/etc/tmpfiles.d/flood.conf:

d   /var/lib/flood/server/db    0750    seedbox   seedbox

/etc/systemd/system/flood.service.d/override.conf:

[Service]
User=seedbox

arshlinux commented on 2018-07-10 22:29 (UTC) (edited on 2018-07-12 15:50 (UTC) by arshlinux)

-  npm install --production
+  npm install
+  npm run build

Done

XG_SiNGH commented on 2018-05-26 22:00 (UTC) (edited on 2018-05-26 22:30 (UTC) by XG_SiNGH)

(Fix included)

Hiya,

Flood now fails to start after recent upstream updates (installation completes successfully):

# systemctl status flood.service

flood.service - Flood rTorrent Web UI
   Loaded: loaded (/etc/systemd/system/flood.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2018-05-26 12:05:13 BST; 4s ago
   Process: 16395 ExecStart=/usr/bin/npm start --production /srv/flood (code=exited, status=1/FAILURE)
   Main PID: 16395 (code=exited, status=1/FAILURE)

May 26 12:05:13 HOST npm[16395]: npm ERR! errno 1
May 26 12:05:13 HOST npm[16395]: npm ERR! flood@1.0.0 start: `node server/bin/start.js "/srv/flood"`
May 26 12:05:13 HOST npm[16395]: npm ERR! Exit status 1
May 26 12:05:13 HOST npm[16395]: npm ERR!
May 26 12:05:13 HOST npm[16395]: npm ERR! Failed at the flood@1.0.0 start script.
May 26 12:05:13 HOST npm[16395]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
May 26 12:05:13 HOST npm[16395]: npm ERR! A complete log of this run can be found in:
May 26 12:05:13 HOST npm[16395]: npm ERR!     /srv/flood/.npm/_logs/2018-05-26T11_05_13_249Z-debug.log
May 26 12:05:13 HOST systemd[1]: flood.service: Main process exited, code=exited, status=1/FAILURE
May 26 12:05:13 HOST systemd[1]: flood.service: Failed with result 'exit-code'.

My research has led me here;

https://github.com/jfurrow/flood/issues/510

https://github.com/jfurrow/flood#compiling-assets-and-starting-the-server

It seems npm has removed the --production flag, & so we need to "run build" manually.

We need to update the PKGBUILD like this:

-  npm install --production
+  npm install
+  npm run build

I've compiled this updated PKGBUILD locally & have successfully got Flood running.

Thank you

^_^