Sentora Support Forums
sentora 1.0.3 & critical patch for sentora 1.0.x - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Announcements (https://senforums.mach-hosting.com/forumdisplay.php?fid=20)
+--- Forum: Sentora Announcements (https://senforums.mach-hosting.com/forumdisplay.php?fid=21)
+--- Thread: sentora 1.0.3 & critical patch for sentora 1.0.x (/showthread.php?tid=1853)

Pages: 1 2 3


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - TGates - 08-18-2015

I changed the right thing but it appears there is a bug in the way Sentora grabs the current version from the api site and caches it in your sentora_core x_settings.latestzpversion db row 25.

My testing has revealed that the version number is not being saved to your databases thus giving the false update information.

Still looking into it.
@[Me.B] @[5050] @[kandrews]

Also, line 47 of modules/updates/code/controller.ext.php says 1.0.0 and needs to be updated to 1.0.3..?


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - 5050 - 08-18-2015

The message "you are running a beta version" happens because the local database version is greather than the "lastestversion" returned by the API.

The problem was known : each updater MUST update the database version number, and the "latest version" API must be adjusted only when the updater do it to avoid attempt to apply update many time.
I think @[Me.B] have adjusted the updater.


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - 5050 - 08-18-2015

(08-18-2015, 07:13 AM)TGates Wrote: Huh must have updated wrong thing LOL @[5050] knows where to update this, or let me know where to update it Wink

I checked it, the lastversion API is ok, you did it as well as I would have did !
I have to setup a VM to check that.


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - apinto - 08-18-2015

I'll test on my VM right now, will update you in a couple of minutes Wink


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - apinto - 08-18-2015

@[Me.B], @[5050], @[TGates]
I can confirm, tested on a fresh VM that the Updater still says:
Code:
You are running a BETA release (1.0.3), thank you to report what you observed. Do not use it for production.

This is still a minor issue.


One of the things I thought that might be related would be file caching of github, I've had some issues updating files (and using wget) on GitHub before. However on this case the downloaded file appears to be correct and up to date with the online one.

Anyways, it wouldn't hurt to rename the file slightly and test, but I doubt that is the issue here.


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - Me.B - 08-19-2015

(08-18-2015, 06:49 PM)5050 Wrote:
(08-18-2015, 07:13 AM)TGates Wrote: Huh must have updated wrong thing LOL @[5050] knows where to update this, or let me know where to update it Wink

I checked it, the lastversion API is ok, you did it as well as I would have did !
I have to setup a VM to check that.

yep for me api updated. Seem the script have internal routine? We don't have beta in db?


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - Me.B - 08-19-2015

Check here

https://github.com/sentora/sentora-installers/blob/master/preconf/sentora-update/1-0-3/sql/update.sql

sql ok checking updater.


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - Me.B - 08-19-2015

updater ok.

https://raw.githubusercontent.com/sentora/sentora-installers/master/sentora_updater_1.0.3.sh

can you apply it again? it's safe


RE: sentora 1.0.3 & critical patch for sentora 1.0.x - Ron-e - 08-19-2015

Without doing something on my end it's good now..
Quote:Congratulations, You are running the most recent version of Sentora (1.0.3)!



RE: sentora 1.0.3 & critical patch for sentora 1.0.x - TGates - 08-19-2015

when I log into my test install it says beta even though it is running the initial install.. (1.0.0)