This is insecure (I think so) but I don't have the time to fix this for now).ĥ for rtorrent you configure it like rtorrent on a normal computer (if you are not familiar ask and I will put that too)Ħ- give write and read access to all (or maybe just regular user and web user) to the download directory rutorrent share directory. I tested and php-cli didn't work so I used php-cgi (I am not pro with php, specially on openwrt that it seems to have split php binary into some binaries).Ĥ in /etc/php.ini I commented out the working directory so that php has access to all the files. "gzip php7-mod-json php7-cgi php7-mod-zip"ģ changed php path in rutorrent/conf/config.php to the path of php-cgi. Option home '/path to root of rutorrent on my usb hdd drive/ruTorrent/' I have the lighttpd configs but I think it didnt work completely. I first used lightttd but realized that the default uhttpd worked. Maybe I try to experiment later but right now I am just setting my rtorrent and it takes times to migrate the torrent from my pc to openwrt. If you have any experience with this ,please share. I always try to restrict as much as I can but because I have come close to bricking my router (and did brick it twice ,but luckily it has a partition for recovery and an easy recovery move) I cant play with uhttpd and then later find out that I cant access my router or install apps or so on. Unless I can run the rutorrent server(which is right now added on a port other that 80 in additional secton the nf) ,then i think php would run as root. but my guess is the uhttpd would use it when I interact with rutorrent so that one is root. If you can provide me debug code (for usage on the console), I can keep posting the results here.I thought it was permission related but it was because php is not available in openwrt in as a "php" binary file but as php-cgi or php-cli.Ĭhanging the php path in rutorrent/cong/conf.php to php-cgi path fixed it.Ībout the second part, unfortunately I read that I have to run the uhttpd as root (which is the default behavior) and it seems that I need to run rtorrent as the same user,(I think because of permission issues).Įven if I did add a rtorrent user I don't know which user would use php(which user would invoke it). _callbacks.(anonymous function) remote.js:78 Welcome.js:22 Error: Unknown XML-RPC tag 'TITLE'Īt Deserializer.onError Deserializer.onClosetag SAXStream.emit (events.js:182)Īt ._parser.(anonymous function) (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:258:17)Īt emit (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:624)Īt emitNode (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:629)Īt closeTag (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:889)Īt SAXParser.write (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:1436)Īt SAXStream.write (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:239)Īt IncomingMessage.ondata (_stream_readable.js:666)ĬompleteOutstandingRequest angular.js:6045
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |