<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>mastodonadventures &amp;mdash; @dirkhaun XXL</title>
    <link>https://blog.tinycities.net/dirkhaun/tag:mastodonadventures</link>
    <description>When 500 characters are not enough ...</description>
    <pubDate>Mon, 27 Apr 2026 19:52:20 +0000</pubDate>
    <item>
      <title>Videos and GIFs stopped working</title>
      <link>https://blog.tinycities.net/dirkhaun/videos-and-gifs-stopped-working</link>
      <description>&lt;![CDATA[A couple of days ago I noticed that videos and GIFs were no longer showing up in posts on my #Mastodon instance. Other images were fine, just not animated attachments to posts. I first noticed this in #Ivory, but quickly confirmed that they wouldn’t show up in a browser window either.&#xA;&#xA;A quick restart of the server didn’t fix the problem. Since I didn’t have the time to dig into it, I left it at that for a few more days.&#xA;&#xA;!--more--&#xA;&#xA;ffmpeg gone missing&#xA;&#xA;Eventually, I got around to look into it. A web search brought me to an older issue on the Mastodon bugtracker. It’s for an older Mastodon release and has since been closed, so shouldn’t really affect my up-to-date instance.&#xA;&#xA;I was about to give the suggested “fix” a try when something rang in the back of my mind …&#xA;&#xA;Mastodon uses ffmpeg for videos and animated GIFs. I vaguely remembered - but couldn’t find it again, of course - something I’ve read a while ago about #Ubuntu randomly uninstalling ffmpeg for no obvious reason.&#xA;&#xA;Lo and behold, ffmpeg was no longer on the server. A quick apt install ffmpeg brought it back - and videos started showing up and playing again.&#xA;&#xA;For the record: The server is running Ubuntu 22.04 LTS.&#xA;&#xA;#MastodonAdventures #RunningMastodon #ffmpeg]]&gt;</description>
      <content:encoded><![CDATA[<p>A couple of days ago I noticed that videos and GIFs were no longer showing up in posts on my <a href="/dirkhaun/tag:Mastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Mastodon</span></a> instance. Other images were fine, just not animated attachments to posts. I first noticed this in <a href="/dirkhaun/tag:Ivory" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Ivory</span></a>, but quickly confirmed that they wouldn’t show up in a browser window either.</p>

<p>A quick restart of the server didn’t fix the problem. Since I didn’t have the time to dig into it, I left it at that for a few more days.</p>



<h1 id="ffmpeg-gone-missing">ffmpeg gone missing</h1>

<p>Eventually, I got around to look into it. A web search brought me to <a href="https://github.com/mastodon/mastodon/issues/21258" title="Videos and gifs are broken" rel="nofollow">an older issue on the Mastodon bugtracker</a>. It’s for an older Mastodon release and has since been closed, so shouldn’t really affect my up-to-date instance.</p>

<p>I was about to give the suggested “fix” a try when something rang in the back of my mind …</p>

<p>Mastodon uses ffmpeg for videos and animated GIFs. I vaguely remembered – but couldn’t find it again, of course – something I’ve read a while ago about <a href="/dirkhaun/tag:Ubuntu" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Ubuntu</span></a> randomly uninstalling ffmpeg for no obvious reason.</p>

<p>Lo and behold, ffmpeg was no longer on the server. A quick <code>apt install ffmpeg</code> brought it back – and videos started showing up and playing again.</p>

<p>For the record: The server is running Ubuntu 22.04 LTS.</p>

<p><a href="/dirkhaun/tag:MastodonAdventures" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MastodonAdventures</span></a> <a href="/dirkhaun/tag:RunningMastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">RunningMastodon</span></a> <a href="/dirkhaun/tag:ffmpeg" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">ffmpeg</span></a></p>
]]></content:encoded>
      <guid>https://blog.tinycities.net/dirkhaun/videos-and-gifs-stopped-working</guid>
      <pubDate>Sat, 12 Aug 2023 15:08:33 +0000</pubDate>
    </item>
    <item>
      <title>Up in The Clouds</title>
      <link>https://blog.tinycities.net/dirkhaun/up-in-the-clouds</link>
      <description>&lt;![CDATA[So Mastodon’s infamous Media Cache for this instance has stabilised and was running fine for the last two-and-a-half months. Still, the extra volume required some monitoring, and it does cost extra; not a lot, but quite a bit when seen in relation to the vServer’s base cost. So I was looking at the Cloud options again.&#xA;&#xA;!--more--&#xA;&#xA;Picking a Cloud Service&#xA;&#xA;Initially, I was skeptical about the cloud option, mainly because I wasn’t sure what it would cost me. Since I now have a better idea how much space this instance needs and since it turned out that cloud storage is not so expensive to begin with, I was ready to take the plunge.&#xA;&#xA;In the end, I simply went with the instructions by Thomas Leister and the cloud service he was using, Scaleway. Details will differ between cloud services, whereas the costs are comparable. So if you’re looking for an alternative, try the instructions by Stanislas for Wasabi.&#xA;&#xA;I don’t have much to add to Thomas’ instructions. If you’re looking for a cloud service based in Europe, Scaleway seems like a good option. You can also pick the location of the data center. Their web interface can be a bit overwhelming - just make sure you’re booking the Object Storage. That’s the one you want - ignore all the others.&#xA;&#xA;Then just follow Thomas’ instructions (which sometimes link back to Scaleway’s help pages). Also, make extra sure you replace the default names that Thomas uses with the ones you chose for your instance and your server location. For example, I overlooked the line:&#xA;&#xA;S3BUCKET=instance-media&#xA;&#xA;Things seemed to work, but all images in posts were missing and instead displayed an “not available” message. So if something is not working as expected, go over all these names, URLs, and keys again carefully. And don’t forget to restart nginx and/or Mastodon itself.&#xA;&#xA;One important bit I learned: You still want to maintain a (small) local cache, since outgoing traffic (i.e. out of the cloud service) costs money. You can avoid having to serve (and therefore pay) for the same file being sent over and over by configuring nginx with a local proxy. Thankfully, both Thomas and Stanislas explain how to do that in their instructions.&#xA;&#xA;Thomas’ instructions cut off a bit abruptly and left me with a “now what?” For that part, switch over to Stanislas, who shows how to check if everything is working using curl. And then concludes: You can now remove your public/system folder on your server! :D_&#xA;&#xA;This actually gave me pause. What I had failed to realise was that I was not only moving the cache to The Cloud but also any media that are being uploaded directly onto my instance. This felt a little like losing control over these assets. But then again, I can still download them via the cloud provider’s web interface, if need be. Or do a data export for my account. And it’s not like they were easily accessible in the first place, but buried deep down in some subfolder. So yeah, go ahead and delete that directory (once everything works).&#xA;&#xA;What next?&#xA;&#xA;I still have a problem that sometimes avatars are not loading. My hunch, based on some logfile entries I saw, is that some process is running out of memory when doing this. So I’m considering upgrading to a more beefy vServer. Since the extra cost for the second volume is now gone and the cost for the cloud storage is lower (hopefully), this is something I will look into next.&#xA;&#xA;#MastodonAdventures #RunningMastodon]]&gt;</description>
      <content:encoded><![CDATA[<p>So Mastodon’s infamous Media Cache for this instance has stabilised and was running fine for the last two-and-a-half months. Still, the extra volume required some monitoring, and it does cost extra; not a lot, but quite a bit when seen in relation to the vServer’s base cost. So I was looking at the Cloud options again.</p>



<h2 id="picking-a-cloud-service">Picking a Cloud Service</h2>

<p>Initially, I was skeptical about the cloud option, mainly because I wasn’t sure what it would cost me. Since I now have a better idea how much space this instance needs and since it turned out that cloud storage is not so expensive to begin with, I was ready to take the plunge.</p>

<p>In the end, I simply went with the <a href="https://thomas-leister.de/en/mastodon-s3-media-storage/" title="Adding S3 based cloud storage to your instance" rel="nofollow">instructions by Thomas Leister</a> and the cloud service he was using, Scaleway. Details will differ between cloud services, whereas the costs are comparable. So if you’re looking for an alternative, try the <a href="https://stanislas.blog/2018/05/moving-mastodon-media-files-to-wasabi-object-storage/" title="Moving Mastodon&#39;s media files to Wasabi Object Storage" rel="nofollow">instructions by Stanislas</a> for Wasabi.</p>

<p>I don’t have much to add to Thomas’ instructions. If you’re looking for a cloud service based in Europe, Scaleway seems like a good option. You can also pick the location of the data center. Their web interface can be a bit overwhelming – just make sure you’re booking the <strong>Object Storage</strong>. That’s the one you want – ignore all the others.</p>

<p>Then just follow Thomas’ instructions (which sometimes link back to Scaleway’s help pages). Also, make extra sure you replace the default names that Thomas uses with the ones you chose for your instance and your server location. For example, I overlooked the line:</p>

<pre><code>S3_BUCKET=instance-media
</code></pre>

<p>Things seemed to work, but all images in posts were missing and instead displayed an “not available” message. So if something is not working as expected, go over all these names, URLs, and keys again carefully. And don’t forget to restart nginx and/or Mastodon itself.</p>

<p>One important bit I learned: You still want to maintain a (small) local cache, since outgoing traffic (i.e. out of the cloud service) costs money. You can avoid having to serve (and therefore pay) for the same file being sent over and over by configuring nginx with a local proxy. Thankfully, both Thomas and Stanislas explain how to do that in their instructions.</p>

<p>Thomas’ instructions cut off a bit abruptly and left me with a “now what?” For that part, switch over to Stanislas, who shows how to check if everything is working using <code>curl</code>. And then concludes: <em>You can now remove your public/system folder on your server! :D</em></p>

<p>This actually gave me pause. What I had failed to realise was that I was not only moving the cache to The Cloud but also any media that are being uploaded directly onto my instance. This felt a little like losing control over these assets. But then again, I can still download them via the cloud provider’s web interface, if need be. Or do a data export for my account. And it’s not like they were easily accessible in the first place, but buried deep down in some subfolder. So yeah, go ahead and delete that directory (once everything works).</p>

<h2 id="what-next">What next?</h2>

<p>I still have a problem that sometimes avatars are not loading. My hunch, based on some logfile entries I saw, is that some process is running out of memory when doing this. So I’m considering upgrading to a more beefy vServer. Since the extra cost for the second volume is now gone and the cost for the cloud storage is lower (hopefully), this is something I will look into next.</p>

<p><a href="/dirkhaun/tag:MastodonAdventures" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MastodonAdventures</span></a> <a href="/dirkhaun/tag:RunningMastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">RunningMastodon</span></a></p>
]]></content:encoded>
      <guid>https://blog.tinycities.net/dirkhaun/up-in-the-clouds</guid>
      <pubDate>Sun, 12 Mar 2023 09:21:52 +0000</pubDate>
    </item>
    <item>
      <title>I fought the cache and the cache won</title>
      <link>https://blog.tinycities.net/dirkhaun/i-fought-the-cache-and-the-cache-won</link>
      <description>&lt;![CDATA[(for now)&#xA;&#xA;So a week after my Mastodon instance ran out of disk space, and after moving the cache to a separate volume, that volume also filled up completely. Oh well. At least the instance kept on running this time. It just couldn’t, well, cache things any more.&#xA;&#xA;!--more--&#xA;&#xA;I haven’t had a chance to look into moving the cache to a cloud provider. And by the rate things are going, I’m not sure if I really want to, since I have to wonder if this could potentially ruin me with excessive additional costs.&#xA;&#xA;As a short-term measure, I increased the available disk space some more; and then some more again. Good thing that these days all of these things are virtual and can be scaled easily with a few clicks. And then I started looking into understanding what was actually taking up so much space and how to possibly keep it at bay.&#xA;&#xA;But first, a mysterious error message&#xA;&#xA;But first, I had to figure out another problem that had been popping up with that additional volume. Mastodon’s “bundle” task would complain about the new volume being a read-only file system, even though it wasn’t and the Mastodon user could create and delete files and directories without a problem when logged in directly. I got it working somehow two or three times, but the problem would always reappear whenever I fiddled with some other configuration option.&#xA;&#xA;Eventually I found an unrelated, yet helpful forum post that pointed me in the right direction: Mastodon’s config files in /etc/systemd/system/mastodon-* all have an entry ReadWritePaths which by default only points to the live directory in the Mastodon user’s home directory. Adding the new volume as an additional item to these lists finally got rid of the problem.&#xA;&#xA;Taming the cache&#xA;&#xA;Back to the cache. What, exactly, is taking up so much space? There are four sub directories in the cache directory and the culprit can easily be identified: It’s the mediaattachments.&#xA;&#xA;In my case, after a week, that directory alone took up 19 GB and therefore the majority of the 25 GB I had allocated solely for the cache. Forget about the previewcards (the other directory that is regularly cleaned up by a cronjob), they are only a few hundred MB. That’s nothing in comparison.&#xA;&#xA;My solution, for now at least, is to only keep the media attachments for 2 days (and make sure the cronjob actually runs):&#xA;&#xA;RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 2&#xA;&#xA;Disk usage of the cache directory has now been stable over the Christmas weekend and I hope it will stay this way while I consider my next steps.&#xA;&#xA;#MastodonAdventures #RunningMastodon]]&gt;</description>
      <content:encoded><![CDATA[<p><em>(for now)</em></p>

<p>So a week after my Mastodon instance <a href="https://blog.tinycities.net/dirkhaun/and-then-it-came-to-a-grinding-halt" title="Previous blog post about that incident" rel="nofollow">ran out of disk space</a>, and after moving the cache to a separate volume, that volume also filled up completely. Oh well. At least the instance kept on running this time. It just couldn’t, well, <em>cache</em> things any more.</p>



<p>I haven’t had a chance to look into moving the cache to a cloud provider. And by the rate things are going, I’m not sure if I really want to, since I have to wonder if this could potentially ruin me with excessive additional costs.</p>

<p>As a short-term measure, I increased the available disk space some more; and then some more again. Good thing that these days all of these things are virtual and can be scaled easily with a few clicks. And then I started looking into understanding what was actually taking up so much space and how to possibly keep it at bay.</p>

<h2 id="but-first-a-mysterious-error-message">But first, a mysterious error message</h2>

<p>But first, I had to figure out another problem that had been popping up with that additional volume. Mastodon’s “bundle” task would complain about the new volume being a read-only file system, even though it wasn’t and the Mastodon user could create and delete files and directories without a problem when logged in directly. I got it working <em>somehow</em> two or three times, but the problem would always reappear whenever I fiddled with some other configuration option.</p>

<p>Eventually I found an unrelated, yet helpful forum post that pointed me in the right direction: Mastodon’s config files in <code>/etc/systemd/system/mastodon-*</code> all have an entry <code>ReadWritePaths</code> which by default only points to the <code>live</code> directory in the Mastodon user’s home directory. Adding the new volume as an additional item to these lists finally got rid of the problem.</p>

<h2 id="taming-the-cache">Taming the cache</h2>

<p>Back to the cache. What, exactly, is taking up so much space? There are four sub directories in the <code>cache</code> directory and the culprit can easily be identified: It’s the <code>media_attachments</code>.</p>

<p>In my case, after a week, that directory alone took up 19 GB and therefore the majority of the 25 GB I had allocated solely for the cache. Forget about the <code>preview_cards</code> (the other directory that is regularly cleaned up by a cronjob), they are only a few hundred MB. That’s nothing in comparison.</p>

<p>My solution, for now at least, is to only keep the media attachments for 2 days (and make sure the cronjob actually runs):</p>

<pre><code>RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 2
</code></pre>

<p>Disk usage of the cache directory has now been stable over the Christmas weekend and I hope it will stay this way while I consider my next steps.</p>

<p><a href="/dirkhaun/tag:MastodonAdventures" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MastodonAdventures</span></a> <a href="/dirkhaun/tag:RunningMastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">RunningMastodon</span></a></p>
]]></content:encoded>
      <guid>https://blog.tinycities.net/dirkhaun/i-fought-the-cache-and-the-cache-won</guid>
      <pubDate>Wed, 28 Dec 2022 16:39:14 +0000</pubDate>
    </item>
    <item>
      <title>And then it came to a grinding halt</title>
      <link>https://blog.tinycities.net/dirkhaun/and-then-it-came-to-a-grinding-halt</link>
      <description>&lt;![CDATA[After running just fine for 14 days, my #Mastodon instance stopped working. All it showed was the cute animation of a mastodon banging the keyboard of a computer. My iOS app had also stopped updating my timeline. The server was quite obviously down. What happened?&#xA;&#xA;!--more--&#xA;&#xA;Logging into it, the Mastodon logfile only showed some nondescriptive error message regarding Postgres. But I had missed the more obvious reason: The server had run out of disk space. I quickly concluded that this was due to me not having activated one of the recommended cleanup tasks (mostly because I misunderstood what it actually does). So I deleted and compressed some logfiles until there was enough disk space available again for the instance to come back to life. Then I ran both cleanup tasks. That brought back about 1.5 GB. Phew? To my horror, I had to watch them quickly fill up again. Something else was going on.&#xA;&#xA;Poking around, I noticed it was the cache directory, live/public/system/cache, that kept on growing. Eventually, it hit me: It was the relay I had subscribed to.&#xA;&#xA;What’s a relay?&#xA;&#xA;Quick excursion: When you are running a small instance with only a few users, you will notice that your federated timeline won’t have many posts you haven’t already seen, that your list of hashtags is not very extensive, and that search just doesn’t seem to return what you are looking for. This is because your Mastodon instance isn’t pulling in a lot of what is out there. Effectively, it is only following the accounts that your local users are following. That will only bring in a small portion of the #Fediverse and you won’t see much beyond that.&#xA;&#xA;One way to fix this is to have more users. The other is to subscribe to a relay. That will effectively pull in posts from other instances, thus enriching your federated timeline, your hashtags, and your search.&#xA;&#xA;But, and that was my problem here, it also means that your instance will have to cache all those posts, including their media attachments and their preview cards. And those will take up disk space.&#xA;&#xA;Solution?&#xA;&#xA;Since my disk space was filling up rapidly, I unsubscribed from the relay and ran the cleanup tasks again. That fixed the immediate problem but was asking for a long-term solution. I considered my options:&#xA;&#xA;live without a relay&#xA;get more users&#xA;get more disk space&#xA;&#xA;Running a somewhat disconnected instance isn’t fun. It’s not what I joined the Fediverse for in the first place. And while I’m not opposed to getting a few more users on this instance eventually, this was not a short-term solution. So, I had to get back to the relay and, therefore, get more disk space.&#xA;&#xA;There are two ways to do that: Get more “local” disk space or get “disk” space in the cloud. I’m a bit reluctant hooking up with some cloud provider, as this is all new to me and I need to do some research first. So I chose the other option. Since the instance is running on a highly configurable vServer anyway, getting a scalable volume of additional disk space was only a few clicks away. I moved the cache directory over to the newly attached volume, restarted Mastodon and it’s been running off of that happily since.&#xA;&#xA;Current status&#xA;&#xA;The immediate danger of the instance grinding to a halt again is over. I will have to watch the disk space on the new volume, making adjustments as needed. And I will research the cloud option, to see which is more cost effective.&#xA;&#xA;#MastodonAdventures #RunningMastodon]]&gt;</description>
      <content:encoded><![CDATA[<p>After running just fine for 14 days, my <a href="/dirkhaun/tag:Mastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Mastodon</span></a> instance stopped working. All it showed was the cute animation of a mastodon banging the keyboard of a computer. My iOS app had also stopped updating my timeline. The server was quite obviously down. What happened?</p>



<p>Logging into it, the Mastodon logfile only showed some nondescriptive error message regarding Postgres. But I had missed the more obvious reason: <strong>The server had run out of disk space.</strong> I quickly concluded that this was due to me not having activated one of the recommended <a href="https://docs.joinmastodon.org/admin/setup/#cleanup" title="Cleanup cronjobs you absolutely should set up!" rel="nofollow">cleanup tasks</a> (mostly because I misunderstood what it actually does). So I deleted and compressed some logfiles until there was enough disk space available again for the instance to come back to life. Then I ran both cleanup tasks. That brought back about 1.5 GB. Phew? To my horror, I had to watch them quickly fill up again. Something else was going on.</p>

<p>Poking around, I noticed it was the cache directory, <code>live/public/system/cache</code>, that kept on growing. Eventually, it hit me: It was the relay I had subscribed to.</p>

<h2 id="what-s-a-relay">What’s a relay?</h2>

<p>Quick excursion: When you are running a small instance with only a few users, you will notice that your federated timeline won’t have many posts you haven’t already seen, that your list of hashtags is not very extensive, and that search just doesn’t seem to return what you are looking for. This is because your Mastodon instance isn’t pulling in a lot of what is out there. Effectively, it is only following the accounts that your local users are following. That will only bring in a small portion of the <a href="/dirkhaun/tag:Fediverse" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Fediverse</span></a> and you won’t see much beyond that.</p>

<p>One way to fix this is to have more users. The other is to subscribe to a relay. That will effectively pull in posts from other instances, thus enriching your federated timeline, your hashtags, and your search.</p>

<p>But, and that was my problem here, it also means that your instance will have to cache all those posts, including their media attachments and their preview cards. And those will take up disk space.</p>

<h2 id="solution">Solution?</h2>

<p>Since my disk space was filling up rapidly, I unsubscribed from the relay and ran the cleanup tasks again. That fixed the immediate problem but was asking for a long-term solution. I considered my options:</p>
<ul><li>live without a relay</li>
<li>get more users</li>
<li>get more disk space</li></ul>

<p>Running a somewhat disconnected instance isn’t fun. It’s not what I joined the Fediverse for in the first place. And while I’m not opposed to getting a few more users on this instance eventually, this was not a short-term solution. So, I had to get back to the relay and, therefore, get more disk space.</p>

<p>There are two ways to do that: Get more “local” disk space or get “disk” space in the cloud. I’m a bit reluctant hooking up with some cloud provider, as this is all new to me and I need to do some research first. So I chose the other option. Since the instance is running on a highly configurable vServer anyway, getting a scalable volume of additional disk space was only a few clicks away. I moved the cache directory over to the newly attached volume, restarted Mastodon and it’s been running off of that happily since.</p>

<h2 id="current-status">Current status</h2>

<p>The immediate danger of the instance grinding to a halt again is over. I will have to watch the disk space on the new volume, making adjustments as needed. And I will research the cloud option, to see which is more cost effective.</p>

<p><a href="/dirkhaun/tag:MastodonAdventures" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MastodonAdventures</span></a> <a href="/dirkhaun/tag:RunningMastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">RunningMastodon</span></a></p>
]]></content:encoded>
      <guid>https://blog.tinycities.net/dirkhaun/and-then-it-came-to-a-grinding-halt</guid>
      <pubDate>Sun, 11 Dec 2022 08:43:57 +0000</pubDate>
    </item>
    <item>
      <title>Moving to Mastodon</title>
      <link>https://blog.tinycities.net/dirkhaun/moving-to-mastodon</link>
      <description>&lt;![CDATA[So when it became obvious that #Twitter was going down the drain, I started looking for alternatives and quickly settled on #Mastodon. After a brief stint as @dirkhaun@troet.cafe I began to wonder how easy (or not) it would be to run my own instance.&#xA;&#xA;!--more--&#xA;&#xA;It has been a while since I administered a webserver. That was back in the Apache 1.3 days, long before Docker and all this new-fangled stuff (which I still don’t understand to this day) came along. So I got myself the smallest vServer I could find and gave the instructions a try. What can I say - it worked (almost) without a flaw.&#xA;&#xA;Now, those instructions are not for the faint of heart. But if you know where to look (and what to do) when, at the end of the day, nginx reports a permission issue trying to serve a CSS file, then you can do it.&#xA;&#xA;Setting up a Mastodon instance is one thing. Running an instance is another, which we’ll explore in another post …&#xA;&#xA;#MastodonAdventures #InstallingMastodon]]&gt;</description>
      <content:encoded><![CDATA[<p>So when it became obvious that <a href="/dirkhaun/tag:Twitter" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Twitter</span></a> was going down the drain, I started looking for alternatives and quickly settled on <a href="/dirkhaun/tag:Mastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Mastodon</span></a>. After a brief stint as <a href="https://blog.tinycities.net/@/dirkhaun@troet.cafe" class="u-url mention" rel="nofollow">@<span>dirkhaun@troet.cafe</span></a> I began to wonder how easy (or not) it would be to run my own instance.</p>



<p>It has been a while since I administered a webserver. That was back in the Apache 1.3 days, long before Docker and all this new-fangled stuff (which I still don’t understand to this day) came along. So I got myself the smallest vServer I could find and gave the <a href="https://docs.joinmastodon.org/admin/install/" title="Installing Mastodon from source" rel="nofollow">instructions</a> a try. What can I say – it worked (almost) without a flaw.</p>

<p>Now, those instructions are not for the faint of heart. But if you know where to look (and what to do) when, at the end of the day, nginx reports a permission issue trying to serve a CSS file, then you can do it.</p>

<p>Setting up a Mastodon instance is one thing. Running an instance is another, which we’ll explore in another post …</p>

<p><a href="/dirkhaun/tag:MastodonAdventures" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MastodonAdventures</span></a> <a href="/dirkhaun/tag:InstallingMastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">InstallingMastodon</span></a></p>
]]></content:encoded>
      <guid>https://blog.tinycities.net/dirkhaun/moving-to-mastodon</guid>
      <pubDate>Sat, 10 Dec 2022 15:20:28 +0000</pubDate>
    </item>
  </channel>
</rss>