Installation: Failed to connect error on running 'sleep 20 && curl http://localhost:4000/api/v1/instance'

@snott Installation successful! Sharing some notes (in case someone lands here) and suggestions.

After running su akkoma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/akkoma/config.exs --output-psql /tmp/setup_db.psql", I entered n for the following.

Would you like to use RUM indices? [n] n

Again, after running su akkoma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/akkoma/config.exs --output-psql /tmp/setup_db.psql"

I also got the following message in RED color. I ignored this.

!!! Config path is not declared! Please ensure it exists and that AKKOMA_CONFIG_PATH and/or PLEROMA_CONFIG_PATH is unset or points to an existing file

Suggestion: After running su akkoma -s $SHELL -lc "./bin/pleroma daemon" would be nice to have a ‘new line’ before root (for presentation) :slightly_smiling_face: Notice root@ms-in:~# in the below code.

{“approval_required”:false,“avatar_upload_limit”:2000000,“background_image”:“https://redacted.co/images/city.jpg",“background_upload_limit”:4000000,“banner_upload_limit”:4000000,“description”:"Akkoma: The cooler fediverse server",“description_limit”:5000,“email”:"info@redacted.com”,“languages”:[“en”],“max_toot_chars”:5000,“pleroma”:{“metadata”:{“account_activation_required”:false,“features”:[“pleroma_api”,“akkoma_api”,“mastodon_api”,“mastodon_api_streaming”,“polls”,“v2_suggestions”,“pleroma_explicit_addressing”,“shareable_emoji_packs”,“multifetch”,“pleroma:api/v1/notifications:include_types_filter”,“editing”,“relay”,“pleroma_emoji_reactions”,“exposable_reactions”,“profile_directory”,“custom_emoji_reactions”,“pleroma:get:main/ostatus”],“federation”:{“enabled”:true,“exclusions”:false,“mrf_hashtag”:{“federated_timeline_removal”:[],“reject”:[],“sensitive”:[“nsfw”]},“mrf_object_age”:{“actions”:[“delist”,“strip_followers”],“threshold”:604800},“mrf_policies”:[“ObjectAgePolicy”,“TagPolicy”,“HashtagPolicy”,“InlineQuotePolicy”],“quarantined_instances”:[],“quarantined_instances_info”:{“quarantined_instances”:{}}},“fields_limits”:{“max_fields”:10,“max_remote_fields”:20,“name_length”:512,“value_length”:2048},“post_formats”:[“text/plain”,“text/html”,“text/markdown”,“text/bbcode”,“text/x.misskeymarkdown”],“privileged_staff”:false},“stats”:{“mau”:0},“vapid_public_key”:“BJ_I-ZKrhy81oDvzeJGiOsjmK-3JipFpnUwipoYwK1Y5gaKhCkDNxhjDjNGDuD9uC1eFHGXYlfY8uqQKULZYsCk”},“poll_limits”:{“max_expiration”:31536000,“max_option_chars”:200,“max_options”:20,“min_expiration”:0},“registrations”:true,“stats”:{“domain_count”:0,“status_count”:0,“user_count”:0},“thumbnail”:“https://redacted.co/instance/thumbnail.jpeg",“title”:"some title”,“upload_limit”:16000000,“uri”:“https://redacted.co”,“urls”:{“streaming_api”:“wss://redacted.co”},“version”:“2.7.2 (compatible; Akkoma 3.4.0-0-gf91b89673)”}root@ms-in:~#

@FloatingGhost

  1. What’s the difference between the following? Same result, right?
    Your guide: certbot certonly --standalone --preferred-challenges http -d yourinstance.tld
    Other guides: certbot certonly --email <your@emailaddress> -d <yourdomain> --standalone

  2. In the Add email capability section of your guide, would be nice to have a sample example. Sendinblue has been the easiest to understand IMHO.

  3. If there’s a way to ‘bulk’ subscribe relays, would be great to have it in the Adding relays section.

Thank you both very much. I’m loving it here!

1 Like