Site Down Overnight

Unfortunately I ran into one of the major problems with hosting your own servers last night. Around 2am the power went out for six hours and as a result this site had to come down. I think it could have lasted through the night if I had tried, but my battery backups beep like crazy and I can’t sleep as a result. Next time I have to replace them, I need to find ones that I can say “Duh there is no power, now shut up and keep the internet working!”.

One Response to “Site Down Overnight”

  1. Monali says:

    I’m working on Auth mylesf and I have run into a few of the same issues. I’m using something like this to filter: Users::applyFilter(‘save’, function($self, $params, $chain) { $record = $params['entity']; if ($record->validates() && !$record->id) { $record->password = Password::hash($record->password); } $params['entity'] = $record; return $chain->next($self, $params, $chain); });see if that didn’t post. The idea is to only hash the password when saving a new record. Also I found mylesf having to hash again on the login side.

Leave a Response