Hi,
Yesterday I need to do some test with a droplet that has installed a CRM running on PHP, Apache, MariaDB; so I made a snapshot, test and after the test I rebuild the droplet to the snapshot taken before.
Since the rebuilt I can’t upload any file images, CSV, etc., to the CRM. I see some errors like:
[Sat Aug 10 11:16:52.241907 2019] [php7:warn] [pid 9454] [client 123.45.123.45:30463] PHP Warning: unlink(upload/import/dupes_1.csv): Permission denied in /var/www/html/crm/include/UploadStream.php on line 301, referer: http://crm.domain.com/crm/index.php?module=Import&action=Step1&import_module=INV_Inventory&return_module=INV_Inventory&return_action=index
[Sat Aug 10 11:16:52.241989 2019] [php7:warn] [pid 9454] [client 123.45.123.45:30463] PHP Warning: unlink(upload/import/dupesdisplay_1.csv): Permission denied in /var/www/html/crm/include/UploadStream.php on line 301, referer: http://crm.domain.com/crm/index.php?module=Import&action=Step1&import_module=INV_Inventory&return_module=INV_Inventory&return_action=index
[Sat Aug 10 11:16:52.242010 2019] [php7:warn] [pid 9454] [client 123.45.123.45:30463] PHP Warning: unlink(upload/import/errorrecords_1.csv): Permission denied in /var/www/html/crm/include/UploadStream.php on line 301, referer: http://crm.domain.com/crm/index.php?module=Import&action=Step1&import_module=INV_Inventory&return_module=INV_Inventory&return_action=index
[Sat Aug 10 11:16:52.242027 2019] [php7:warn] [pid 9454] [client 123.45.123.45:30463] PHP Warning: unlink(upload/import/errorrecordsonly_1.csv): Permission denied in /var/www/html/crm/include/UploadStream.php on line 301, referer: http://crm.domain.com/crm/index.php?module=Import&action=Step1&import_module=INV_Inventory&return_module=INV_Inventory&return_action=index
[Sat Aug 10 11:16:52.242044 2019] [php7:warn] [pid 9454] [client 123.45.123.45:30463] PHP Warning: unlink(upload/import/status_1.csv): Permission denied in /var/www/html/crm/include/UploadStream.php on line 301, referer: http://crm.domain.com/crm/index.php?module=Import&action=Step1&import_module=INV_Inventory&return_module=INV_Inventory&return_action=index
Obviously I’ve checked file permissions and they are 775 or 755 as the CRM vendor request and the user Apache is the owner of all the directory and files on Apache root directory, I’ve also tried using 777 with no luck. There are space on disk too.
Does anybody knows what may be happening?
Thanks for your help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.