Is Single-User Mastodon Instance possible?
-
wrote 15 days ago last edited by
The one-click Mastodon app doesn't seem to provide the complex administration setup to turn the app into a single-user Mastodon instance. Is it possible to setup one up?
-
The one-click Mastodon app doesn't seem to provide the complex administration setup to turn the app into a single-user Mastodon instance. Is it possible to setup one up?
wrote 15 days ago last edited by@jediD83 said in Is Single-User Mastodon Instance possible?:
doesn't seem to provide the complex administration setup to turn the app into a single-user Mastodon instance.
What are you referring to here?
Surely, if you set it up using Cloudron auth and only give one Cloudron user access, then by default you've got a single-user Mastodon instance as no one else will be able to use it, no?
-
wrote 15 days ago last edited by
Interesting. I'm going to try that. However, what I am referring to is building an instance in which I am the administrator and the only user; for the sole purpose of applying FakeRelay and/or fedi.buzz.
-
Since you are in control of user registrations, by default a fresh installation, which is not using the Cloudron usermanagement, is only limited to the users you are explicitly creating. Just make sure public user registration is disabled.
-
wrote 14 days ago last edited by jdaviescoates 14 days ago
@jediD83 said in Is Single-User Mastodon Instance possible?:
Ok, but do you know where is the "relay" in the Mastodon setting?
It's just
/admin/relays
But first you need to login with the user and then make it an Admin, see https://docs.cloudron.io/apps/mastodon/#admin
-
wrote 14 days ago last edited by
@jdaviescoates Thank you.
-
wrote 14 days ago last edited by scooke 14 days ago
fwiw, I am exactly this - the sole user registered and using my Mastodon, wherein I am the admin (of course). Before you go any further though, be sure you have the data storage worked out. If your storage is on the same server as your Mastodon instance, it will fill up more quickly than you might expect, and then it all comes crashing down. The more users you follow, the more data will be generated. The more you post, the more data is generated. So, make sure you have some off-server data storage worked out, unless Mastodon is the sole app on that server. For example, I was running it on my main server but it just took up too much space, so I moved it to it's own servarica server with 1TB disk, and along with a WP app (to take care of the .well-known issue), it runs fine on 4GB + 4GB swap, and I don't worry about the 1TB.
EDIT: All this using Cloudron, of course!
-
fwiw, I am exactly this - the sole user registered and using my Mastodon, wherein I am the admin (of course). Before you go any further though, be sure you have the data storage worked out. If your storage is on the same server as your Mastodon instance, it will fill up more quickly than you might expect, and then it all comes crashing down. The more users you follow, the more data will be generated. The more you post, the more data is generated. So, make sure you have some off-server data storage worked out, unless Mastodon is the sole app on that server. For example, I was running it on my main server but it just took up too much space, so I moved it to it's own servarica server with 1TB disk, and along with a WP app (to take care of the .well-known issue), it runs fine on 4GB + 4GB swap, and I don't worry about the 1TB.
EDIT: All this using Cloudron, of course!
wrote 14 days ago last edited by@scooke said in Is Single-User Mastodon Instance possible?:
Before you go any further though, be sure you have the data storage worked out.
Good advice.
I store my Mastodon data on a Scaleway S3 bucket
-
fwiw, I am exactly this - the sole user registered and using my Mastodon, wherein I am the admin (of course). Before you go any further though, be sure you have the data storage worked out. If your storage is on the same server as your Mastodon instance, it will fill up more quickly than you might expect, and then it all comes crashing down. The more users you follow, the more data will be generated. The more you post, the more data is generated. So, make sure you have some off-server data storage worked out, unless Mastodon is the sole app on that server. For example, I was running it on my main server but it just took up too much space, so I moved it to it's own servarica server with 1TB disk, and along with a WP app (to take care of the .well-known issue), it runs fine on 4GB + 4GB swap, and I don't worry about the 1TB.
EDIT: All this using Cloudron, of course!
-
I believed I did read once that we can mitigate this issue by daily clearing out the cache, although I haven't test it yet. Did you do this too?
wrote 14 days ago last edited by@jediD83 If it's ONLY you, and you follow NO ONE, but you expect many to follow you anyway to read your posts, then yes, I think it might be enough. But if you are imagining being disciplined enough to do this daily (or maybe a cron job, i guess), that means you will be using it daily... in which case I think it still won't be enough.
Traffic goes up and down. Depending on who you follow, and who's posting what, you will soon enough have a surge of data on your instance. Trust me... TRUST ME, you don't want your server running out of space. @jdaviescoates uses Scaleway. I did too for a little while. I also used my own self-hosted Minio instance for a while. Right now I'm using B2 for my main Cloudron server, but will shift away from that to some other SSHFS mount on another server I rent. -
wrote 13 days ago last edited by jediD83 13 days ago
Ok, I will look into the storage factor before I applied any fakerelay. Thank for the advice.