Stuff I'm Up To

Technical Ramblings

Owncloud Upgrade and Maintenance Mode — May 22, 2017

Owncloud Upgrade and Maintenance Mode

This catches me out almost every time I do an update of our Owncloud server. As it’s using a Debian repository a simple apt-get upgrade is all it takes to deploy the Owncloud upgrade, but then it sticks in maintenance mode and the upgrade hasn’t really run. It’s just downloaded and waiting deployment.

Continue reading

Advertisements
ownCloud — September 20, 2016

ownCloud

We needed a semi-secure method of transferring files between staff and 3rd parties. To handle those frequent times when someone tries to attach a 150MB file onto an email. OwnCloud to the rescue.

It’s come a long way since I first used it. Now it has all kinds of plugins and features. What’s good about it is there are clients for pretty much all platforms – many free. Failing that good old HTML will do.

Continue reading

NGINX and php5-fpm —

NGINX and php5-fpm

This new version of NGINX is tending to be a bit of a pain in terms of installation. Gone are the sites-available and sites-enabled folders and it does a couple of things during installation that really grips my goat.

Getting php5-fpm working with it needs some manipulation of the config. The site configs are now located under /etc/nginx/conf.d/ and they now have a .conf extension. The default being default.conf.

By default this config sticks the ‘root’ directive under the location /. Which when it comes to running php5-fpm and using fastcgi parameters causes a headache. It’s a simple fix, but put simply the previous use of $document_root will not work because the directive needs to be within the server context NOT location.

Continue reading

tobscure/json-api — September 17, 2016
PHP Frameworks & Dependencies — September 14, 2016

PHP Frameworks & Dependencies

I’m not new to PHP and have used it quite often, but what I’ve not really used are frameworks. There are plenty of them out there all capable of different things, but all able to save a whole heap of time when it comes to developing something more than a simple script.

The one I’ve tended to favour is ‘Laravel‘. It’s pretty fully featured and fairly straight forward, but there is a lot to learn.

But what it did do for me was introduce me to composer.phar and then on to Packagist.

Continue reading