Created individual pages for quick fixes

This commit is contained in:
Johannes Olzem 2024-01-18 12:00:36 +01:00
parent 72102db3eb
commit b9b1013be1
Signed by: jolzem
GPG Key ID: DB5485828E95A447
9 changed files with 327 additions and 47 deletions

View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fix - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h1>Connected without internet on Android after setting PiHole as DNS server.</h1>
<br>
<p>
Make sure you forward both TCP and UDP of port 53 from your Docker container.
</p>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fix - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h1>HomeAssistant not connecting over reverse proxy</h1>
<br>
<p>
Make sure you have enabled <em>Websockets Supports</em> or similar functionality in your reverse proxy client.
</p>
<h2>Explanation</h2>
<p>
HomeAssistant uses websockets to communicate with the browser.
</p>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

View File

@ -1,14 +1,14 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fixes - Blog - Johannes Olzem</title>
<title>Quick Fixes - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body class='quick-fixes'>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
@ -19,54 +19,18 @@
</nav>
<main>
<h2>Quick Fixes</h2>
<p>
This is a page with small problems, to which I have found easy solutions,
so as to not litter the blog page.
</p><br>
<table class='quick-fixes-table'>
<tr>
<th>Problem</th>
<th>Solution</th>
<th>Explanation</th>
</tr>
<tr>
<td>Nextcloud File not supported Error (<code style='line-break: anywhere'>exif_read_data(): File not supported at /var/www/html/lib/private/Metadata/Provider/ExifProvider.php#59</code>).</td>
<td>Upload over IP and port rather than over nginx proxy.</td>
<td>The request payload (the data you are trying to upload) is too large for nginx.</td>
</tr>
<tr>
<td><code>Connected without internet</code> on Android after setting PiHole as DNS Server.<br></td>
<td>Make sure you forward both <b>TCP</b> and <b>UDP</b> of Port 53 from your Docker container.</td>
<td></td>
</tr>
<tr>
<td>ThinkPad R61 (or any older ThinkPad model, I believe) repeated beep at startup.</td>
<td>Check keyboard connector / swap out keyboard.</td>
<td>No keyboard detected on bootup.</td>
</tr>
<tr>
<td>Pacman install fails with 404 (<code>error: failed retrieving file 'X' from Y : The requested URL returned error: 404</code>).</td>
<td>
Replace <code>/etc/pacman.d/mirrorlist</code> with a new file generated at <a href='https://archlinux.org/mirrorlist/'>https://archlinux.org/mirrorlist/</a>.<br>
Then run <code>sudo pacman -Syyu</code> to update with the new mirrorlist. Make sure to use 2 y's, to force the new changes.
</td>
<td>Your mirrorlist is outdated, possibly due to the recent <a href='https://archlinux.org/news/git-migration-completed/'>pacman git migration</a>.</td>
</tr>
<tr>
<td>Proton / Wine Audio stuttering when using qpaeq equalizer</td>
<td>Switch to normal audio device</td>
<td></td>
</tr>
<tr>
<td>HomeAssistant not connecting over reverse proxy</td>
<td>Make sure you have enabled <em>Websockets Support</em> or similar functionality in your reverse proxy client.</td>
<td>HomeAssistant uses websockets for its frontend.</td>
</tr>
</table>
<h3>This is a page with small problems, to which I have found easy solutions, so as to not litter the blog page.</h3>
<div class='blog-entries'>
<a href='nextcloud-file-not-supported/'>Nextcloud file not supported error</a>
<a href='android-pihole-no-internet/'>Connected without internet on Android after setting PiHole as DNS server.</a>
<a href='thinkpad-r61-beep/'> Thinkpad R61 repeated beep on startup</a>
<a href='pacman-404/'>Pacman install fails with 404</a>
<a href='proton-audio-stuttering/'>Proton / Wine audio stuttering when using qpaeq equalizer</a>
<a href='homeassistant-proxy/'>HomeAssistant not connecting over reverse proxy</a>
</div>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fix - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h1>Nextcloud file not supported error</h1>
<h2><code>exif_read_data(): File not supported at /var/www/html/lib/private/Metadata/Provider/ExifProvider.php#59</code></h2>
<br>
<p>
Upload over IP and port rather than over nginx proxy.
</p>
<h2>Explanation</h2>
<p>
The request payload (the data your are trying to upload) is too large for nginx.
</p>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

View File

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fix - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h1>Pacman install fails with 404</h1>
<h2><code>error: failed retrieving file 'X' from Y : The requested URL returned error: 404</code></h2>
<br>
<p>
Replace <code>/etc/pacman.d/mirrorlist</code> with a new file generated at <a href='https://archlinux.org/mirrorlist/'>https://archlinux.org/mirrorlist/</a>.
<br>
Then run <code>sudo pacman -Syyu</code> to update the package database with the new mirrorlist. Make sure to use 2 y's, to force the new changes.
</p>
<h2>Explanation</h2>
<p>
Your mirrorlist is outdated, possibly due to the recent <a href='https://archlinux.org/news/git-migration-completed/'>pacman git migration</a>.
</p>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

72
blog/quick-fixes/pages.html Executable file
View File

@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fixes - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body class='quick-fixes'>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h2>Quick Fixes</h2>
<p>
This is a page with small problems, to which I have found easy solutions,
so as to not litter the blog page.
</p><br>
<table class='quick-fixes-table'>
<tr>
<th>Problem</th>
<th>Solution</th>
<th>Explanation</th>
</tr>
<tr>
<td>Nextcloud File not supported Error (<code style='line-break: anywhere'>exif_read_data(): File not supported at /var/www/html/lib/private/Metadata/Provider/ExifProvider.php#59</code>).</td>
<td>Upload over IP and port rather than over nginx proxy.</td>
<td>The request payload (the data you are trying to upload) is too large for nginx.</td>
</tr>
<tr>
<td><code>Connected without internet</code> on Android after setting PiHole as DNS Server.<br></td>
<td>Make sure you forward both <b>TCP</b> and <b>UDP</b> of Port 53 from your Docker container.</td>
<td></td>
</tr>
<tr>
<td>ThinkPad R61 (or any older ThinkPad model, I believe) repeated beep at startup.</td>
<td>Check keyboard connector / swap out keyboard.</td>
<td>No keyboard detected on bootup.</td>
</tr>
<tr>
<td>Pacman install fails with 404 (<code>error: failed retrieving file 'X' from Y : The requested URL returned error: 404</code>).</td>
<td>
Replace <code>/etc/pacman.d/mirrorlist</code> with a new file generated at <a href='https://archlinux.org/mirrorlist/'>https://archlinux.org/mirrorlist/</a>.<br>
Then run <code>sudo pacman -Syyu</code> to update with the new mirrorlist. Make sure to use 2 y's, to force the new changes.
</td>
<td>Your mirrorlist is outdated, possibly due to the recent <a href='https://archlinux.org/news/git-migration-completed/'>pacman git migration</a>.</td>
</tr>
<tr>
<td>Proton / Wine Audio stuttering when using qpaeq equalizer</td>
<td>Switch to normal audio device</td>
<td></td>
</tr>
<tr>
<td>HomeAssistant not connecting over reverse proxy</td>
<td>Make sure you have enabled <em>Websockets Support</em> or similar functionality in your reverse proxy client.</td>
<td>HomeAssistant uses websockets for its frontend.</td>
</tr>
</table>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fix - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h1>Proton / Wine audio stuttering when using qpaeq equalizer</h1>
<br>
<p>
Switch to normal audio device.
</p>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

37
blog/quick-fixes/template.html Executable file
View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fix - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h1>{{ Title }}</h1>
<h2>{{ Problem }}</h2>
<div class='author'>Johannes Olzem</div>
<br>
<p>
{{ Fix }}
</p>
<h2>Explanation</h2>
<p>
{{ Explanation }}
</p>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Quick Fix - Blog - Johannes Olzem</title>
<meta name='description' content="Johannes Olzem's Webspace.">
<meta charset='utf-8'>
<link rel='stylesheet' href='/css/style.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' href='/favico.ico'>
</head>
<body>
<header>
<a href='/'>Johannes Olzem's Webspace</a>
</header>
<nav>
<a href='/blog/'>Blog</a>
<a href='/about/'>About Me</a>
<a href='/contact/'>Contact</a>
</nav>
<main>
<h1>Thinkpad R61 repeated beep on startup</h1>
<h2>(or any older ThinkPad model, I believe)</h2>
<br>
<p>
Check keyboard connector / swap out keyboard.
</p>
<h2>Explanation</h2>
<p>
No keyboard detected on bootup.
</p>
</main>
<footer>
<h6><a href><script>document.write(window.location.href);</script></a></h6>
</footer>
</body>
</html>