+34
nixos/doc/manual/release-notes/rl-1803.xml
+34
nixos/doc/manual/release-notes/rl-1803.xml
···<link xlink:href="http://borgbackup.readthedocs.io/en/stable/usage/upgrade.html#attic-and-borg-0-xx-to-borg-1-x">here</link>.+<para>The package <literal>pkgs.piwik</literal> was renamed to <literal>pkgs.matomo</literal>.</para>+<para>The service <literal>services.piwik</literal> was renamed to <literal>services.matomo</literal>.</para>+The data directory <filename>/var/lib/piwik</filename> was renamed to <filename>/var/lib/matomo</filename>.+All files will be moved automatically on first startup, but you might need to adjust your backup scripts.+If you use unix socket authentication, remember to give the new <literal>matomo</literal> user+access to the database and to change the <literal>username</literal> to <literal>matomo</literal>+in the <literal>[database]</literal> section of <filename>/var/lib/matomo/config/config.ini.php</filename>.+If you named your database `piwik`, you might want to rename it to `matomo` to keep things clean,
+1
-1
nixos/modules/module-list.nix
+1
-1
nixos/modules/module-list.nix
···
+6
nixos/modules/rename.nix
+6
nixos/modules/rename.nix
···(mkRemovedOptionModule [ "services" "parsoid" "interwikis" ] [ "services" "parsoid" "wikis" ])+(mkRenamedOptionModule [ "services" "piwik" "webServerUser" ] [ "services" "matomo" "webServerUser" ])+(mkRenamedOptionModule [ "services" "piwik" "phpfpmProcessManagerConfig" ] [ "services" "matomo" "phpfpmProcessManagerConfig" ])(mkRemovedOptionModule [ "services" "tarsnap" "cachedir" ] "Use services.tarsnap.archives.<name>.cachedir")
+1
-1
nixos/modules/services/databases/mysql.nix
+1
-1
nixos/modules/services/databases/mysql.nix
+95
nixos/modules/services/web-apps/matomo-doc.xml
+95
nixos/modules/services/web-apps/matomo-doc.xml
···+This module configures php-fpm as backend for Matomo, optionally configuring an nginx vhost as well.+An automatic setup is not suported by Matomo, so you need to configure Matomo itself in the browser-based Matomo setup.+Then fill in <literal>matomo</literal> as database user and database name, and leave the password field blank.+This authentication works by allowing only the <literal>matomo</literal> unix user to authenticate as the+Of course, you can use password based authentication as well, e.g. when the database is not on the same host.+For more information, see <link xlink:href="https://matomo.org/faq/how-to-install/faq_138/" />.+<filename>piwik.php</filename> to the <literal>/run/phpfpm-matomo.sock</literal> fastcgi unix socket.+You can use the nginx configuration in the module code as a reference to what else should be configured.
-95
nixos/modules/services/web-apps/piwik-doc.xml
-95
nixos/modules/services/web-apps/piwik-doc.xml
···-This module configures php-fpm as backend for piwik, optionally configuring an nginx vhost as well.-An automatic setup is not suported by piwik, so you need to configure piwik itself in the browser-based piwik setup.-Then fill in <literal>piwik</literal> as database user and database name, and leave the password field blank.-This authentication works by allowing only the <literal>piwik</literal> unix user to authenticate as the-Of course, you can use password based authentication as well, e.g. when the database is not on the same host.-<filename>piwik.php</filename> to the <literal>/run/phpfpm-piwik.sock</literal> fastcgi unix socket.-You can use the nginx configuration in the module code as a reference to what else should be configured.
+36
-25
nixos/modules/services/web-apps/piwik.nix
nixos/modules/services/web-apps/matomo.nix
+36
-25
nixos/modules/services/web-apps/piwik.nix
nixos/modules/services/web-apps/matomo.nix
······-# TODO: find a nice way to do this when more NixOS MySQL and / or piwik automatic setup stuff is implemented.+# TODO: find a nice way to do this when more NixOS MySQL and / or matomo automatic setup stuff is implemented.···-Name of the web server user that forwards requests to the ${phpSocket} fastcgi socket for piwik if the nginx+Name of the web server user that forwards requests to the ${phpSocket} fastcgi socket for matomo if the nginx···-Settings for phpfpm's process manager. You might need to change this depending on the load for piwik.+Settings for phpfpm's process manager. You might need to change this depending on the load for matomo.······-With this option, you can customize an nginx virtualHost which already has sensible defaults for piwik.+With this option, you can customize an nginx virtualHost which already has sensible defaults for matomo.-If enabled, then by default, the serverName is piwik.$\{config.networking.hostName\}, SSL is active,+If enabled, then by default, the serverName is ${user}.$\{config.networking.hostName\}, SSL is active,···-"If services.piwik.nginx is set, services.piwik.nginx.webServerUser is ignored and should be removed."+"If services.matomo.nginx is set, services.matomo.nginx.webServerUser is ignored and should be removed."······-# Use User-Private Group scheme to protect piwik data, but allow administration / backup via piwik group+# Use User-Private Group scheme to protect matomo data, but allow administration / backup via matomo group-# stop phpfpm on package upgrade, do database upgrade via piwik_setup_update, and then restart+# stop phpfpm on package upgrade, do database upgrade via matomo_setup_update, and then restart············