openenergymonitor / EmonScripts

Emoncms Stack Installation and Update scripts
16 stars 30 forks source link

Create www and log folders for Apache #164

Closed borpin closed 1 year ago

borpin commented 1 year ago

154 #41

Add the creation of the www and the log folders for emoncms before Apache is installed.

Because the VHosts file references them, they need to be created before emoncms is installed.

Modify the emoncms-core script to allow for the folders to have been already created.

Note the apache config files have hardcoded locations for the log and www. These should follow the settings file. #61

TrystanLea commented 1 year ago

Thanks @borpin , I wonder if this will create an error when it tried to install the emoncms repo later? as that directory will now exist?

borpin commented 1 year ago

I modified that file to check as well (see files changed).

TrystanLea commented 1 year ago

I think Im missing where to look?

Will it not get stuck here?

https://github.com/openenergymonitor/EmonScripts/blob/master/install/emoncms_core.sh#L12

TrystanLea commented 1 year ago

Cheers!