New Plugins for FreeNAS 9 (November 2016) - Nextcloud / Madsonic / Resilio / NZBHydra

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I released a few new plugins for FreeNAS 9. They are available from the official FreeNAS repo.

Nextcloud - A fork of ownCloud
- This plugin uses MySQL for its database. This should have better performance at the expense of using more memory than the ownCloud plugin because of the change from SQLite.
- I have not extensively tested this so if you hit any issue please share them here.

Madsonic - Fork of Subsonic

Resilio - The new name/brand for BitTorrent Sync

NZBHydra - A meta search for NZB indexers and the "spiritual successor" to NZBmegasearcH
 
Last edited:

MisterIce

Explorer
Joined
May 21, 2016
Messages
87
Reading the news about ownCloud over the last few months it looks like Nextcloud is taking over the reign. When I have time I will check it out.

Thank you for the plugin! :D
 
Last edited:

snaptec

Guru
Joined
Nov 30, 2015
Messages
502
I Host many nextcloud instances - its definately the Future.


Gesendet von iPhone mit Tapatalk
 

bollar

Patron
Joined
Oct 28, 2012
Messages
411
Is there a straightforward way to update Madsonic to a current or beta release? The one we're using *may* have some playback issues that are supposed to be fixed.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I believe you can replace the files in /usr/pbi/madsonic-amd64/share/madsonic/

I'll update the madsonic plugin when it has another release deemed stable, but not to a release they call beta.
 

heimos

Dabbler
Joined
Nov 9, 2016
Messages
29
Has anyone installed Resilio plugin on their system ? I have installed it on my FreeNAS, but for some reason it does not see the "source" dataset, only the destination. Any thoughts ?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
can you verify the files and their permission levels in the resilio jail
ls -l /path/to/files
 

heimos

Dabbler
Joined
Nov 9, 2016
Messages
29
can you verify the files and their permission levels in the resilio jail
ls -l /path/to/files

I have create a btsync user and group with UID 817. Both of them have permissions to the source data set

root@resilio_1:/ # ls -l
total 94
-rw-r--r-- 2 root wheel 966 Mar 24 2016 .cshrc
drwxr-xr-x 2 root wheel 4 Nov 14 17:38 .plugins
-rw-r--r-- 2 root wheel 254 Mar 24 2016 .profile
-r--r--r-- 1 root wheel 6197 Mar 24 2016 COPYRIGHT
drwxr-xr-x 2 root wheel 47 Mar 24 2016 bin
drwxr-xr-x 8 root wheel 50 Mar 24 2016 boot
dr-xr-xr-x 12 root wheel 512 Nov 15 06:58 dev
drwxr-xr-x 23 root wheel 107 Nov 15 06:58 etc
drwxr-xr-x 3 root wheel 52 Mar 24 2016 lib
drwxr-xr-x 3 root wheel 5 Mar 30 2016 libexec
drwxr-xr-x 2 root wheel 2 Mar 24 2016 media
drwxr-xr-x 2 root wheel 2 Mar 24 2016 mnt
dr-xr-xr-x 1 root wheel 0 Nov 15 07:18 proc
drwxr-xr-x 2 root wheel 146 Mar 24 2016 rescue
drwxr-xr-x 2 resilio resilio 2 Nov 15 06:56 resilio
drwxr-xr-x 2 root wheel 7 Nov 15 07:14 root
drwxr-xr-x 2 root wheel 132 Mar 24 2016 sbin
lrwxr-xr-x 1 root wheel 11 Mar 24 2016 sys -> usr/src/sys
drwxrwxrwt 6 root wheel 6 Nov 15 06:58 tmp
drwxr-xr-x 15 root wheel 15 Nov 14 17:38 usr
drwxr-xr-x 25 root wheel 25 Nov 15 06:58 var
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I have create a btsync user and group with UID 817. Both of them have permissions to the source data set

root@resilio_1:/ # ls -l
total 94
-rw-r--r-- 2 root wheel 966 Mar 24 2016 .cshrc
drwxr-xr-x 2 root wheel 4 Nov 14 17:38 .plugins
-rw-r--r-- 2 root wheel 254 Mar 24 2016 .profile
-r--r--r-- 1 root wheel 6197 Mar 24 2016 COPYRIGHT
drwxr-xr-x 2 root wheel 47 Mar 24 2016 bin
drwxr-xr-x 8 root wheel 50 Mar 24 2016 boot
dr-xr-xr-x 12 root wheel 512 Nov 15 06:58 dev
drwxr-xr-x 23 root wheel 107 Nov 15 06:58 etc
drwxr-xr-x 3 root wheel 52 Mar 24 2016 lib
drwxr-xr-x 3 root wheel 5 Mar 30 2016 libexec
drwxr-xr-x 2 root wheel 2 Mar 24 2016 media
drwxr-xr-x 2 root wheel 2 Mar 24 2016 mnt
dr-xr-xr-x 1 root wheel 0 Nov 15 07:18 proc
drwxr-xr-x 2 root wheel 146 Mar 24 2016 rescue
drwxr-xr-x 2 resilio resilio 2 Nov 15 06:56 resilio
drwxr-xr-x 2 root wheel 7 Nov 15 07:14 root
drwxr-xr-x 2 root wheel 132 Mar 24 2016 sbin
lrwxr-xr-x 1 root wheel 11 Mar 24 2016 sys -> usr/src/sys
drwxrwxrwt 6 root wheel 6 Nov 15 06:58 tmp
drwxr-xr-x 15 root wheel 15 Nov 14 17:38 usr
drwxr-xr-x 25 root wheel 25 Nov 15 06:58 var
where is the dataset mounted in the jail? You don't show any files owned by the btsync/resilio user
 

zuzuzzzip

Dabbler
Joined
Apr 4, 2016
Messages
28
Good Work!

I was also working on getting Madsonic into an official plugin.
But I only got as fars as to run it in it's own jail.
Do you have the code shared somewhere? I have mine here.
 

ScottH

Cadet
Joined
Oct 30, 2016
Messages
2
I'm new to FreeNAS, but have installed the Nextcloud plugin successfully. All works, but it looks like the OpenSSL libs used are a bit dated. Again, I'm new, so this may be due to package management in FreeBSD or some technical reason that I am unaware of, but if possible, it would be nice to have the package support more than TLS 1.0 out of the box.

If anyone has a link to instructions that may already do this for Owncloud or another plugin, then I would be grateful (nothing that I see that directly addresses updating a plugin as opposed to a manually configured jail).

That said, if I find a way to update OpenSSL and compile Apache against it successfully while not breaking the plugin, I'll come back and add my findings!
 

jag131990

Explorer
Joined
Dec 2, 2016
Messages
68
That said, if I find a way to update OpenSSL and compile Apache against it successfully while not breaking the plugin, I'll come back and add my findings!

I take it so far you have not had success?

Given the older dependencies is it a bad idea to open this plugin up to the web? I intended to harden with https and use a lets encrypt cert..
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I take it so far you have not had success?

Given the older dependencies is it a bad idea to open this plugin up to the web? I intended to harden with https and use a lets encrypt cert..
it would be safer to do a manual install to get up to date dependencies.

but it still is difficult to exploit old SSL. for most exploits, the hacker would need to also get a man-in-the-middle situation. but, this plugin also has old php, which probably has more easy to exploit issues.
 

jag131990

Explorer
Joined
Dec 2, 2016
Messages
68
it would be safer to do a manual install to get up to date dependencies.

but it still is difficult to exploit old SSL. for most exploits, the hacker would need to also get a man-in-the-middle situation. but, this plugin also has old php, which probably has more easy to exploit issues.
Thanks Joshua,

I decided to set up a openvpn jail instead for such. Let me also just say, long time lurker and have read many of your posts and watched the odd youtube video of yours to learn about freenas before finally building my machine last month. It is a pleasure to have received first hand advice!
 

ovizii

Patron
Joined
Jun 30, 2014
Messages
435
I've been happily running NextCloud plugin except today I was greeted with a notification about an update. The manual update instructions: https://docs.nextcloud.com/server/10/admin_manual/maintenance/manual_upgrade.html

don't seem to work with this plugin version as I had to manually find the php executable somewhere inside the /usr/pbi/nextcloud... then it told it it couldn't find the occ executable, etc.

Is there a reliable update how-to for this plugin?
 

jag131990

Explorer
Joined
Dec 2, 2016
Messages
68
I've been happily running NextCloud plugin except today I was greeted with a notification about an update. The manual update instructions: https://docs.nextcloud.com/server/10/admin_manual/maintenance/manual_upgrade.html

don't seem to work with this plugin version as I had to manually find the php executable somewhere inside the /usr/pbi/nextcloud... then it told it it couldn't find the occ executable, etc.

Is there a reliable update how-to for this plugin?
I think you may need to look at the nextcloud forums and follow the upgrade instructions there
 

ovizii

Patron
Joined
Jun 30, 2014
Messages
435
The link I referred to IS the official upgrade how-to except thigns are a bit different inside a plugin apparently, hence I have asked here, where the plugin originated and not in the NextCloud forums where they know nothing about freeNAS plugins :smile:
 
Status
Not open for further replies.
Top