Skip to content

Instantly share code, notes, and snippets.

@danbst
Created May 19, 2017 11:01
Show Gist options
  • Save danbst/1e6ff5bf20ac6a5745b30a9516c3c5d7 to your computer and use it in GitHub Desktop.
Save danbst/1e6ff5bf20ac6a5745b30a9516c3c5d7 to your computer and use it in GitHub Desktop.
imports = [ ../experimental/piwik-module.nix ];
nixpkgs.config.packageOverrides = super: {
piwik = super.callPackage ../experimental/piwik.nix { };
};
services.piwik.enable = true;
services.piwik.webServerUser = "nginx";
May 19 13:59:27 LX systemd[1]: Starting piwik_setup_update.service...
May 19 13:59:27 LX piwik_setup_update-start[28446]: + chmod g+s /var/lib/piwik
May 19 13:59:27 LX piwik_setup_update-start[28446]: + cp -r /nix/store/ljjxh36k8czg0qfm9hlhajiarh4n535j-piwik-3.0.3/config /var/lib/piwik/
May 19 13:59:27 LX piwik_setup_update-start[28446]: + chmod -R u+rwX,g+rwX,o-rwx /var/lib/piwik
May 19 13:59:27 LX piwik_setup_update-start[28446]: + test -f /var/lib/piwik/config/config.ini.php
May 19 13:59:27 LX systemd[1]: Started piwik_setup_update.service.
May 19 13:59:27 LX systemd[1]: Starting PHP FastCGI Process Manager service for pool piwik...
May 19 13:59:27 LX php-fpm[28464]: [ERROR] [pool piwik] cannot get uid for user 'nginx': Success (0)
May 19 13:59:27 LX php-fpm[28464]: [ERROR] [pool piwik] cannot get uid for user 'nginx': Success (0)
May 19 13:59:27 LX systemd[1]: phpfpm-piwik.service: Main process exited, code=exited, status=78/n/a
May 19 13:59:27 LX systemd[1]: Failed to start PHP FastCGI Process Manager service for pool piwik.
May 19 13:59:27 LX systemd[1]: phpfpm-piwik.service: Unit entered failed state.
May 19 13:59:27 LX systemd[1]: phpfpm-piwik.service: Failed with result 'exit-code'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment