Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1433919 - [nextcloud] version 11.0.2 is available [NEEDINFO]
[nextcloud] version 11.0.2 is available
Status: NEW
Product: Fedora
Classification: Fedora
Component: nextcloud (Show other bugs)
27
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: James Hogarth
Fedora Extras Quality Assurance
:
: 1471052 (view as bug list)
Depends On: php-symfony3 php-swiftmailer6 php-stecman-symfony-console-completion icewind/searchdav php-icewind-smb2
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-20 07:35 EDT by James Hogarth
Modified: 2018-11-05 11:45 EST (History)
34 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
cglombek: needinfo? (james.hogarth)
mwp.junk: needinfo? (james.hogarth)
mwp.junk: needinfo? (cglombek)


Attachments (Terms of Use)

  None (edit)
Description James Hogarth 2017-03-20 07:35:16 EDT
Description of problem:
Update to nextcloud 11

The dependencies that need updating/packaging to do this are:

php-composer(sabre/dav)  >= 3.2.0
php-composer(symfony/console) >= 3.0.0
php-composer(symfony/event-dispatcher) >= 3.0.0
php-composer(symfony/routing) >= 3.0.0
php-composer(symfony/process) >= 3.0.0
php-composer(stecman/symfony-console-completion) >= 0.7.0

The symfony updates are being handled in package review request bz#1431298

Others to be progressed separately
Comment 1 Didier 2017-04-20 04:37:21 EDT
(much appreciating the hard work of all involved)


With Nextcloud 12 around the corner, what is a reasonably conservative expected timeline for a Fedora/EPEL NC11 release ?


Rationale :
we are in the process of setting up a federated cloud ; the other members already running Nextcloud 11 for a couple of months, we may be forced to finally drop the current Nextcloud 10 RPM incarnation, and fast forward to current upstream github releases.
Comment 2 Ola Thoresen 2017-05-22 16:28:31 EDT
Nextcloud 12 was released today.
Any chance of an upgrade of the packages, or should we go for a manual install?
Comment 3 Simeon 2017-08-03 23:18:28 EDT
sabre-dav 3.2 and symfony 3 are in rawhide by now. I have not fount symfony-console-completion in the repos though ...
Comment 4 Christian Glombek 2017-08-05 11:33:42 EDT
A timeline projection for a v12 release would be highly appreciated from my side, too.

What are the steps to take till this can happen and what can the community do to help?

I'd like to help with the creation and packaging of modulemds and containers for Fedora's Modularity effort.

I am also in favour of dropping upgrade support for versions below 12 if that is necessary to speed things up. We could support upgrades anew from version 12, with releases happening in a timely fashion, shortly after upstream.

FYI, there is a new dist-git interface: 
https://src.fedoraproject.org/rpms/nextcloud
Comment 5 Jan Kurik 2017-08-15 05:27:50 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.
Comment 6 William Moreno 2017-08-15 19:52:00 EDT
Any update here? I can help in the {packaging, review} of missing dependencies.
Comment 7 Christian Glombek 2017-08-22 14:53:23 EDT
For version 12.0.2 following deps are required that are not currently in f27:

php-composer(icewind/searchdav) >= 0.3.1
php-composer(icewind/smb) >= 2.0.0
php-composer(stecman/symfony-console-completion) >= 0.7.0
php-composer(swiftmailer/swiftmailer) >= 6.0.1
Comment 8 Christian Glombek 2017-08-22 15:43:26 EDT
FYI 
I have updated the RPM spec to version 12, however I am not in the packagers group, yet, so I can't push to my fork on src.fedoraproject.org right now. Will begin the new-packager process soon.

In the meantime please review the changes here:
https://github.com/LorbusChris/nextcloud-rpm/commit/4cf9a553de95dd7d99a042de73b0c4b79346be57

COPR Builds (failing due to missing deps, see above):
https://copr.fedorainfracloud.org/coprs/lorbus/nextcloud/monitor/
Comment 9 Christian Glombek 2017-08-24 15:14:21 EDT
Regarding the missing deps: I believe

php-composer(swiftmailer/swiftmailer) >= 6.0.1

is not a hard requirement and the previous version 5.4.8, which is available, can be safely used.

If anybody could help with bringing in the remaining deps or reviewing the spec, that'd be huge.
I think regarding the patches, they ought to be updated and generally reviewed for missing docs/links to upstream issues.

Sorry for spam everyone.
Comment 10 Didier 2017-08-24 16:08:48 EDT
Christian,

This may not be entirely appropriate in a bugzilla entry, but nevertheless :
to you, James and everyone else involved, thank you for the sustained effort.
Comment 11 Patrick Pichon 2017-09-06 05:14:56 EDT
Any update ! Can we help ?
Comment 12 Christian Glombek 2017-09-08 01:40:36 EDT
Packaging of the missing php dependencies would be a great help :)

php-composer(icewind/searchdav) >= 0.3.1
php-composer(icewind/smb) >= 2.0.0
php-composer(stecman/symfony-console-completion) >= 0.7.0
Comment 13 Michael 2017-10-01 12:17:25 EDT
Any update for nextcloud 12 ?

Can we notify Remi Collet to update php-icewind-smb to the latest version, required by NC 12. (https://bodhi.fedoraproject.org/updates/FEDORA-2015-16294)


Also for php-swiftmailer update to latest version (https://bodhi.fedoraproject.org/updates/FEDORA-2017-e74bb80eb0)
Comment 14 Remi Collet 2017-10-04 02:54:41 EDT
Notice: I don't plan to update dependency to new major version (ex: php-icewind-smb), because of new API (BC break), so new packages are needed (ex: php-icewind-smb2) installed in a separate tree.

We already have lot of such packages (ex, see php-justinrainbow-json-schema, php-justinrainbow-json-schema4, php-justinrainbow-json-schema5).

Later, the old version, when no more used can be retired.
Comment 15 Michael 2017-10-23 17:14:24 EDT
Remmi Collet & Shawn Iwinski already has prepared the package of php-composer(swiftmailer/swiftmailer) = 6.0.2.

Thanks!


Packaging of the missing php dependencies would be a great help, if you can!

php-composer(icewind/searchdav) >= 0.3.1
php-composer(icewind/smb) >= 2.0.0
php-composer(stecman/symfony-console-completion) >= 0.7.0


We have stuck with version 10 and i hope the package for nextcloud 12 to be prepared soon.  :)
Comment 16 Brad 2017-11-10 20:22:46 EST
I'll just note that the nextcloud release has, in the past (I'm looking at the spec file for version 10), *not* been blocked by missing/unmet php-composer(*) dependencies, since the nextcloud release tarfile bundles all of its dependent composer modules. For those that happen to also exist in the distribution, the spec file repoints the dependency from the bundled copy to the distribution copy (creating the package dependency, deleting the bundled copy from the tarfile source, and hacking the autoload files).  The result is a mix of bundled and distribution php-composer modules.

Is the intention for nextcloud-12 to remove *all* the bundled third party php code?  If not, then why not just release it as it is distributed by nextcloud, with the dependencies bundled in?  They're not that big, and the packaging becomes radically simpler.  In the very worst case, one loses a bit of common code sharing.  On the upside, one is guaranteed to have the system exactly as it was QA'd by nextcloud. 

Just a thought.
Comment 17 Scott Williams 2017-11-20 13:49:49 EST
Brad,

In that case, I wonder if it might be worthwhile to package the code core in flatpak instead of RPM?  That way there would be less confusion about the relationship between system and bundled-app dependencies.
Comment 18 mark preston 2017-12-05 14:30:33 EST
Hi, the actually latest stable release is 12.0.4.  i don't care what the next verion is on fedora just as long as i can upgrade my 10.0.4 version to it.
Comment 19 Marcin Trendota 2017-12-05 17:09:54 EST
I decided to build my own package - it's dirty and doesn't comply with Fedora (and CentOS as it's designed for CentOS) guidelines, but it's almost works (;)
Comment 20 Marcin Trendota 2017-12-05 17:11:30 EST
It is almost working...
Comment 21 Michael 2017-12-06 03:50:36 EST
Remi waits for over a month someone to review the remaining 2 dependency  packages:
(https://bugzilla.redhat.com/show_bug.cgi?id=1508324) and (https://bugzilla.redhat.com/show_bug.cgi?id=1508332)
so James or Christian proceed packaging with latest Nextcloud (12.0.4)
Comment 22 William Moreno 2017-12-06 08:42:31 EST
I have taken those tickets and will review then, any other dependency missing?
Comment 23 Claudio Rodrigo Pereyra DIaz 2017-12-07 14:14:37 EST
(In reply to Christian Glombek from comment #4)
> A timeline projection for a v12 release would be highly appreciated from my
> side, too.
> 
> What are the steps to take till this can happen and what can the community
> do to help?
> 
> I'd like to help with the creation and packaging of modulemds and containers
> for Fedora's Modularity effort.
> 
> I am also in favour of dropping upgrade support for versions below 12 if
> that is necessary to speed things up. We could support upgrades anew from
> version 12, with releases happening in a timely fashion, shortly after
> upstream.

We could create repos copr that host the necessary versions for the upgrade path, for the cases in which someone wants to update from an old version.
In the wiki we could indicate the necessary steps to use repos copr for the upgrade path.
In the spec we could indicate that the newer version conflicts with the versions that are not the previous one that allows to follow the upgrade path.

It's an idea.

> 
> FYI, there is a new dist-git interface: 
> https://src.fedoraproject.org/rpms/nextcloud
Comment 25 Medic Momcilo 2018-01-04 16:22:29 EST
*** Bug 1471052 has been marked as a duplicate of this bug. ***
Comment 26 Michael 2018-01-12 03:45:46 EST
Any update for nextcloud 12 ?

Remmi Collet, Shawn Iwinski & William Moreno had prepared all the missing php dependencies.
Comment 27 Russell Odom 2018-01-20 07:27:35 EST
Just to mention that migrations from OwnCloud to NextCloud are currently blocked by bug 1471469. We presumably don't want to continue to block migration paths, so bug 1444007 (update to OC 10) would be required before updating to NextCloud 12.
Comment 28 Christian Glombek 2018-02-04 17:11:30 EST
We need to make sure the patches made to the dependencies in NextCloud are also included either in the NC package, or in the packages themselves (probably better). Luckily this is well documented here:

https://github.com/nextcloud/3rdparty/blob/v12.0.5/patches.txt
Comment 30 Christian Glombek 2018-02-08 00:52:41 EST
https://github.com/LorbusChris/nextcloud-rpm/pull/3

Spec reviews and help with the remaining TODOs on the PR are very welcome! :)
Comment 31 Michael 2018-03-02 08:33:03 EST
FYI

Christian has done some work for NC 13 !

https://src.fedoraproject.org/rpms/nextcloud/pull-request/3
Comment 32 Christian Glombek 2018-03-05 09:17:57 EST
Thanks for sharing Michael :)

Maintainers, please respond either over there on src.fp.o, here or by mail. 
I'd like to sort this out asap.
Comment 33 Michael 2018-03-24 05:43:25 EDT
Any progress for NC 13 ?

Can any of the maintainers look the work Christian do, preparing the package for NC ? 

It's a over a month when Christian has finished the work and need someone to review it.
Comment 34 George Nikandrov 2018-04-15 18:40:05 EDT
So, nextcloud is close to being unmaintained?
Comment 35 Michael 2018-04-24 06:22:17 EDT
There is no response from James for over 5-6 months now.

Who else can review Christian work with NC 13 packages ?
Comment 36 Christian Glombek 2018-05-01 15:26:25 EDT
There has been a discussion on the mailing list recently:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/NQHLQ43MJJTC5BPYRIUZOHUV3FJINBOT/
Comment 37 Michael 2018-06-19 01:44:44 EDT
Any progress on NC packages ?
Comment 38 mwp.junk 2018-06-19 11:12:29 EDT
NC 10 was released 08/25/2016 and is EOL. NC 11 is already EOL, and NC 12 will be EOL in just a few short months, August of this year when NC 14 gets released.

https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule

10.0.4 isn't even the latest 10.0.x version, its 10.0.6.

Also, NC 10.0.4 won't even run on Fedora 28, you need to manually fix this issue: https://github.com/nextcloud/server/pull/5072

With all due respect to James Hogarth for doing an amazing job taking over owncloud and initiating Nextcloud support with Fedora, something seriously needs to be done. If James doesn't have the bandwidth, maybe let Christian take over?
Comment 39 mwp.junk 2018-08-03 20:13:19 EDT
Nextcloud 14 is nearing release 2018-08-29... 26 days. NC 12 will be EOL'd in Nov. James? Christian?
Comment 40 Christian Glombek 2018-08-13 08:38:40 EDT
I've been getting some missing deps for NC14 packaged and reviewed. I think we should probably remove and deprecate NC10 or whatever is in the repos right now and then get NC14 in again. There won't be an upgrade path then, but packaging all the missing versions in between is not something I am interested in.

I will revive the mailing list thread (https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/NQHLQ43MJJTC5BPYRIUZOHUV3FJINBOT/) again once I find a little time.
Comment 42 Michael 2018-11-04 03:53:17 EST
Upgrading Fedora F27 -> F29, nextcloud upgrades also to NC 10.0.4 (NC 13 -> NC10) !

I cannot reinstall NC 13 from Christian Repo because of this error :

Failed to synchronize cache for repo 'lorbus-nextcloud', ignoring this repo.
Comment 43 Daniel Laczi 2018-11-04 04:59:43 EST
Hi Michael,

Whatever the solution for the repo problem is you need to keep in mind that it is not supported to skip major releases when upgrading: https://docs.nextcloud.com/server/13/admin_manual/maintenance/upgrade.html This means your upgrade path needs to be 10 -> 11 -> 12 -> 13 -> 14.
Comment 44 Michael 2018-11-04 07:25:55 EST
In Fedora 27 i had NC 10.0.4 from Fedora Repo, when i saw Christian effort for NC 13. 
I delete NC 10 as Christian said he can't support all the upgrade path (NC 10-> 11 -> 12 -> 13) and i installed the NC 13 from Christian Repo.

When i decide to upgrade to F29 from F27 (i skip the F28 because of NC), when the upgrade finished the NC reverted to NC 10.0.4 from Fedora Repo !

When i try to reinstall NC 13 from Christian Repo i 've got this error :

"Failed to synchronize cache for repo 'lorbus-nextcloud', ignoring this repo."
Comment 45 mwp.junk 2018-11-05 11:45:18 EST
(In reply to Michael from comment #44)
> In Fedora 27 i had NC 10.0.4 from Fedora Repo, when i saw Christian effort
> for NC 13. 
> I delete NC 10 as Christian said he can't support all the upgrade path (NC
> 10-> 11 -> 12 -> 13) and i installed the NC 13 from Christian Repo.
> 
> When i decide to upgrade to F29 from F27 (i skip the F28 because of NC),
> when the upgrade finished the NC reverted to NC 10.0.4 from Fedora Repo !
> 
> When i try to reinstall NC 13 from Christian Repo i 've got this error :
> 
> "Failed to synchronize cache for repo 'lorbus-nextcloud', ignoring this
> repo."

While Chris' COPR web page advertises F27, F28, F29, and Rawhide repo support, it only has F27, F28, and Rawhide repos setup. F29 repo doesn't exist which is why you're getting the error you are.

Second, the only repo that has a built Nextcloud 13 RPM is F27. If you updated to F28 / F29, I'd say you're out of luck unless you want to take his NC 13 src rpm from the F27 repo and try to manually build it on F29.

Finally, the last successful build of NC 13 on F27 was 8 months ago. There was an attempt 7 months ago but it failed.

Note You need to log in before you can comment on or make changes to this bug.