The drogon HTTP framework we now use for the REST API also allows file uploads, which we don't use. Unfortunately, by default it tries to create a bunch of directories in the working directory, which is usually not writable (e.g. /etc/wforce), as described in #355.
This PR modifies the drogon upload directory so that the warnings do not occur.
This PR also ensures that before the syncDB functions are called, that the webserver is running, otherwise it sleeps until the webserver is running. This fixes the issue described in #358.
The drogon HTTP framework we now use for the REST API also allows file uploads, which we don't use. Unfortunately, by default it tries to create a bunch of directories in the working directory, which is usually not writable (e.g. /etc/wforce), as described in #355.
This PR modifies the drogon upload directory so that the warnings do not occur.
This PR also ensures that before the syncDB functions are called, that the webserver is running, otherwise it sleeps until the webserver is running. This fixes the issue described in #358.