Gitify icon indicating copy to clipboard operation
Gitify copied to clipboard

Installation fails if home dir is not writable

Open studiorepublic opened this issue 7 years ago • 0 comments

Trying out Digital Ocean for our hosting through Cloudways. This fires up a server which has write access to the public_html folder, but not the one above.

So, it's trying to create its cache folder in /home/192924.cloudwaysapps.com/fwaxczrdam but this isn't writable.

This results in: PHP Warning: mkdir(): Permission denied in /home/192924.cloudwaysapps.com/fwaxczrdam/private_html/Gitify/src/Mixins/DownloadModx.php on line 52 Downloading modx-2.6.5-pl from https://modx.s3.amazonaws.com/releases/2.6.5/modx-2.6.5-pl.zip... Warning: Failed to create the file Warning: /home/192924.cloudwaysapps.com/fwaxczrdam/.gitify/modx-2.6.5-pl.zip: Warning: No such file or directory

curl: (23) Failed writing body (0 != 16360) Error: Could not download the MODX zip

Is there a way of defining another cache folder in the .gitify file?

studiorepublic avatar Aug 02 '18 15:08 studiorepublic