diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/install/database.md | 7 | ||||
-rw-r--r-- | docs/install/troubleshooting.md | 18 | ||||
-rw-r--r-- | docs/updating/index.md | 2 |
3 files changed, 13 insertions, 14 deletions
diff --git a/docs/install/database.md b/docs/install/database.md index f282c8985..5b5ffa19f 100644 --- a/docs/install/database.md +++ b/docs/install/database.md @@ -12,14 +12,15 @@ title: Database troubleshooting At this point you might need to configure PostgreSQL to allow password-based access to the `fms` database as the user `fms` from using Unix-domain sockets. -Edit the file `/etc/postgresql/8.4/main/pg_hba.conf` and add as the -first line: +Edit the file `/etc/postgresql/9.6/main/pg_hba.conf` (note that the version +number in this path will vary depending on the version of Debian you are +using) and add as the first line: local fms fms md5 You will then need to restart PostgreSQL with: - $ sudo /etc/init.d/postgresql restart + $ sudo service postgresql restart If you want to access the database from the command line, you can add the following line to `~/.pgpass`: diff --git a/docs/install/troubleshooting.md b/docs/install/troubleshooting.md index b006d18a4..fdae90a07 100644 --- a/docs/install/troubleshooting.md +++ b/docs/install/troubleshooting.md @@ -6,12 +6,12 @@ title: Installation troubleshooting # Installation troubleshooting <p class="lead"> - If you've installed FixMyStreet using an automated method such as the + If you've installed FixMyStreet using an automated method such as the <a href="{{ "/install/install-script" | relative_url }}">installation script</a> - or the + or the <a href="{{ "/install/ami" | relative_url }}">AMI</a>, you should be good to go. - However, if you've done a - <a href="{{ "/install/manual-install" | relative_url }}">manual install</a>, + However, if you've done a + <a href="{{ "/install/manual-install" | relative_url }}">manual install</a>, sometimes you might bump into a problem if your system is different from what FixMyStreet expects. These hints might help. </p> @@ -31,7 +31,7 @@ title: Installation troubleshooting ### locale: must be installed -By default, FixMyStreet uses the `en_GB.UTF-8` +By default, FixMyStreet uses the `en_GB.UTF-8` <a href="{{ "/glossary/#locale" | relative_url }}" class="glossary__link">locale</a>. If it is not installed then it may not start. You need this locale on your system even if you're planning on running your site in a different language. @@ -48,7 +48,7 @@ Check to see what locales your system currently supports with: ### Template caching -FixMyStreet caches compiled +FixMyStreet caches compiled <a href="{{ "/glossary/#template" | relative_url }}" class="glossary__link">templates</a> alongside the source files, so the `templates/web/` directory needs to be writable by the process that is running FixMyStreet. @@ -101,7 +101,7 @@ There are YAML lint tools available for checking the well-formedness of YAML fil Remember that your config settings may include sensitive information (your database password, for example) so be sensible before using online validators. -Simple things to be wary of: always quote strings that themselves contain a colon, +Simple things to be wary of: always quote strings that themselves contain a colon, be sure to close any open quotes, and avoid using tabs. <a name="requires-restart"> </a> @@ -113,6 +113,4 @@ is running, you may need to restart the process for the change to take effect. For example, restart the Catalyst FastCGI server with: -<pre><code>sudo /etc/init.d/fixmystreet restart -</code></pre> - + $ sudo service fixmystreet restart diff --git a/docs/updating/index.md b/docs/updating/index.md index e65097e6d..2ab8ed6f5 100644 --- a/docs/updating/index.md +++ b/docs/updating/index.md @@ -70,5 +70,5 @@ Lastly, you should restart your application server, this may be restarting your webserver, or if it is running separately, something like: {% highlight bash %} -sudo /etc/init.d/fixmystreet restart +sudo service fixmystreet restart {% endhighlight %} |