|Tags||cloud, files, dropbox, seafile, pydio, ajaxplorer, owncloud|
Nextcloud is a suite of client-server software for creating and using file hosting services. It is functionally similar to Dropbox, although Nextcloud is free and open-source, allowing anyone to install and operate it on a private server.
As per SME Server Keep It Simple, all your ibays and home folders will be accessible through the nextcloud interface using the "external files" app. You will also have your main user user Nextcloud folder saved under /home/e-smith/files/owncloud/data which is in the default backup path. So you can now enjoy both your own cloud repository with access to the very same files on your samba share!
How do I add my SME users ? They are already there ! Just tell them to connect to https://mydomain/nextcloud. You can also add external users or allow them to register with a nextcloud app.
What are the admin ? By default you have a nextcloudadmin user and the regular SME admin user. First one use the password you can see with "config getprop nextcloud AdminPassword", and second one, well, just use your regular admin password. Then you can manage apps, external files repos and admin group membership.
You do not need to follow the Repo pages of fws and remi-safe to isntall those two needed repos, instead use the packages to install them followed by a yum-modify event. Then run the main installation.
yum install smeserver-extrarepositories-remi-safe smeserver-extrarepositories-fws smeserver-extrarepositories-epel signal-event yum-modify yum install smeserver-nextcloud --enablerepo=smecontribs,epel,fws signal-event webapps-update service php-fpm start service php71-php-fpm start signal-event nextcloud-update
you can skip the service php-fpm* commands if it was already installed and running before the installation of nextcloud
then you can do the following and you can safely ignore the signal-event post-upgrade reboot if prompted, unless you also installed other packages that needs to do so.
config set UnsavedChanges no
signal-event post-upgrade signal-event reboot
yum update smeserver-nextcloud nextcloud smeserver-php-fpm smeserver-webapps-common --enablerepo=smecontribs,epel,fws signal-event nextcloud-update
|AdminPassword||GENERATED||string||password for your main admin user for nextcloud *|
|AdminUser||nextcloudadmin||string||main admin user for your installation *|
|DbName||nextcloud||string||for mysql db|
|DbPassword||GENERATED||string||for mysql db|
|DbUser||nextcloud||string||for mysql db|
|TrustedDomains||empty||strings coma separated||add domain or ip that are in need to be added to default access to nextcloud|
|MaxUploadSize||4096M||number||if a number will be converted to Megabytes, otherwise use the usual suffix : 2T for 2 terrabytes etc...|
|MemoryLimit||528M||number||if a number will be converted to Megabytes, otherwise use the usual suffix : 2T for 2 terrabytes etc...|
|Shares||enabled||enabled,disabled||add the samba shares from the shared-folders contrib in the nextcloud ibays folder along with regular ibays|
|IncludeIbay||empty||strings coma separated||add ibays names that need to be include. If not empty, only the name present here will be accessible via nextcloud. Take precedence over ExcludeIbay. You set it with a random string to exclude all ibays and shares from automatic inclusion.|
|ExcludeIbay||Primary||strings coma separated||will exclude from nexcloud access any ibay via nextcloud. Default excludes Primary ibay. If you want to include Primary set it with a random string.|
|UseSMB||enabled||enabled,disabled||allow you to set ibay access via samba share or via Local driver in nextcloud. Enabled is for samba, this allow you to access as your user and have your quota accounted. It might be a little slower, and need you to have your password loaded in the session. Local driver if disabled, will let you access only what apache user (www) has right to access as member of a group.|
- the SME admin user is also an admin of your nextcloud installation. You have two admin account as per default installation on SME Server.
example of setting :
config setprop nextcloud ExcludeIbay ibay1,ibay2 signal-event nextcloud-update
Command lineif you happen to need tweaking your installation, here is how to access the command line for Nextcloud on SME, we made it easier for you, just log as root and use the OCC command (using capitals), This command will execute for you what you need as the www user, using the needed version of php. Here two examples:
OCC maintenance:mode --off OCC maintenance:repair
yum remove smeserver-nextcloud nextcloud
failure to do online upgrade from 13.0.2
The following extra files have been found: assets
cd /usr/share/nextcloud/ rm -rf assets yum update smeserver-nextcloud --enablerepo=smecontribs signal-event nextcloud-update
issue upgrading from 13.0.2 to 15.0.0 RPM
Nextcloud is only build to upgrade from one major release to the next. If you try to install the nextcloud-15 rpm while you already have installed the nextcloud-13, you might have encounter the following issue.
“Updates between multiple major versions are unsupported”
copy everything except /data and /config to temp folder
download intermediate version of nextcloud from https://nextcloud.com/changelog/
unzip and copy files to /usr/share/nextcloud, dont overwrite /data or /config
change ownership in /usr/share/nextcloud chown -R apache:www .
goto https://yoururl/nextcloud and run the updater
logon to nextcloud and make sure it is all working as expected
repeat above for each major update until you are one update from the latest major update. At that point you can follow the usual process. source (https://bugs.contribs.org/show_bug.cgi?id=10670#c3)
Below is an overview of the current issues for this contrib:
|ID||Product||Version||Status||Summary (8 tasks)|
|10748||SME Contribs||9.2||UNCONFIRMED||Site says "SOGo" during authentication|
|SME Contribs||9.2||RESOLVED||NFR: add inotify support|
|10729||SME Contribs||9.2||CONFIRMED||NFR: add link with real user name in /home/e-smith/files/nextcloud|
|10728||SME Contribs||9.2||UNCONFIRMED||Clean Install fails to create ibays, users home drive and users correctly|
|10721||SME Contribs||9.2||UNCONFIRMED||Login not possible after upadate from 14.0.5 to 15 with last smeserver-nextcloud|
|10602||SME Contribs||9.2||IN_PROGRESS||ibays folder to mount samba shares is not visible on first login|
|10590||SME Contribs||Futur||CONFIRMED||NFR: limit access to some groups|
|10566||SME Contribs||9.2||CONFIRMED||NFR: split action nextcloud-occ-conf|
Only released version in smecontrib are listed here.