Package Details: flood-git 4.9.0.r2.g0931304-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.000001
First Submitted: 2016-12-15 17:20 (UTC)
Last Updated: 2025-01-27 23:17 (UTC)

Required by (23)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3

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

^_^

arshlinux commented on 2017-05-29 21:25 (UTC)

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

arshlinux commented on 2017-05-23 22:33 (UTC)

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 (UTC)

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 ^_^