The almost inevitable thread about Plugins on BETA 3...=)

Status
Not open for further replies.

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
So - the mount point works, because I see the test file in both directories in the shell. However, Transmission won't seem to point to that folder when downloading. Even though I select it, and stop/restart Transmission, no good. It'll download in the default directory, and will not put the finished download in the directory I select either. Not a big deal, but defeats the purpose of mount points for me...?

In any case, I am trying to transfer (via Windows), files that I've downloaded with Transmission, from inside the jail to outside. One of the files is 7.8 GB, and twice now, I've had a kernel panic with the error "kmem_map too small" or something similar when trying to do that. I have to hard-reset the box when that happens. I suppose this is not normal...? =)
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
OK. So this is for the next release, then, I take it?
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Well, one could just regenerate the plugin, but we are only going to do this in the next release, yes.
 

biffter

Cadet
Joined
Apr 26, 2012
Messages
3
has anyone else noticed that the time seems to be out on the Jail. I know a little bit about freebsd, but certainly not enough to work out how to fix this. I only noticed as all my SABnzbd schedules were out by an hour.


[root@freenas] ~# date
Thu Apr 26 22:01:55 BST 2012
[root@freenas] ~# jexec 1 csh
Plugin_Jail# date
Thu Apr 26 21:02:00 UTC 2012

My normal time is right at BST, but the jail seems to be at UTC, I tried to change the timezone, and the time, but it says i dont have permission, any one able to shed some light on the situation at all ?

thanks in advance :)
 

biffter

Cadet
Joined
Apr 26, 2012
Messages
3
Awesome, cheers William, thanks for that, worked a treat :) now I have to reset all my schedules back to the right time :)
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
OK - so I keep getting the "keymem_toosmall" errors when manually transferring files from my jail (Transmission download directory, which I can't map yet) to my actual NAS, with very slow transfer speeds - 35-ish MB/sec. So, I have to reboot when this happens. When it does, Transmission won't start automatically, and will not restart. I can delete it, and re-install it - but then, it won't download. Something about "resume file directory not found" or some such - or that's the error that I get in the Remote GUI. So, I guess I'll have to delete the jail and run a sqlite3 /data/freenas-v1.db "delete from plugins_plugins" again - which is fine, but also a touch annoying since my XBMC database was running so nicely in MySQL in the jail....=) So I'll have to export it, delete the jail, and re-import.

Some help or pointers to fix would be appreciated. Cheers! =)
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
As for an update, I've removed Transmission from the plug-in constructs and installed it manually in the main file system (outside the jail), and it's working great that way. No more issues with slow file transfers. =) I've kept MySQL in the jail for XBMC, however.
 

toobad

Cadet
Joined
Apr 30, 2012
Messages
3
You just need to chown -R dlna:dlna /var/db/minidlna so dlna can start (within the jail)

Hi Will,

just double checking if this command only works for 8.0.4 or should it also work for 82b3?

Because if yes, then it doesn't work for me. the service still can't be turned on.

can anyone please tell me where I'm going wrong?

P.S. - I've installed jail.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,402
just double checking if this command only works for 8.0.4 or should it also work for 82b3?
It's needed for 8.2.0B3. You also need to run it inside the jail. Are you on x86 or x64?
Because if yes, then it doesn't work for me. the service still can't be turned on.

can anyone please tell me where I'm going wrong?

P.S. - I've installed jail.
Have you installed the minidlna plugin? You can try running minidlna in debug mode from inside the jail using:
Code:
/usr/local/sbin/minidlna -d -R -u dlna
 

toobad

Cadet
Joined
Apr 30, 2012
Messages
3
It's needed for 8.2.0B3. You also need to run it inside the jail. Are you on x86 or x64?

I've installed x64 and yes it is inside jail.

Have you installed the minidlna plugin? You can try running minidlna in debug mode from inside the jail using:/usr/local/sbin/minidlna -d -R -u dlna[/code]

I have installed the minidlna plugin. I'll try the debug and let u know. Thx
 

toobad

Cadet
Joined
Apr 30, 2012
Messages
3
hey paleOn, something really weird just happened. I turned off my NAS (HP N40L) last night and when i turned it back on this morning, minidlna service is running now :)
A side question here, I've got a samsung TV, it can see the dlna share, but unable to see any files in it. should this work with samsung TV as I've seen some other posts that it doesn't.

Thanks

P.S. - they're just avi files.
 
Joined
May 6, 2012
Messages
1
Unfortunately yes, this is a bug we found right after the release.

One workaround would be delete the plugin jail, delete/recreate the plugins dataset and from SSH/CLI:
# sqlite3 /data/freenas-v1.db "delete from plugins_plugins"

Second workaround is delete plugins dataset and factory reset...

I'm trying to solve what I think is the same problem. But when i get to the sqlite3 part
I get this error;

" sqlite3 /data/freenas-v1.db "delete from plugins_plugins"
Error: unable to open database "/data/freenas-v1.db": unable to open database file"
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,402
hey paleOn, something really weird just happened. I turned off my NAS (HP N40L) last night and when i turned it back on this morning, minidlna service is running now :)
A side question here, I've got a samsung TV, it can see the dlna share, but unable to see any files in it. should this work with samsung TV as I've seen some other posts that it doesn't.
MiniDLNA does work with Samsung TVs, with the proper media.
P.S. - they're just avi files.
Unfortunately with the DLNA protocol they're not just avi files. Try some different video files or transcode one of your avi's to mp4, asf, etc. Search the net for you TV model and what video codecs, audio codecs and container format combinations work with it.
 

Dennis Rawet

Dabbler
Joined
Nov 10, 2011
Messages
10
OK, so mount points don't work for me at ALL. =) I created a folder from Windows, on my FreeNAS root directory, called "Downloads (Finished)" without the quotes. I then SSH'd into my box to create a folder, with the exact same name, inside the jail, in /usr/pbi. I then tried to mount the two folders - got a Middleware error.

Either way, I then deleted the two folders, and I guess I must have forgotten to delete the mount point, because everything started going haywire. I resorted to deleting the datasets, re-installing the jail and re-installing the plug-in - except that now, the jail won't fully start.

Interestingly, my mount point is still visible in the GUI tree menu on the left, but if I click on it, I get a dialog box that says "Sorry, An Error Occurred" that I can't get out of (No "X" button, and I have to close the window/tab). I also can't view my mount points or add to them. I suspect that's what's holding up the jail and everything else.

So is there some way to do the same thing for the plugins (sqlite3 /data/freenas-v1.db "delete from plugins_plugins") to the mount points?

Cheers!

EDIT : Tried "re-upgrading", or re-installing the original beta 3 firmware via GUI update - get a Middleware error as well. Now I'm kinda stuck. =)

Hi!

Im not sure if you got an answer already, but your're not able to mount an "volume directory" you have to make an new directory inside the volume..
 

Dennis Rawet

Dabbler
Joined
Nov 10, 2011
Messages
10
Is it only me that have problems with magnet links in Transmission? the magnet links does not download the "torrent"..
 

tosh123

Cadet
Joined
Jun 18, 2012
Messages
3
[freeNAS 8.2.0B4]

You can try running minidlna in debug mode from inside the jail using:
Code:
/usr/local/sbin/minidlna -d -R -u dlna

thanks for the hint, i can start minidlna and even firefly from inside the jail, both are working proper.
I can none of them start or stop from the freenas GUI - an error accured.
After starting freenas, firefly is always switched on, but crashes and minidlna is always off. I have to stop firefly and run inside the jail via above commands.
How can i fix this?
 

lazoNAS

Cadet
Joined
Aug 25, 2012
Messages
7
Good day friends ..
minidlna seems to lg tv menu, but the folders are empty.
I tried to post it here, but I got the following error message.


minidlna.jpg
[/URL] Uploaded with ImageShack.us[/IMG]
 
Status
Not open for further replies.
Top