ubergeek77 / Lemmy-Easy-Deploy

Deploy Lemmy the easy way!
MIT License
133 stars 14 forks source link

lemmy refuses to start #69

Closed marrenia closed 1 year ago

marrenia commented 1 year ago

Did you check the FAQ & Troubleshooting section for answers to common questions and issues?

Yes/No YES Describe the issue What happened? Post any relevant log snippets. After deployment it said it successfully deployed, but the lemmy docker app keeps spitting out this error and never starting:

2023-08-25T11:53:23.514434Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:23.535050Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:23.549687Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:23.570772Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:23.571166Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:23.578790Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:23.579049Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:23.586141Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:23.586427Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:23.598331Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:23.598572Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:23.601870Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:23.602093Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:23.603920Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:23.604146Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:23.605391Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:23.619623Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:23.620743Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:23.621415Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:24.274390Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:24.278662Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:24.286262Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:24.291746Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:24.292063Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:24.295625Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:24.295848Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:24.298156Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:24.298430Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:24.304066Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:24.304314Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:24.305613Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:24.305816Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:24.306740Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:24.306997Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:24.308082Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:24.318543Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:24.319644Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:24.320452Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:24.865334Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:24.869070Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:24.876275Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:24.880644Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:24.881024Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:24.883812Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:24.884019Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:24.886136Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:24.886335Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:24.892071Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:24.892236Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:24.893483Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:24.893623Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:24.894480Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:24.894649Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:24.895747Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:24.906366Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:24.907782Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:24.908596Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:25.661850Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:25.666233Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:25.673510Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:25.678109Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:25.678470Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:25.681302Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:25.681488Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:25.683681Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:25.683848Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:25.689228Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:25.689387Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:25.690616Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:25.690765Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:25.691620Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:25.691814Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:25.692728Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:25.701950Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:25.703059Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:25.703566Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:26.909283Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:26.913195Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:26.920851Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:26.925239Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:26.925559Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:26.928319Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:26.928487Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:26.930674Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:26.930828Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:26.936102Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:26.936248Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:26.937385Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:26.937551Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:26.938431Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:26.938611Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:26.939554Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:26.949210Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:26.950354Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:26.950967Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:28.959727Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:28.964526Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:28.972543Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:28.977805Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:28.978209Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:28.981686Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:28.981904Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:28.984776Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:28.984969Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:28.991577Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:28.991796Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:28.993298Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:28.993462Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:28.994573Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:28.994810Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:28.995980Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:29.007342Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:29.008745Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:29.009440Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:32.588131Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:32.592031Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:32.599080Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:32.603331Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:32.603710Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:32.606522Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:32.606691Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:32.608879Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:32.609039Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:32.614678Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:32.614875Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:32.616081Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:32.616257Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:32.617114Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:32.617358Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:32.618345Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:32.627807Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:32.628918Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:32.629492Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:39.393922Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:39.398016Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:39.406399Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:39.411113Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:39.411518Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:39.415582Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:39.415764Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:39.418779Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:39.418974Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:39.425003Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:39.425213Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:39.426456Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:39.426652Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:39.427876Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:39.428108Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:39.429272Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:39.439166Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:39.440426Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:39.441063Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:52.604800Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:52.608884Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:52.615599Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:52.620056Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:52.620336Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:52.623183Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:52.623349Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:52.625526Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:52.625665Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:52.631386Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:52.631625Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:52.632828Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:52.633007Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:52.633926Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:52.634132Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:52.635176Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:52.644731Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:52.645938Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:52.646516Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:54:18.560068Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:54:18.563813Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:54:18.571236Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:54:18.576566Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:54:18.576949Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:54:18.580625Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:54:18.580817Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:54:18.583481Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:54:18.583683Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:54:18.590056Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:54:18.590358Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:54:18.591774Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:54:18.591961Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:54:18.593130Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:54:18.593387Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:54:18.594665Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:54:18.606112Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:54:18.607459Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:54:18.608173Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:55:10.128198Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:55:10.131906Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:55:10.138612Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:55:10.142948Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:55:10.143254Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:55:10.146134Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:55:10.146323Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:55:10.148514Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:55:10.148678Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:55:10.155527Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:55:10.155723Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:55:10.157083Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:55:10.157250Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:55:10.158202Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:55:10.158461Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:55:10.159488Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:55:10.168877Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:55:10.169970Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:55:10.170546Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:56:10.499566Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:56:10.504209Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:56:10.511947Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:56:10.517374Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:56:10.517721Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:56:10.520532Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:56:10.520689Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:56:10.522850Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:56:10.523000Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:56:10.528300Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:56:10.528498Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:56:10.529850Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:56:10.530026Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:56:10.530953Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:56:10.531184Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:56:10.532156Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:56:10.542073Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:56:10.543225Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:56:10.543766Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:57:11.025484Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:57:11.030094Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:57:11.037550Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:57:11.042894Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:57:11.043239Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:57:11.046786Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:57:11.046971Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:57:11.049518Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:57:11.049701Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:57:11.055040Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:57:11.055238Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:57:11.056531Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:57:11.056720Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:57:11.057580Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:57:11.057744Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:57:11.058698Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:57:11.069430Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:57:11.070542Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:57:11.071088Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
lemmy-easy-deploy-postgres-1  | 2023-08-25 12:57:56.887 UTC [64] ERROR:  duplicate key value violates unique constraint "idx_person_lower_actor_id"
lemmy-easy-deploy-postgres-1  | 2023-08-25 12:57:56.887 UTC [64] DETAIL:  Key (lower(actor_id::text))=(https://astraea.pink/u/marrenia) already exists.
lemmy-easy-deploy-postgres-1  | 2023-08-25 12:57:56.887 UTC [64] STATEMENT:  INSERT INTO "person" ("name", "public_key", "instance_id", "display_name", "avatar", "banned", "published", "updated", "actor_id", "bio", "local", "private_key", "last_refreshed_at", "banner", "deleted", "inbox_url", "shared_inbox_url", "matrix_user_id", "admin", "bot_account", "ban_expires") VALUES ($1, $2, $3, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, $4, DEFAULT, DEFAULT, $5, DEFAULT, DEFAULT, DEFAULT, $6, $7, DEFAULT, $8, DEFAULT, DEFAULT) RETURNING "person"."id", "person"."name", "person"."display_name", "person"."avatar", "person"."banned", "person"."published", "person"."updated", "person"."actor_id", "person"."bio", "person"."local", "person"."private_key", "person"."public_key", "person"."last_refreshed_at", "person"."banner", "person"."deleted", "person"."inbox_url", "person"."shared_inbox_url", "person"."matrix_user_id", "person"."admin", "person"."bot_account", "person"."ban_expires", "person"."instance_id"
lemmy-easy-deploy-lemmy-1     | Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
lemmy-easy-deploy-lemmy-1 exited with code 1

lemmy-easy-deploy-postgres-1 | 2023-08-25 13:46:33.816 UTC [69] LOG: could not receive data from client: Connection reset by peer

Diagnostic Information

Run ./deploy.sh -d and paste the output below:

==== Docker Information ==== Detected runtime: docker (Docker version 24.0.5, build ced0996) Detected compose: docker compose (Docker Compose version v2.20.2) Runtime state: OK

==== System Information ==== OS: Linux KERNEL: 6.1.0-11-amd64 (x86_64) HOSTNAME: OK SHELL: bash MEMORY: total used free shared buff/cache available Mem: 7.6Gi 760Mi 2.2Gi 19Mi 4.9Gi 6.8Gi Swap: 0B 0B 0B

DISTRO:

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_CODENAME=bookworm

==== Lemmy-Easy-Deploy Information ==== Version: 1.3.1

IMAGE CREATED STATUS lemmy-easy-deploy-proxy 2 minutes ago Up 2 minutes ghcr.io/ubergeek77/lemmy-ui:0.18.4 2 minutes ago Up 2 minutes ghcr.io/ubergeek77/lemmy:0.18.4 2 minutes ago Restarting (1) 20 seconds ago asonix/pictrs:0.4.0 2 minutes ago Up 2 minutes postgres:15-alpine 2 minutes ago Up 2 minutes mwader/postfix-relay 2 minutes ago Up 2 minutes

Integrity: ba5b1cf116361b3fcdddb81bc05cad2757ef61d07b93829d72f8e4a39108440e ./deploy.sh 92c95dfc886792b8df2e9fffb540fc71a35c3bc6fd6c7662134da1545a79457a ./templates/Caddy-Dockerfile.template c1202e70662dd2228da36a35a0f38ec8fc81bec8964d7315d02e8671a58dd7d7 ./templates/Caddyfile.template 2537678c7971df36c1ed95f4228d3cfcb15bb4a28a60d939eaf8dd75b5d64a36 ./templates/cloudflare.snip c9cb4c5fee12930e17798a02ae1bd12e2dc69e149a394c24511bc9d4e6b776d4 ./templates/compose-email.snip c494a610bcb4cd1cfc0a4fe4fb0f6d437b2a84a0ad1625daee240e6dd6f1c910 ./templates/compose-email-volumes.snip f5325a9e26b29da51c6d3295aa278ff08ce71ffd2cd63dc4bebf00e54c468899 ./templates/docker-compose.yml.template 1c202b1b6e87c65b2fcda6035c9fe3f8631d76662907ffd38f24b14686e30647 ./templates/lemmy-email.snip c834cdce9eaf77f38155b404724fdfe66845575386ee516987452aa715642a6f ./templates/lemmy.hjson.template

Custom Files: No custom files

==== Settings ==== CLOUDFLARE: Yes CADDY_DISABLE_TLS: false CADDY_HTTP_PORT: 80 CADDY_HTTPS_PORT: 443 LEMMY_TLS_ENABLED: true ENABLE_EMAIL: true SMTP_PORT: 25 ENABLE_POSTFIX: true POSTGRES_POOL_SIZE: 5

==== Generated Files ==== Deploy Version: 0.18.4;0.18.4

total 36K drwxr-xr-x 2 0 0 4.0K Aug 25 12:47 caddy -rw-r--r-- 1 0 0 82 Aug 25 12:53 caddy.env -rw-r--r-- 1 0 0 2.0K Aug 25 12:53 docker-compose.yml -rw-r--r-- 1 0 0 50 Aug 25 12:47 lemmy.env -rw-r--r-- 1 0 0 698 Aug 25 12:53 lemmy.hjson -rw-r--r-- 1 0 0 49 Aug 25 12:47 pictrs.env -rw-r--r-- 1 0 0 32 Aug 25 12:53 postfix.env -rw-r--r-- 1 0 0 51 Aug 25 12:47 postgres.env -rw-r--r-- 1 0 0 14 Aug 25 12:54 version

marrenia commented 1 year ago

Did you check the FAQ & Troubleshooting section for answers to common questions and issues?

Yes/No YES Describe the issue What happened? Post any relevant log snippets. After deployment it said it successfully deployed, but the lemmy docker app keeps spitting out this error and never starting:

2023-08-25T11:53:23.514434Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:23.535050Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:23.549687Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:23.570772Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:23.571166Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:23.578790Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:23.579049Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:23.586141Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:23.586427Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:23.598331Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:23.598572Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:23.601870Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:23.602093Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:23.603920Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:23.604146Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:23.605391Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:23.619623Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:23.620743Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:23.621415Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:24.274390Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:24.278662Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:24.286262Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:24.291746Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:24.292063Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:24.295625Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:24.295848Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:24.298156Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:24.298430Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:24.304066Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:24.304314Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:24.305613Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:24.305816Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:24.306740Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:24.306997Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:24.308082Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:24.318543Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:24.319644Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:24.320452Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:24.865334Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:24.869070Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:24.876275Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:24.880644Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:24.881024Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:24.883812Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:24.884019Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:24.886136Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:24.886335Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:24.892071Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:24.892236Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:24.893483Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:24.893623Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:24.894480Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:24.894649Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:24.895747Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:24.906366Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:24.907782Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:24.908596Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:25.661850Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:25.666233Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:25.673510Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:25.678109Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:25.678470Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:25.681302Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:25.681488Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:25.683681Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:25.683848Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:25.689228Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:25.689387Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:25.690616Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:25.690765Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:25.691620Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:25.691814Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:25.692728Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:25.701950Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:25.703059Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:25.703566Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:26.909283Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:26.913195Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:26.920851Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:26.925239Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:26.925559Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:26.928319Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:26.928487Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:26.930674Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:26.930828Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:26.936102Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:26.936248Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:26.937385Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:26.937551Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:26.938431Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:26.938611Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:26.939554Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:26.949210Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:26.950354Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:26.950967Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:28.959727Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:28.964526Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:28.972543Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:28.977805Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:28.978209Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:28.981686Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:28.981904Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:28.984776Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:28.984969Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:28.991577Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:28.991796Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:28.993298Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:28.993462Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:28.994573Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:28.994810Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:28.995980Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:29.007342Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:29.008745Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:29.009440Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:32.588131Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:32.592031Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:32.599080Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:32.603331Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:32.603710Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:32.606522Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:32.606691Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:32.608879Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:32.609039Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:32.614678Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:32.614875Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:32.616081Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:32.616257Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:32.617114Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:32.617358Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:32.618345Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:32.627807Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:32.628918Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:32.629492Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:39.393922Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:39.398016Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:39.406399Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:39.411113Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:39.411518Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:39.415582Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:39.415764Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:39.418779Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:39.418974Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:39.425003Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:39.425213Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:39.426456Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:39.426652Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:39.427876Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:39.428108Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:39.429272Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:39.439166Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:39.440426Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:39.441063Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:53:52.604800Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:53:52.608884Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:53:52.615599Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:53:52.620056Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:53:52.620336Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:53:52.623183Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:53:52.623349Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:53:52.625526Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:53:52.625665Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:53:52.631386Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:53:52.631625Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:53:52.632828Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:53:52.633007Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:53:52.633926Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:53:52.634132Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:53:52.635176Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:53:52.644731Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:53:52.645938Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:53:52.646516Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:54:18.560068Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:54:18.563813Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:54:18.571236Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:54:18.576566Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:54:18.576949Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:54:18.580625Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:54:18.580817Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:54:18.583481Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:54:18.583683Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:54:18.590056Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:54:18.590358Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:54:18.591774Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:54:18.591961Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:54:18.593130Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:54:18.593387Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:54:18.594665Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:54:18.606112Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:54:18.607459Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:54:18.608173Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:55:10.128198Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:55:10.131906Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:55:10.138612Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:55:10.142948Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:55:10.143254Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:55:10.146134Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:55:10.146323Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:55:10.148514Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:55:10.148678Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:55:10.155527Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:55:10.155723Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:55:10.157083Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:55:10.157250Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:55:10.158202Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:55:10.158461Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:55:10.159488Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:55:10.168877Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:55:10.169970Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:55:10.170546Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:56:10.499566Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:56:10.504209Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:56:10.511947Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:56:10.517374Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:56:10.517721Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:56:10.520532Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:56:10.520689Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:56:10.522850Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:56:10.523000Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:56:10.528300Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:56:10.528498Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:56:10.529850Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:56:10.530026Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:56:10.530953Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:56:10.531184Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:56:10.532156Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:56:10.542073Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:56:10.543225Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:56:10.543766Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
2023-08-25T11:57:11.025484Z  INFO lemmy_db_schema::utils: Running Database migrations (This may take a long time)...
2023-08-25T11:57:11.030094Z  INFO lemmy_db_schema::utils: Database migrations complete.
2023-08-25T11:57:11.037550Z  INFO lemmy_server::code_migrations: Running user_updates_2020_04_02
2023-08-25T11:57:11.042894Z  INFO lemmy_server::code_migrations: 0 person rows updated.
2023-08-25T11:57:11.043239Z  INFO lemmy_server::code_migrations: Running community_updates_2020_04_02
2023-08-25T11:57:11.046786Z  INFO lemmy_server::code_migrations: 0 community rows updated.
2023-08-25T11:57:11.046971Z  INFO lemmy_server::code_migrations: Running post_updates_2020_04_03
2023-08-25T11:57:11.049518Z  INFO lemmy_server::code_migrations: 0 post rows updated.
2023-08-25T11:57:11.049701Z  INFO lemmy_server::code_migrations: Running comment_updates_2020_04_03
2023-08-25T11:57:11.055040Z  INFO lemmy_server::code_migrations: 0 comment rows updated.
2023-08-25T11:57:11.055238Z  INFO lemmy_server::code_migrations: Running private_message_updates_2020_05_05
2023-08-25T11:57:11.056531Z  INFO lemmy_server::code_migrations: 0 private message rows updated.
2023-08-25T11:57:11.056720Z  INFO lemmy_server::code_migrations: Running post_thumbnail_url_updates_2020_07_27
2023-08-25T11:57:11.057580Z  INFO lemmy_server::code_migrations: 0 Post thumbnail_url rows updated.
2023-08-25T11:57:11.057744Z  INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
2023-08-25T11:57:11.058698Z  INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
2023-08-25T11:57:11.069430Z  INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
2023-08-25T11:57:11.070542Z  INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
2023-08-25T11:57:11.071088Z  INFO lemmy_server::code_migrations: No Local Site found, creating it.
Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
lemmy-easy-deploy-postgres-1  | 2023-08-25 12:57:56.887 UTC [64] ERROR:  duplicate key value violates unique constraint "idx_person_lower_actor_id"
lemmy-easy-deploy-postgres-1  | 2023-08-25 12:57:56.887 UTC [64] DETAIL:  Key (lower(actor_id::text))=(https://astraea.pink/u/marrenia) already exists.
lemmy-easy-deploy-postgres-1  | 2023-08-25 12:57:56.887 UTC [64] STATEMENT:  INSERT INTO "person" ("name", "public_key", "instance_id", "display_name", "avatar", "banned", "published", "updated", "actor_id", "bio", "local", "private_key", "last_refreshed_at", "banner", "deleted", "inbox_url", "shared_inbox_url", "matrix_user_id", "admin", "bot_account", "ban_expires") VALUES ($1, $2, $3, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, $4, DEFAULT, DEFAULT, $5, DEFAULT, DEFAULT, DEFAULT, $6, $7, DEFAULT, $8, DEFAULT, DEFAULT) RETURNING "person"."id", "person"."name", "person"."display_name", "person"."avatar", "person"."banned", "person"."published", "person"."updated", "person"."actor_id", "person"."bio", "person"."local", "person"."private_key", "person"."public_key", "person"."last_refreshed_at", "person"."banner", "person"."deleted", "person"."inbox_url", "person"."shared_inbox_url", "person"."matrix_user_id", "person"."admin", "person"."bot_account", "person"."ban_expires", "person"."instance_id"
lemmy-easy-deploy-lemmy-1     | Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "idx_person_lower_actor_id", context: SpanTrace [] }
lemmy-easy-deploy-lemmy-1 exited with code 1

lemmy-easy-deploy-postgres-1 | 2023-08-25 13:46:33.816 UTC [69] LOG: could not receive data from client: Connection reset by peer

Diagnostic Information

Run ./deploy.sh -d and paste the output below:


==== Docker Information ====
Detected runtime: docker (Docker version 24.0.5, build ced0996)
Detected compose: docker compose (Docker Compose version v2.20.2)
   Runtime state: OK

==== System Information ====
      OS: Linux
  KERNEL: 6.1.0-11-amd64 (x86_64)
HOSTNAME: OK
   SHELL: bash
  MEMORY:
               total        used        free      shared  buff/cache   available
Mem:           7.6Gi       760Mi       2.2Gi        19Mi       4.9Gi       6.8Gi
Swap:             0B          0B          0B

DISTRO:
----------------------------
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_CODENAME=bookworm
----------------------------

==== Lemmy-Easy-Deploy Information ====
Version: 1.3.1

IMAGE                                CREATED         STATUS
lemmy-easy-deploy-proxy              2 minutes ago   Up 2 minutes
ghcr.io/ubergeek77/lemmy-ui:0.18.4   2 minutes ago   Up 2 minutes
ghcr.io/ubergeek77/lemmy:0.18.4      2 minutes ago   Restarting (1) 20 seconds ago
asonix/pictrs:0.4.0                  2 minutes ago   Up 2 minutes
postgres:15-alpine                   2 minutes ago   Up 2 minutes
mwader/postfix-relay                 2 minutes ago   Up 2 minutes

Integrity:
    ba5b1cf116361b3fcdddb81bc05cad2757ef61d07b93829d72f8e4a39108440e  ./deploy.sh
    92c95dfc886792b8df2e9fffb540fc71a35c3bc6fd6c7662134da1545a79457a  ./templates/Caddy-Dockerfile.template
    c1202e70662dd2228da36a35a0f38ec8fc81bec8964d7315d02e8671a58dd7d7  ./templates/Caddyfile.template
    2537678c7971df36c1ed95f4228d3cfcb15bb4a28a60d939eaf8dd75b5d64a36  ./templates/cloudflare.snip
    c9cb4c5fee12930e17798a02ae1bd12e2dc69e149a394c24511bc9d4e6b776d4  ./templates/compose-email.snip
    c494a610bcb4cd1cfc0a4fe4fb0f6d437b2a84a0ad1625daee240e6dd6f1c910  ./templates/compose-email-volumes.snip
    f5325a9e26b29da51c6d3295aa278ff08ce71ffd2cd63dc4bebf00e54c468899  ./templates/docker-compose.yml.template
    1c202b1b6e87c65b2fcda6035c9fe3f8631d76662907ffd38f24b14686e30647  ./templates/lemmy-email.snip
    c834cdce9eaf77f38155b404724fdfe66845575386ee516987452aa715642a6f  ./templates/lemmy.hjson.template

Custom Files:
*** No custom files ***

==== Settings ====
        CLOUDFLARE: Yes
 CADDY_DISABLE_TLS: false
   CADDY_HTTP_PORT: 80
  CADDY_HTTPS_PORT: 443
 LEMMY_TLS_ENABLED: true
      ENABLE_EMAIL: true
         SMTP_PORT: 25
    ENABLE_POSTFIX: true
POSTGRES_POOL_SIZE: 5

==== Generated Files ====
Deploy Version: 0.18.4;0.18.4

total 36K
drwxr-xr-x 2 0 0 4.0K Aug 25 12:47 caddy
-rw-r--r-- 1 0 0   82 Aug 25 12:53 caddy.env
-rw-r--r-- 1 0 0 2.0K Aug 25 12:53 docker-compose.yml
-rw-r--r-- 1 0 0   50 Aug 25 12:47 lemmy.env
-rw-r--r-- 1 0 0  698 Aug 25 12:53 lemmy.hjson
-rw-r--r-- 1 0 0   49 Aug 25 12:47 pictrs.env
-rw-r--r-- 1 0 0   32 Aug 25 12:53 postfix.env
-rw-r--r-- 1 0 0   51 Aug 25 12:47 postgres.env
-rw-r--r-- 1 0 0   14 Aug 25 12:54 version

I got it - there seems to be a character limit for the site title - if you exceed that you get this error - this bears some investigating as to that limit and for your script to check to make sure you don't exceed that to make this as idiot proof as possible :)