<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniele Michelin</title>
    <description>The latest articles on DEV Community by Daniele Michelin (@mikweb2025design).</description>
    <link>https://dev.to/mikweb2025design</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4203448%2Fffe5cc53-a862-4b03-bec6-790f814b375c.jpg</url>
      <title>DEV Community: Daniele Michelin</title>
      <link>https://dev.to/mikweb2025design</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mikweb2025design"/>
    <language>en</language>
    <item>
      <title>Let's Encrypt acme:error:unauthorized: fix</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Sat, 05 Dec 2026 07:32:13 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/lets-encrypt-acmeerrorunauthorized-fix-457o</link>
      <guid>https://dev.to/mikweb2025design/lets-encrypt-acmeerrorunauthorized-fix-457o</guid>
      <description>&lt;p&gt;Let's Encrypt could not fetch the challenge file under &lt;code&gt;/.well-known/acme-challenge/&lt;/code&gt; from the right server and therefore refuses to issue the certificate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common causes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An AAAA record points to an IPv6 address where no vhost or the wrong one answers – Let's Encrypt prefers IPv6.&lt;/li&gt;
&lt;li&gt;DNS still points to the old server (migration, high TTL).&lt;/li&gt;
&lt;li&gt;Rewrite or redirect rules (Nextcloud, WordPress, forced HTTPS to another host) catch the path.&lt;/li&gt;
&lt;li&gt;Wrong &lt;code&gt;--webroot&lt;/code&gt; path, so the file is not where nginx serves it.&lt;/li&gt;
&lt;li&gt;A CDN, proxy or firewall blocks port 80.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to check it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Check A and AAAA records&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig +short A example.com&lt;span class="o"&gt;;&lt;/span&gt; dig +short AAAA example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Test the challenge path over IPv6&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -6 -sI http://example.com/.well-known/acme-challenge/test
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Is nginx listening on IPv6 port 80?&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;nginx -T 2&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s1"&gt;'listen .*\[::\]:80'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What actually helps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Add &lt;code&gt;listen [::]:80;&lt;/code&gt; to the HTTP vhost, or delete a wrong AAAA record.&lt;/li&gt;
&lt;li&gt;Serve the challenge path before any redirect: &lt;code&gt;location ^~ /.well-known/acme-challenge/ { root /var/www/letsencrypt; }&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Lower the TTL before a migration and request the certificate only after the switch.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why does it work in my browser but not for Let's Encrypt?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Your browser may use IPv4 or a cache. Let's Encrypt queries over IPv6 as soon as an AAAA record exists, and validates from several locations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How many failed attempts are allowed?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let's Encrypt allows 5 failed validations per account, hostname and hour. Test with &lt;code&gt;--dry-run&lt;/code&gt; against staging first.&lt;/p&gt;




&lt;p&gt;Full page with every command and the German/Italian version: &lt;a href="https://daniele-michelin.com/en/errors/letsencrypt-acme-error-unauthorized/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/errors/letsencrypt-acme-error-unauthorized/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. The error lexicon covers HTTP, DNS, TLS, mail, database, PHP, nginx, systemd and Nextcloud, in German, English and Italian.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>MongoDB: which versions still get updates</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Fri, 04 Dec 2026 07:32:02 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/mongodb-which-versions-still-get-updates-2h92</link>
      <guid>https://dev.to/mikweb2025design/mongodb-which-versions-still-get-updates-2h92</guid>
      <description>&lt;p&gt;Which versions still get updates, which only security fixes — and which none. Updated daily.&lt;/p&gt;

&lt;p&gt;Recommended: MongoDB 9.0 (latest 9.0.8) — the newest version with full support.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Latest&lt;/th&gt;
&lt;th&gt;Released&lt;/th&gt;
&lt;th&gt;Supported until&lt;/th&gt;
&lt;th&gt;Security fixes until&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;9.0&lt;/td&gt;
&lt;td&gt;9.0.8&lt;/td&gt;
&lt;td&gt;30 September 2026&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;31 October 2031&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.3&lt;/td&gt;
&lt;td&gt;8.3.17&lt;/td&gt;
&lt;td&gt;31 May 2026&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;31 October 2029&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.2&lt;/td&gt;
&lt;td&gt;8.2.12&lt;/td&gt;
&lt;td&gt;30 September 2025&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;31 July 2026&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.1&lt;/td&gt;
&lt;td&gt;8.1.3&lt;/td&gt;
&lt;td&gt;30 June 2025&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;30 September 2025&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.0&lt;/td&gt;
&lt;td&gt;8.0.38&lt;/td&gt;
&lt;td&gt;31 October 2024&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;31 October 2029&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7.3&lt;/td&gt;
&lt;td&gt;7.3.4&lt;/td&gt;
&lt;td&gt;31 March 2024&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;2 October 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7.2&lt;/td&gt;
&lt;td&gt;7.2.2&lt;/td&gt;
&lt;td&gt;31 January 2024&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;27 March 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7.1&lt;/td&gt;
&lt;td&gt;7.1.1&lt;/td&gt;
&lt;td&gt;31 October 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;23 January 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7.0&lt;/td&gt;
&lt;td&gt;7.0.48&lt;/td&gt;
&lt;td&gt;31 August 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;31 August 2027&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6.3&lt;/td&gt;
&lt;td&gt;6.3.2&lt;/td&gt;
&lt;td&gt;30 April 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;31 August 2023&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6.2&lt;/td&gt;
&lt;td&gt;6.2.1&lt;/td&gt;
&lt;td&gt;28 February 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;24 April 2023&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6.1&lt;/td&gt;
&lt;td&gt;6.1.1&lt;/td&gt;
&lt;td&gt;31 October 2022&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;9 February 2023&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6.0&lt;/td&gt;
&lt;td&gt;6.0.30&lt;/td&gt;
&lt;td&gt;31 July 2022&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;31 July 2025&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5.3&lt;/td&gt;
&lt;td&gt;5.3.2&lt;/td&gt;
&lt;td&gt;31 March 2022&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;19 July 2022&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5.2&lt;/td&gt;
&lt;td&gt;5.2.1&lt;/td&gt;
&lt;td&gt;31 January 2022&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;23 March 2022&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5.1&lt;/td&gt;
&lt;td&gt;5.1.1&lt;/td&gt;
&lt;td&gt;30 November 2021&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;19 January 2022&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Dates checked every day on the page: &lt;a href="https://daniele-michelin.com/en/versions/mongodb/" rel="noopener noreferrer"&gt;https://daniele-michelin.com/en/versions/mongodb/&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Full table, kept up to date every day: &lt;a href="https://daniele-michelin.com/en/versions/mongodb/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/versions/mongodb/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://daniele-michelin.com/en/versions/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. End-of-support dates for 25 products, plus an error lexicon of 149 messages, in German, English and Italian.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mongodb</category>
      <category>devops</category>
      <category>linux</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>n8n Nextcloud #1: the morning briefing from calendar and tasks, straight into Talk</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Fri, 04 Dec 2026 07:32:01 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/n8n-x-nextcloud-1-the-morning-briefing-from-calendar-and-tasks-straight-into-talk-1lb</link>
      <guid>https://dev.to/mikweb2025design/n8n-x-nextcloud-1-the-morning-briefing-from-calendar-and-tasks-straight-into-talk-1lb</guid>
      <description>&lt;p&gt;n8n × Nextcloud · Episode 1 of 20 · spectacular · medium&lt;/p&gt;

&lt;p&gt;The new series connects n8n with Nextcloud, one workflow for everyday office work every three weeks. It starts with the morning briefing. Nextcloud can export calendars and tasks as JSON, with recurring events already expanded. n8n fetches both, an AI turns them into five lines and posts them to a Talk room. It also works without AI: then you get a clean list.&lt;/p&gt;

&lt;p&gt;Nextcloud apps: Calendar, Tasks, Talk, Assistant/AI&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Weekdays at 07:30:&lt;/strong&gt; starts the workflow Monday to Friday at 7:30 (the workflow's time zone).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Config:&lt;/strong&gt; collects all personal values in one place: Nextcloud address, user, calendar, Talk room, language and AI endpoint. n8n works out the start and end of the day itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Today's events:&lt;/strong&gt; fetches the calendar through the CalDAV export as jCal (JSON). &lt;code&gt;expand=1&lt;/code&gt; with &lt;code&gt;start&lt;/code&gt; and &lt;code&gt;end&lt;/code&gt; expands today's recurring events.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open tasks:&lt;/strong&gt; uses &lt;code&gt;componentType=VTODO&lt;/code&gt; to get the tasks of the Nextcloud Tasks app, also as JSON.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wait for both:&lt;/strong&gt; waits until both requests are done.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build briefing:&lt;/strong&gt; reads both JSON answers, sorts the meetings, spots overlaps and keeps only tasks that are due today, overdue or important. The result is a plain list plus the request for the AI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use AI?:&lt;/strong&gt; decides from &lt;code&gt;use_ai&lt;/code&gt; whether to ask the AI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI summary:&lt;/strong&gt; sends the list to an OpenAI-compatible endpoint. The instruction forbids inventing anything and puts overlaps and overdue items first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compose message:&lt;/strong&gt; takes the AI text, or the plain list when there is none. So the briefing always arrives.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post to Talk:&lt;/strong&gt; posts the message to the chosen room through the Talk chat API (OCS).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What it is good for in the office
&lt;/h2&gt;

&lt;p&gt;For anyone who opens three apps every morning just to see what the day looks like. The briefing lands where the team already talks, on the phone too via the Talk app. Double bookings stand out before the first call comes in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Safety and limits
&lt;/h2&gt;

&lt;p&gt;The workflow only reads; it changes no meetings and no tasks. It posts with your account, so best use a room of your own that only you are in. Meeting titles are often confidential: with &lt;code&gt;use_ai = no&lt;/code&gt; nothing leaves your server; otherwise only send them to a provider you trust (for example an EU data centre or your own LocalAI server). An app password can be revoked on its own at any time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make it yours
&lt;/h2&gt;

&lt;p&gt;Several calendars? Duplicate the “Today's events” node and add one more input to the merge. Instead of Talk you can send an e-mail or a Nextcloud notification. And if you want to hear the briefing, send the text to the Nextcloud Assistant's text-to-speech (coming in a later episode).&lt;/p&gt;

&lt;h2&gt;
  
  
  Import it in five minutes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Download the workflow: &lt;a href="https://daniele-michelin.com/assets/n8n-nextcloud/nc-01.json" rel="noopener noreferrer"&gt;nc-01.json&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In n8n, top right “…” → “Import from File”.&lt;/li&gt;
&lt;li&gt;In Nextcloud, under &lt;em&gt;Personal settings → Security → Devices &amp;amp; sessions&lt;/em&gt;, create an app password just for n8n. In n8n turn it into a “Basic Auth” credential (user name + app password) and select it in every Nextcloud node.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Config&lt;/strong&gt; node replace the placeholders: your Nextcloud address, user name, calendar, Talk room (the token is in the room address after &lt;code&gt;/call/&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Press “Execute workflow” once, check the result, then activate it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The AI node needs an OpenAI-compatible endpoint as a “Header Auth” credential, for example IONOS AI Model Hub, your own LocalAI server or Mistral. Address and model are in the Config node. If the AI fails, the workflow carries on with a plain list.&lt;/p&gt;

&lt;p&gt;New to n8n? The basics are in &lt;a href="https://daniele-michelin.com/en/blog/n8n-introduced-internet-pulse/" rel="noopener noreferrer"&gt;n8n introduced&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://daniele-michelin.com/en/n8n-nextcloud/" rel="noopener noreferrer"&gt;All episodes of the series →&lt;/a&gt;&lt;br&gt;
&lt;a href="https://daniele-michelin.com/en/n8n-workflows/" rel="noopener noreferrer"&gt;The sister series: an n8n workflow of the week, every Thursday →&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://daniele-michelin.com/en/blog/n8n-nextcloud-1-morning-briefing/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. More guides, free checks (SPF, TLS, headers) and an error-message lexicon: &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>n8n</category>
      <category>nextcloud</category>
      <category>automation</category>
      <category>ai</category>
    </item>
    <item>
      <title>SAML: signature validation failed in Nextcloud</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Thu, 03 Dec 2026 07:32:54 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/saml-signature-validation-failed-in-nextcloud-2f0g</link>
      <guid>https://dev.to/mikweb2025design/saml-signature-validation-failed-in-nextcloud-2f0g</guid>
      <description>&lt;p&gt;Nextcloud (user_saml with php-saml) could not verify the SAML response signature with the stored IdP certificate and rejects the login.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common causes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The identity provider (Entra ID, ADFS, Keycloak) rotated its signing certificate and Nextcloud still has the old one.&lt;/li&gt;
&lt;li&gt;The wrong certificate is stored, e.g. the encryption instead of the signing certificate.&lt;/li&gt;
&lt;li&gt;Signature settings do not match: Nextcloud expects signed assertions while the IdP only signs the response (or vice versa).&lt;/li&gt;
&lt;li&gt;The certificate was damaged while copying (line breaks, missing characters).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to check it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Show the SAML configuration in Nextcloud&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo -u www-data php /var/www/nextcloud/occ saml:config:get
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Read the current IdP certificates from the metadata&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s https://sso.example.com/realms/main/protocol/saml/descriptor &lt;span class="o"&gt;|&lt;/span&gt; grep -o &lt;span class="s1"&gt;'&amp;lt;ds:X509Certificate&amp;gt;[^&amp;lt;]*'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Fingerprint and expiry of the stored certificate&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openssl x509 -in idp.crt -noout -fingerprint -sha256 -enddate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What actually helps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Paste the current signing certificate from the IdP metadata into Nextcloud's SSO settings (Base64 block only, no blank lines).&lt;/li&gt;
&lt;li&gt;Align signature options with the IdP, e.g. signed assertions vs. signed response.&lt;/li&gt;
&lt;li&gt;For planned rotations, add the new certificate in time if the IdP uses both in parallel.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is this about the website's TLS certificate?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No. SAML uses a separate signing certificate from the IdP. Nextcloud's HTTPS certificate plays no role here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why did it work yesterday?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Almost always the IdP certificate was renewed. Entra ID and ADFS rotate automatically; compare the fingerprint in the metadata with the one in Nextcloud.&lt;/p&gt;




&lt;p&gt;Full page with every command and the German/Italian version: &lt;a href="https://daniele-michelin.com/en/errors/nextcloud-saml-signature-validation-failed/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/errors/nextcloud-saml-signature-validation-failed/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. The error lexicon covers HTTP, DNS, TLS, mail, database, PHP, nginx, systemd and Nextcloud, in German, English and Italian.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>n8n workflow #4: the Wikimedia picture of the day on your phone every morning</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Thu, 03 Dec 2026 07:32:53 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/n8n-workflow-4-the-wikimedia-picture-of-the-day-on-your-phone-every-morning-10ac</link>
      <guid>https://dev.to/mikweb2025design/n8n-workflow-4-the-wikimedia-picture-of-the-day-on-your-phone-every-morning-10ac</guid>
      <description>&lt;p&gt;n8n workflow of the week · Episode 4 of 21 · just for fun&lt;/p&gt;

&lt;p&gt;Every day Wikimedia Commons picks a “picture of the day”: nature, architecture, space, often breathtaking. The Wikimedia API delivers it with a description and a preview URL. A Code node turns it into a message, and ntfy attaches the image directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Every morning at 7:&lt;/strong&gt; starts every morning at 7.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Featured content:&lt;/strong&gt; fetches Wikimedia's “featured content” for today. The date sits in the URL as the expression &lt;code&gt;$now.toFormat('yyyy/MM/dd')&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build message:&lt;/strong&gt; takes the description, preview image and link to the file page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Push to phone:&lt;/strong&gt; sends the message; the &lt;code&gt;attach&lt;/code&gt; field makes ntfy download and show the image.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What it is good for
&lt;/h2&gt;

&lt;p&gt;Honestly: for nothing but a nice start to the day. Technically you learn two things you will need often: dates in expressions and attachments in notifications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make it yours
&lt;/h2&gt;

&lt;p&gt;Swap &lt;code&gt;/en/&lt;/code&gt; in the URL for &lt;code&gt;/de/&lt;/code&gt; or &lt;code&gt;/it/&lt;/code&gt; to get the description in German or Italian. Instead of your phone, the picture can go to the family by e-mail or into a Nextcloud folder as a wallpaper.&lt;/p&gt;

&lt;h2&gt;
  
  
  Import it in two minutes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Download the workflow: &lt;a href="https://daniele-michelin.com/assets/n8n/week-04.json" rel="noopener noreferrer"&gt;week-04.json&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In n8n, top right “…” → “Import from File”.&lt;/li&gt;
&lt;li&gt;In every push node replace &lt;code&gt;your-secret-topic&lt;/code&gt; with your own hard-to-guess topic and subscribe to it in the &lt;a href="https://ntfy.sh" rel="noopener noreferrer"&gt;ntfy&lt;/a&gt; app (free, no account).&lt;/li&gt;
&lt;li&gt;Adjust the values marked with a comment in the Code node, press “Execute workflow” once, then activate it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;New to n8n? The basics are in &lt;a href="https://daniele-michelin.com/en/blog/n8n-introduced-internet-pulse/" rel="noopener noreferrer"&gt;n8n introduced&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://daniele-michelin.com/en/n8n-workflows/" rel="noopener noreferrer"&gt;All episodes of the series →&lt;/a&gt;&lt;br&gt;
&lt;a href="https://daniele-michelin.com/en/n8n-live/" rel="noopener noreferrer"&gt;Start an n8n workflow live with one click →&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://daniele-michelin.com/en/blog/n8n-week-4-picture-of-the-day/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. More guides, free checks (SPF, TLS, headers) and an error-message lexicon: &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>n8n</category>
      <category>automation</category>
      <category>ai</category>
    </item>
    <item>
      <title>MariaDB: which versions still get updates</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Wed, 02 Dec 2026 07:33:01 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/mariadb-which-versions-still-get-updates-3epa</link>
      <guid>https://dev.to/mikweb2025design/mariadb-which-versions-still-get-updates-3epa</guid>
      <description>&lt;p&gt;Which versions still get updates, which only security fixes — and which none. Updated daily.&lt;/p&gt;

&lt;p&gt;Recommended: MariaDB 13.1 (latest 13.1.2) — the newest version with full support.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Latest&lt;/th&gt;
&lt;th&gt;Released&lt;/th&gt;
&lt;th&gt;Supported until&lt;/th&gt;
&lt;th&gt;Security fixes until&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;12.3 LTS&lt;/td&gt;
&lt;td&gt;12.3.4&lt;/td&gt;
&lt;td&gt;28 May 2026&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;12 June 2029&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12.2&lt;/td&gt;
&lt;td&gt;12.2.2&lt;/td&gt;
&lt;td&gt;13 February 2026&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;28 May 2026&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12.1&lt;/td&gt;
&lt;td&gt;12.1.2&lt;/td&gt;
&lt;td&gt;18 November 2025&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;13 February 2026&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12.0&lt;/td&gt;
&lt;td&gt;12.0.2&lt;/td&gt;
&lt;td&gt;7 August 2025&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;18 November 2025&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.8 LTS&lt;/td&gt;
&lt;td&gt;11.8.10&lt;/td&gt;
&lt;td&gt;4 June 2025&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;4 June 2028&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.7&lt;/td&gt;
&lt;td&gt;11.7.2&lt;/td&gt;
&lt;td&gt;12 February 2025&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;12 May 2025&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.6&lt;/td&gt;
&lt;td&gt;11.6.2&lt;/td&gt;
&lt;td&gt;13 November 2024&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;13 February 2025&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.5&lt;/td&gt;
&lt;td&gt;11.5.2&lt;/td&gt;
&lt;td&gt;14 August 2024&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;21 November 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.4 LTS&lt;/td&gt;
&lt;td&gt;11.4.14&lt;/td&gt;
&lt;td&gt;29 May 2024&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;29 May 2029&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.3&lt;/td&gt;
&lt;td&gt;11.3.2&lt;/td&gt;
&lt;td&gt;16 February 2024&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;29 May 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.2&lt;/td&gt;
&lt;td&gt;11.2.6&lt;/td&gt;
&lt;td&gt;21 November 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;21 November 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.1&lt;/td&gt;
&lt;td&gt;11.1.6&lt;/td&gt;
&lt;td&gt;21 August 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;21 August 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11.0&lt;/td&gt;
&lt;td&gt;11.0.6&lt;/td&gt;
&lt;td&gt;6 June 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;6 June 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10.11 LTS&lt;/td&gt;
&lt;td&gt;10.11.20&lt;/td&gt;
&lt;td&gt;16 February 2023&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;16 February 2028&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Dates checked every day on the page: &lt;a href="https://daniele-michelin.com/en/versions/mariadb/" rel="noopener noreferrer"&gt;https://daniele-michelin.com/en/versions/mariadb/&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Full table, kept up to date every day: &lt;a href="https://daniele-michelin.com/en/versions/mariadb/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/versions/mariadb/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://daniele-michelin.com/en/versions/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. End-of-support dates for 25 products, plus an error lexicon of 149 messages, in German, English and Italian.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mariadb</category>
      <category>devops</category>
      <category>linux</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>Incident note: Let's Encrypt acme:error:unauthorized: fix</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Wed, 02 Dec 2026 07:32:01 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/incident-note-lets-encrypt-acmeerrorunauthorized-fix-h2k</link>
      <guid>https://dev.to/mikweb2025design/incident-note-lets-encrypt-acmeerrorunauthorized-fix-h2k</guid>
      <description>&lt;h2&gt;
  
  
  Read the signal
&lt;/h2&gt;

&lt;p&gt;Start with the exact wording of the error and its timestamp in the log. Then narrow down the cause before changing anything.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Type: unauthorized Detail: 2001:db8::10: Invalid response from http://beispiel.de/.well-known/acme-challenge/kX3v9...: 404
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Narrow down possible causes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An AAAA record points to an IPv6 address where no vhost or the wrong one answers – Let's Encrypt prefers IPv6.&lt;/li&gt;
&lt;li&gt;DNS still points to the old server (migration, high TTL).&lt;/li&gt;
&lt;li&gt;Rewrite or redirect rules (Nextcloud, WordPress, forced HTTPS to another host) catch the path.&lt;/li&gt;
&lt;li&gt;Wrong &lt;code&gt;--webroot&lt;/code&gt; path, so the file is not where nginx serves it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check before changing anything
&lt;/h2&gt;

&lt;p&gt;1.&lt;/p&gt;

&lt;p&gt;Check A and AAAA records&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig +short A example.com&lt;span class="o"&gt;;&lt;/span&gt; dig +short AAAA example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.&lt;/p&gt;

&lt;p&gt;Test the challenge path over IPv6&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -6 -sI http://example.com/.well-known/acme-challenge/test
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.&lt;/p&gt;

&lt;p&gt;Is nginx listening on IPv6 port 80?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;nginx -T 2&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s1"&gt;'listen .*\[::\]:80'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4.&lt;/p&gt;

&lt;p&gt;Test issuance without hitting rate limits&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;certbot certonly --dry-run --webroot -w /var/www/letsencrypt -d example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Fix and test again
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Add &lt;code&gt;listen [::]:80;&lt;/code&gt; to the HTTP vhost, or delete a wrong AAAA record.&lt;/li&gt;
&lt;li&gt;Serve the challenge path before any redirect: &lt;code&gt;location ^~ /.well-known/acme-challenge/ { root /var/www/letsencrypt; }&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Lower the TTL before a migration and request the certificate only after the switch.&lt;/li&gt;
&lt;li&gt;If port 80 is not reachable, switch to the DNS-01 challenge (e.g. a certbot DNS plugin).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then repeat the original action and compare the result with the initial error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep a note for the next ticket
&lt;/h2&gt;

&lt;p&gt;Record the exact error, the check result, the change and the retest. That gives the team a useful starting point next time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does it work in my browser but not for Let's Encrypt?
&lt;/h2&gt;

&lt;p&gt;Your browser may use IPv4 or a cache. Let's Encrypt queries over IPv6 as soon as an AAAA record exists, and validates from several locations.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://daniele-michelin.com/en/errors/letsencrypt-acme-error-unauthorized/" rel="noopener noreferrer"&gt;Full error guide: Let's Encrypt: urn:ietf:params:acme:error:unauthorized&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://daniele-michelin.com/en/blog/incident-note-acme-unauthorized/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. More guides, free checks (SPF, TLS, headers) and an error-message lexicon: &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Nextcloud "access through untrusted domain": fix</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Tue, 01 Dec 2026 07:33:17 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/nextcloud-access-through-untrusted-domain-fix-5090</link>
      <guid>https://dev.to/mikweb2025design/nextcloud-access-through-untrusted-domain-fix-5090</guid>
      <description>&lt;p&gt;Nextcloud was opened via a hostname or IP that is not listed in &lt;code&gt;trusted_domains&lt;/code&gt;, so it refuses to log you in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common causes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A new hostname after a domain change or migration that was never added.&lt;/li&gt;
&lt;li&gt;Access directly via the IP address or an internal name.&lt;/li&gt;
&lt;li&gt;The reverse proxy forwards a different &lt;code&gt;Host&lt;/code&gt; header than the public name.&lt;/li&gt;
&lt;li&gt;Docker: &lt;code&gt;NEXTCLOUD_TRUSTED_DOMAINS&lt;/code&gt; is only applied on the first install.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to check it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Show configured trusted domains&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo -u www-data php /var/www/nextcloud/occ config:system:get trusted_domains
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check proxy-related settings&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep -nE &lt;span class="s1"&gt;'trusted_proxies|overwritehost|overwriteprotocol|overwrite.cli.url'&lt;/span&gt; /var/www/nextcloud/config/config.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Test the backend directly with a Host header&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -o /dev/null -w &lt;span class="s1"&gt;'%{http_code}\n'&lt;/span&gt; -H &lt;span class="s1"&gt;'Host: cloud.example.com'&lt;/span&gt; http://127.0.0.1/status.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What actually helps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Add the domain (use the next free index): &lt;code&gt;sudo -u www-data php occ config:system:set trusted_domains 1 --value=cloud.example.com&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Forward the original host in the reverse proxy: &lt;code&gt;proxy_set_header Host $host;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Behind a proxy set &lt;code&gt;trusted_proxies&lt;/code&gt; and, if needed, &lt;code&gt;overwritehost&lt;/code&gt; and &lt;code&gt;overwriteprotocol&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Can I allow every domain with *?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Wildcards like &lt;code&gt;*.example.com&lt;/code&gt; work, a bare * makes no sense. The list protects against host header attacks such as manipulated password reset links.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do I need to restart anything after the change?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No. Nextcloud reads &lt;code&gt;config.php&lt;/code&gt; on every request, so the change applies immediately.&lt;/p&gt;




&lt;p&gt;Full page with every command and the German/Italian version: &lt;a href="https://daniele-michelin.com/en/errors/nextcloud-trusted-domain-error/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/errors/nextcloud-trusted-domain-error/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. The error lexicon covers HTTP, DNS, TLS, mail, database, PHP, nginx, systemd and Nextcloud, in German, English and Italian.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nextcloud</category>
      <category>selfhosted</category>
      <category>devops</category>
      <category>linux</category>
    </item>
    <item>
      <title>“I can't create a CNAME for my root domain” – why that's correct and what to do instead</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Tue, 01 Dec 2026 07:32:17 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/i-cant-create-a-cname-for-my-root-domain-why-thats-correct-and-what-to-do-instead-4j7d</link>
      <guid>https://dev.to/mikweb2025design/i-cant-create-a-cname-for-my-root-domain-why-thats-correct-and-what-to-do-instead-4j7d</guid>
      <description>&lt;p&gt;“I can't create a CNAME for my root domain!” – usually right after a platform or CDN has asked you to “point your domain at us with a CNAME”. The DNS panel refuses, and it looks like a provider limitation. In fact, it's a rule of the DNS standard.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rule: a CNAME stands alone
&lt;/h2&gt;

&lt;p&gt;A &lt;code&gt;CNAME&lt;/code&gt; says: “This name is only an alias, all data lives at the target.” That leads to a strict rule, defined in RFC 1034 and clarified again in RFC 2181: if a &lt;code&gt;CNAME&lt;/code&gt; exists for a name, there must be &lt;strong&gt;no other records&lt;/strong&gt; for that same name. No &lt;code&gt;MX&lt;/code&gt;, no &lt;code&gt;TXT&lt;/code&gt;, no &lt;code&gt;A&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The reason is logical: when a resolver asks for the &lt;code&gt;MX&lt;/code&gt; of a name that is an alias, it follows the alias. If the same name also had its own &lt;code&gt;MX&lt;/code&gt;, it would be unclear which one applies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it never fits at the zone apex
&lt;/h2&gt;

&lt;p&gt;The zone apex is the name of the zone itself, i.e. &lt;code&gt;example.com&lt;/code&gt; without &lt;code&gt;www&lt;/code&gt;, shown as &lt;code&gt;@&lt;/code&gt; in many panels. There are &lt;strong&gt;always&lt;/strong&gt; at least two record types there:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;SOA&lt;/code&gt; – the zone's administrative data,&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;NS&lt;/code&gt; – the authoritative name servers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The zone doesn't work without them. Since a &lt;code&gt;CNAME&lt;/code&gt; can't coexist with them, no &lt;code&gt;CNAME&lt;/code&gt; is possible at the apex. On top of that, there are almost always &lt;code&gt;MX&lt;/code&gt; and &lt;code&gt;TXT&lt;/code&gt; records (SPF, verifications) in practice – and they would clash with an alias as well.&lt;/p&gt;

&lt;p&gt;You can check it yourself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig +noall +answer example.com SOA
dig +noall +answer example.com NS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What works instead
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Set A and AAAA records directly
&lt;/h3&gt;

&lt;p&gt;The simplest solution: enter the target's IP addresses directly as &lt;code&gt;A&lt;/code&gt; (IPv4) and &lt;code&gt;AAAA&lt;/code&gt; (IPv6). Many platforms publish fixed addresses for exactly this.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;example.com.      3600  IN  A     203.0.113.10
example.com.      3600  IN  AAAA  2001:db8::10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Downside: if the platform changes its IPs, you have to follow.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. ALIAS, ANAME or CNAME flattening
&lt;/h3&gt;

&lt;p&gt;Some DNS providers offer their own record type, often called &lt;code&gt;ALIAS&lt;/code&gt; or &lt;code&gt;ANAME&lt;/code&gt;, or talk about CNAME flattening. The principle is the same everywhere: the provider's name server resolves the target itself and serves ordinary &lt;code&gt;A&lt;/code&gt;/&lt;code&gt;AAAA&lt;/code&gt; records to the outside. To resolvers, everything looks standards-compliant.&lt;/p&gt;

&lt;p&gt;Important: this isn't a feature of the DNS protocol but of the individual provider. When switching DNS providers, check whether the new one supports it too (see &lt;a href="https://daniele-michelin.com/en/blog/dns-migration-without-downtime/" rel="noopener noreferrer"&gt;DNS migration without downtime&lt;/a&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Redirect to www
&lt;/h3&gt;

&lt;p&gt;A proven approach: run the website on &lt;code&gt;www.example.com&lt;/code&gt; with a &lt;code&gt;CNAME&lt;/code&gt; there, and point the root domain via an &lt;code&gt;A&lt;/code&gt; record at a web server that redirects to &lt;code&gt;www&lt;/code&gt; over HTTP.&lt;/p&gt;

&lt;h2&gt;
  
  
  For www, a CNAME is fine
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;www.example.com&lt;/code&gt; is a name of its own without &lt;code&gt;SOA&lt;/code&gt; and &lt;code&gt;NS&lt;/code&gt;. As long as there are no other records there, a &lt;code&gt;CNAME&lt;/code&gt; is perfectly fine:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;www.example.com.  3600  IN  CNAME  target.platform.example.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The same rule still applies, though: if you also need a &lt;code&gt;TXT&lt;/code&gt; or &lt;code&gt;MX&lt;/code&gt; record for &lt;code&gt;www&lt;/code&gt;, you run into the same conflict.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Is there a CNAME at the apex? &lt;code&gt;dig +noall +answer example.com CNAME&lt;/code&gt; should return nothing.&lt;/li&gt;
&lt;li&gt;What does the root domain return? &lt;code&gt;dig +short example.com A&lt;/code&gt; and &lt;code&gt;dig +short example.com AAAA&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Is the CNAME for www correct? &lt;code&gt;dig +noall +answer www.example.com CNAME&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Are there no other records next to the CNAME on www?&lt;/li&gt;
&lt;li&gt;With ALIAS/ANAME: does the provider's name server return current IPs? &lt;code&gt;dig @ns1.provider.example example.com A&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;After the change, do email (&lt;code&gt;MX&lt;/code&gt;) and SPF (&lt;code&gt;TXT&lt;/code&gt;) still work?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the refusal in the DNS panel isn't an obstacle but a safeguard. Working around it risks exactly what nobody wants: a root domain that no longer accepts mail.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://daniele-michelin.com/en/blog/cname-at-zone-apex/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. More guides, free checks (SPF, TLS, headers) and an error-message lexicon: &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>dns</category>
      <category>devops</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Laravel: which versions still get updates</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Mon, 30 Nov 2026 07:32:10 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/laravel-which-versions-still-get-updates-1kda</link>
      <guid>https://dev.to/mikweb2025design/laravel-which-versions-still-get-updates-1kda</guid>
      <description>&lt;p&gt;Which versions still get updates, which only security fixes — and which none. Updated daily.&lt;/p&gt;

&lt;p&gt;Recommended: Laravel 13 (latest 13.44.1) — the newest version with full support.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Latest&lt;/th&gt;
&lt;th&gt;Released&lt;/th&gt;
&lt;th&gt;Supported until&lt;/th&gt;
&lt;th&gt;Security fixes until&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;td&gt;13.44.1&lt;/td&gt;
&lt;td&gt;17 March 2026&lt;/td&gt;
&lt;td&gt;30 September 2027&lt;/td&gt;
&lt;td&gt;17 March 2028&lt;/td&gt;
&lt;td&gt;supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;12.74.0&lt;/td&gt;
&lt;td&gt;24 February 2025&lt;/td&gt;
&lt;td&gt;13 August 2026&lt;/td&gt;
&lt;td&gt;24 February 2027&lt;/td&gt;
&lt;td&gt;security only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;11.57.2&lt;/td&gt;
&lt;td&gt;12 March 2024&lt;/td&gt;
&lt;td&gt;3 September 2025&lt;/td&gt;
&lt;td&gt;12 March 2026&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;10.50.5&lt;/td&gt;
&lt;td&gt;14 February 2023&lt;/td&gt;
&lt;td&gt;6 August 2024&lt;/td&gt;
&lt;td&gt;4 February 2025&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;9.52.24&lt;/td&gt;
&lt;td&gt;8 February 2022&lt;/td&gt;
&lt;td&gt;8 August 2023&lt;/td&gt;
&lt;td&gt;6 February 2024&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;8.83.29&lt;/td&gt;
&lt;td&gt;8 September 2020&lt;/td&gt;
&lt;td&gt;26 July 2022&lt;/td&gt;
&lt;td&gt;24 January 2023&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;7.30.7&lt;/td&gt;
&lt;td&gt;3 March 2020&lt;/td&gt;
&lt;td&gt;6 October 2020&lt;/td&gt;
&lt;td&gt;3 March 2021&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6 LTS&lt;/td&gt;
&lt;td&gt;6.20.45&lt;/td&gt;
&lt;td&gt;3 September 2019&lt;/td&gt;
&lt;td&gt;25 January 2022&lt;/td&gt;
&lt;td&gt;6 September 2022&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5.8&lt;/td&gt;
&lt;td&gt;5.8.38&lt;/td&gt;
&lt;td&gt;26 February 2019&lt;/td&gt;
&lt;td&gt;26 August 2019&lt;/td&gt;
&lt;td&gt;26 February 2020&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5.5 LTS&lt;/td&gt;
&lt;td&gt;5.5.50&lt;/td&gt;
&lt;td&gt;30 August 2017&lt;/td&gt;
&lt;td&gt;30 August 2019&lt;/td&gt;
&lt;td&gt;30 August 2020&lt;/td&gt;
&lt;td&gt;end of life&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Dates checked every day on the page: &lt;a href="https://daniele-michelin.com/en/versions/laravel/" rel="noopener noreferrer"&gt;https://daniele-michelin.com/en/versions/laravel/&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Full table, kept up to date every day: &lt;a href="https://daniele-michelin.com/en/versions/laravel/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/versions/laravel/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://daniele-michelin.com/en/versions/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. End-of-support dates for 25 products, plus an error lexicon of 149 messages, in German, English and Italian.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>devops</category>
      <category>linux</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>Incident note: HTTP 502 Bad Gateway (nginx, PHP-FPM): how to fix</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Mon, 30 Nov 2026 07:32:09 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/incident-note-http-502-bad-gateway-nginx-php-fpm-how-to-fix-36kg</link>
      <guid>https://dev.to/mikweb2025design/incident-note-http-502-bad-gateway-nginx-php-fpm-how-to-fix-36kg</guid>
      <description>&lt;h2&gt;
  
  
  Read the signal
&lt;/h2&gt;

&lt;p&gt;Start with the exact wording of the error and its timestamp in the log. Then narrow down the cause before changing anything.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;2026/10/23 09:14:02 [error] 1234#1234: *5678 connect() to unix:/run/php/php8.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 198.51.100.7, server: cloud.beispiel.de, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.3-fpm.sock:"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Narrow down possible causes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;PHP-FPM is stopped or crashed (e.g. after an update or an OOM kill).&lt;/li&gt;
&lt;li&gt;The socket path no longer matches after a PHP upgrade, e.g. &lt;code&gt;php8.2-fpm.sock&lt;/code&gt; instead of &lt;code&gt;php8.3-fpm.sock&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;No permission on the socket: &lt;code&gt;listen.owner&lt;/code&gt;/&lt;code&gt;listen.group&lt;/code&gt; do not match the nginx user.&lt;/li&gt;
&lt;li&gt;The backend listens on a different port or only on IPv6/IPv4.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check before changing anything
&lt;/h2&gt;

&lt;p&gt;1.&lt;/p&gt;

&lt;p&gt;Read the latest errors in the nginx log&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tail -n 50 /var/log/nginx/error.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.&lt;/p&gt;

&lt;p&gt;Check PHP-FPM status&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl status php8.3-fpm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.&lt;/p&gt;

&lt;p&gt;Does the socket exist and who owns it?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ls -l /run/php/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4.&lt;/p&gt;

&lt;p&gt;PHP-FPM logs, including crashes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;journalctl -u php8.3-fpm -n 50 --no-pager
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Fix and test again
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Restart PHP-FPM or the backend with &lt;code&gt;systemctl restart php8.3-fpm&lt;/code&gt;, then look for the root cause in the journal.&lt;/li&gt;
&lt;li&gt;Point &lt;code&gt;fastcgi_pass&lt;/code&gt; to the correct socket, then &lt;code&gt;nginx -t &amp;amp;&amp;amp; systemctl reload nginx&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;listen.owner = www-data&lt;/code&gt; and &lt;code&gt;listen.group = www-data&lt;/code&gt; in the FPM pool.&lt;/li&gt;
&lt;li&gt;On OOM kills, size &lt;code&gt;pm.max_children&lt;/code&gt; to the available RAM.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then repeat the original action and compare the result with the initial error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep a note for the next ticket
&lt;/h2&gt;

&lt;p&gt;Record the exact error, the check result, the change and the retest. That gives the team a useful starting point next time.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the difference between 502 and 504?
&lt;/h2&gt;

&lt;p&gt;502: the backend does not answer at all or answers garbage. 504: the backend is reachable but takes longer than the nginx timeout.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://daniele-michelin.com/en/errors/http-502-bad-gateway/" rel="noopener noreferrer"&gt;Full error guide: HTTP 502 Bad Gateway with nginx and PHP-FPM&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://daniele-michelin.com/en/blog/incident-note-http-502/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. More guides, free checks (SPF, TLS, headers) and an error-message lexicon: &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>nginx</category>
      <category>devops</category>
    </item>
    <item>
      <title>Nextcloud stuck in maintenance mode: how to fix</title>
      <dc:creator>Daniele Michelin</dc:creator>
      <pubDate>Sun, 29 Nov 2026 07:32:20 +0000</pubDate>
      <link>https://dev.to/mikweb2025design/nextcloud-stuck-in-maintenance-mode-how-to-fix-1m3</link>
      <guid>https://dev.to/mikweb2025design/nextcloud-stuck-in-maintenance-mode-how-to-fix-1m3</guid>
      <description>&lt;p&gt;Nextcloud is in maintenance mode and blocks the web UI, clients and most occ commands – either set on purpose or left behind by an update that did not finish cleanly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common causes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The web updater or a package update was aborted and &lt;code&gt;occ upgrade&lt;/code&gt; never completed.&lt;/li&gt;
&lt;li&gt;A backup script enabled maintenance mode and failed before turning it off.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;'maintenance' =&amp;gt; true&lt;/code&gt; is still set in &lt;code&gt;config/config.php&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Wrong file ownership after the update, so occ cannot write &lt;code&gt;config.php&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to check it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Show status and versions&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo -u www-data php /var/www/nextcloud/occ status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check maintenance in the config&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep -n maintenance /var/www/nextcloud/config/config.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Latest errors in the Nextcloud log&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tail -n 20 /var/www/nextcloud/data/nextcloud.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What actually helps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Finish the pending upgrade: &lt;code&gt;sudo -u www-data php occ upgrade&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Then turn it off: &lt;code&gt;sudo -u www-data php occ maintenance:mode --off&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Stuck web updater: remove the &lt;code&gt;.step&lt;/code&gt; file in &lt;code&gt;data/updater-*/&lt;/code&gt; and rerun the update with &lt;code&gt;php updater/updater.phar&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Can I just set maintenance to false in config.php?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes, but only if no upgrade is pending. Otherwise Nextcloud shows the update page or errors afterwards. Check &lt;code&gt;occ status&lt;/code&gt; first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How is this different from maintenance:singleuser?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Single-user mode still lets admins in through the browser; regular maintenance mode locks out everyone.&lt;/p&gt;




&lt;p&gt;Full page with every command and the German/Italian version: &lt;a href="https://daniele-michelin.com/en/errors/nextcloud-maintenance-mode-enabled/" rel="noopener noreferrer"&gt;daniele-michelin.com/en/errors/nextcloud-maintenance-mode-enabled/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://daniele-michelin.com/en/" rel="noopener noreferrer"&gt;daniele-michelin.com&lt;/a&gt;. The error lexicon covers HTTP, DNS, TLS, mail, database, PHP, nginx, systemd and Nextcloud, in German, English and Italian.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nextcloud</category>
      <category>selfhosted</category>
      <category>devops</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
