From Mageia wiki
Jump to: navigation, search


Drakconf multiflag.png
Other languages
English ; Français;
Synopsis:
Nextcloud server is a cloud server you can have at home, your company or organisation. Use it to automatically sync and share files including some revisioning, it can sync between servers, and it can run some applications like calendar, address book, office applications too. Nextcloud forked from OwnCloud. There are both open source and a commercial support of both. Clients work with either server and exist for common desktop and mobile operating systems.

Benefits

Compared to common external cloud solutions:

  • Your data remains in-house, i.e not placed on the servers of third parties where you have no control of who sees it: foreign governments, cyber criminals, your business rivals, etc.
  • No external dependencies (internet connection, health of internet provider and cloud provider)
  • No external costs
  • High speed on large files, large data, quick (server side) snapshots and backups
  • Fine control of shares and can connect to other servers

Ways to install

Mageia package

See below: Mageia Nextcloud package and Using the Mageia Nextcloud package.

Manually

Not using the nextcloud package: a bit harder but more flexible and not depending on our Nextcloud packaging process.

  • Manual installation of Nextcloud with nginx, Redis, Letsencrypt and Fail2ban. Built-in updater enabled.

Docker

Administrators knowing Docker can utilise a Docker based Nextcloud server. We have docker packages.

History

Up to Mageia 5 we packaged OwnCloud. Mageia 6 and up have Nextcloud server.

Nextcloud forked from OwnCloud and there are still upgrade paths to Nextcloud.

For aged but still mostly relevant information see OwnCloud page which contain information on both ownCloud and Nextcloud.

Mageia Nextcloud package

Mageia 7: Nextcloud up to 20 is in backports repository.

Mageia 8: We intended to introduce Nextcloud 21 in Mageia 8 backports, but unfortunately we failed that mga#28511.

Mageia 9: Maybe we will have fresh versions in backport.

Past and current problems

  • Nextcloud 20 can not run on Mageia 8 because Mageia 8 do not have PHP7.
  • Nextcloud 21 was not ready at Mageia 8 release, so Mageia 8 have no Nextcloud in release repository as we usually have.
  • We often do not have packager and QA resources to keep up with packaging and testing updates
    • Some users may want to update to the bleeding edge
    • Some may want to go to upstream latest stable
    • Some may want to use apps not yet available in the latest stable so want instead to keep updating the point release.
  • Different users may want to use Apache or nginx (We DO support different databases by packages)
  • Users may need enhanced security
  • Nextcloud built-in updater not supported

Solutions discussed

  • Abandon packaging it
Was considered, but we still package it
  • Tell user to use Docker images, see Docker above.
Describe how to set up Docker and employ Nextcloud docker image
- Including separate storage, database backups, upgrading Nextcloud, upgrading Mageia it is run on, etc!
  • Make a wiki page that describes how to manually set up and use Nextcloud.
Done, see Manually above.

Using the Mageia Nextcloud package

For now, see

Document plan

Describe how to install Nextcloud using Mageia nextcloud package like the old instruction for OwnCloud but updated;

  • Install needed packages, set up nginx/Apache and PostgreSQL/MariaDB
  • How to update
  • Lock it down securely
  • Take and restore backups of data and database
  • Optionally make the built-in updater work
  • Other housekeeping
  • Known issues and fixes

Write here or link to a new separate wiki page.

To be completed... Any hands welcome :)