Immich: Difference between revisions
Add under Troubleshooting: note that if Immich on nixos-stable is too old and causes client sync errors, set services.immich.package = pkgs.unstable.immich;. |
m Fix typo |
||
| Line 70: | Line 70: | ||
Jul 01 14:23:12 server2 immich[178592]: line: '477', | Jul 01 14:23:12 server2 immich[178592]: line: '477', | ||
Jul 01 14:23:12 server2 immich[178592]: routine: 'CheckMyDatabase' | Jul 01 14:23:12 server2 immich[178592]: routine: 'CheckMyDatabase' | ||
Jul 01 14:23:12 server2 immich[178592]: }</syntaxhighlight>To fix this, run <code>sudo -u immich psql -d immich</code> and execute these | Jul 01 14:23:12 server2 immich[178592]: }</syntaxhighlight>To fix this, run <code>sudo -u immich psql -d immich</code> and execute these two commands:<syntaxhighlight lang="sql" line="1"> | ||
ALTER DATABASE immich REFRESH COLLATION VERSION; | ALTER DATABASE immich REFRESH COLLATION VERSION; | ||
REINDEX DATABASE immich; | REINDEX DATABASE immich; | ||