<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>occ – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/occ/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Mon, 19 Oct 2026 15:52:20 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/occ/index.xml" rel="self" type="application/rss+xml"/><item><title>The Ansible Tour, Part 4: Nextcloud – Collabora, Push, Host Database and occ, Role by Role</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-4-nextcloud/</link><pubDate>Mon, 19 Oct 2026 15:52:20 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-4-nextcloud/</guid><description>&lt;p&gt;&lt;em&gt;Part 4 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. After the blog in &lt;a href="https://www.apt-upgrade.me/2026/10/16/ansible-tour-part-3-blog/"&gt;part 3&lt;/a&gt;, here comes the second application: Nextcloud. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0"&gt;v3.3.0&lt;/a&gt;, with later changes added as updates. What matches the blog is only mentioned briefly; the focus is on what is different.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Nextcloud is a file cloud: files, calendars, contacts, team folders and – with Collabora – documents edited together in the browser. Two of the three servers run it, for groups of very different size, with the same code and different values in the inventory. The work is shared by &lt;code&gt;next_mariadb&lt;/code&gt; and &lt;code&gt;next_redis&lt;/code&gt; (database and cache on the host), &lt;code&gt;next_k3s_deploy&lt;/code&gt; (Nextcloud, Collabora and the push service as Kubernetes objects), &lt;code&gt;next_config&lt;/code&gt; (Nextcloud’s settings) and &lt;code&gt;nextcloud_verify&lt;/code&gt;, plus the update playbook.&lt;/p&gt;</description></item><item><title>Two Minutes Forty-Five: My First Nextcloud App Update via Ansible (and the Guard Rail I Added Just Before)</title><link>https://www.apt-upgrade.me/2026/09/30/two-minutes-forty-five-my-first-nextcloud-app-update-via-ansible-and-the-guard-rail-i-added-just-before/</link><pubDate>Wed, 30 Sep 2026 21:30:02 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/30/two-minutes-forty-five-my-first-nextcloud-app-update-via-ansible-and-the-guard-rail-i-added-just-before/</guid><description>&lt;p&gt;Confession time: the production Nextcloud from the &lt;a href="https://www.apt-upgrade.me/2026/09/21/bare-metal-to-k3s-a-nextcloud-migration-battle-log/"&gt;migration battle log&lt;/a&gt; has been running on K3s for a week, the repo has had an &lt;code&gt;nextcloud-update.yml&lt;/code&gt; playbook for months, and I had never actually run it. Apps were updated the old-fashioned way, by clicking in the admin UI, or not at all. Today that changed. The run itself took &lt;strong&gt;2 minutes 45 seconds&lt;/strong&gt;. The interesting part was everything around it.&lt;/p&gt;&#10;&lt;p&gt;Same workflow as always: I decide, my AI co-admin (Claude) checks, builds and verifies. And the very first thing it found was not a bug in the update logic, but a loaded foot-gun in line three.&lt;/p&gt;</description></item><item><title>🚀 Bulk-Import Users into Nextcloud via CSV + Group Assignment (Shell Edition)</title><link>https://www.apt-upgrade.me/2025/07/24/%F0%9F%9A%80-bulk-import-users-into-nextcloud-via-csv-group-assignment-shell-edition/</link><pubDate>Thu, 24 Jul 2025 15:53:14 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/24/%F0%9F%9A%80-bulk-import-users-into-nextcloud-via-csv-group-assignment-shell-edition/</guid><description>&lt;p&gt;So, you&amp;rsquo;re running a Nextcloud instance and want to batch-create users like a proper sysadmin? Here&amp;rsquo;s a &lt;strong&gt;pure shell-based solution&lt;/strong&gt; to create users from a CSV file, assign them to groups (even multiple ones), and feel like a boss while doing it.&lt;/p&gt;&#10;&lt;h3 id="-prerequisites"&gt;📦 Prerequisites&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;SSH access to your &lt;a href="https://nextcloud.com/"&gt;Nextcloud&lt;/a&gt; server&lt;/li&gt;&#10;&lt;li&gt;Command-line access to &lt;code&gt;occ&lt;/code&gt; (located in the root of your Nextcloud install, e.g. &lt;code&gt;/var/www/html/nextcloud&lt;/code&gt;)&lt;/li&gt;&#10;&lt;li&gt;Your CSV file ready to roll&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="-csv-file-format"&gt;📄 CSV File Format&lt;/h3&gt;&#10;&lt;p&gt;No headers, just pure data. Format:&lt;/p&gt;</description></item></channel></rss>