filemanager plugin

somus1735

Member
May 25, 2018
833
0
16
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:
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)
 

das329717

Member
May 25, 2018
928
0
16
Sorry, guess I was a bit eager smiley.gif
Thanks for the update hwk.
--

Confirmed working on Debian 6, Ubuntu 11.10 and CentOS 5
 

jith45

Member
May 25, 2018
960
0
16
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?
 

somus1735

Member
May 25, 2018
833
0
16
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
 

shwetha17

Member
May 24, 2018
785
0
16
I'm receiving this error in Debian 6

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

dsouvik215

Member
May 25, 2018
896
0
16
Either install it, symlink bzip2 to bzip or remove the item for the array in filemanager/conf.php
 

das329717

Member
May 25, 2018
928
0
16
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 =)
 

das329717

Member
May 25, 2018
928
0
16
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.
 

das329717

Member
May 25, 2018
928
0
16
- share/user/settings/fileuploads.dat must be removed if the plugin doesn't work after update
 

jith45

Member
May 25, 2018
960
0
16
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:
$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)
 

jith45

Member
May 25, 2018
960
0
16
Quote
Feedback appreciated (testing on other os's)​


I can't claim to have tested it thoroughly but it seems to work OK on CentOS 6.2 64 bit (x86_64)
 

somus1735

Member
May 25, 2018
833
0
16
I am getting 2 errors after installing the filemanager plugin
home dir is set correctly and works but these are the errors:

FILE MANAGER ignited
FILE MANAGER: rar undefined

now rar was installed allready, dont know what the first thing means

any help?

Ubuntu 10.04 lucid

regards

DT
 

dsouvik215

Member
May 25, 2018
896
0
16
Quote
-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​


I can't get it working latest version with screenshots (debian 6 fresh install).

I have updated plugins (filemanager/fileupload) from svn and installed ffmpeg form his svn to ensure to have last version (FFmpeg version SVN-r26402) and screenshots log keeps saying:

"File Manager ERROR: undefined - 200 Current ffmpeg/ffprobe not supported. Please compile a newer version. SyntaxError: Unexpected token C"

The last version of ffmpeg can't be compiled with --enable-fontconfig --enable-libfreetype flasgs, doesn´t recognize them.

I'm sure I have installed fontconfig and libfreetype6.
Quote
fontconfig is already the newest version.
libfreetype6 is already the newest version.​


Any clues on what I'm missing?
 

das329717

Member
May 25, 2018
928
0
16
This is on the ffmpeg download page:
Quote
FFmpeg development has moved to a Git repository, and the SVN repository is no longer updated. The last revision committed to SVN was r26402 on 2011-01-19. The SVN repository may be removed in a near future, so you're recommended to use the Git repository instead.​


I suggest getting a newer version from the GIT repository.


When compiling an application, it doesn't requires the binaries but the development libraries (-dev suffix).
If you: apt-cache search libfreetype it will give you the results matching your keyword
Code:
...
libfreetype6 - FreeType 2 font engine, shared library files
libfreetype6-dev - FreeType 2 font engine, development files
..Doing that for fontconfig will get you:
Code:
...
libfontconfig1-dev - generic font configuration library - development
libfontconfig1 - generic font configuration library - runtime
...
I bet the -dev packages required for ffmpeg are not installed wink.gif