- Joined
- May 27, 2011
- Messages
- 1,754
You just need to chown -R dlna:dlna /var/db/minidlna so dlna can start (within the jail)
@William Grzybowski
Did that, no dice as far as I can see. I have re-installed the plugin a few times to see if that helps too.
I did this: jexec into the jail as root
# chown -R dlna:dlna /var/db/minidlna
# /mnt/plugins/pbi/minidlna-i386/sbin/minidlna
/libexec/ld-elf.so.1: Shared object "libjpeg.so.11" not found, required by "minidlna"
weird...
Toggling the start/stop in the gui just says "some error occurred" and it stays off.
However, I may just be thick, so I'll delete it & reinstall it again this evening & try again.
Is there anything wrong with this kind of setup?
In the video you mounted the outside datasets into the plugin's pbi directory, not into the jail itself - any special reason why?
Nothing wrong with it at all.
You could create a mount point into the jailed app's folder in /usr/pbi/your-app-amd64/mount-point, BUT... I think the problem would be if you want to remove the plugin or update it and the update wants to use a new folder and delete the old folder. I think the GUI might have trouble removing the plugin because the folder inside it is mounted, so you would need to delete the mount point in the GUI before deleting the plugin.
@William Grzybowski
Did that, no dice as far as I can see. I have re-installed the plugin a few times to see if that helps too.
I did this: jexec into the jail as root
# chown -R dlna:dlna /var/db/minidlna
# /mnt/plugins/pbi/minidlna-i386/sbin/minidlna
/libexec/ld-elf.so.1: Shared object "libjpeg.so.11" not found, required by "minidlna"
weird...
Toggling the start/stop in the gui just says "some error occurred" and it stays off.
However, I may just be thick, so I'll delete it & reinstall it again this evening & try again.
I can't get minidlna working. The other two (firefly, transmission) are working.
I did the chown dlna:dlna mentioned earlier in this thread, but I'm getting this error:
PJail# /mnt/plugins/pbi/minidlna-i386/sbin/minidlna
/libexec/ld-elf.so.1: Shared object "libjpeg.so.11" not found, required by "minidlna"
Is that the right way to start it? Doing it from the gui just says "some error occurred".
Also, in the gui console I'm getting the following as well:
Apr 21 08:21:47 localhost Couldn't retrieve http://nas/plugins/minidlna/_s/treemenu: HTTP Error 502: Bad Gateway
Apr 21 08:21:48 localhost Couldn't retrieve http://nas/plugins/minidlna/_s/status: HTTP Error 502: Bad Gateway
Apr 21 08:22:28 localhost Couldn't retrieve http://nas/plugins/minidlna/_s/status: HTTP Error 502: Bad Gateway
Apr 21 08:22:29 localhost Couldn't retrieve http://nas/plugins/minidlna/_s/treemenu: HTTP Error 502: Bad Gateway
and no entry for minidlna in the treemenu - there are entries for firefly & transmission (which I used to configure them).
Being a beta, I'm not expecting it all to work straight off, but I dunno if this is a bug or something I've done...
On other thing as well, files downloaded by transmission are owned by uid 1003, and I don't have permission to move/delete them. The uid of the only user on here is 1002. There is no user with uid 1003 in /etc/passwd on base system. The transmission user inside the jail does have uid 1003.
Same problem with minidlna. Appears to be an issue with the i386 version.
Firefly and transmission starting okay. But seeing an issue with the Firefly share dropping from itunes after short period of time even while streaming music.
Does your firefly have bonjour running? Is it "discoverable" or do you have to point whatever client you have at the server IP?
My firefly also stops playing, it does seem still connected though as I can still browse the music list & start it playing again. Could be the client I'm using (Daap from the Android market)
It is discoverable. I see it on all clients throughout the house. I can browse music and play until it drops off the share. Drops across all clients and requires stopping and restarting the service. I did notice that in the Firefly GUI that Bonjour is indicated as "Stopped" under server status but I have mDNSRespnder.exe service running on all clients.
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.
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?
OK, everything's back to normal, thanks to that line of code. I'll follow tutorials VERY strictly from now on, thanks ProtoSD. =)
BTW - You a Starcraft player or something? I keep wanting to call you Protoss...=))))