fixed permissions issue with upload, had to change ownership to www-data for a couple of dirs.