lemmy: remove the log-startup patch

it was only needed for debugging; now i can stay closer to mainline
This commit is contained in:
2023-05-12 05:55:28 +00:00
parent d7bed3bec2
commit 265642c8da
2 changed files with 8 additions and 1 deletions

View File

@@ -53,6 +53,12 @@ in [
hash = "sha256-RbQzAtFTr7Nrk2YBcHpKQMYoPlFMVSXNl96B/lkKluQ="; hash = "sha256-RbQzAtFTr7Nrk2YBcHpKQMYoPlFMVSXNl96B/lkKluQ=";
}) })
# update to newer lemmy-server.
# should be removable when > 0.17.2 releases?
# removing this now causes:
# INFO lemmy_server::code_migrations: No Local Site found, creating it.
# Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "local_site_site_id_key", context: "SpanTrace" }
# though perhaps this error doesn't occur on fresh databases (idk).
./2023-04-29-lemmy.patch ./2023-04-29-lemmy.patch
(fetchpatch' { (fetchpatch' {

View File

@@ -4,6 +4,7 @@ lemmy-server.overrideAttrs (upstream: {
patches = upstream.patches or [] ++ [ patches = upstream.patches or [] ++ [
# "thread 'main' panicked at 'Couldn't run DB Migrations: Failed to run 2022-07-07-182650_comment_ltrees with: permission denied: "RI_ConstraintTrigger_a_647340" is a system trigger', crates/db_schema/src/utils.rs:165:25" # "thread 'main' panicked at 'Couldn't run DB Migrations: Failed to run 2022-07-07-182650_comment_ltrees with: permission denied: "RI_ConstraintTrigger_a_647340" is a system trigger', crates/db_schema/src/utils.rs:165:25"
./fix-db-migrations.patch ./fix-db-migrations.patch
./log-startup.patch # log the database connection events, for debugging
# ./log-startup.patch
]; ];
}) })