Error on uploading and saving any data


Hi, Had a generic error on saving an item (just text information) and followed through with finding in error log. The following is from error log. Any ideas on what is causing and how to fix? I’m presuming this is a Server issue that I need to contact our host about but wanted to check with the experts here. I don’t have much knowledge of this application as it was inherited. Many Thanks

2018-12-03T09:24:06+00:00 ERR (3): Zend_File_Transfer_Exception: The given destination is not writable in /var/www/vhosts/
Stack trace:
#0 /var/www/vhosts/ Zend_File_Transfer_Adapter_Abstract->setDestination(’/tmp’)
#1 /var/www/vhosts/ Omeka_File_Ingest_Upload->_buildAdapter()
#2 /var/www/vhosts/ Omeka_File_Ingest_Upload->addValidator(Object(Omeka_Validate_File_Extension))
#3 /var/www/vhosts/ Builder_Item->_addIngestValidators(Object(Omeka_File_Ingest_Upload))
#4 /var/www/vhosts/ Builder_Item->addFiles(‘Upload’, ‘file’, Array)
#5 /var/www/vhosts/ insert_files_for_item(Object(Item), ‘Upload’, ‘file’, Array)
#6 /var/www/vhosts/ Item->_uploadFiles()
#7 /var/www/vhosts/ Item->beforeSave(Array)
#8 /var/www/vhosts/ Omeka_Record_AbstractRecord->runCallbacks(‘beforeSave’, Array)
#9 /var/www/vhosts/ Omeka_Record_AbstractRecord->save(false)
#10 /var/www/vhosts/ Omeka_Controller_AbstractActionController->addAction()
#11 /var/www/vhosts/ ItemsController->addAction()
#12 /var/www/vhosts/ Zend_Controller_Action->dispatch(‘addAction’)
#13 /var/www/vhosts/ Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#14 /var/www/vhosts/ Zend_Controller_Front->dispatch()
#15 /var/www/vhosts/wokingham-t



The error is telling you that the /tmp folder is not writable.

You need to either change the permissions of /tmp so its writable or change Omeka’s configuration so the temp directory is some other folder the web server user does have permission to write to.