This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

sentora 1.0.3 & critical patch for sentora 1.0.x
#11
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
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..?
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#12
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
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.
Reply
Thanks given by:
#13
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
(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.
Reply
Thanks given by:
#14
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
I'll test on my VM right now, will update you in a couple of minutes Wink
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#15
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
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.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#16
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
(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?
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Coldfusion Freelance

10$ free to start your VPS

Reply
Thanks given by:
#17
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
Check here

https://github.com/sentora/sentora-insta...update.sql

sql ok checking updater.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Coldfusion Freelance

10$ free to start your VPS

Reply
Thanks given by:
#18
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
updater ok.

https://raw.githubusercontent.com/sentor...r_1.0.3.sh

can you apply it again? it's safe
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Coldfusion Freelance

10$ free to start your VPS

Reply
Thanks given by:
#19
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
Without doing something on my end it's good now..
Quote:Congratulations, You are running the most recent version of Sentora (1.0.3)!
=------=
My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons
=------=


Like my work? Consider [Image: btn_donate_SM.gif]
Reply
Thanks given by:
#20
RE: sentora 1.0.3 & critical patch for sentora 1.0.x
when I log into my test install it says beta even though it is running the initial install.. (1.0.0)
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta kandrews 56 52,551 03-12-2017, 09:09 PM
Last Post: buracat
From ZPanel upto Sentora 5050 41 59,271 09-18-2015, 08:21 PM
Last Post: kandrews
[HOT FIX - Unofficial] Critical FTP Module Exploit apinto 6 23,533 08-13-2015, 08:32 AM
Last Post: apinto

Forum Jump:


Users browsing this thread: 1 Guest(s)