REQ: Update abandoned owncloud to nextcloud fork?

Status
Not open for further replies.

Rudi Pittman

Contributor
Joined
Dec 22, 2015
Messages
161
If you missed the background on 90% of the developers leaving to make the more community friendly version now named nextcloud it's synopsis is here: http://fortune.com/2016/06/03/what-happened-to-owncloud/

Can someone update the "owncloud" plugin to the nextcloud fork that's being actively developed? Right now the transition from owncloud to nextcloud is supposed to be seamless as it's a drop in replacement but the longer we wait the more the code could diverge making the process more painful.

Updated android clients are available on f-droid.org among other places.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Thanks for sharing the link. It was obvious to those of us that follow Owncloud that something like this was shaping up. I think, though, because both FreeNAS and BSD itself are fairly conservative communities, that we'll want to see how things shake out before we start zigging instead of zagging.

What do you think @Joshua Parker Ruehlig ?
 

Rudi Pittman

Contributor
Joined
Dec 22, 2015
Messages
161
Thanks for sharing the link. It was obvious to those of us that follow Owncloud that something like this was shaping up. I think, though, because both FreeNAS and BSD itself are fairly conservative communities, that we'll want to see how things shake out before we start zigging instead of zagging.

What do you think @Joshua Parker Ruehlig ?


Your point is taken. I just wish to point out nothing stops both forks from being available. Right now a few name changes and replacing a folder will produce the new package but it's being actively developed (nextcloud is now at v10.0..initial forked version was OC 9.02 to NC 9.05 [ Those #'s are off the top of my head so subject to error] (the significant change in THAT version being the name change). If they modify the database it becomes much more complicated for larger installs. With both available the admin would have the option to run them in parallel and determine their best choices.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Well, let's not be so quick to just say "yeah let's have both forks". Each of those pbi plugins in FreeNAS is a lot of work, a lot of support, ten thousand questions from users, etc., etc., etc.

So don't be so casual when you say "Yeah, let's just double the amount of Owncloud crap we are supporting".

Any sufficiently prepared user can install Nextcloud anytime he wants from the ports tree, or what have you.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Or the package as long as you don't mind running it with php56. I just did an install yesterday and it's working fine with php56 and mysql.

My use is a bit different than most though. I use it as an automatic sync for the Warden so she doesn't lose all her pictures on her phone.....again......
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I am planning on releasing a nextcloud plugin eventually. It shouldn't be more then a few hours of find/replace to since to adapt the current owncloud plugin.
But, I also plan on making the Nextcloud version use mysql instead of sqlite since that is now recommended. That change might take a while since it makes things more complicated.

@Jailer ownCloud and Nextcloud both work with PHP7.0 in case you wanted to use that. But, the plugin will continue whatever old version I have in my build environment =[
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
@Joshua Parker Ruehlig I have a nexcloud install based on your ownCloud install tutorial that uses php70 and it functions great. I just did the Nextcloud pkg install to see what it would take to get it working. The pkg version has it's dependencies based on php56 so a pkg upgrade will break an install with php70. You can build from ports and change the default version to php70 and mariadb as described here but that kinda defeats the purpose of a pkg install.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@Joshua Parker Ruehlig I have a nexcloud install based on your ownCloud install tutorial that uses php70 and it functions great. I just did the Nextcloud pkg install to see what it would take to get it working. The pkg version has it's dependencies based on php56 so a pkg upgrade will break an install with php70. You can build from ports and change the default version to php70 and mariadb as described here but that kinda defeats the purpose of a pkg install.
It's not 100% straight forward, but if you install the dependencies first you can get PHP70 installed without using ports.
You could use the 'pkg install' command from my owncloud thread, then install owncloud or nextcloud and it should see that all the php dependencies it needs are there and not try grabbing any PHP56 ones.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I tried that and it didn't work. It still pulled all the php56 dependencies when I ran pkg install nextcloud and uninstalled all the php70 ones.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Well I'm stumped why pkg is being stupid about this. It's like the pkg file for nextcloud thinks it could only work with PHP56 versions of the dependencies.

I was able to do minimal port building, but not completely avoid it by doing the following...
Code:
pkg install php70-bz2 php70-ctype php70-curl php70-dom php70-exif php70-fileinfo php70-filter php70-gd php70-hash php70-iconv php70-intl php70-json php70-mbstring php70-mcrypt php70-pdo_mysql php70-openssl php70-posix php70-session php70-simplexml php70-xml php70-xmlreader php70-xmlwriter php70-xsl php70-wddx php70-zip php70-zlib

pkg install php70-ldap mysql56-client mp3info

pkg install samba36-libsmbclient autoconf
make install clean -C /usr/ports/net/pecl-smbclient

make install clean -C /usr/ports/www/nextcloud
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
How does that survive a pkg upgrade ?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
How does that survive a pkg upgrade ?
probably doesn't... lol, a pretty unsustainable solution. A reason I prefer running it from source.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Yeah I agree. Only reason I played around with the pkg version was to see how it survives a pkg upgrade. My source install had to be manually upgraded and was a PIA hence the motivation to see how the pkg version fairs.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Can I ask a dumb question? Is PHP70 vs PHP56 a big deal? What am I missing vis-a-vis NextCloud?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Development of php56 is set to end as of 1/1/17. It will continue to be patched for security vulnerabilities until 1/1/19.

http://php.net/supported-versions.php

ownCloud's development future is in question. If you read the article linked in the first post it gives a few details about it. Nextcloud is a new fork of ownCloud and will likely see future development.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Development of php56 is set to end as of 1/1/17. It will continue to be patched for security vulnerabilities until 1/1/19.

http://php.net/supported-versions.php

ownCloud's development future is in question. If you read the article linked in the first post it gives a few details about it. Nextcloud is a new fork of ownCloud and will likely see future development.
I understand the OwnCloud situation. I was merely asking why people were willing to put a lot of sweat-equity in insisting on PHP70.

The only reason then is that "development will end even though security patches will continue"? So what? Just wait patiently.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I was merely asking why people were willing to put a lot of sweat-equity in insisting on PHP70.
Because it's shiny and new. :D

I did a test install of Nextcloud via pkg with php56 and mysql and it works fine.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I finished the nextcloud plugin and it should be in the repo tomorrow.
 
Status
Not open for further replies.
Top