Files
blog/public/categories/servers/index.xml
2025-10-07 17:08:57 +02:00

20 lines
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Servers on acorneroftheweb</title>
<link>https://acorneroftheweb.com/categories/servers/</link>
<description>Recent content in Servers on acorneroftheweb</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Sat, 04 Mar 2023 17:43:38 +0100</lastBuildDate>
<atom:link href="https://acorneroftheweb.com/categories/servers/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>&#34;I am bad at reading&#34;</title>
<link>https://acorneroftheweb.com/post/2023/03/04/i-am-bad-at-reading/</link>
<pubDate>Sat, 04 Mar 2023 17:43:38 +0100</pubDate>
<guid>https://acorneroftheweb.com/post/2023/03/04/i-am-bad-at-reading/</guid>
<description>&#xA;&lt;div id=&#34;outline-container-headline-1&#34; class=&#34;outline-2&#34;&gt;&#xA;&lt;h2 id=&#34;headline-1&#34;&gt;&#xA;Setting up servers&#xA;&lt;/h2&gt;&#xA;&lt;div id=&#34;outline-text-headline-1&#34; class=&#34;outline-text-2&#34;&gt;&#xA;&lt;p&gt;So recently, I have been setting up servers for my committee at uni and my own home server since I am transferring from a vps.&#xA;Doing this, I have tried out using &lt;a href=&#34;https://github.com/hashicorp/nomad/&#34;&gt;Nomad&lt;/a&gt; and &lt;a href=&#34;https://github.com/hashicorp/consul/&#34;&gt;Consul&lt;/a&gt; instead of ssh&amp;#39;ing to the server and running &lt;code&gt;docker-compose up&lt;/code&gt; or even launching the services manually.&#xA;This approach has seeing how the docker logs look easier and I know that reverse proxy will be solved by itself.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;The issues arise when I try to understand why thing aren&amp;#39;t working in the tools used however.&#xA;Docker-compose is kinda self contained, but both Nomad and Consul work as an overarching tool so trying to find out errors with them is harder.&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;div id=&#34;outline-container-headline-2&#34; class=&#34;outline-2&#34;&gt;&#xA;&lt;h2 id=&#34;headline-2&#34;&gt;&#xA;The latest issues&#xA;&lt;/h2&gt;&#xA;&lt;div id=&#34;outline-text-headline-2&#34; class=&#34;outline-text-2&#34;&gt;&#xA;&lt;p&gt;So, two days ago, I was trying to setup Jellyfin on my own server, but it started acting up in a weird way.&#xA;Services were shutting down as expected Nomad, but on the Consul side, it would just add on more and more services.&#xA;This made the reverse proxy Traefik not work or sending traffic to the wrong container.&#xA;Logging into the server via ssh and using the &lt;code&gt;deregister&lt;/code&gt; command of Consul resulted in not finding the services.&#xA;After hours of searching I found &lt;a href=&#34;https://github.com/hashicorp/consul/issues/16351&#34;&gt;this github issue&lt;/a&gt; which made me able to manually deregister services.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;This was a temporary fix, I had to get to the root issue of the problem.&#xA;So today I sat down to try and figure things out.&#xA;Searching and searching for the issues, I find out that the problems are arising from the tokens used due to permissions.&#xA;But trying to find out how the permissions work, I am dumbfounded.&#xA;Reading through &lt;a href=&#34;https://developer.hashicorp.com/consul/docs/security/acl/acl-policies&#34;&gt;this&lt;/a&gt; gives me nothing that helps me figure out how to actually use it.&#xA;It feels like you have to be into the entire system and know a bit of everything to even be able to use it.&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;div id=&#34;outline-container-headline-3&#34; class=&#34;outline-2&#34;&gt;&#xA;&lt;h2 id=&#34;headline-3&#34;&gt;&#xA;After the fact&#xA;&lt;/h2&gt;&#xA;&lt;div id=&#34;outline-text-headline-3&#34; class=&#34;outline-text-2&#34;&gt;&#xA;&lt;p&gt;It got fixed eventually, but the threshold to get into certain systems feels overwhelming to me.&#xA;I am way more of getting the bare system, or it might be a bit more like the Unix philosophy of doing 1 thing good.&#xA;That way, the documentation of that program can be short and to the point rather than explain an entire ecosystem.&#xA;It would be harder to set up the communication between software though, so I understand why it exists, but I easily get frustrated by it.&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;</description>
</item>
</channel>
</rss>