jesec / flood

A modern web UI for various torrent clients with a Node.js backend and React frontend.
https://flood.js.org
GNU General Public License v3.0
2.08k stars 127 forks source link

how do I reset this thing? every time I add a torrent file it says failed to add 1 torrent #710

Open mailinglists35 opened 6 months ago

mailinglists35 commented 6 months ago

running all with same user (browser, rtorrent, npx flood) out of the blue it refuses to add a torrent obviously I have permissions to /some/path where I start rtorrent, npx flood inside a tmux

mailinglists35 commented 6 months ago

oracle linux 9.2

trim21 commented 6 months ago

any error log in console of flood?

mailinglists35 commented 6 months ago

and ofcourse I can type enter key in rtorrent and paste the path to torrent file and it just works.

mailinglists35 commented 6 months ago
$ npx flood                                                                 [28/28]
Flood server 4.7.0 starting on http://127.0.0.1:3000                                                  

(node:3693240) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)        
Error: connect ENOENT /home/user/rpc.socket                                                          
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
  errno: -2,                                                                                          
  code: 'ENOENT',                                                                                     
  syscall: 'connect',                                                                                 
  address: '/home/user/rpc.socket'                                                                   
}                                                  
POST /api/torrents/add-files 500 86.891 ms - 120 
PATCH /api/settings 200 69.040 ms - 89                                                                
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 8.718 ms - 567
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 25.067 ms - 567
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 4.957 ms - 567                    
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 4.356 ms - 567
GET /api/feed-monitor/feeds/placeholder/items 500 7.485 ms - 14                                       
GET /api/feed-monitor 200 7.954 ms - 23                                                               
GET /api/feed-monitor/feeds/placeholder/items 500 15.024 ms - 14                  
GET /static/js/about.6d0d15f2.chunk.js 200 45.750 ms - -                                              
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 32.584 ms - -  
GET / 200 6.964 ms - 992                                                                              
GET /static/js/main.e491eea1.js 304 12.399 ms - -                                                     
GET /static/css/main.91a3ca36ed1a96839319.css 304 3.062 ms - -                                        
GET /api/auth/verify?1702931481342 200 22.496 ms - 106                                                
GET /static/js/90.8be17c89.chunk.js 304 2.600 ms - -                                                  
GET /api/client/settings 200 20.509 ms - 588     
GET /static/media/Roboto-regular.11bce66a..woff2 304 6.713 ms - -                                     
GET /api/settings 200 21.172 ms - -                                                                   
GET /static/css/116.bc338a685eec2e79b3a6.css 304 2.994 ms - -                      
GET /static/js/116.0faf47ae.chunk.js 304 3.744 ms - -                                                 
GET /static/js/flag0.d867ac2a.chunk.js 304 4.508 ms - -            
GET /api/settings 200 21.172 ms - -                                                                   
GET /static/css/116.bc338a685eec2e79b3a6.css 304 2.994 ms - -                                         
GET /static/js/116.0faf47ae.chunk.js 304 3.744 ms - -                             
GET /static/js/flag0.d867ac2a.chunk.js 304 4.508 ms - -                                               
GET /static/js/183.afcec458.chunk.js 304 6.142 ms - -                   
GET /static/js/535.4bb41992.chunk.js 304 7.131 ms - -                                                 
GET /static/media/Roboto-italic.766b7c5c..woff2 304 2.526 ms - -                                      
GET /static/media/Roboto-500.c7e17507..woff2 304 3.547 ms - -                                         
GET /static/media/Roboto-700.2b8c7cb1..woff2 304 0.968 ms - -                                         
GET /manifest.json 304 1.795 ms - -                                                                   
GET /icon_192x192.png 304 1.570 ms - -           
PATCH /api/settings 200 50.611 ms - 89                                                                
POST /api/torrents/add-files 500 77.608 ms - 120                                                      
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 10.793 ms - -             
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 27.770 ms - -   
trim21 commented 6 months ago

socket file /home/user/rpc.socket doesn't exist?

mailinglists35 commented 6 months ago

it does. after starting rtorrent.

mailinglists35 commented 6 months ago

does it not support the scenario when rtorrent is started afterwards? it does see the rtorent loaded torrents

mailinglists35 commented 6 months ago

I can click stuff. I can swith file priorities. everything but adding a new torrent file

mailinglists35 commented 6 months ago

it did work until I accidentally ran npm i flood instead of npx flood which updated to this broken state

trim21 commented 6 months ago

You can try reset flood by removing .local/share/flood and reinstall flood