DoESLiverpool / somebody-should

A place to document practices on the wiki and collect issues/suggestions/to-do items for the physical space at DoES Liverpool
31 stars 11 forks source link

doesliverpool.com server needs rebooting occasionally and only @OddEssay has access. #273

Closed OddEssay closed 8 years ago

OddEssay commented 8 years ago

Right now, doesliverpool.com needs to be rebooted every couple of weeks because the site is down.

In addition to this, the only person with access to the VPS management panel is @OddEssay.

It would make sense to migrate to a VPS that everyone has access too or a hosted version of WordPress where no one needs to worry about maintenance issues.

skos-ninja commented 8 years ago

We know the vps requirements for this as I should be able to give a vps just for the does site

On Mon, Apr 11, 2016 at 1:32 PM, Paul Bennett-Freeman < notifications@github.com> wrote:

Right now, doesliverpool.com needs to be rebooted every couple of weeks because the site is down.

In addition to this, the only person with access to the VPS management panel is @OddEssay https://github.com/OddEssay.

It would make sense to migrate to a VPS that everyone has access too or a hosted version of WordPress where no one needs to worry about maintenance issues.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/DoESLiverpool/somebody-should/issues/273


Jake

OddEssay commented 8 years ago

This is just a straight forward WordPress install.

Digital Ocean's basic $5 per month server runs multiple WP installs happily -https://m.do.co/c/a9c69c6eb29f link gives $10 of credit, so two months on that package.

Digital Ocean also do one-click installs for WordPress, but that needs the second level image to run (More to do with the image they use to install, rather than running requirements) which would run at $10 per month.

Both options are cheap, offer more than enough resources (I use them for all my personal, and professional hosting these days), and would be easy to add multiple users too as they use standard installs.

imoceanic commented 8 years ago

Those are EX-VAT prices - https://www.digitalocean.com/help/pricing-and-billing/tax-help-eu/ so don't forget to add your 20% :)

skos-ninja commented 8 years ago

Well I have snet @OddEssay some login details to a $5 droplet which does can do with as they please

OddEssay commented 8 years ago

@madjake45 Cheers - I'll take a look this evening.

As a stop gap, I've made sure I've got today's backups on my laptop as a contingency.

skos-ninja commented 8 years ago

I went down the route of paying the extra $1 a month for weekly backups as well

On Mon, Apr 11, 2016 at 3:59 PM, Paul Bennett-Freeman < notifications@github.com> wrote:

@madjake45 https://github.com/madjake45 Cheers - I'll take a look this evening.

As a stop gap, I've made sure I've got today's backups on my laptop as a contingency.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/DoESLiverpool/somebody-should/issues/273#issuecomment-208386067


Jake

amcewen commented 8 years ago

Thanks for the offer @madjake45 (and just running with things!), but given issue #18, if we're migrating the website to a different server I think it'd make sense for it to be one that @DoESLiverpool has control over, even if it costs us ~$5/month. Just so we don't end up in this situation again where one person is a potential-point-of-failure or the only one who can fix things :-)

skos-ninja commented 8 years ago

:cry:

DefProc commented 8 years ago

Does this need something more than DoES provisioning a VPN so that Jake can deploy?

skos-ninja commented 8 years ago

Well I currently only handle DoESLiverpool/status which is on my server at the moment and feel it's probably the best idea to keep it off the same vps as the main website

amcewen commented 8 years ago

I think it needs @OddEssay to do the deploy, initially at least? Presumably setting up an account for hello@doesliverpool.com on the way?

The website is down again at the minute (has been since yesterday at least) :-(

@OddEssay let us know what else we can do to help out in migrating it over

jamieisboss commented 8 years ago

I haven't had much chance to work on the new site for a while but should do soon, question about the hosting, kind of, does the site need to be based on wordpress?the core wordpress functionality has been replaced by weeknotes and in as far as I can see, anything else whizzy is an embed or managed offsite.

If you got away without wordpress, generating the site statically, you could put it in an aws s3 bucket, delivered through cloudfront and add cloudflare with the always online feature, and still probably pay less than a fiver. (if we did the cloudflare bit as it's $20/month for the first pro Account of then $5 to add extra ones, we've already got a few so you could get away with just the $5 I daresay.

The site would be considerably more secure, fast, robust and basically impossible to go offline by single failure, as you'd have added 4 types of redundancy as well as an intelligent managed Web application firewall.

I like wordpress but if you aren't using the features, then it's an unnecessary overhead and the static site in a bucket method allows you to easily trigger lambda events or have them triggered from elsewhere, which opens up a new world of possibilities for the site generally

amcewen commented 8 years ago

I don't think we're particularly wedded to Wordpress, but we are wedded to having a site available for people to use :-) so it feels to me that migrating the existing site to a new server is going to be the quickest way to fix the short-term issue. Moving away from Wordpress can then be part of #19

jamieisboss commented 8 years ago

Ok, Cool, that'll probably speed the dev a quite a bit, (unless it doesn't)

amcewen commented 8 years ago

The website is down again... @OddEssay any chance you can stick the backups somewhere and we'll work out what to do with them :-)

amcewen commented 8 years ago

Right, @OddEssay has created a login for me so I think I can pull down whatever is needed. I'll have a look at it at Maker Night unless anyone wants to do it before then (and lets me know what they need from the existing site)

jamieisboss commented 8 years ago

Has anyone else heard of cloudatcost? I got one of the developer deals at 90%off which was enough to make me climb over the mountain of "this feels like a trap" because you only pay once, and then you can create as many vps' as you want within the resource you paid for, so Im still dubious about it, but if any one can vouchsafe them it could be a good place to use as a secondary because of the non ongoing cost model or the primary but I don't know where the data centres are, Canada maybe. I'm just using it for playing round with things that aren't work related so a bit of latency isnt an issue but might be for you?

DefProc commented 8 years ago

Any reason why we shouldn't just migrate straight to a wordpress specific hosting package for the short term so the website dropouts stop as quickly as possible? Especially as it has been affecting availability of the laser bookings (as they're linked from there) when it was down for a few days.

I did see 34sp's advert appear in my inbox.

johnmckerrell commented 8 years ago

No, basically just someone finding the time to do it. I pulled some backups from the site last week but wasn't sure what to do with them. They probably weren't the best type of backup as they were taken from the VM, better would be an export from Wordpress itself (now the site is a little more reliable).

Important point is that DoES should "own" wherever the new site is.

On 12 May 2016, at 16:43, Patrick Fenner notifications@github.com wrote:

Any reason why we shouldn't just migrate straight to a wordpress specific hosting package for the short term so the website dropouts stop as quickly as possible? Especially as it has been affecting availability of the laser bookings (as they're linked from there) when it was down for a few days.

I did see 34sp'c advert https://www.34sp.com/wordpress-hosting appear in my inbox.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/DoESLiverpool/somebody-should/issues/273#issuecomment-218798023

skos-ninja commented 8 years ago

The only issue is to look closely at the hosting offered on a package rather than a vm as a lot of companies try to limit the number of concurrent visitors and small things like that.

DefProc commented 8 years ago

I had a quick look through the specs, and that offering does seem to be a whole vm, just set up with wordpress specific configuration. I was particularly taken by the "we'll migrate your site for you" bit though…

jamieisboss commented 8 years ago

While i understand the ownership of the final new site, if your existing hosting is giving you issues, We'll host the current site temporarily for you, unless there's a huge database or something weird, and it's only for a few months, i don't see that we'd need to charge you anything unless it costs us something extra. I'm sure you can always work things out with your account manager, who would be @DoESsean if there are any issues.

Separate to any name registration or hosting - I'd recommend that if you dont have one already, this would be a good time to get a cloudflare pro account (@$20/month for the 1st domain [if you can live with Solve maintaining th dns, we'll do that at cost, which is $5/month as we've got clients with pro accounts already]) and move the DNS hosting to there. Reasoning being that once you're on there, there's never that potentially 48+ hour dns propagation as and when the site moves/changes/needs to failover/becomes a psychic link in the future. Also, it's much more secure, caches content, is a CDN, has a WAF, they are very good, probably better to look at their site than me telling you.

I migrate or deploy all the sites onto our live servers anyway, if you set up cloudflare then sent me ite backup, i coud move the site onto our big(ger) VPS which will be pretty empty in a couple of days, Unless It's an unusual install, it's not a big job, For your peace of mind, if you give me an ftp account somewhere that's still owned by DoES, Ill get it to drop full file and database backups there nightly.

I'm not sure what access you'd want, or need, if you would even want any beyond being able to log onto wordpress but if you let me know, I'll tell you whether I'm alright with it, i say that because currently no clients on that server have direct access so I'd have to set up stuff if you wanted some.

Offer is there, let me know.

DefProc commented 8 years ago

After a mammoth 8 days of downtime, I got the main site content migrated over to the wordpress hosting package at 34sp last week. It seems to be stable, although it's still missing a few bits:

But at least it's up!

amcewen commented 8 years ago

For the weeknotes the back-posts will need to be added manually. For the future ones we just need to update the user privileges for the 'weeknotes' user and then I can set its password in the config file on my server.

And while someone (@defproc?) is updating user privileges for 'weeknotes', can they also update those for 'amcewen'. Then I can add the missing weeknotes posts :-)

DefProc commented 8 years ago

@amcewen both you and user weeknotes are both promoted. Just "author" level seemed fine for weeknotes, is that right?

amcewen commented 8 years ago

Ta @DefProc. I expect "author" is okay for the weeknotes user, but before I'd worked out what the xmlrpc endpoint is I'd got to a stage where github is rate-limiting the script, so I've not fully confirmed that :-)

I've reinstated the missing weeknotes blog posts (and posted last week's, that I'd stashed ready to post). All was okay, apart from needing to set a custom permalink setting of "/%category%/%postname%/"

DefProc commented 8 years ago

On the basis that the server has been up and running for ages without anyone having to reboot it. I'm going to close this issue. Any outstanding issues with images or theme probably fall better under issue #19, or as new issues as they are noticed.