Rutorrent Webui

Please login or register.

Login with username, password and session length
Advanced search  

News:

The BEST rtorrent webui.

Pages: [1] 2 3 ... 9   Go Down

Author Topic: filemanager plugin  (Read 32491 times)

hwk

  • Full Member
  • ***
  • Karma: 16
  • Offline Offline
  • Posts: 127
    • View Profile
    • Email
filemanager plugin
« on: May 13, 2012, 02:05:18 pm »

Features:
  • easily manage your files from a web interface
  • works on most major linux distributions: RedHat, Debian (might work on others also, give it a go!)
more to come

Bug reports, translations and suggestions can be submitted here: http://redmine.rutorrent.org/projects/filemanager/issues

Plugin SVN:
Code: [Select]
svn co http://svn.rutorrent.org/svn/filemanager/trunk/filemanager

Troubleshooting:
Problem: I tried to use the filemanager options (archive/decompress/copy/delete/sfv/etc...) but it keeps giving me a error
Solution:

  • The first thing you need to do is to check if /rutorrent/plugins/filemanager/scripts and it's contents has proper permissions (775) so all users can access the scripts. You can try to check if they are accessible by executing a script from a standard user; If you get something stating "permission denied" then you should recheck the scripts permissions.
  • Second you need to check if you have set the $topDirectory variable correctly to reflect a valid path in which filemanager will be jailed and work for a user. This can be found in rutorrent/conf/<user>/config.php depending on your setup (single/multi user)
    example: $topDirectory = "/home/pisi/";

I wish many thanks to the project contributors and donors!


Changelog for version 0.09:
-Fixed bzip2 compression
-Fixed remote directory detection
-Copy function corrections
-Fixed the mediainfo error on file permissions
-Fixed the screenshot video detection
-Added screenshot options in the settings panel
-Fixed screenshots plugin detection in context menu

Changelog for version 0.08:
-fixed the mediainfo option inside filemanager
-fixed the task kill error
-added screenshots in the filemanager context menu (requires manually compiled ffmpeg & ffprobe)
-for the screenshots feature to work ffmpeg must be compiled with --enable-fontconfig --enable-libfreetype flags to enable image timestamping
-the plugin works without the archiving utils (rar/zip/unzip/tar/bzip/gzip) - the plugin will only emit a warning
-not all translation will work (en only), they must be updated with some new strings
-working on Debian 6, Ubuntu 11.10 and CentOS 5 (thanks to Kolor)

Feedback appreciated (testing on other os's)
« Last Edit: July 09, 2012, 09:24:57 am by hwk »
Logged



Kolor

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 282
    • View Profile
    • SuperSeedbox.co.uk
Re: filemanager plugin
« Reply #1 on: May 13, 2012, 02:38:02 pm »

svn is showing revision 37, no update.
Logged
░░┌──┐░░░░░░░░░░┌──┐░░
░╔╡▐▐╞╝░░┌──┐░░╔╡▐▐╞╝░
░░└╥╥┘░░╚╡▌▌╞╗░░└╥╥┘░░
░░░╚╚░░░░└╥╥┘░░░░╚╚░░░
░░░░░░░░░░╝╝░░░░░░░░░░
BTC: 19V8vVcuXhQNc3DSERrwTuRqUmBcRh6xnV

Kolor

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 282
    • View Profile
    • SuperSeedbox.co.uk
Re: filemanager plugin
« Reply #2 on: May 13, 2012, 02:40:29 pm »

Sorry, guess I was a bit eager :)
Thanks for the update hwk.
--

Confirmed working on Debian 6, Ubuntu 11.10 and CentOS 5
« Last Edit: May 13, 2012, 03:26:47 pm by Kolor »
Logged
░░┌──┐░░░░░░░░░░┌──┐░░
░╔╡▐▐╞╝░░┌──┐░░╔╡▐▐╞╝░
░░└╥╥┘░░╚╡▌▌╞╗░░└╥╥┘░░
░░░╚╚░░░░└╥╥┘░░░░╚╚░░░
░░░░░░░░░░╝╝░░░░░░░░░░
BTC: 19V8vVcuXhQNc3DSERrwTuRqUmBcRh6xnV

kiran_n444

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
    • Email
Re: filemanager plugin
« Reply #3 on: May 14, 2012, 12:54:57 am »

Hey there, new to the rutorrent webui, anyways I just installed this plugin but when I right click on anything in the file manager this appears

"JS error: [omitted url/ : 2440] Uncaught TypeError: Cannot read property 'extensions' of undefined"
I've omitted my url.

Running: Linux version 2.6.32-5-amd64 (Debian 2.6.32-41


any idea why?

Logged

hwk

  • Full Member
  • ***
  • Karma: 16
  • Offline Offline
  • Posts: 127
    • View Profile
    • Email
Re: filemanager plugin
« Reply #4 on: May 14, 2012, 05:26:04 am »

Hey there, new to the rutorrent webui, anyways I just installed this plugin but when I right click on anything in the file manager this appears

"JS error: [omitted url/ : 2440] Uncaught TypeError: Cannot read property 'extensions' of undefined"
I've omitted my url.

Running: Linux version 2.6.32-5-amd64 (Debian 2.6.32-41


any idea why?



This was caused by the screenshot plugin detection. The fix is in the current trunk: svn up
Logged



R0ck$tar

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
    • Email
Re: filemanager plugin
« Reply #5 on: May 14, 2012, 01:10:27 pm »

I'm receiving this error in Debian 6

[14.05.2012 18:09:25] FILE MANAGER: bzip archive manipulation disabled (application not found)
Logged

Kolor

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 282
    • View Profile
    • SuperSeedbox.co.uk
Re: filemanager plugin
« Reply #6 on: May 14, 2012, 01:13:41 pm »

Either install it, symlink bzip2 to bzip or remove the item for the array in filemanager/conf.php
Logged
░░┌──┐░░░░░░░░░░┌──┐░░
░╔╡▐▐╞╝░░┌──┐░░╔╡▐▐╞╝░
░░└╥╥┘░░╚╡▌▌╞╗░░└╥╥┘░░
░░░╚╚░░░░└╥╥┘░░░░╚╚░░░
░░░░░░░░░░╝╝░░░░░░░░░░
BTC: 19V8vVcuXhQNc3DSERrwTuRqUmBcRh6xnV

kiran_n444

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
    • Email
Re: filemanager plugin
« Reply #7 on: May 14, 2012, 09:35:18 pm »

I just did a checkout and it's the same revision as last night. Even re-uploaded the files to make sure, same error as before.

Edit: Issues Resolved. Turns out Chrome's JS engine was the cause of the problems. Works fine with FF.
Good Work =)
« Last Edit: May 14, 2012, 11:43:01 pm by kiran_n444 »
Logged

hwk

  • Full Member
  • ***
  • Karma: 16
  • Offline Offline
  • Posts: 127
    • View Profile
    • Email
Re: filemanager plugin
« Reply #8 on: May 15, 2012, 06:14:26 am »

I just did a checkout and it's the same revision as last night. Even re-uploaded the files to make sure, same error as before.

Edit: Issues Resolved. Turns out Chrome's JS engine was the cause of the problems. Works fine with FF.
Good Work =)

Just tested in Chrome, works fine, as I said in a previous post:
Quote
This was caused by the screenshot plugin detection. The fix is in the current trunk: svn up
You should clean the browser cache, as Chrome caches a lot of stuff.
Logged



amaru007

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
    • View Profile
    • Email
Re: filemanager plugin
« Reply #9 on: May 16, 2012, 03:42:59 pm »

is there a way to set a home directory on this?
Logged

Kolor

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 282
    • View Profile
    • SuperSeedbox.co.uk
Re: filemanager plugin
« Reply #10 on: May 16, 2012, 04:06:58 pm »

Set your $topDirectory  in conf/config.php (or user/config.php)
Logged
░░┌──┐░░░░░░░░░░┌──┐░░
░╔╡▐▐╞╝░░┌──┐░░╔╡▐▐╞╝░
░░└╥╥┘░░╚╡▌▌╞╗░░└╥╥┘░░
░░░╚╚░░░░└╥╥┘░░░░╚╚░░░
░░░░░░░░░░╝╝░░░░░░░░░░
BTC: 19V8vVcuXhQNc3DSERrwTuRqUmBcRh6xnV

hwk

  • Full Member
  • ***
  • Karma: 16
  • Offline Offline
  • Posts: 127
    • View Profile
    • Email
Re: filemanager plugin
« Reply #11 on: May 17, 2012, 06:12:08 am »

Did someone tested the screenshots implementation?
Logged



Xenus

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 59
    • View Profile
Re: filemanager plugin
« Reply #12 on: May 17, 2012, 07:11:12 pm »

Cache cleared, filemanager and fileupload updated from svn and get this error:

[17.05.2012 20:08:48] JS error: [http://XX.XX.XX.XX/rtorrent/ : 3366] Uncaught TypeError: Cannot call method 'hasOwnProperty' of null

Logged

hwk

  • Full Member
  • ***
  • Karma: 16
  • Offline Offline
  • Posts: 127
    • View Profile
    • Email
Re: filemanager plugin
« Reply #13 on: May 18, 2012, 04:54:59 am »

- share/user/settings/fileuploads.dat must be removed if the plugin doesn't work after update
« Last Edit: May 18, 2012, 04:57:59 am by hwk »
Logged



~Kitty~

  • Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 25
    • View Profile
Re: filemanager plugin
« Reply #14 on: May 20, 2012, 09:24:27 am »

I'm receiving this error in Debian 6

[14.05.2012 18:09:25] FILE MANAGER: bzip archive manipulation disabled (application not found)

I fixed this by adding the following to conf.php
Code: [Select]
$pathToExternals['bzip'] = '/usr/bin/bzip2';
You'll obviously need Bzip2 installed - And your path may vary from that above (try 'which bzip2' from the CLI)
Logged
Pages: [1] 2 3 ... 9   Go Up