Biopowered - vegetable oil and biodiesel forum

General => Wiki and forum discussion => Topic started by: Tony on June 14, 2013, 10:28:47 AM

Title: MOVING SERVERS TODAY
Post by: Tony on June 14, 2013, 10:28:47 AM
Please be aware we are moving to a new server in the US today, some posts made here today may not appear on the new server depending on when the mysql database is sampled.  You may also lose connectivity while DNS updates.

We apologise for any inconvenience.
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 14, 2013, 10:52:01 AM
I'm sure you've done one, but I'll do a backup.  It says it will take about 2 hrs ... hope there's time!
Title: Re: MOVING SERVERS TODAY
Post by: Tony on June 14, 2013, 10:58:27 AM
I have a backup.  Actually the uplink on the server is saturated by both of us downloading the backup (I'm also copying it to the server in the US).
Title: Re: MOVING SERVERS TODAY
Post by: greasemonkey on June 14, 2013, 11:50:32 AM
Good luck.
Does this mean the American security services will be able to watch our every move now? :P
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 14, 2013, 12:05:12 PM
I don't think you really need it, but good luck with the move.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on June 14, 2013, 11:48:22 AM
If you're reading this, your DNS is up to date and you're looking at the new server :)
Title: Re: MOVING SERVERS TODAY
Post by: greasemonkey on June 14, 2013, 11:55:20 AM
All seems to be working ok here, apart from a thread that is conspicuous by its absence. :D

Not to worry, you did say some things might disappear. Not a problem.


My mistake. The thread is still there. It's just not appearing in todays posts.
Title: Re: MOVING SERVERS TODAY
Post by: greasemonkey on June 14, 2013, 12:04:40 PM
I think the forum is on American time.
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 14, 2013, 01:49:06 PM
Yup, all working for me too, well done Tony.

I agree time appears to be wrong, which I'm guessing is the issue with recent posts.
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 14, 2013, 01:51:04 PM
Yup, all working for me too, well done Tony.

I agree time appears to be wrong, which I'm guessing is the issue with recent posts.

Stat that, time's magiclly corrected it's self!

Major problem for me ... smell check seems to be missing.
Title: Re: MOVING SERVERS TODAY
Post by: Rotary-Motion on June 14, 2013, 02:00:34 PM
seems ok here too

 8)
Title: Re: MOVING SERVERS TODAY
Post by: Tony on June 14, 2013, 03:25:38 PM
Yup, all working for me too, well done Tony.

I agree time appears to be wrong, which I'm guessing is the issue with recent posts.

Stat that, time's magiclly corrected it's self!

Major problem for me ... smell check seems to be missing.

I was tweaking the servers clock at the time you posted.

Will look into spelling later. Report any other anomalies here too please.

I think the transition went smoothly.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on June 14, 2013, 03:28:45 PM
All seems to be working ok here, apart from a thread that is conspicuous by its absence. :D

Not to worry, you did say some things might disappear. Not a problem.


My mistake. The thread is still there. It's just not appearing in todays posts.

Suspect related to the clock offset. I guess today's posts won't show posts made in the future as they're not 'today' yet, if that makes sense?

Should show now the clock is correct.
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 14, 2013, 03:34:02 PM
Yup, all working for me too, well done Tony.

I agree time appears to be wrong, which I'm guessing is the issue with recent posts.

Stat that, time's magiclly corrected it's self!

Major problem for me ... smell check seems to be missing.

I was tweaking the servers clock at the time you posted.

Will look into spelling later. Report any other anomalies here too please.

I think the transition went smoothly.

Very smoothly ... well done.

Title: Re: MOVING SERVERS TODAY
Post by: greasemonkey on June 14, 2013, 03:51:00 PM
All seems to be working ok here, apart from a thread that is conspicuous by its absence. :D

Not to worry, you did say some things might disappear. Not a problem.


My mistake. The thread is still there. It's just not appearing in todays posts.

Suspect related to the clock offset. I guess today's posts won't show posts made in the future as they're not 'today' yet, if that makes sense?

Should show now the clock is correct.

Time travel. Love it.

Well done Tony. Excellent job.
Title: Re: MOVING SERVERS TODAY
Post by: nigelb on June 14, 2013, 04:00:45 PM
All seems to be working ok here, apart from a thread that is conspicuous by its absence. :D

Not to worry, you did say some things might disappear. Not a problem.


My mistake. The thread is still there. It's just not appearing in todays posts.

Which thread has grabbed your attention GM?
Title: Re: MOVING SERVERS TODAY
Post by: nigelb on June 14, 2013, 04:03:10 PM
I don't know what you did Tony but I can't spot any difference. What you did must, therefore, be OK 8)
Title: Re: MOVING SERVERS TODAY
Post by: greasemonkey on June 14, 2013, 09:48:24 PM
All seems to be working ok here, apart from a thread that is conspicuous by its absence. :D

Not to worry, you did say some things might disappear. Not a problem.


My mistake. The thread is still there. It's just not appearing in todays posts.

Which thread has grabbed your attention GM?

The thread about immersion heaters disappeared out of todays posts, basically because the clock was set to a time before the post was made.
No problem now, all sorted.
Title: Re: MOVING SERVERS TODAY
Post by: Head Womble on June 14, 2013, 10:24:16 PM
All seems to be working ok here, apart from a thread that is conspicuous by its absence. :D

Not to worry, you did say some things might disappear. Not a problem.


My mistake. The thread is still there. It's just not appearing in todays posts.

Suspect related to the clock offset. I guess today's posts won't show posts made in the future as they're not 'today' yet, if that makes sense?

Should show now the clock is correct.

Time travel. Love it.

Well done Tony. Excellent job.

Not just common or garden time travel, this time travel is biopowered  ;D

Great job Tony, done to your normal high standard.

Now about that smell check..............
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 14, 2013, 10:35:12 PM
Yeah, you tell him Mark.  I'm going to smell things wong on porpoise, until he fixes it. 
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 15, 2013, 12:23:25 AM
Tony ... can't access backup or stats.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on June 15, 2013, 01:29:50 PM
Stats might have to wait. Backups are more important but I'm out for the weekend now - visiting the server's owner as it happens. :)
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 22, 2013, 05:11:09 PM
Ooo Errr

Getting something a bit strange when I try and upload a file.

The page displays bigger, and I get these two warnings sort of mixed in with the page at the top

========================================================
Warning: fopen(/var/www/biopowered/w/images/lockdir/801z4p9itqpm9xcv8mancfdnccsoxjn.lock) [function.fopen]: failed to open stream: Permission denied in /var/www/biopowered/w/includes/filebackend/lockmanager/FSLockManager.php on line 123

Warning: fopen(/var/www/biopowered/w/images/lockdir/qwe60nbikfhv11yrqkh6lwzlt1ab2xt.lock) [function.fopen]: failed to open stream: Permission denied in /var/www/biopowered/w/includes/filebackend/lockmanager/FSLockManager.php on line 123

========================================================

And then these warnings in the usual place when a file fails to load ...

========================================================
Could not open lock file for "mwstore://local-backend/local-public/1/17".
Could not open lock file for "mwstore://local-backend/local-public/1/17/Prep_tib_lid.JPG".
========================================================

help!
Title: Re: MOVING SERVERS TODAY
Post by: Tony on June 22, 2013, 06:59:59 PM
Thanks Julian, hopefully now fixed.

- image directory permissions weren't using sticky group ownership (needed to stay www-data)
- apache2 default umask was 022, rather than 002 (made files non-writable by group owner www-data)
- imagemagick wasn't installed (used to create all the different image resolutions the wiki uses)
Title: Re: MOVING SERVERS TODAY
Post by: Julian on June 23, 2013, 02:10:08 AM
You dont know how greatfuyl everyone is that you understand all this!
Title: Re: MOVING SERVERS TODAY
Post by: nigelb on June 23, 2013, 09:56:37 AM
You don't know how greatful everyone is that you understand all this!

Never a truer statement made.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on June 23, 2013, 11:28:07 AM
I find it a little worrying that I'm the only one here that seems to, to be honest.  We need another technical administrator really, in case of accidents involving busses.
Title: Re: MOVING SERVERS TODAY
Post by: Head Womble on June 23, 2013, 11:29:31 AM
You don't know how greatful everyone is that you understand all this!

Never a truer statement made.

I agree.
Putting a page togeather is a challange for me.
Title: Re: MOVING SERVERS TODAY
Post by: nigelb on June 23, 2013, 02:57:33 PM
You don't know how greatful everyone is that you understand all this!

Never a truer statement made.

I agree.
Putting a page togeather is a challange for me.

I've never put a page together. I supplied the text and pictures and somebody else did the page. I think Julian has done the stuff I submitted
Title: Re: MOVING SERVERS TODAY
Post by: Julian on July 03, 2013, 06:14:22 PM

Trouble uploading photos again I'm afraid.  I get this warning ...

Could not create directory ‘mwstore://local-backend/local-public/8/85’.

Quite prepared to accept it's me being a pillock, but I've tried several times and get the same message.

Photos have been down sized to 800 x 600 px and 72 dpi, and just over 100Kb, so I don't think it can be file size.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 06:24:57 PM
Ok. Sounds like a permissions thing, I'll take a look when I get home.  And at the spellcheck and backup situation.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 06:28:24 PM
On a related note, I'm getting FTTC installed on Monday, 80mbps down, 20 up. Considering building a new server machine to keep up with it :)
Title: Re: MOVING SERVERS TODAY
Post by: Julian on July 03, 2013, 07:11:18 PM
Thanks Tony.

Do you want any contributions to the new server?  Happy to offer a few beer tokens, but I also dismantled an old but quite high spec PC recently.  It had some rather peculiar looking ram several fans and some funny heat exchanger thing with a copper block and tubes on the processor.  I kept the bits above just out of principle but I don't have a use for them.  I also have an oldish Dell you are welcome to if the parts are any good.  If you think any of it may be of use I can bring them on Saturday.


Spell checker would be warmly welcomed!
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 08:53:18 PM

Trouble uploading photos again I'm afraid.  I get this warning ...

Could not create directory ‘mwstore://local-backend/local-public/8/85’.

Quite prepared to accept it's me being a pillock, but I've tried several times and get the same message.

Photos have been down sized to 800 x 600 px and 72 dpi, and just over 100Kb, so I don't think it can be file size.

OK, I think I've got it.  Can you try again?
Title: Re: MOVING SERVERS TODAY
Post by: Julian on July 03, 2013, 10:02:41 PM
Still the same I'm afraid!
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 10:04:52 PM
Strange.  I've uploaded a 4000x3000 jpg and it was happy with that.  Nothing unusual about the image format?
I'll peer through the logs, maybe there's a clue.
Title: Re: MOVING SERVERS TODAY
Post by: Julian on July 03, 2013, 10:23:15 PM
I've been trying three photos I saved from Dicks post on the forum ... I'll try another photo.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 10:23:43 PM
I've found another issue - it may work now?
Title: Re: MOVING SERVERS TODAY
Post by: Julian on July 03, 2013, 10:26:38 PM
Another file I tried did ... I'll try the others again.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 10:29:08 PM
Spell check is back  8)
Title: Re: MOVING SERVERS TODAY
Post by: Julian on July 03, 2013, 10:31:34 PM
Strange ... the test file seemed to end up with the same name as the Dick file, however, the waving of your magic wand worked wonders again ... Thanks Tony.

Appreciate smell check!
Title: Re: MOVING SERVERS TODAY
Post by: therecklessengineer on July 03, 2013, 10:55:45 PM
I do actually have an HP server, complete with SCSI RAID setup if you want it...
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 11:19:27 PM
Well, thank you for the kind offers, but part of the desire to build a server is to trim down on the power consumption.  Can't see raid arrays helping with that ;)

Currently it's a pretty barebones P4 2.8 machine, which draws 50W at idle and 80W under load - so the yearly leccy cost is something like £65.  That's more than I spend making 20x 125l batches of biodiesel at 16kWh a batch!

So I'm considering either a 18W GA-E350-USB3 (nice bit of kit, integrated board and dual core processor - but it might be a bit underpowered), or a suitable dual core Celeron like this'n:

http://www.scan.co.uk/products/intel-celeron-dual-core-g550t-1155-sandy-bridge-m-dual-core-22ghz-2mb-smart-cache-oem

...which is 35W vs the P4's 65W.

Trouble is, the payback period by the time I've added memory, mobo, sata disk, PSU and case is up at the 4 year mark so is it worth it?

I couldn't take any donations because our little server is used for lots of other things than websites, namely content filtering for the kids, CCTV, being our mailserver - the webserver bit is just a sideline really.
Title: Re: MOVING SERVERS TODAY
Post by: therecklessengineer on July 03, 2013, 11:22:18 PM
I thought you'd say that. :P It's precisely the reason why I don't use it - it's about 350W at full chat! I use an old laptop as my server machine. 7W is much more manageable.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 03, 2013, 11:28:22 PM
Did consider a laptop, it's got built in battery backup.  Trouble is the CCTV capture cards are all full height PCI which is bit of a limiting factor.  Some docking stations allow PCI cards but then it's starting to become bit of a Frankenstein's monster!

I like the idea of a little mini-itx case, they have space for a PCI card and they're pretty compact.
Title: Re: MOVING SERVERS TODAY
Post by: therecklessengineer on July 04, 2013, 12:32:09 AM
You can get them in USB form - although you've probably considered that already.

You have a PM btw.
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 04, 2013, 09:59:04 AM
You can get them in USB form - although you've probably considered that already.

I've got a single channel usb capture device (though I see 4 ch is available).  But it was a royal pain to get working - I had to build a kernel module from experimental source, and modify the source to get it to work.  With every kernel upgrade then it has to be rebuilt - a royal pain.  And it didn't work very well with zoneminder.  The PCI card is the easy option - supported by the kernel and works with zoneminder out of the box.
Title: Re: MOVING SERVERS TODAY
Post by: julianf on July 04, 2013, 10:23:10 AM
Ive been meaning to buy a jetway j7f2 for ages, but not gotten around to it.

Its only 1.2ghz, but check the power stats on it : )
Title: Re: MOVING SERVERS TODAY
Post by: Tony on July 08, 2013, 02:17:20 PM
FTTC install complete, entertainingly some of the speed testers it's off the top of the gauges.  Synced at 78mbps down and 20mbps up :)