<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet href="/rss.xsl" type="text/xsl" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Forgejo | Bacardi55&#39;s Web Cave</title>
    <link>https://bacardi55.io/tags/forgejo/</link>
    <description>Recent content in Forgejo on Bacardi55&#39;s Web Cave</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <managingEditor>bac@rdi55.pl (bacardi55)</managingEditor>
    <webMaster>bac@rdi55.pl (bacardi55)</webMaster>
    <copyright>2010-2025 bacardi55</copyright>
    <lastBuildDate>Fri, 26 Jul 2024 00:00:00 +0200</lastBuildDate>
    <atom:link href="https://bacardi55.io/tags/forgejo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      
      <title>Re-thinking my git hosting with sourcehut and forgejo</title><link>https://bacardi55.io/2024/07/26/re-thinking-my-git-hosting-with-sourcehut-and-forgejo/</link><pubDate>Fri, 26 Jul 2024 00:00:00 +0200</pubDate><author>bac@rdi55.pl (bacardi55)</author><guid>https://bacardi55.io/2024/07/26/re-thinking-my-git-hosting-with-sourcehut-and-forgejo/</guid><description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;TLDR;&lt;/strong&gt; I&amp;rsquo;ve moved my project to &lt;a href=&#34;https://sourcehut.org&#34;&gt;sourcehut&lt;/a&gt;, see &lt;a href=&#34;https://sr.ht/~bacardi55&#34;&gt;my projects&lt;/a&gt; there, while maintaining a private and local &lt;a href=&#34;https://forgejo.org&#34;&gt;forgejo&lt;/a&gt; instance.&lt;/p&gt;&#xA;&lt;p&gt;Last year, I realized that my projects were in too many repos. I&amp;rsquo;ve been using github like many others for a long time, but I also had an account on gitlab, codeberg and sourcehut. I also have a few account on selfhosted repos from specific projects, but I&amp;rsquo;m not going to talk about these cases in this post.&lt;/p&gt;&#xA;&lt;p&gt;After years of pushing codes everywhere… I had projects everywhere: github, gitlab, codeberg and sourcehut… So it was time to do something about it!&lt;/p&gt;&#xA;&lt;h2 id=&#34;context&#34;&gt;Context&lt;/h2&gt;&#xA;&lt;p&gt;Early last year, after testing sourcehut for a while, I was convinced it was the best forge &lt;strong&gt;for me&lt;/strong&gt;. The &amp;ldquo;for me&amp;rdquo; is important, because I don&amp;rsquo;t think sourcehut is for everyone… And while it isn&amp;rsquo;t perfect (in particular its UI and how to navigate between each sourcehut features), I find it the best for my needs.&lt;/p&gt;&#xA;&lt;p&gt;But at that point my repositories were a mess: projects were either on 1, all or a subset of the mentioned forges… Clear primary forge was not indicated and no way to have a good vision of all my projects…&#xA;Let&amp;rsquo;s just say that this was not ideal and even myself wasn&amp;rsquo;t sure what were where…&lt;/p&gt;&#xA;&lt;p&gt;And then sourcehut (and codeberg to a lesser extent) suffered &lt;a href=&#34;https://sourcehut.org/blog/2024-01-16-sourcehut-outage/&#34;&gt;massive DDoS attacked&lt;/a&gt; that put them down, specially Sourcehut that was out for multiple days. That event made me realized 3 things:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I wanted a go to forge as my main &amp;ldquo;public&amp;rdquo; forge&lt;/li&gt;&#xA;&lt;li&gt;I needed a selfhosted forge to still push code during downtime of my main public forge&lt;/li&gt;&#xA;&lt;li&gt;I had to do some cleaning and clearly archive / close unused / unmaintained repos&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;A good question would be: &amp;ldquo;then why not just using one selfhosted platform only?&amp;rdquo;. But hosting my own forge publicly comes with big drawbacks:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I&amp;rsquo;ve found that bot crawlers are taking a lot of resources to crawl all public repositories.&lt;/li&gt;&#xA;&lt;li&gt;Git access via ssh (to push) would need opening port 22 to the internet and do a lot configuration in my network.&lt;/li&gt;&#xA;&lt;li&gt;A &amp;ldquo;known&amp;rdquo; public forge is usually easier to contribute.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;So I rolled up my sleeves and decided to go through the migration to what I hope is their final destinations…&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-plan&#34;&gt;The plan&lt;/h2&gt;&#xA;&lt;h3 id=&#34;objectives-and-constraints&#34;&gt;Objectives and Constraints&lt;/h3&gt;&#xA;&lt;p&gt;The goals were simple:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Have one main public forges for all open source projects: For that, I choose sourcehut&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Have a selfhosted forges in case I want to push code and sourcehut is down. Also to host projects that I don&amp;rsquo;t want on sourcehut, even as a private project.&lt;/li&gt;&#xA;&lt;li&gt;Clear indications for users / contributors on where to find the up to date version of a code.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;exception&#34;&gt;Exception&lt;/h3&gt;&#xA;&lt;p&gt;I made 2 small exceptions for the 2 gemini RFC proposals. Collaboration are already taken place there and I&amp;rsquo;m sure some people had to create account to participate there and may not want to move. Also, as it is an RFC, having a small UI to edit the text and create a merge request may be easy than the git email workflow. That is why the &lt;a href=&#34;https://codeberg.org/bacardi55/gemini-tinylog-rfc&#34;&gt;Gemini Tinylog RFC&lt;/a&gt; and the &lt;a href=&#34;https://codeberg.org/bacardi55/gemini-mentions-rfc&#34;&gt;Gemini Mention RFC&lt;/a&gt; primary repositories are still on codeberg.&lt;/p&gt;&#xA;&lt;p&gt;All my other repositories follow the new plan.&lt;/p&gt;&#xA;&lt;h2 id=&#34;new-state&#34;&gt;New state&lt;/h2&gt;&#xA;&lt;h3 id=&#34;local-forgejo-instance&#34;&gt;Local Forgejo Instance&lt;/h3&gt;&#xA;&lt;p&gt;As said, I decided to use Forgejo for my local private instance. I won&amp;rsquo;t cover the installation details, their documentation covers it well already.&lt;/p&gt;&#xA;&lt;p&gt;This instance is only used by me for:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Private repository that I don&amp;rsquo;t want on sourcehut (even in private) or any other public forges&lt;/li&gt;&#xA;&lt;li&gt;Very old and unused code that I want to keep&lt;/li&gt;&#xA;&lt;li&gt;Hosting the code of all projects I host elsewhere. I don&amp;rsquo;t use mirroring here, I actually have to push to multiple remotes (see this post where I &lt;a href=&#34;https://bacardi55.io/2024/02/21/git-tips-push-to-multiple-git-repo-in-one-command/&#34;&gt;explained how I do it&lt;/a&gt; via &lt;code&gt;git remote --set-url&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Sometimes used to push things before I push them publicly to sourcehut (or other)&lt;/li&gt;&#xA;&lt;li&gt;Serve also as a backup of all my code: the instance itself is a backup of project on 3rd party forges (or the other way around), but also, the container hosting forgejo is part of my backup process with proxmox and borgbackup, so all covered :).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;As you understood, every single project managed by git is hosted on this private instance. It isn&amp;rsquo;t used for anything else (no CI/CD, no public pages, no collaboration).&lt;/p&gt;&#xA;&lt;h3 id=&#34;sourcehut&#34;&gt;Sourcehut&lt;/h3&gt;&#xA;&lt;p&gt;The new public home for all my projects. Took a bit of time to get used to its UI and workflow, but I really enjoy using it. I won&amp;rsquo;t detail right now how sourcehut works differently than other &amp;ldquo;traditional&amp;rdquo; forge (=aka github workflow), but I&amp;rsquo;ll talk about why sourcehut in a later post.&lt;/p&gt;&#xA;&lt;p&gt;One important thing to have in mind: on sourcehut, you can create projects to group multiple repositories (themselves attached to mailing lists and todolists) together. It means that you can have one project with mutltiple repositories but still a common todolist for example. It also allows to have a git repository in multiple projects, which can be useful too (see below as I&amp;rsquo;m using it).&lt;/p&gt;&#xA;&lt;p&gt;It takes some time to grasp the full concepts of sourcehut, but the flexibility is way higher than with other forges.&#xA;I&amp;rsquo;m using sourcehut projects for grouping codebases together or for &amp;ldquo;larger&amp;rdquo; projects on which I&amp;rsquo;d be happy to see collaboration.&#xA;Smaller code are not in projects and just standalone repos (with mailing list and todolist still possible).&lt;/p&gt;&#xA;&lt;p&gt;Sourcehut allows projects and codebases to be visible, unlisted or private. A project can have repos with different visibility.&lt;/p&gt;&#xA;&lt;p&gt;For example, I created a &lt;a href=&#34;https://sr.ht/~bacardi55/writings/&#34;&gt;writting project&lt;/a&gt; that contains 4 repositories: one for &lt;a href=&#34;https://git.sr.ht/~bacardi55/website&#34;&gt;this blog&lt;/a&gt;, one for my &lt;a href=&#34;https://git.sr.ht/~bacardi55/capsule&#34;&gt;gemini capsule&lt;/a&gt;, one for the &lt;a href=&#34;https://git.sr.ht/~bacardi55/writting-deploy&#34;&gt;deployment scripts&lt;/a&gt; (unlisted) and one for my &lt;a href=&#34;https://git.sr.ht/~bacardi55/MinIndie&#34;&gt;custom hugo theme&lt;/a&gt;. The hugo theme is both in this project and in a &lt;a href=&#34;https://sr.ht/~bacardi55/MinIndie/&#34;&gt;dedicated one&lt;/a&gt; in case people would like to contribute. Other example, I have a &lt;a href=&#34;https://sr.ht/~bacardi55/Gemini55/&#34;&gt;gemini55&lt;/a&gt; project containing all my gemini related repositories (&lt;a href=&#34;https://git.sr.ht/~bacardi55/gtl&#34;&gt;gtl&lt;/a&gt;, &lt;a href=&#34;https://git.sr.ht/~bacardi55/houston&#34;&gt;houston&lt;/a&gt;, &lt;a href=&#34;https://git.sr.ht/~bacardi55/ggm&#34;&gt;ggm&lt;/a&gt;, &lt;a href=&#34;https://git.sr.ht/~bacardi55/discogem&#34;&gt;discogem&lt;/a&gt; and a link to the 2 gemini RFCs). Some repositories are not tight to projects.&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-about-other-forges&#34;&gt;What about other forges&lt;/h3&gt;&#xA;&lt;p&gt;Except the 2 Gemini RFC exceptions mentioned above, I&amp;rsquo;ve cleaned a lot my other forges presence by archiving all projects (and that took some time to do on all projects :D). Both my github and codeberg profiles indicate:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Profile used to contribute to Github projects. My own projects are hosted on sourcehut: &lt;a href=&#34;https://sr.ht/~bacardi55&#34;&gt;https://sr.ht/~bacardi55&lt;/a&gt; &lt;a href=&#34;https://git.sr.ht/~bacardi55&#34;&gt;https://git.sr.ht/~bacardi55&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I haven&amp;rsquo;t deleted my account on those forges though, as they might still be useful to collaborate on project hosted there.&lt;/p&gt;&#xA;&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;The move is now over, I have been using solely sourcehut for quite some time now. This blog is now built via &lt;a href=&#34;https://builds.sr.ht/&#34;&gt;sourcehut builds&lt;/a&gt; and while sourcehut UI definitely needs improvements, it has been a great decision and I&amp;rsquo;ve enjoyed a lot using sourcehut since my move. Hopefully, this is a state that shouldn&amp;rsquo;t move for a while.&lt;/p&gt;&#xA;&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;&#xA;&lt;hr&gt;&#xA;&lt;ol&gt;&#xA;&lt;li id=&#34;fn:1&#34;&gt;&#xA;&lt;p&gt;: Some people might argue that sourcehut is not the best choice for this because it doesn&amp;rsquo;t provide the &amp;ldquo;classic&amp;rdquo; fork / pull request workflow, but I do believe anyone could learn fairly quickly the email workflow linked to sourcehut. Plus my project don&amp;rsquo;t have contributors in reality :P.&amp;#160;&lt;a href=&#34;#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/div&gt;&#xA;</description></item>
    <item>
      
      <title>A mix of password recovery tips</title><link>https://bacardi55.io/2024/06/24/a-mix-of-password-recovery-tips/</link><pubDate>Mon, 24 Jun 2024 00:00:00 +0200</pubDate><author>bac@rdi55.pl (bacardi55)</author><guid>https://bacardi55.io/2024/06/24/a-mix-of-password-recovery-tips/</guid><description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Today, I wanted to write how I retrieved a lot of my accesses to services I selfhost. I&amp;rsquo;m going to talk about a lot of different tools here, the main reason being that these tools made it very easy to retrieve access (once I &lt;a href=&#34;https://bacardi55.io/2024/06/02/regaining-access-to-proxmox-vms-and-containers/&#34;&gt;retrieved access to the host servers / VMs / CTs&lt;/a&gt;). Not like &lt;a href=&#34;https://bacardi55.io/2024/06/18/regaining-access-to-my-matrix-admin-account/&#34;&gt;matrix&lt;/a&gt; or &lt;a href=&#34;https://bacardi55.io/2024/06/05/regain-access-to-nginxproxymanager/&#34;&gt;NginxProxyManager&lt;/a&gt; that made me update the production databases!&lt;/p&gt;&#xA;&lt;p&gt;So before deep diving into all the solutions, a &lt;strong&gt;BIG THANK YOU&lt;/strong&gt; to all the dev teams working on these wonderful software who made my life easier during this complicated period :).&lt;/p&gt;&#xA;&lt;h2 id=&#34;retrieved-access-quick-help&#34;&gt;Retrieved access quick help&lt;/h2&gt;&#xA;&lt;h3 id=&#34;mailcow-admin&#34;&gt;mailcow admin&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://mailcow.email/&#34;&gt;Mailcow&lt;/a&gt; is what I used to manage my email server and has been working great for the past years.&#xA;To reset the password, it was as simple as going to the root path where mailcow is installed (by default &lt;code&gt;/opt/mailcow-dockerized/&lt;/code&gt;) and starting a helper script made for it:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd mailcow/path&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./helper-scripts/mailcow-reset-admin.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then, if needed, I could use the web GUI to reset some users&amp;rsquo; passwords.&lt;/p&gt;&#xA;&lt;h3 id=&#34;forgejo&#34;&gt;forgejo&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://forgejo.org/&#34;&gt;Forgejo&lt;/a&gt; is my local git forge where I manage a local copy of all my opensource and private projects. It isn&amp;rsquo;t available publically as my main public forge is &lt;a href=&#34;https://sr.ht/&#34;&gt;sourcehut&lt;/a&gt; (more on that later), but I use it as a backup (in case sourcehut has some issue, I can still commit changes) and for projects I don&amp;rsquo;t want to host online (or archived/deleted ones).&lt;/p&gt;&#xA;&lt;p&gt;Forgejo makes it simple thanks to the included CLI tool to change a user&amp;rsquo;s password:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;su - forgejo &lt;span style=&#34;color:#75715e&#34;&gt;# connect as the forgejo user&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;forgejo admin user change-password -u &amp;lt;user&amp;gt; -p &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;lt;passsword&amp;gt;&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;gotosocial&#34;&gt;GoToSocial&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gotosocial.org/&#34;&gt;GoToSocial&lt;/a&gt; is the &lt;a href=&#34;https://www.fediverse.to/&#34;&gt;Fediverse&lt;/a&gt; server I&amp;rsquo;m using (think of a very lightweight version of &lt;a href=&#34;https://mastodon.social/explore&#34;&gt;Mastodon&lt;/a&gt;). Like Forgejo (and others), it provides a simple CLI tool that can be used to change a user password. As I use it with docker, all I needed to do was:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker exec -it gotosocial /bin/sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./gotosocial admin account password --username some_username --password &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;some_really_good_password&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;linkding&#34;&gt;linkding&lt;/h3&gt;&#xA;&lt;p&gt;I use &lt;a href=&#34;https://github.com/sissbruecker/linkding&#34;&gt;Linkding&lt;/a&gt; as my bookmark manager and use its API to power the &lt;a href=&#34;https://bacardi55.io/bookmarks/&#34;&gt;bookmarks&lt;/a&gt; page on this website. Linkding doesn&amp;rsquo;t allow to update a password via the command line, but you can create another (temporary) super user that will be able to change other user passwords.&lt;/p&gt;&#xA;&lt;p&gt;To restore my access, first I did a backup of the sqlite database:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd path/to/linkding/storage&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo cp db.sqlite3 db.sqlite3.bak&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then, running linkding via docker, I simply had to connect to the container and run a helper script to create another superuser&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker exec -it linkding /bin/bash&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;python manage.py createsuperuser --username&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;joe --email&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;joe@example.com&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Once this was done, I connected with the new account, went to the admin section and change the password of my previous user. After that I logged out and loged in with my main account and removed the temporary user.&lt;/p&gt;&#xA;&lt;h3 id=&#34;uptime-kuma&#34;&gt;Uptime Kuma&lt;/h3&gt;&#xA;&lt;p&gt;I use &lt;a href=&#34;https://github.com/louislam/uptime-kuma&#34;&gt;Uptime Kuma&lt;/a&gt; to manage my &lt;a href=&#34;https://uptime.bacardi55.io/status/services-dashboard&#34;&gt;status page&lt;/a&gt; indicating the health of all the service I host. It is linked to my ntfy instance to send alert on my phone. Uptime Kuma provide a simple &lt;code&gt;reset-password&lt;/code&gt; script so that was easy. As I run it within a docker container, all I needed to do was:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker exec -it uptime-kuma /bin/bash &lt;span style=&#34;color:#75715e&#34;&gt;# connect to the docker container&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm run reset-password &lt;span style=&#34;color:#75715e&#34;&gt;# reset the password&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;ntfy&#34;&gt;Ntfy&lt;/h3&gt;&#xA;&lt;p&gt;I selfhost an instance of &lt;a href=&#34;https://ntfy.sh/&#34;&gt;ntfy&lt;/a&gt; to push notifications to my phone (more on that later maybe). It also provide an easy CLI tool that can change a user password. All I had to do was:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ntfy user change-pass username&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;willow&#34;&gt;Willow&lt;/h3&gt;&#xA;&lt;p&gt;I use &lt;a href=&#34;https://sr.ht/~amolith/willow/&#34;&gt;willow&lt;/a&gt; to track releases of software I selfhost/use. It is forge agnostic and a nice help to keep track of things. I&amp;rsquo;ve already &lt;a href=&#34;https://bacardi55.io/2023/12/08/track-software-releases-with-willow/&#34;&gt;talked about it before&lt;/a&gt; on this website.&lt;/p&gt;&#xA;&lt;p&gt;Willow CLI doesn&amp;rsquo;t provide a way to change a password, but instead I could simply delete my old user and recreate it with a new password:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;su - willow &lt;span style=&#34;color:#75715e&#34;&gt;# connect as willow user&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;willow -l -c /home/willow/.config/willow/config.toml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;willow -d username -c /home/willow/.config/willow/config.toml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;willow -a username -c /home/willow/.config/willow/config.toml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;syncthing&#34;&gt;Syncthing&lt;/h3&gt;&#xA;&lt;p&gt;I use &lt;a href=&#34;https://syncthing.net/&#34;&gt;SyncThing&lt;/a&gt; to share files between devices (mainly between my laptop, my phone and a dedicated VMs to have an always on device). The admin Web UI of the VM was protected by a login/password, but it is easy to remove by editing the configuration.&lt;/p&gt;&#xA;&lt;p&gt;First, backup the configuration just in case:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-nil&#34; data-lang=&#34;nil&#34;&gt;cp /home/syncthing/.config/syncthing/config.xml /home/syncthing/.config/syncthing/config.xml.bak&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then, edit the configuration file &lt;code&gt;/home/syncthing/.config/syncthing/config.xml&lt;/code&gt;, and remove in the &lt;code&gt;gui&lt;/code&gt; section the &lt;code&gt;&amp;lt;user&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;password&amp;gt;&lt;/code&gt; lines. Then restart syncthing with &lt;code&gt;systemctl restart syncthing@syncthing.service&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Final step is going back to the web UI (&lt;code&gt;https://server.domain.tld:8384/&lt;/code&gt;) and reconfigure the login/password you want to use.&lt;/p&gt;&#xA;&lt;h3 id=&#34;picoshare&#34;&gt;Picoshare&lt;/h3&gt;&#xA;&lt;p&gt;I use &lt;a href=&#34;https://github.com/mtlynch/picoshare&#34;&gt;picoshare&lt;/a&gt; to share images. This was a bit special because it uses a password saved in a &lt;code&gt;.env&lt;/code&gt; file loaded by docker. So all I needed was to look for that file (in the same directory as my &lt;code&gt;docker-compose.yml&lt;/code&gt; file) and that was it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;Again, first and foremost, a huge thank you to everyone involved in those software. Not only for creating great piece of software (hence why I&amp;rsquo;m using them), but for also make it easy to own them again and not have to reinstall them!&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m finally at the end of my journey retrieving all my access, so that&amp;rsquo;s the very positive note! One last final status on this to come and this &lt;a href=&#34;https://bacardi55.io/series/loosing-all-my-data/&#34;&gt;blog series&lt;/a&gt; will be done!&lt;/p&gt;&#xA;</description></item>
  </channel>
</rss>
