Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual, 20.1. Synapse Homeserver: example is wrong #85327

Closed
loewenheim opened this issue Apr 15, 2020 · 2 comments
Closed

Manual, 20.1. Synapse Homeserver: example is wrong #85327

loewenheim opened this issue Apr 15, 2020 · 2 comments
Labels
0.kind: bug Something is broken 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 9.needs: documentation

Comments

@loewenheim
Copy link
Contributor

The example configuration suggests the setting

 services.postgresql.initialScript = ''
    CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
    CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
      TEMPLATE template0
      LC_COLLATE = "C"
      LC_CTYPE = "C";
  '';

This fails because services.postgresql.initialScript has to be of type null or path.

@loewenheim loewenheim added the 0.kind: bug Something is broken label Apr 15, 2020
@veprbl veprbl added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 9.needs: documentation labels Apr 15, 2020
@worldofpeace
Copy link
Contributor

@Ma27 (I think)

@Ma27 Ma27 closed this as completed in 74d6e86 Apr 16, 2020
Ma27 added a commit that referenced this issue Apr 16, 2020
@Ma27
Copy link
Member

Ma27 commented Apr 16, 2020

Thanks for pointing this out! Fixed on master and release-20.03 :)

jappeace pushed a commit to jappeace/nixpkgs that referenced this issue Apr 17, 2020
stigok pushed a commit to stigok/nixpkgs that referenced this issue Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 9.needs: documentation
Projects
None yet
Development

No branches or pull requests

4 participants