Page 1 of 1

[Help a Noob] 403: Forbidden!

Posted: Wed Nov 18, 2009 2:09 am
by Ortix
Ok so i FINALLY managed to edit the settings.json file after googling on how to do that but now i'm still stuck...

I added my local network IP to the rpc-whitelist but it's still giving me a 403 error... I used this as my guide:
http://k0lee.com/hpmediavault/MV2_FAQ/MV2_FAQ.html#bitt

Any ideas?

Oh yeah.. how do i quit out of vi in the terminal? i use ZZ but it doesn't work... when i use Putty it works perfectly fine :S

Re: [Help a Noob] 403: Forbidden!

Posted: Wed Nov 18, 2009 8:19 pm
by rb07
Ortix wrote:Ok so i FINALLY managed to edit the settings.json file after googling on how to do that but now i'm still stuck...

I added my local network IP to the rpc-whitelist but it's still giving me a 403 error... I used this as my guide:
http://k0lee.com/hpmediavault/MV2_FAQ/MV2_FAQ.html#bitt

Any ideas?
Did you remember to stop the daemon before changing settings.json?
Oh yeah.. how do i quit out of vi in the terminal? i use ZZ but it doesn't work... when i use Putty it works perfectly fine :S
Strange, oh well "ZZ" is equivalent to ":wq", try that one.

Re: [Help a Noob] 403: Forbidden!

Posted: Wed Nov 18, 2009 9:37 pm
by Ortix
Well i thought i did it... i apparently had to restart the entire NAS for the process to end so now it works :D. Had to do the NOEPOLL=1 thing but no worries it's great!

Also, is there a way to have like an RSS download like uTorrent on the web based thing? That would make this app complete! :D

Re: [Help a Noob] 403: Forbidden!

Posted: Wed Nov 18, 2009 10:25 pm
by rb07
Ortix wrote:Well i thought i did it... i apparently had to restart the entire NAS for the process to end so now it works :D. Had to do the NOEPOLL=1 thing but no worries it's great!
Yep, that happens because some startup/shutdown scripts don't work on the shutdown part, and its not so easy doing one that works always (experience from Gentoo script) the daemon takes a long time to shutdown (about 40 to 60 seconds) and most scripts just don't wait that long (yeah, I know what "start-stop-daemon --retry TERM/45/QUIT/15" is supposed to do).
Also, is there a way to have like an RSS download like uTorrent on the web based thing? That would make this app complete! :D
You can put that on the requests list, or use a script... I don't have one, but I think I've seen something with that kind of functionality, not sure (it may have been for rtorrent which once I tried to test but its installation is a mess I didn't like, I mean "mess" for a small system, my NAS, of course it would be much easier on a full-size Linux desktop or server).