Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

Mastodon

122 Topics 965 Posts
  • deleting old crap

    6
    0 Votes
    6 Posts
    277 Views
    nichu42N

    @RazielKanos said in deleting old crap:

    Heyas, I just ran a cleanup and was amazed that of my nearly 10GB it just deleted 60 MB(!) of cached files and 800 KB of preview cards. How can I get rid of all the crap lets say... order than 2 months? can't be all 5GB in the database, right?

    tootctl media remove and tootctl statuses remove are run in the background with Mastodon v4 (settings can be found on the administration page).

    What I am running every night (via cron job) is:
    /app/code/bin/tootctl media remove-orphans
    /app/code/bin/tootctl preview-cards remove --days=7
    /app/code/bin/tootctl cache clear
    /app/code/bin/tootctl accounts prune
    and now with v4.1:
    /app/code/bin/tootctl media remove --prune-profiles --days 7

    My instance has around 40-50 users and is connected to 8 public relays.
    It is about 50 GB in size now (it was 80-90 GB with v4.0).
    Hope that helps.

  • LibreTranslate Option?

    3
    1 Votes
    3 Posts
    151 Views
    shanelord01S

    I have it up and working with the new Cloudron LibreTranslate app. Running on the same Linode as my Mastodon.

    https://forum.cloudron.io/topic/8527/libretranslate-with-cloudron-mastodon-server/1

  • Mastodon update failed

    5
    0 Votes
    5 Posts
    180 Views
    shanelord01S

    @girish I've disabled backups for now as I try and work out why there is an issue with it. My Linode backs up daily at the moment so worst case I recover the whole system.

  • 0 Votes
    11 Posts
    293 Views
    jdaviescoatesJ

    @dxciBel said in New external users sometimes don't receive confirmation mails:

    Not that I know of. User management was left to the app during install.

    Phew. I think you should be OK then! Ignore me.

  • Server requirements experience for a small group

    14
    0 Votes
    14 Posts
    768 Views
    robiR

    https://www.reddit.com/r/Mastodon/comments/yzp1qz/mastodon_server_hardware_requirements/

    This is a discussion on Reddit about what it takes to host a Mastodon instance (Mastodon uses the ActivityPub protocol). The requirements are quite high. One large instance with 29,000 users is hosted on this hardware:

    2 AMD 5950 16c/32thread 128GB ram with nvme ssds running sidekiq jobs
    1 AMD 5950 16c/32thread 128GB ram with nvme ssds running elasticsearch and redis
    1 AMD 5950 16c/32thread 128GB ram with nvme ssds running Postgres DB
    2 AMD 5950 16c/32thread 128GB ram with nvme ssds running PUMA (mastodon web app) and nginx (only one is currently powered on - other is being reworked
    1 AMD Epyc 32c/64th 400GB ram with 10TB of nvme ssd acting as a s3 storage provider and another nginx/PUMA web front end

    This is a total of 96 CPU cores! Another person with 500 users says,

    "For those interested in a data point, I am running an instance with nearly 500 users. Currently running on an AWS Lightsail instance with 4GB Ram, 2 vCPU, for $20/month, and an S3 instance for media storage (1TB - nearly full) for $3/month. I am constantly monitoring resources - as the system is running well but nearly topped out.

    I will likely be moving to 8GB RAM, 4 vCPU instance, and 2TB S3 in the coming weeks."

    These requirements are quite high. I also recently learned that bandwidth is a continuous 1-2 Gbits/s. No wonder Mastodon is having trouble keeping up with the influx of Twitter users!

  • Run Additional Sidekiqs

    Solved
    6
    2 Votes
    6 Posts
    262 Views
    doodlemania2D

    @alwynispat you've got DB_POOL specified twice 🙂
    I'm doing:
    be945764-0726-41d0-8886-d387d17c123a-image.png

  • Error on image uploads

    Solved
    6
    0 Votes
    6 Posts
    149 Views
    B

    @b2breporter Oh - not totally sure, but I think we figured it out. We were originally trying to post images that were much larger in file size.

  • Mastodon Terminal not starting

    Moved Solved
    16
    0 Votes
    16 Posts
    674 Views
    girishG

    @alwynispat do you mean nginx? How is NPM involved here?

    edit: oh, maybe you mean your nginx proxy manager?

  • Changed to Bare Domain

    2
    0 Votes
    2 Posts
    81 Views
    nebulonN

    Unfortunately mastodon is not really designed much to change the domain and the user handles there. Some info on that is at https://docs.cloudron.io/apps/mastodon/#federation

  • adding S3 bucket

    4
    1 Votes
    4 Posts
    172 Views
    R

    okay, update looks easy. But reading this now
    https://github.com/cybrespace/cybrespace-meta/blob/master/s3.md

  • In App User Management First Login

    3
    0 Votes
    3 Posts
    146 Views
    nebulonN

    Thanks for the hint, I have update the docs to indicate that registration is only disabled by default when Cloudron authentication is used.

  • 1 Votes
    27 Posts
    3k Views
    jdaviescoatesJ

    @marcusquinn said in "Searching toots by their content is not enabled on this Mastodon server.":

    Wordpress search using the ElasticPress plugin.

    I guess to make searching on the woocommerce supplements shops you run work well/ fast?

  • http 500 at picture upload (after adding Volume)

    11
    0 Votes
    11 Posts
    269 Views
    nebulonN

    @johannesjom generally the permissions are basically everyone can do everything on hetzner cifs storage, in this particular case the changing of permissions from the app startup script fails. So apps which do not require this, will likely work just fine.

  • Slow Startup due to chown'ing all data

    Solved
    7
    1 Votes
    7 Posts
    241 Views
    N

    @nebulon It was still a problem until the most recent update. Server reboot was super quick! Thanks!

  • 2 MB File Size Upload Limit Issue

    3
    0 Votes
    3 Posts
    136 Views
    girishG

    https://github.com/mastodon/mastodon/discussions/21916 is the upstream discussion for future reference.

  • 0 Votes
    9 Posts
    320 Views
    robiR

    @ScottyMojo right, if you read the linked docs it says you need to start the app manually keeping recovery mode.

  • 4 Votes
    34 Posts
    3k Views
    robiR

    @doodlemania2 Seaweed FS may be what you're looking for to cache/gateway object storage.

    https://forum.cloudron.io/post/56024

  • 0 Votes
    2 Posts
    73 Views
    girishG

    @shanelord01 you can ignore them. It's just logs from the box code trying to handle well known first before it hits mastodon.

  • Mastodon App Timezone

    18
    0 Votes
    18 Posts
    466 Views
    shanelord01S

    @nebulon Yep - seems to be due to insufficient processes and threads in config.sh

    I'm playing with:

    #!/bin/bash # Setup scaling related environment variables here - https://docs.joinmastodon.org/admin/scaling/ # Puma export WEB_CONCURRENCY=10 # number of worker processes export MAX_THREADS=20 # the number of threads per process # Streaming API export STREAMING_CLUSTER_NUM=2 # number of worker processes # Sidekiq export SIDEKIQ_THREADS=80 export DB_POOL=100 # must be at least the same as the number of threads

    at the moment and it seems to be catching up. 🤞

  • 0 Votes
    4 Posts
    298 Views
    girishG

    @pauljacobson ah yes, the fix for haraka is coming. I recently submitted a patch upstream for this which has now been merged - https://github.com/haraka/Haraka/pull/3104 .