diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-03-01 21:18:40 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-03-01 21:18:40 +0100 |
commit | 58951873b23624332bde25fa88099e02203277a7 (patch) | |
tree | 841c7398ae47f8f781992d0ec970494e078e82c2 /content/operations/debogage/plume.md | |
parent | f3b7e90693bf2b51a53a23d98a60bbf04065103a (diff) | |
download | guide.deuxfleurs.fr-58951873b23624332bde25fa88099e02203277a7.tar.gz guide.deuxfleurs.fr-58951873b23624332bde25fa88099e02203277a7.zip |
reorg operations
Diffstat (limited to 'content/operations/debogage/plume.md')
-rw-r--r-- | content/operations/debogage/plume.md | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/content/operations/debogage/plume.md b/content/operations/debogage/plume.md deleted file mode 100644 index c256a45..0000000 --- a/content/operations/debogage/plume.md +++ /dev/null @@ -1,32 +0,0 @@ -+++ -title = "Plume" -description = "Plume" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 11 -+++ - -## Bug and debug - -If you can't follow a new user and have this error: - -``` -2022-04-23T19:26:12.639285Z WARN plume::routes::errors: Db(DatabaseError(UniqueViolation, "duplicate key value violates unique constraint \"follows_unique_ap_url\"")) -``` - -You might have an empty field in your database: - -``` -plume=> select * from follows where ap_url=''; - id | follower_id | following_id | ap_url -------+-------------+--------------+-------- - 2118 | 20 | 238 | -(1 row) -``` - -Simply set the `ap_url` as follows: - -``` -plume=> update follows set ap_url='https://plume.deuxfleurs.fr/follows/2118' where id=2118; -UPDATE 1 -``` |