[09/03/23] tags --> categories, added support for tags, changed category formatting
This commit is contained in:
parent
8c53fbd8d5
commit
a65511d465
16 changed files with 143 additions and 108 deletions
|
@ -1,136 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Musings on the power of cinema">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/2023/01/14/musings-on-the-cinema.html">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/default.css" rel="stylesheet">
|
||||
<style>
|
||||
|
||||
|
||||
|
||||
code {
|
||||
color: limegreen;
|
||||
}
|
||||
|
||||
pre {
|
||||
color: limegreen
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: limegreen;
|
||||
color: black
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-start">
|
||||
|
||||
|
||||
|
||||
<h1 class="display-3" style="font-weight:700;position:sticky;top:0;backdrop-filter:blur(10px);z-index:1000;">
|
||||
|
||||
<span style="color:black;background-color:limegreen;">ac</span>
|
||||
|
||||
</h1>
|
||||
<div class="row row-cols-1 row-cols-md-2">
|
||||
<div class="col col-md-3">
|
||||
<div class="row row-cols-1 g-0">
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="/index.html" class="text-decoration-none"> about </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="/blog.html" class="text-decoration-none"> blog </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> photos </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col gy-2">
|
||||
<h4>
|
||||
<div>
|
||||
<span>
|
||||
|
||||
|
||||
<a href="https://twitter.com/andrwcnln" target="_blank"><i class="fab fa-twitter"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
|
||||
|
||||
|
||||
|
||||
<a href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<hr class="menu">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-md-9">
|
||||
<h1 style="font-weight: 500;">
|
||||
Musings on the power of cinema
|
||||
</h1>
|
||||
|
||||
|
||||
<p style="font-family:Rubik Mono One;">
|
||||
14 Jan 2023 |
|
||||
|
||||
|
||||
<span style="background-color:limegreen;color:black;">thoughts</span>
|
||||
|
||||
|
||||
<span style="background-color:darkgreen;color:white;">journal</span>
|
||||
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
<p>I’ve realised that going to the cinema makes me sad; a quiet, contemplative melancholy. Ennui. No matter the film, something about the cinema experience is meditative for me. I always look at things differently in the aftermath; like my perception is temporarily knocked off balance. No, more like a fog is lifted for a while. I especially enjoy that time immediately after, the cycle home. I notice so many little details, scenes of beauty and of strange nostalgia. Like I’m finally seeing the world how it is, or rather, I begin to see rather than look, listen rather than hear. I feel as though these moments, however brief, are when I am truly in touch with myself. My soul, my inner essence. This is why I love the cinema. These moments of private melancholy, of temporary clarity. It is a feeling I cannot replicate anywhere else in my life.</p>
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
|
||||
crossorigin="anonymous"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,175 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Fixing php errors in a Nextcloud docker-compose configuration">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/2023/03/01/nextcloud-php-errors.html">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/default.css" rel="stylesheet">
|
||||
<style>
|
||||
|
||||
|
||||
|
||||
code {
|
||||
color: gold;
|
||||
}
|
||||
|
||||
pre {
|
||||
color: gold
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: gold;
|
||||
color: black
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-start">
|
||||
|
||||
|
||||
|
||||
<h1 class="display-3" style="font-weight:700;position:sticky;top:0;backdrop-filter:blur(10px);z-index:1000;">
|
||||
|
||||
<span style="color:black;background-color:gold;">ac</span>
|
||||
|
||||
</h1>
|
||||
<div class="row row-cols-1 row-cols-md-2">
|
||||
<div class="col col-md-3">
|
||||
<div class="row row-cols-1 g-0">
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="/index.html" class="text-decoration-none"> about </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="/blog.html" class="text-decoration-none"> blog </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> photos </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col gy-2">
|
||||
<h4>
|
||||
<div>
|
||||
<span>
|
||||
|
||||
|
||||
<a href="https://twitter.com/andrwcnln" target="_blank"><i class="fab fa-twitter"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
|
||||
|
||||
|
||||
|
||||
<a href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<hr class="menu">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-md-9">
|
||||
<h1 style="font-weight: 500;">
|
||||
Fixing php errors in a Nextcloud docker-compose configuration
|
||||
</h1>
|
||||
|
||||
|
||||
<p style="font-family:Rubik Mono One;">
|
||||
01 Mar 2023 |
|
||||
|
||||
|
||||
<span style="background-color:gold;color:black;">til</span>
|
||||
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
<p>I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird <code class="language-plaintext highlighter-rouge">php</code> errors.</p>
|
||||
|
||||
<h3 id="first-error---could-not-find-driver">First error - “could not find driver”</h3>
|
||||
|
||||
<p>I was trying using the following syntax to call <code class="language-plaintext highlighter-rouge">occ</code> and scan the files:</p>
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo -u www-data php /path/to/nextcloud/occ files:scan --all
|
||||
</code></pre></div></div>
|
||||
|
||||
<p>but I kept running into a PHP error. Specifically this error:</p>
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver in /path/to/nextcloud/lib/private/DB/Connection.php:139
|
||||
</code></pre></div></div>
|
||||
|
||||
<p>followed by a long, verbose stack trace.</p>
|
||||
|
||||
<p>It took me a decent amount of time to diagnose the exact issue, but eventually I found <a href="https://docs.nextcloud.com/server/20/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation">this list</a> of required PHP modules in the Nextcloud admin manual.</p>
|
||||
|
||||
<p>Running <code class="language-plaintext highlighter-rouge">php -m</code> will print out the list of currently installed PHP modules. I noticed I was missing quite a few of the required modules, but the one that was causing my issue was the missing <code class="language-plaintext highlighter-rouge">pdo_mysql</code> module.
|
||||
This can be installed by running:</p>
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo apt-get install php7.4-mysql
|
||||
</code></pre></div></div>
|
||||
<p><strong>Note: This command will change based on your OS, PHP version and database type</strong></p>
|
||||
|
||||
<p>This resolved the error! However (as is always the case), this only meant I got a shiny new error instead:</p>
|
||||
|
||||
<h3 id="second-error---name-or-service-not-known">Second error - “Name or service not known”</h3>
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /path/to/nextcloud/lib/private/DB/Connection.php:139
|
||||
</code></pre></div></div>
|
||||
|
||||
<p>From first glance, this looks like something wrong in the DNS name resolution. This sent me a long way down the wrong path, changing a whole bunch of things in my docker-compose.yml file.
|
||||
Eventually however, after a long and perilous journey over the high seas of Nextcloud forums and StackOverflow, I found <a href="https://techoverflow.net/2020/07/17/how-to-run-nextcloud-php-occ-in-a-docker-compose-configuration/">this example</a> of running <code class="language-plaintext highlighter-rouge">php occ</code> in a docker-compose configuration.
|
||||
This led me to running this command:</p>
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>docker-compose exec -u www-data nextcloud-app php occ files:scan --all
|
||||
</code></pre></div></div>
|
||||
<p><strong>Note: replace nextcloud-app with the name of your Nextcloud container. Also, this command must be run from the directory of your Nextcloud docker-compose.yml</strong></p>
|
||||
|
||||
<p>….aaaaaand, <em>voila!</em> The command runs, the files are scanned and everything is up to date.</p>
|
||||
|
||||
<p><img src="/assets/images/occ.png" alt="terminal output showing the files that have been successfully been scanned" /></p>
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
|
||||
crossorigin="anonymous"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,137 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Yuri Felsen on love">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/2023/03/05/yuri-felsen-on-love.html">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/default.css" rel="stylesheet">
|
||||
<style>
|
||||
|
||||
|
||||
|
||||
code {
|
||||
color: fuchsia;
|
||||
}
|
||||
|
||||
pre {
|
||||
color: fuchsia
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: fuchsia;
|
||||
color: black
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-start">
|
||||
|
||||
|
||||
|
||||
<h1 class="display-3" style="font-weight:700;position:sticky;top:0;backdrop-filter:blur(10px);z-index:1000;">
|
||||
|
||||
<span style="color:black;background-color:fuchsia;">ac</span>
|
||||
|
||||
</h1>
|
||||
<div class="row row-cols-1 row-cols-md-2">
|
||||
<div class="col col-md-3">
|
||||
<div class="row row-cols-1 g-0">
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="/index.html" class="text-decoration-none"> about </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="/blog.html" class="text-decoration-none"> blog </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> photos </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col gy-2">
|
||||
<h4>
|
||||
<div>
|
||||
<span>
|
||||
|
||||
|
||||
<a href="https://twitter.com/andrwcnln" target="_blank"><i class="fab fa-twitter"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
|
||||
|
||||
|
||||
|
||||
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
|
||||
|
||||
|
||||
|
||||
<a href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<hr class="menu">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-md-9">
|
||||
<h1 style="font-weight: 500;">
|
||||
Yuri Felsen on love
|
||||
</h1>
|
||||
|
||||
|
||||
<p style="font-family:Rubik Mono One;">
|
||||
05 Mar 2023 |
|
||||
|
||||
|
||||
<span style="background-color:fuchsia;color:black;">quotes</span>
|
||||
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
<p><em>“Like everyone, I have my own, maybe obsessive futile, maybe in some way authentic, vision: all of a sudden, I will imagine the entire homogenous world as it is revealed to us-the streets, the cities, the rooms, those intelligent beasts of a sad and predatory nature, who have learn to stand on their hind legs, who have built all this but are fated to disappear, who, despite this, still try to cling to something solid and lasting, still try to ward off the inevitability of death, who dreamt up fairy tales and, now that these stories have been disproved, are disconsolate - and for me the only means of defending myself from our terrible fate is love, my love - Lyolya. Without love we fall into a stupor or despair, it covers our naked animal essence; with the fear of death, with deliberate attempts to grab hold of some kind of eternity, one that is at once a mystery to us and yet devised by us, even the remains of love, even its very echo in music, imbues us with a semblance of fearlessness, dignity and the spiritual range to disregard death. Only by loving, by knowing about love, hoping for love, are we inspired and meaningfully engaged in life, able to banish the sovereignty of petty day-to-day cares, to stop waiting for the end to come”</em></p>
|
||||
|
||||
<p><strong>- Yuri Felsen (<em>trans. Bryan Karetnyk</em>)</strong></p>
|
||||
|
||||
<p>From ‘Deceit’, first published in 1930 and translated to English in 2022.</p>
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
|
||||
crossorigin="anonymous"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue