Add some fixes and news

This commit is contained in:
2025-08-23 04:17:24 +03:00
parent 92a0078b8b
commit 0f692aba68
15 changed files with 58 additions and 42 deletions

View File

@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="Беларусский или белорусский - как писать?">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords" content="Беларусь или Белоруссия белорусский беларусский">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">

View File

@@ -5,12 +5,13 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="Restoration of Synapse after losing 1 year of database history">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords" content="matrix synapse conduit postgres">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">
<title>Restoration of Synapse after disappearing 1 year of database history</title>
<title>Restoration of Synapse after losing 1 year of database history</title>
<link rel="stylesheet" href="/_astro/contact.8ef370d5.css" /></head>
<body>
<div class="header astro-HPNW4VWY">
@@ -22,9 +23,9 @@
<a href="/donate" class="astro-HPNW4VWY">Donate :3</a>
</div>
<h1>Restoration of Synapse after disappearing 1 year of database history</h1>
<h1>Restoration of Synapse after losing 1 year of database history</h1>
<div class="article"><h2 id="introduction">Introduction</h2><p>In July 2025, my PostgreSQL had broken, so I needed to restore it from my 1-y.o. backup. I was thinking about what to do, and my friend sent me <a href="https://blog.erethon.com/blog/2023/06/21/what-happens-when-a-matrix-server-disappears/">this</a> article, so we understood what to do!</p><p>For example, there is a room called #example:example.org (roomid !example:example.org), whose member was @user:example.net.
<div class="article"><h2 id="introduction">Introduction</h2><p>In July 2025, my Synapse PostgreSQL had broken, so I needed to restore it from my 1-y.o. backup. I was thinking about what to do, and my friend sent me <a href="https://blog.erethon.com/blog/2023/06/21/what-happens-when-a-matrix-server-disappears/">this</a> article, so we understood what to do!</p><p>For example, there is a room called #example:example.org (roomid !example:example.org), whose member was @user:example.net.
The problem is that every server knows @user:example.net is in the room #example:example.org. But our server doesnt! So that is what we should aim at solving the problem.</p><h2 id="architecture">Architecture</h2><p>We get 2 types of error messages:</p><ul>
<li><code>synapse.handlers.receipts: [PUT-...] Ignoring receipt for room &#39;!example:example.org&#39; from server example.org as we&#39;re not in the room</code> (there is the same error message, but when you get a typing event from an unknown room)</li>
<li><code>synapse.federation.federation_server: [PUT-...] Ignoring PDU for unknown room_id: !example:example.org</code></li>

View File

@@ -5,12 +5,13 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="Contact nothing.run &#38; nothing.run community">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">
<title>Contact</title>
<title>Contact us</title>
<link rel="stylesheet" href="/_astro/contact.8ef370d5.css" /></head>
<body>
<div class="header astro-HPNW4VWY">
@@ -22,7 +23,7 @@
<a href="/donate" class="astro-HPNW4VWY">Donate :3</a>
</div>
<h1>Contact</h1>
<h1>Contact us</h1>
<div class="asciicontainer">

View File

@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="Donate us :3">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">

5
dist/index.html vendored
View File

@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="Librehoster, crypto- and infoanarchysts, free software fans">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords" content="nothing crypto free software libre self host">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">

View File

@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="nothing.run-s matrix instance info">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords" content="matrix element synapse messenger IM">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">

View File

@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="Librehoster, crypto- and infoanarchysts, free software fans">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">
@@ -24,6 +25,10 @@
<h1>nothing.run</h1>
<h3 id="23-august-2025">23 August 2025</h3>
<ul>
<li>We have switched from Contabo nameservers to <a href="https://desec.io">Desec</a></li>
</ul>
<h3 id="9-august-2025">9 August 2025</h3>
<ul>
<li>There are <a href="https://tea.nothing.run">Gitea</a> and <a href="https://idm.nothing.run">KaniDM</a> right now</li>

View File

@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width">
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content="Astro v2.10.7">
<meta name="description" content="{frontmatter.description}">
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}">
<meta name="description" content="Tharys notes and articles">
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host">
<meta name="keywords">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">
@@ -30,7 +31,7 @@
</ul>
<h2 id="computers">Computers</h2>
<ul>
<li><a href="/articles/synapse-revitalization-script">Restoration of Synapse after disappearing 1 year of database history</a></li>
<li><a href="/articles/synapse-revitalization-script">Restoration of Synapse after losing 1 year of database history</a></li>
</ul>
<div id="footer">
<main>

View File

@@ -4,11 +4,13 @@ import Footer from "../components/footer.astro";
import "../fonts.css";
import "../style.css";
const {frontmatter, title} = Astro.props;
let props = {};
const {frontmatter} = Astro.props;
let {title, description, keys} = Astro.props;
if (typeof frontmatter !== 'undefined') {
props.title = frontmatter.title;
} else { props.title = title; };
title = frontmatter.title;
description = frontmatter.description;
keys = frontmatter.keys;
};
---
<!DOCTYPE html>
@@ -18,17 +20,18 @@ if (typeof frontmatter !== 'undefined') {
<meta name="viewport" content="width=device-width" />
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content={Astro.generator} />
<meta name="description" content="{frontmatter.description}" />
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}" />
<meta name="description" content={description} />
<meta name="keywords" content="nothing.run nothing privacy free libre software floss self host" />
<meta name="keywords" content={keys} />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">
<title>{props.title}</title>
<title>{title}</title>
</head>
<body>
<Header />
<h1>{props.title}</h1>
<h1>{title}</h1>
<slot />
<Footer />

View File

@@ -1,14 +1,14 @@
---
layout: '../../layouts/index.astro'
title: 'Restoration of Synapse after disappearing 1 year of database history'
description: '?'
keys: 'matrix synapse conduit'
title: 'Restoration of Synapse after losing 1 year of database history'
description: 'Restoration of Synapse after losing 1 year of database history'
keys: 'matrix synapse conduit postgres'
le: '19 Aug. 2025'
---
<div class="article">
## Introduction
In July 2025, my PostgreSQL had broken, so I needed to restore it from my 1-y.o. backup. I was thinking about what to do, and my friend sent me [this](https://blog.erethon.com/blog/2023/06/21/what-happens-when-a-matrix-server-disappears/) article, so we understood what to do!
In July 2025, my Synapse PostgreSQL had broken, so I needed to restore it from my 1-y.o. backup. I was thinking about what to do, and my friend sent me [this](https://blog.erethon.com/blog/2023/06/21/what-happens-when-a-matrix-server-disappears/) article, so we understood what to do!
For example, there is a room called #example:example.org (roomid !example:example.org), whose member was @user:example.net.
The problem is that every server knows @user:example.net is in the room #example:example.org. But our server doesn't! So that is what we should aim at solving the problem.

View File

@@ -2,7 +2,7 @@
import Layout from '../layouts/index.astro'
import MatrixChat from '../components/matrixchat.astro'
---
<Layout title="Contact">
<Layout title="Contact us" description="Contact nothing.run & nothing.run community">
<div class="asciicontainer">
<pre class="smaller">
__

View File

@@ -2,7 +2,6 @@
layout: '../layouts/index.astro'
title: 'Donate :3'
description: 'Donate us :3'
keys: 'nothing crypto free software libre self host'
---
import Service from '../components/service.astro';

View File

@@ -1,8 +1,8 @@
---
layout: '../layouts/index.astro'
title: 'Matrix'
description: 'Matrix'
keys: 'nothing crypto free software libre self host'
description: 'nothing.run-s matrix instance info'
keys: 'matrix element synapse messenger IM'
---
import MatrixChat from '../components/matrixchat.astro';

View File

@@ -2,9 +2,12 @@
layout: '../layouts/index.astro'
title: 'nothing.run'
description: 'Librehoster, crypto- and infoanarchysts, free software fans'
keys: 'nothing crypto free software libre self host'
---
### 23 August 2025
- We have switched from Contabo nameservers to [Desec](https://desec.io)
### 9 August 2025
- There are [Gitea](https://tea.nothing.run) and [KaniDM](https://idm.nothing.run) right now

View File

@@ -2,11 +2,10 @@
layout: '../layouts/index.astro'
title: 'nothing.run'
description: 'Tharys notes and articles'
keys: 'nothing crypto free software libre self host'
---
## Linguistics
- [Беларусский или белорусский](/articles/belarusian)
## Computers
- [Restoration of Synapse after disappearing 1 year of database history](/articles/synapse-revitalization-script)
- [Restoration of Synapse after losing 1 year of database history](/articles/synapse-revitalization-script)