Koozali.org formerly Contribs.org

Not an April fool : smeserver-nextcloud available for you on SME9!!

Offline Jean-Philippe Pialasse

  • *
  • 1,301
  • aka Unnilennium
    • http://smeserver.pialasse.com
You can refer to https://wiki.contribs.org/Nextcloud

This is an important contribution to fulfill your needs. Now you can enjoy the 21st century on your SME Server with a real cloud access from all your devices to both a personal cloud share, but also to your regular home folder and available ibays.

This is a beta version, so please try this, and report before installing on a production server.

Your ibays, user home are already there configured. Your users have already access to nextcloud using their SME credentials.

Waiting to read from you.
« Last Edit: April 02, 2018, 05:45:45 AM by Jean-Philippe Pialasse »

Offline sages

Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #1 on: April 02, 2018, 04:12:31 PM »
Sounds interesting. What I'm struggling with at the moment is the pricing for the nextcloud s/w. I see mention of open source and a comparison page but the basic package looks to be a subscription starting at 1900 euro/year for 50 users.
Am I missing something with this?

[edit] think i'm answering my own question, looks like there is a community edition, just no support.
« Last Edit: April 02, 2018, 04:17:39 PM by sages »
...

Offline Jean-Philippe Pialasse

  • *
  • 1,301
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #2 on: April 02, 2018, 05:17:45 PM »
Basically, while owncloud clearly sell enterprise edition, nextcloud sells you support based on your needs.
Also they propose third party hosted solution, and hardware preinstalled.

The version here is the base community edition, with only file function enabled. You can then set additional apps according to your needs. 
« Last Edit: April 02, 2018, 05:38:53 PM by Jean-Philippe Pialasse »

Offline sages

Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #3 on: April 06, 2018, 11:57:50 AM »
Bug raised https://bugs.contribs.org/show_bug.cgi?id=10554 for contrib. mentioning it here as there doesn't appear to be a component in the bug tracker for smeserver-nextcloud and the install package for it.
...

Offline Jean-Philippe Pialasse

  • *
  • 1,301
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #4 on: April 06, 2018, 09:33:52 PM »
Bug raised https://bugs.contribs.org/show_bug.cgi?id=10554 for contrib. mentioning it here as there doesn't appear to be a component in the bug tracker for smeserver-nextcloud and the install package for it.
Sages,
thanks.
I have updated the wiki, and created the component in bugtracker.

Offline sages

Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #5 on: April 08, 2018, 06:00:52 AM »
I'm just chasing confirmation from anyone else using this contrib about the following observation. I have searched for anything nextcloud/android related and am still looking. I don't think this is related to the contrib. How ever if someone else is using this I would appreciate their observations.
Home folder of user is visible in nextcloud web interface as expected and 'auto configured' by the contrib. However on an attached android with the nextcloud app the only folders visible are the nextcloud created ones, ie the sme 'home' folder isn't visible on the android client.
I've tried adding another ibay via the nextcloud gui and it is visible on the web interface but not on the android app.
So on the off chance that it is something to do with the sme integration (a bit doubtful that it is) can anyone confirm/deny this issue so I can persue it in the correct forum?
Rod
...

Offline Jean-Philippe Pialasse

  • *
  • 1,301
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #6 on: April 08, 2018, 07:40:35 AM »
Good catch.
from  what I see, 2 reasons

first : you need to create a folder ibays/ to get them to appear in it .... I will need to fix this to create it without user intervention.

second : on my server the home folder is set to  password::logincredentials while ibays are set to  password::sessioncredentials. it seems that it makes a difference on the iphone / android apps... Can you confirm you have the same behaviour ?

Offline sages

Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #7 on: April 08, 2018, 08:27:38 AM »
Good catch.
from  what I see, 2 reasons

first : you need to create a folder ibays/ to get them to appear in it .... I will need to fix this to create it without user intervention.

second : on my server the home folder is set to  password::logincredentials while ibays are set to  password::sessioncredentials. it seems that it makes a difference on the iphone / android apps... Can you confirm you have the same behaviour ?

I'm a bit confused with your reply.
first: Where are you creating the folder 'ibays/'? I can see the ibays configured in nextcloud external storages when I view them via the nextcloud web gui. They aren't visible from the android nextcloud app. I'm logged in the android app with the same user name as I use on the web gi.
second: I think I see what you are getting at here. If I configure (in nextcloud webgui) an external folder to use 'log-in credentials, save in session' I can only see the attached folder on the web gui. If I change the config to use a specific username/password then I can see the folder on the web gui and on the android app. So this suggests that there is an issue passing the login credentials from the android app through to the nextcloud server to use to access the ibay.
I don't know how nextcloud authorises the connection from the android app and what subsequent credentials are available to access the ibay.
...

Offline Jean-Philippe Pialasse

  • *
  • 1,301
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #8 on: April 08, 2018, 08:50:02 AM »
I'm a bit confused with your reply.
first: Where are you creating the folder 'ibays/'? I can see the ibays configured in nextcloud external storages when I view them via the nextcloud web gui. They aren't visible from the android nextcloud app. I'm logged in the android app with the same user name as I use on the web gi.
you need to create a "ibays" folder at the root of your user nextcloud space. Then all your ibays will show in this folder. I will update the contrib to create this folder for every user. It is about the same principle as mounting a folder to another folder on linux.



second: I think I see what you are getting at here. If I configure (in nextcloud webgui) an external folder to use 'log-in credentials, save in session' I can only see the attached folder on the web gui. If I change the config to use a specific username/password then I can see the folder on the web gui and on the android app. So this suggests that there is an issue passing the login credentials from the android app through to the nextcloud server to use to access the ibay.
I don't know how nextcloud authorises the connection from the android app and what subsequent credentials are available to access the ibay.

in fact this is by design since nextcloud 12 , see : https://github.com/nextcloud/android/issues/1267
so i will have to update the contrib accordingly 

it uses the users credential when it log using ldap to store them in db. The thing is that the app on iso and android is plan to not use anymore the credential but only an app auth key. This is a preferred way to do if you lose your phone you can just revoke the key.


Offline sages

Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #9 on: April 08, 2018, 09:02:26 AM »
ok understand what you're saying wrt /ibays. Don't forget to include any shares from the 'shared folders' contrib.

Read the user credentials info. Makes sense now.
cheers
...

Offline Jean-Philippe Pialasse

  • *
  • 1,301
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #10 on: April 08, 2018, 09:09:37 AM »
ok understand what you're saying wrt /ibays. Don't forget to include any shares from the 'shared folders' contrib.
that will be a NFR, will check with Daniel if he can help or give some hints, but it might be pretty similar to what I did for ibays.

Offline sages

Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #11 on: April 08, 2018, 09:13:48 AM »
FWIW I can manually add them ok, from an SMB point of view they look the same when viewed from an smb client except they no longer have /cgi-bin, /files and /htmp sub folders
...

Offline edb

  • *
  • 526
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #12 on: June 21, 2018, 12:13:44 AM »
I just installed this contrib on a test server running SMEserver 9.2 as a VM and this contrib was very easy to install and use.
I'm super impressed that I didn't run into any complications and that it just worked out of the box.
I excluded all of my iBays so that the only external storage at the moment is the user folder only.
It is nice to have a secure Dropbox type of application running on your own server instead of hosted elsewhere.

Thanks to Jean-Philippe for putting this contrib together and working the bugs out because it appears to be and very good cloud solution. All the best and keep up the fabulous work!

-edb
......

Offline Jean-Philippe Pialasse

  • *
  • 1,301
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #13 on: June 21, 2018, 06:03:49 AM »
edb,
thanks for the feedback. It is a pleasure to read that this work is usefull for others !

and thanks to Sages for helping to debug.

You might have seen there is a few bugs pending for the update of nextcloud, I need to hit this in the next days.

Offline edb

  • *
  • 526
Re: Not an April fool : smeserver-nextcloud available for you on SME9!!
« Reply #14 on: June 21, 2018, 06:58:09 AM »
That's good to hear Jean .... would you think it production ready once you have addressed the few bugs?
Man I can tell you I sure appreciate all your hard work!
Is there a Calendar sharing component too or is that best addressed through Horde?
Thanks again ...

-edb
......