core icon indicating copy to clipboard operation
core copied to clipboard

No update notification for oC 9.0.2

Open ghost opened this issue 10 years ago • 15 comments

Steps to reproduce

  1. Install oC 9.0.1
  2. Open http://example.com/index.php/settings/admin#updater
  3. See: "Your version is up to date. Checked on May 25, 2016 at 7:55:08 AM"

Expected behaviour

An update to oC 9.0.2 should be shown.

Actual behaviour

No update to oC 9.0.2 is provided.

The main issue here is that there is yet again another bug in the updater app https://github.com/owncloud/updater/issues/350 . A decision was made in https://github.com/owncloud/updater/issues/350#issuecomment-218815817 that 9.0.2 is not provided to the enduser via the updater app.

This also can be seen at the updater URL like: https://updates.owncloud.com/server/?version=9x0x0x7x1382907615.86x1435439812xstablexx2015-02-07T02:34:55+00:00

To fix this issue at least a update notification should be shown to notify users that there is a new version and that they can update manually to a newer release.

ghost avatar May 25 '16 08:05 ghost

Yeah sounds like a good solution, the problem is that both, the updater and the notifications use the same URL. Maybe that is something we should fix at some point.

nickvergessen avatar May 25 '16 08:05 nickvergessen

Maybe the xml provided by the update server:

<?xml version="1.0" encoding="UTF-8"?>
<owncloud>
 <version>8.2.5</version>
 <versionstring>ownCloud 8.2.5</versionstring>
 <url>https://download.owncloud.org/community/owncloud-8.2.5.zip</url>
 <web>https://doc.owncloud.org/server/8.2/admin_manual/maintenance/upgrade.html</web>
</owncloud>

could be extended like:

<?xml version="1.0" encoding="UTF-8"?>
<owncloud>
 <version>8.2.5</version>
 <versionstring>ownCloud 8.2.5</versionstring>
 <url>https://download.owncloud.org/community/owncloud-8.2.5.zip</url>
 <web>https://doc.owncloud.org/server/8.2/admin_manual/maintenance/upgrade.html</web>
 <updater_enabled>false/true<updater_enabled>
</owncloud>

Then the updater could use that to provide an update or not?

ghost avatar May 25 '16 08:05 ghost

Well but we still want the updater to update people from 8.2.4 to 8.2.5

nickvergessen avatar May 25 '16 08:05 nickvergessen

Sure, but the flag false/true still could be variable. So e.g. if:

https://updates.owncloud.com/server/?version=8x2x4x7x1382907615.86x1435439812xstablexx2015-02-07T02:34:55+00:00

is called it has <updater_enabled>true<updater_enabled> but if:

https://updates.owncloud.com/server/?version=9x0x0x7x1382907615.86x1435439812xstablexx2015-02-07T02:34:55+00:00

is called it has <updater_enabled>false<updater_enabled>

ghost avatar May 25 '16 08:05 ghost

Additional suggestion:

<updater_not_available_reason>The update to oC 9.0.2 is currently not available via the updater app due to a bug in this app.</updater_not_available_reason>

Not quite sure if this should be re-opened in https://github.com/owncloud/appstore-issues/issues and/or https://github.com/owncloud/updater/issues

ghost avatar May 25 '16 09:05 ghost

Okay I misphrased, let me try again. Let's say 8.2.5 updater is broken, so for 8.2.4 the update is not shipped. But for people with 8.2.3 it would also say 8.2.5 with no updater, although they could first do the update to 8.2.4 with the updater.

But I agree, thats details and it would at least improve some situations, while not all, but babysteps-to-victory

nickvergessen avatar May 25 '16 09:05 nickvergessen

Yes, but AFAIK the new update server is capable to provide different responses for different passed oC versions to the updater url as described above: https://github.com/owncloud/core/issues/24827#issuecomment-221513656

ghost avatar May 27 '16 06:05 ghost

Are there any news on this issue or fixes without installing update manually?

kriztan avatar Jun 16 '16 13:06 kriztan

you can download the zip and update manually, that should work just fine.

nickvergessen avatar Jun 16 '16 13:06 nickvergessen

you can download the zip and update manually, that should work just fine.

Sure, but it's a pain and takes a lot longer.

dergilb99 avatar Sep 26 '16 13:09 dergilb99

experiencing same issue here with 9.1.3 when 9.1.4 is available and release channel is set to "stable". got to upgrade manually? upgraded to 9.1.3 before manually as well, so this issue has been there for some time. upgrading manually takes more time and is less convenient.

nightspotlight avatar Feb 13 '17 21:02 nightspotlight

My OC 8.2.7 displayed "Your version is up to date". And today our datacenter learned about https://scan.nextcloud.com/results/ warning that 9.1 is the most current.

Yeah, saying You have the most recent version already is just misleading.

Edit: Wait, OC 9 exists since May last year? It could at least have recommend me to update to 8.2.10!

BTW, clicking the urls above, the ssl seems invalid, updates.owncloud.com: image

updates.owncloud.org: image

luckydonald avatar Feb 21 '17 17:02 luckydonald

@luckydonald You can't trust the ownCloud internal update notification. e.g. only 8.2.9 is offered for 8.2.4 users and not the latest 8.2.10:

https://updates.owncloud.com/server/?version=8x2x4x7x1382907615.86x1435439812xstablexx2015-02-07T02:34:55+00:00

You also won't get an update notification to 9.0.x if you're on 8.2.9/8.2.10:

https://updates.owncloud.com/server/?version=8x2x9x7x1382907615.86x1435439812xstablexx2015-02-07T02:34:55+00:00 https://updates.owncloud.com/server/?version=8x2x9x7x1382907615.86x1435439812xstablexx2015-02-07T02:34:55+00:00

This is a long running issue since years. Instead just check https://owncloud.org/changelog/ from time to time to see the available versions.

ghost avatar Feb 25 '17 14:02 ghost

I´m pretty sure I´m not at the right point here - doesn´t matter, point me to it.

Why the hell are we still stuck on 9.1.2(.5) instead of 9.1.4 or at least 9.1.3 which was released THREE MONTHS AGO?

It´s even not a good sign for itself being forced as a security interested "normal OwnCloud user" to search for reasons on a developer platform. There´s just no communication. No reason. No solution. Very frustrating. See it from the user´s side!

bcutter avatar Mar 14 '17 19:03 bcutter

update server progress now tracked here: https://github.com/owncloud/administration, usually as PRs

PVince81 avatar Dec 18 '17 14:12 PVince81