server icon indicating copy to clipboard operation
server copied to clipboard

Provide linux distribution packages

Open CannyDuck opened this issue 10 years ago • 12 comments

Please provide ready to deploy packages for Debian, Ubuntu, Fedora, RedHat Enterprise Linux, CentOS and openSUSE.

CannyDuck avatar Jun 16 '16 06:06 CannyDuck

We have struggled with the packaging at ownCloud a lot.

Let me cite @jospoortvliet from https://help.nextcloud.com/t/migrating-from-owncloud-to-nextcloud/551/5:

we don't have any plans of making packages ourselves (for now). It was a mess in the past, with quality issues and conflicts with the distributions. I hope they pick it up.

Previously we used OBS, which itself seems to be a lot of work to do from a maintainers perspective.

Beside that I found https://packager.io/ which is also used by GitLab or Dokku for example and needs to be evaluated.

There is an interesting read about why upstream should not maintain packages (disclaimer: it is written by a downstream maintainer) http://kmkeen.com/maintainers-matter/

MorrisJobke avatar Jun 16 '16 07:06 MorrisJobke

From supporting users, I had the impression that there is no tolerance for problems and errors on the user side using a package manger. It has to be so reliable that it just works.

Therefore, I think it's a good decision to focus on the principle install/update/upgrade process to make it better and more reliable.

tflidd avatar Jun 16 '16 12:06 tflidd

Can you give any information on how to migrate from an owncloud package to a manual nextcloud install?

davidreher avatar Jun 17 '16 17:06 davidreher

@davidreher Here is what i did to migrate easily on Ubuntu 16.04: Step 1: Backup Given your owncloud installation is "/var/www/owncloud", one approach is to backup your config: "/var/www/owncloud/config", your data folder (if not moved to a separate location) : "/var/www/owncloud/data" and your third-party-apps from "/var/www/owncloud/apps".

Now, uninstall owncloud: "apt remove owncloud*"

Step 2: Install Nextcloud

-> If you want it clean, you install into /var/www/nextcloud. Then, you have to adjust the config and apache/ngnix paths also. If you copy files into /var/www/owncloud, you don´t have to change anything.

Download: https://download.nextcloud.com/server/daily/latest.tar.bz2 und deflate to "/var/www/FOLDER"

Copy back the files you just have backed up, as root, set the rights by typing "chown -R www-data:www-data /var/www/"

Now, you can either upgrade using occ or by opening your cloud url.

Did i miss anything ?

derkostka avatar Jun 23 '16 06:06 derkostka

As stated above we for now don't plan to do packages. Therefore I close this here. If there is somebody to help out with packaging we would be more than happy to support the person :)

Thanks

MorrisJobke avatar Jun 23 '16 08:06 MorrisJobke

Then maybe the docs should be fixed to not point to non-existent OBS package repositories:

https://docs.nextcloud.org/server/9/admin_manual/maintenance/package_upgrade.html#id1

M4rtinK avatar Jul 20 '16 14:07 M4rtinK

@M4rtinK Thanks for noticing. We already fixed this in the master version of the documentation, but forgot to port this to the stable9 branch.

Ref https://github.com/nextcloud/documentation/pull/58

MorrisJobke avatar Jul 20 '16 15:07 MorrisJobke

Howdie, long time user of the Debian OC packages, just found out today about the fork. Can you at least offer some guide for people migrating from OC packages? should I stick to 8.2.7 till someone packs it, move to tarball as @derkostka mentioned above, or maybe a git clone and occasional pull? Any official or semi-official guide/recommendation will be helpful for more people to adopt this fork.

seefood avatar Jul 28 '16 12:07 seefood

@seefood http://blog.jospoortvliet.com/2016/06/migrating-to-nextcloud-9.html is what you are looking for with regards to migration.

jospoortvliet avatar Aug 10 '16 09:08 jospoortvliet

Thanks, I already improvised it and it survived the ordeal. not risking crypto yet, but that too will follow.

seefood avatar Aug 10 '16 10:08 seefood

Did any downstream packagers (Debian, etc.) comment on this, perhaps somewhere else?

sixtyfive avatar Aug 11 '16 22:08 sixtyfive

Hm, just my really easy piece of private work (read: i'm using this):

https://morph027.gitlab.io/post/nextcloud-install-via-packages-on-jessie/

The git repo itself seems to have troubles right now, being displayed as empty (https://twitter.com/gitlabstatus/status/778603285532008448). The APT repo has version 10.0.0 right now.

As easy as this can be built, as hard is to go further. The whole stack is really complicated to maintain (Gitlab can do, but they've got a dedicated team of release engineers ;)). The project should stick with good documentation and leave the rest to world out there.

morph027 avatar Sep 21 '16 18:09 morph027