Saturday, 20 April 2019

Setting up Grav

On heliohost, grav is a one click install. On this shared hosting platform, the software needs to be manually installed. I followed the installation instructions which were a simple zip file upload and decompression. However it did not work out of the box. I kept getting “500 Internal Server” errors.
Grav's documentation has a troubleshooting page (https://learn.getgrav.org/15/troubleshooting/internal-server-error) for 500 errors. I wasted quite some time over a few days mucking around before finding out yesterday that the problem was with the php setup in that subdirectory. That was actually the first item to check on the troubleshooting page, but I had assumed (wrongly), that because php was working in the rest of the site, it was fine in the grav installation directory. I spent some trying tweaking the .htacccess and php.ini files, as well setting up a parallel directory for testing the php.
After deleting all the installed folders and using a info.php test script, I found that the main problem was the grav-admin folder permissions was set at 775 instead of the required 755. I managed to fix this after a google search which let me to this forum discussion (https://forum.zenphoto.org/discussion/10050/permissions-755-vs-775).
After changing the permissions, the info.php page worked. I then uploaded the unzipped set of files and folders from my laptop instead of unzipping it on the server. After that, I have an installation log page show that the image and cache directories were missing. This I created manually on the CLI from SSH, and the installation worked.
Finally.

Sunday, 14 April 2019

Cleaning up the garden

I have been really busy at work the last couple of weeks, and haven't really worked on the garden much since Chinese New Year.

It didn't help that we went through a really dry spell. The tomato plants all wilted and died perhaps two months ago, and I haven't been composting or fertilizing the side gardens too. I finally got round to buy two bags of compost and one bag of substrate yesterday from Far East Flora in between sending and fetching Christine from Cat class. 

On the positive side, after the rains came back, the passion fruit vines upstairs and in the garden flowered and are starting to fruit. There are at least 4 fruits upstairs and a bunch more in the garden. Hopefully they will ripen well and not peter out like last round. 

Unripe passion fruit growing on the vine

Yesterday, I transferred three more passion fruit vines to the ground from the styrofoam box. This evening I used a bag of compost around them as well as the banana plant. I wasn't planning to do much, but Corrine's mum was also there doing some pruning. We ended chopping up some of the dwarf banana plants and she ripped out the wilted tomato vines and weeds. I also trimmed down the pandan plants so that the surround plants would get some more light. The area looks neater now.

Setting up Grav

On heliohost, grav is a one click install. On this shared hosting platform, the software needs to be manually installed. I followed the i...