[#738 state:resolved]] fix problem with mysql server gone away with manual uploads in production