Package Details: flood-git r1291.1493f8f-2

Git Clone URL: https://aur.archlinux.org/flood-git.git (read-only)
Package Base: flood-git
Description: Flood: a modern web UI for rTorrent with a Node.js backend and React frontend.
Upstream URL: https://github.com/jfurrow/flood
Keywords: rtorrent
Submitter: arshlinux
Maintainer: arshlinux
Last Packager: arshlinux
Votes: 9
Popularity: 0.000023
First Submitted: 2016-12-15 17:20
Last Updated: 2018-07-12 15:32

Pinned Comments

arshlinux commented on 2018-07-12 16:07

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

Latest Comments

solstice commented on 2018-11-23 19:53

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 ??

Dimtree commented on 2018-10-18 15:39

Build fails without python2 due to some weirdness with how node-gyp detects Python versions. Please add python2 to makedepends.

arshlinux commented on 2018-07-12 16:07

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

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

Done

XG_SiNGH commented on 2018-05-26 22:00

(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

^_^

arshlinux commented on 2017-05-29 21:25

@XG_SiNGH see https://aur.archlinux.org/packages/dotflood/

arshlinux commented on 2017-05-23 22:33

No, plus this whole thing of a flood user set by the package is very wrong, I believe Flood cannot be packaged yet, as the configuration is by design merged into the Javascript source code...

XG_SiNGH commented on 2017-01-09 23:50

Hiya,

Firstly; thank you for submitting & maintaining this AUR package ^_^

FLOOD is AWESOME ^_^

Secondly; I see we're installing to /srv/flood. I note that all my other AUR things are in /opt/<stuff>
(e.g. sabnzbd, couchpotato, jdownloader, google chrome, ums (universal-media-server), pycharm-professional, trelby, vagrant, etc

Shall we opt to use /opt? :P

(even though I guess /srv may be more correct, I think I'd prefer FLOOD to be installed alongside everything else in /opt)

Your thoughts?

Thank you

^_^