diff --git a/components/recorder/index.html b/components/recorder/index.html
index 71bae9b66b..f6935bc618 100644
--- a/components/recorder/index.html
+++ b/components/recorder/index.html
@@ -265,10 +265,25 @@
++<p class='note'>
++If you are running a database server instance on the same server as Home Assistant then you must ensure that this service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the file /etc/systemd/system/home-assistant@homeassistant.service as root (e.g. sudo nano /etc/systemd/system/home-assistant@homeassistant.service) and add the service - for PostgreSQL:
++
++[Unit]
++Description=Home Assistant
++After=network.target postgresql.service
++
++</p>
Installation notes
Not all Python bindings for the chosen database engine can be installed directly. This section contains additional details which should help you to get it working.
MariaDB and MySQL
-For MariaDB you may have to install a few dependencies. On the Python side we use the mysqlclient
:
+If you are in a virtual environment, don’t forget to activate it before installing the mysqlclient
Python package described below.
+pi@homeassistant:~ $ sudo su homeassistant -s /bin/bash
+homeassistant@homeassistant:~$ source /srv/homeassistant/bin/activate
+(homeassistant) homeassistant@homeassistant:~$ pip3 install mysqlclient
+
+
+For MariaDB you may have to install a few dependencies. If you’re using MariaDB version 10.2, libmariadbclient-dev was renamed to libmariadb-dev, please install the correct package based on your MariaDB version.
+On the Python side we use the mysqlclient
:
$ sudo apt-get install libmariadbclient-dev libssl-dev
$ pip3 install mysqlclient
@@ -278,12 +293,6 @@
$ pip3 install mysqlclient
-If you are in a virtual environment, don’t forget to activate it before installing the mysqlclient
Python package.
-pi@homeassistant:~ $ sudo su homeassistant -s /bin/bash
-homeassistant@homeassistant:~$ source /srv/homeassistant/bin/activate
-(homeassistant) homeassistant@homeassistant:~$ pip3 install mysqlclient
-
-
After installing the dependencies, it is required to create the database manually. During the startup, Home Assistant will look for the database specified in the db_url
. If the database doesn’t exist, it will not automatically create it for you.
Once Home Assistant finds the database, with right level of permissions, all the required tables will then be automatically created and the data will be populated accordingly.
PostgreSQL
diff --git a/docs/mqtt/broker/index.html b/docs/mqtt/broker/index.html
index 29281e57a6..3a913b385b 100644
--- a/docs/mqtt/broker/index.html
+++ b/docs/mqtt/broker/index.html
@@ -185,6 +185,14 @@ There is an issue with the Mosquitto package included in Ubuntu 14.04 LTS. Speci
If you get this error AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'
then you need to set tls_version: '1.2'
.
+If you are running a Mosquitto instance on the same server as Home Assistant then you must ensure that the Mosquitto service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the file /etc/systemd/system/home-assistant@homeassistant.service as root (e.g. sudo nano /etc/systemd/system/home-assistant@homeassistant.service) and add the mosquitto service:
+
+[Unit]
+Description=Home Assistant
+After=network.target mosquitto.service
+
+
+
If you are running a Mosquitto instance on a different server with proper SSL encryption using a service like Let’s Encrypt you may have to set the certificate to the operating systems own .crt
certificates file. In the instance of Ubuntu this would be certificate: /etc/ssl/certs/ca-certificates.crt
Public broker
diff --git a/sitemap.xml b/sitemap.xml
index 61964ca5bd..b3adb5f202 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4090,7 +4090,7 @@
https://home-assistant.io/components/switch.hook/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -4778,131 +4778,131 @@
https://home-assistant.io/docs/autostart/init.d/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/benchmark/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/check_config/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/credstash/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/db_migrator/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/ensure_config/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/hass/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/influxdb_import/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/influxdb_migrator/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/keyring/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/docs/tools/scripts/
-2018-02-26T22:27:22+00:00
+2018-02-27T07:17:58+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -6089,62 +6089,62 @@
https://home-assistant.io/demo/frontend.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/index.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00
https://home-assistant.io/static/mdi-demo.html
-2018-02-26T22:25:44+00:00
+2018-02-27T07:17:12+00:00