I’ve been crawling through the web and I can’t seem to find any guides on migrating a Mastodon instance into Cloudron. Is it possible?
While we are at it, is it also possible to migrate the instance out of Cloudron?
I’ve been crawling through the web and I can’t seem to find any guides on migrating a Mastodon instance into Cloudron. Is it possible?
While we are at it, is it also possible to migrate the instance out of Cloudron?
I also recommend that the cleanup.sh to add the tootctl media remove --prune-profiles
@gh0stface so this is what I've setup;
## S3 Storage
PF_ENABLE_CLOUD=true
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3
PF_LOCAL_AVATAR_TO_CLOUD=true
MEDIA_DELETE_LOCAL_AFTER_CLOUD=true
AWS_ACCESS_KEY_ID=xxx
AWS_SECRET_ACCESS_KEY=xxx
AWS_DEFAULT_REGION=xxx
AWS_BUCKET=mediapixelfedsg
AWS_URL=https://media.pixelfed.sg
AWS_ENDPOINT=https://xxx.backblazeb2.com
#AWS_USE_PATH_STYLE_ENDPOINT=false
and it works.
Mastodon has released 4.1.0 and it has a whole slew of fixes and features!
https://github.com/mastodon/mastodon/releases/tag/v4.1.0
Not rushing anyone but…
@nebulon i've identified the issue and it was my S3 configuration.
The endpoint and hostname should never have the bucket name.
S3_ENDPOINT=https://s3.us-west-001.example.com
S3_HOSTNAME=s3.us-west-001.example.com
@shanelord01 I've got mine working. It's only advisable to have it running from with in the same server otherwise you'll have to expose it to the internet.
I'm hosting my ES in docker but its similar.
Here's what I've done:
ES_ENABLED=true
ES_HOST=[ES IP Address]
ES_PORT=9920
@girish is there a documentation where I can package my own apps?
@BrutalBirdie actually I didn’t get emails on backup failure, app update or reboot required. How do I enable those?
@girish found the culprit, NPM was not forwarding the web socket properly. Fixed that and the terminal works now.
@doodlemania2 what’s your setup now?
here's mine:
#!/bin/bash
# Setup scaling related environment variables here - https://docs.joinmastodon.org/admin/scaling/
# Puma
export WEB_CONCURRENCY=3 # number of worker processes
export MAX_THREADS=10 # the number of threads per process
# Streaming API
export STREAMING_CLUSTER_NUM=3 # number of worker processes
export DB_POOL=15
# Sidekiq
export SIDEKIQ_THREADS=75
export DB_POOL=75 # must be at least the same as the number of threads
export MALLOC_ARENA_MAX=2
@doodlemania2 what’s your current setup? If you don’t mind providing.
So I've accidentally setup Mastodon with Cloudron LDAP enabled. How do I turn it off so that I will not encounter issues with Users signing up directly to Mastodon?
Can I simply remove the LDAP config in the env.production file?
@girish great that works! remember to rebuild the feeds and redeploy elasticsearch if that's in use.