Loading
nixos/matomo: better check for database being set up
Since matomo-5.2.0, the config.php.ini is already created when first accessing the installer page without completing it. This breaks our discovery of whether to run database migrations. Attempting to run DB migrations without provided database credentials causes a crash -> causing matomo-setup-update.service to fail -> causing phpfpm-matomo.service to fail.