Omnimaga

Omnimaga => News => Topic started by: Eeems on May 08, 2013, 04:36:46 pm

Title: Downtime
Post by: Eeems on May 08, 2013, 04:36:46 pm
Server updates will be taking place at 9:00pm MDT so expect downtime of up to an hour.
Title: Re: Downtime
Post by: Juju on May 08, 2013, 05:10:02 pm
That was a short news. 9pm?
Title: Re: Downtime
Post by: Eeems on May 08, 2013, 05:20:37 pm
That was a short news. 9pm?
Well there is little else I can say. Yes, 9:00pm MDT
Title: Re: Downtime
Post by: Juju on May 08, 2013, 05:58:31 pm
That was a short news. 9pm?
Well there is little else I can say. Yes, 9:00pm MDT
Well, you could had explained why the web server should be off a whole hour instead of a small 45-second restart, I dunno. We like technical details :P

Also for the EDT folks it's 11:00pm and 8pm for you guys in the Pacific.
Title: Re: Downtime
Post by: Eeems on May 08, 2013, 06:43:59 pm
That was a short news. 9pm?
Well there is little else I can say. Yes, 9:00pm MDT
Well, you could had explained why the web server should be off a whole hour instead of a small 45-second restart, I dunno. We like technical details :P

Also for the EDT folks it's 11:00pm and 8pm for you guys in the Pacific.
I'm not actually sure if it will be down for a whole hour or not ;) I have no idea how long the upgrade will take. I'm guessing it will take at most an hour though.

It's going to be a full kernel update plus there are ~127 other packages that were updated. There is always the chance that updating could be a tad rocky
Title: Re: Downtime
Post by: Juju on May 08, 2013, 07:02:01 pm
Well. You know you don't have to turn the webserver off while everything downloads and installs? (Unless you really have to turn the whole server off but I dunno.)
Title: Re: Downtime
Post by: Sorunome on May 08, 2013, 07:03:41 pm
On my server i can just sudo apt-get update and then sudo apt-get upgrade with no problem while nginx is running.
Title: Re: Downtime
Post by: Geekboy1011 on May 08, 2013, 07:24:19 pm
its more of a we have not done a distro upgrade before and we want to account for anykind of mishaps that may occur. the one hour is a ball park it is not solid its just a guess.
Bare with us
thank you
Title: Re: Downtime
Post by: Juju on May 08, 2013, 07:36:22 pm
Ah, okay. A dist-upgrade. Yeah in this case, you can say it'll go down during an hour, just in case stuff goes wrong. But in the best of cases, you won't even notice it.
Title: Re: Downtime
Post by: Geekboy1011 on May 08, 2013, 07:42:34 pm
yeah its all just the uncertainty of it as we have not done such before and we just do not know if/how anything will break...
Title: Re: Downtime
Post by: DJ Omnimaga on May 08, 2013, 10:35:31 pm
I thought that every new had to be at least 8 sentences long and include a calculator screenshot at least 10 minutes long? Also normally, based on last year's downtime, 1 hour == 1 month :trollface:

On a serious note, I assume that the upgrade have risks of having compatibility issues with PHP or just certain PHP softwares such as SMF, or databases that are modified to support negative topic IDs?
Title: Re: Downtime
Post by: Eeems on May 08, 2013, 11:26:45 pm
Ok, dist-upgrade done. Please report any weird server behavior.
Title: Re: Downtime
Post by: Juju on May 09, 2013, 01:17:44 am
(http://i1.kym-cdn.com/photos/images/newsfeed/000/380/373/03a.jpg)
Told you.
Title: Re: Downtime
Post by: DJ Omnimaga on May 09, 2013, 07:29:07 am
Yeah things seems fine so far. I guess now we just have to see if anything else that we don't use as often stopped working, other than stuff that already didn't work :P (such as www.omnimaga.org/statsgraph.php)
Title: Re: Downtime
Post by: Eeems on May 09, 2013, 10:58:25 am
Yeah things seems fine so far. I guess now we just have to see if anything else that we don't use as often stopped working, other than stuff that already didn't work :P (such as www.omnimaga.org/statsgraph.php)
Aaaaand fixed (It might not be completely accurate anymore, Juju should take a peek at it. Anything else that needs fixing?

EDIT: added post graph to http://status.ourl.ca/ and http://status.omnimaga.org/
Title: Re: Downtime
Post by: DJ Omnimaga on May 10, 2013, 07:53:55 pm
The only things that are innacurate in the post stats graph are the following:

-All stats since April 23rd 2012 are 1 day off. To fix this just INSERT INTO `currentdbname_log_activity` VALUES ('2012-04-23', 0, 0, 0, 0, 0); or whatever you have to use to manually add stuff in the database. Another fix solution is to make the graph scan dates and count any missing day/stats as 0 posts.

-From May 2005 to March 2008, stats excludes deleted posts, while newer stuff includes them. I think it's OK as it is, though, since almost every deleted posts from the old board were parts of the old downloads section anyway, with only 1 accidental topic deletion and 2 or 3 dispute deletion in 2006.

-The timezone changed 3 times through the stats. GMT+7 until Jan 1st 2008 (Invisionfree glitch), GMT-5 (Zetaboards & resurrected Omni), GMT+1 (since 2012 server move)

EDIT Wow I like the other graphs above the main one :D
Title: Re: Downtime
Post by: Jonius7 on May 11, 2013, 07:18:02 am
How much will changing the time zone affect the stats?
The top graphs are nice, though quite condensed, I wonder if the range could be chosen to view previous years' stats.
Title: Re: Downtime
Post by: Eeems on May 11, 2013, 04:12:02 pm
How much will changing the time zone affect the stats?
The top graphs are nice, though quite condensed, I wonder if the range could be chosen to view previous years' stats.
I haven't coded in the ability to choose between certain times yet into the stats API. Currently it will only look back 30 days. I'll add in some better selection soon though. I'll also work on making them a bit wider.