<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Seafile on paapereira.xyz</title><link>https://paapereira.xyz/tags/seafile/</link><description>Recent content in Seafile on paapereira.xyz</description><generator>Hugo</generator><language>en-US</language><copyright>&lt;a href='https://creativecommons.org/licenses/by-nc/4.0/' target='_blank' rel='noopener'>©&lt;/a> 2008-2026 / &lt;a href='https://gitlab.com/paapereira/paapereira.gitlab.io' target='_blank' rel='noopener'>source code&lt;/a></copyright><lastBuildDate>Fri, 30 Dec 2022 14:00:00 +0000</lastBuildDate><atom:link href="https://paapereira.xyz/tags/seafile/index.xml" rel="self" type="application/rss+xml"/><item><title>Activate WebDAV in Seafile</title><link>https://paapereira.xyz/posts/2022/12/webdav-seafile/</link><pubDate>Fri, 30 Dec 2022 14:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2022/12/webdav-seafile/</guid><description>&lt;p>I turned off WebDAV in Seafile some time ago because it wasn&amp;rsquo;t working.&lt;/p>
&lt;p>Can&amp;rsquo;t remember the issue itself, but I wasn&amp;rsquo;t actively using it so&amp;hellip;&lt;/p>
&lt;p>I&amp;rsquo;m now in version 9.0.13. Here&amp;rsquo;s how I enable it.&lt;/p>
&lt;p>Make sure you have &lt;code>pycryptodome&lt;/code> installed.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo pip install pycryptodome&lt;span style="color:#f92672">==&lt;/span>3.12.0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Activate WebDAV in &lt;code>seafdav.conf&lt;/code>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>[WEBDAV]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>enabled = true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>port = 8888
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>share_name = /seafdav
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>show_repo_id = true
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Configure &lt;code>ProxyPassReverse&lt;/code> in Apache. In my case &lt;code>/etc/httpd/conf/extra/httpd-vhosts.conf&lt;/code>&lt;/p></description></item><item><title>Upgrading Seafile from 7.1.x to 8.0.x</title><link>https://paapereira.xyz/posts/2022/01/upgrade-seafile-80-90/</link><pubDate>Sat, 01 Jan 2022 14:17:46 +0000</pubDate><guid>https://paapereira.xyz/posts/2022/01/upgrade-seafile-80-90/</guid><description>&lt;p>The new 9.0 &lt;a href="https://www.seafile.com/">Seafile&lt;/a> version is out. Time to upgrade. I&amp;rsquo;m currently running 8.0.16.&lt;/p>
&lt;p>Don&amp;rsquo;t forget to read the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_9.0.x/">release notes&lt;/a> from Seafile.&lt;/p>
&lt;h2 id="before-upgrading">Before upgrading&lt;/h2>
&lt;p>Reading the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_9.0.x/">release notes&lt;/a>, this version needs python modules. I also upgraded &lt;code>pip&lt;/code>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo /usr/bin/python -m pip install --upgrade pip
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo /usr/bin/python -m pip install pycryptodome&lt;span style="color:#f92672">==&lt;/span>3.12.0
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>sudo /usr/bin/python -m pip install cffi&lt;span style="color:#f92672">==&lt;/span>1.14.0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>I had &lt;code>cffi&lt;/code> 1.15 in my system, I had to downgrade:&lt;/p></description></item><item><title>Seafile log4j vulnerability fix</title><link>https://paapereira.xyz/posts/2021/12/log4j-seafile/</link><pubDate>Thu, 30 Dec 2021 19:57:31 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/12/log4j-seafile/</guid><description>&lt;p>There is a recent log4j vulnerability (CVE-2021-44228) affecting a ton or services and servers.&lt;/p>
&lt;p>Specifically for Seafile, you can read this &lt;a href="https://forum.seafile.com/t/security-advisory-seafile-servers-vulnerability-to-log4shell-log4j-vulnerability-cve-2021-44228/15590">post&lt;/a> in the forum to know more about this issue and how to fix it.&lt;/p>
&lt;p>Here are my notes about it.&lt;/p>
&lt;h2 id="scan-for-vulnerable-log4j-classes">Scan for vulnerable log4j classes&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo -u seafile_user -s /bin/sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>mkdir /tmp/log4jscan/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>cd /tmp/log4jscan/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>wget https://github.com/lunasec-io/lunasec/releases/download/v1.3.1-log4shell/log4shell_1.3.1-log4shell_Linux_x86_64
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>chmod +x log4shell_1.3.1-log4shell_Linux_x86_64
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>./log4shell_1.3.1-log4shell_Linux_x86_64 scan $HOME/seafile/seafile-server-latest/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You will see something like this:&lt;/p></description></item><item><title>Fixing Seafile</title><link>https://paapereira.xyz/posts/2021/12/2021-12-19-fixing-seafile/</link><pubDate>Sun, 19 Dec 2021 14:00:00 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/12/2021-12-19-fixing-seafile/</guid><description>&lt;p>Similarly to the &lt;a href="https://paapereira.xyz/posts/fixing-seafile">beginning&lt;/a> of the year, I had a problem with Seafile. It was crashing and I couldn&amp;rsquo;t start it with systemd.&lt;/p>
&lt;p>Here&amp;rsquo;s my notes/steps/fixes for the issue.&lt;/p>
&lt;p>I stopped the services:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemctl stop seahub
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo systemctl stop seafile
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Sudo into the seafile user:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo -u seafileuser -s /bin/sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Disabled the daemon mode and manually started seafile to see the output errors:&lt;/p></description></item><item><title>Upgrading Seafile from 7.1.x to 8.0.x</title><link>https://paapereira.xyz/posts/2021/03/upgrade-seafile-71-80/</link><pubDate>Sat, 06 Mar 2021 14:08:33 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/03/upgrade-seafile-71-80/</guid><description>&lt;p>The new 8.0.0 &lt;a href="https://www.seafile.com/">Seafile&lt;/a> version is out. Time to upgrade. I&amp;rsquo;m currently running 7.1.14.&lt;/p>
&lt;p>Don&amp;rsquo;t forget to read the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_8.0.x/">release notes&lt;/a> from Seafile.&lt;/p>
&lt;h2 id="before-upgrading">Before upgrading&lt;/h2>
&lt;p>Reading the &lt;a href="https://manual.seafile.com/upgrade/upgrade_notes_for_8.0.x/">release notes&lt;/a>, this version needs the &lt;code>libmysqlclient-dev&lt;/code> (I&amp;rsquo;m using &lt;code>mariadb-libs&lt;/code>) package and new python modules.&lt;/p>
&lt;p>I just upgraded &lt;code>pip&lt;/code>, installed the new python modules and upgraded others.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo /usr/bin/python -m pip install --upgrade pip
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo pip3 install --timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3600&lt;/span> future mysqlclient
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>sudo pip3 install --timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3600&lt;/span> Pillow pylibmc captcha jinja2 &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6&lt;/span>&lt;span>&lt;span style="color:#ae81ff">&lt;/span>	sqlalchemy django-pylibmc django-simple-captcha python3-ldap
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="upgrading">Upgrading&lt;/h2>
&lt;p>I started by stopping the services:&lt;/p></description></item><item><title>Fixing Seafile</title><link>https://paapereira.xyz/posts/2021/01/fixing-seafile/</link><pubDate>Sat, 30 Jan 2021 16:28:27 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/01/fixing-seafile/</guid><description>&lt;p>Yesterday I woke up without access to my Seafile instance.&lt;/p>
&lt;p>Here&amp;rsquo;s my notes/steps/fixes for the issue.&lt;/p>
&lt;p>Restart Seafile and check for errors:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo systemctl restart seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo systemctl status seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo systemctl restart seahub
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>sudo systemctl status seahub
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>No errors here.&lt;/p>
&lt;p>Check Seafile logs:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo -u seafile -s /bin/sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cd /srv/seafile/logs
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>I found the following in &lt;code>elasticsearch.log&lt;/code>:&lt;/p></description></item><item><title>Upgrading Seafile from 7.0.x to 7.1.x</title><link>https://paapereira.xyz/posts/2020/07/upgrade-seafile-70-71/</link><pubDate>Sun, 05 Jul 2020 14:24:44 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/07/upgrade-seafile-70-71/</guid><description>&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-07-05-upgrade-seafile-70-71/seafile.png" alt="cover">&lt;/p>
&lt;p>I’ve waiting to upgrade to &lt;a href="https://www.seafile.com/">Seafile&lt;/a> 7.1 because I keep my installation manually and I wasn&amp;rsquo;t finding the *x86-64.tar.gz option to download.
After asking in the &lt;a href="https://forum.seafile.com/t/seafile-server-7-1-4-is-ready/11910/8">forums&lt;/a>, I discovered it&amp;rsquo;s just a change of name.&lt;/p>
&lt;p>Don&amp;rsquo;t forget to read the &lt;a href="https://download.seafile.com/published/seafile-manual/upgrade/upgrade_notes_for_7.1.x.md">release notes&lt;/a> from Seafile.&lt;/p>
&lt;h2 id="before-upgrading">Before upgrading&lt;/h2>
&lt;p>Reading the &lt;a href="https://download.seafile.com/published/seafile-manual/upgrade/upgrade_notes_for_7.1.x.md">release notes&lt;/a>, this version needs Python 3 and a set of modules.&lt;/p>
&lt;h3 id="python-3">Python 3&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>yay -S python python-setuptools python-pip
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo pip3 install --timeout&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">3600&lt;/span> wheel Pillow pylibmc captcha jinja2 &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4&lt;/span>&lt;span>&lt;span style="color:#ae81ff">&lt;/span>	sqlalchemy django-pylibmc django-simple-captcha python3-ldap &lt;span style="color:#ae81ff">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5&lt;/span>&lt;span>&lt;span style="color:#ae81ff">&lt;/span>	django-recaptcha django-ranged-response
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="memcached">Memcached&lt;/h3>
&lt;p>The Memcached configuration also changed in this version. I wasn&amp;rsquo;t using Memcached, so I took the opportunity to set it up.&lt;/p></description></item><item><title>🖥️ 🐧 Installing Arch Linux in my new NUC7i3BNH</title><link>https://paapereira.xyz/posts/2020/05/install-arch-linux-new-nuc7i3bnh/</link><pubDate>Sat, 09 May 2020 10:40:10 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/05/install-arch-linux-new-nuc7i3bnh/</guid><description>&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-05-09-install-arch-linux-new-nuc7i3bnh/arch-linux.png" alt="cover">&lt;/p>
&lt;p>Time to setup my new &lt;a href="https://paapereira.xyz/blog/2020/05/new-nuc7i3bnh/">NUC7i3BNH&lt;/a>.&lt;/p>
&lt;p>I will install Arch Linux with no window manager and it will act as my home server with Seafile, Plex, Sickchill, sabnzbd, etc..&lt;/p>
&lt;h2 id="preparation">Preparation&lt;/h2>
&lt;h3 id="upgrade-bios-firmware">Upgrade BIOS Firmware&lt;/h3>
&lt;ol>
&lt;li>Download the latest &lt;a href="https://downloadcenter.intel.com/product/95066/Intel-NUC-Kit-NUC7i3BNH">BIOS&lt;/a>&lt;/li>
&lt;li>Copy the .bios file to a USB drive&lt;/li>
&lt;li>Boot and enter the upgrade page with F7&lt;/li>
&lt;/ol>
&lt;h3 id="burn-iso-to-usb-pen-drive">Burn ISO to USB pen drive&lt;/h3>
&lt;ol>
&lt;li>Download the &lt;a href="https://www.archlinux.org/download/">Arch Linux ISO&lt;/a>&lt;/li>
&lt;li>Burn the iso in the usb pen drive.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>lsblk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>cd Downloads
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo dd bs&lt;span style="color:#f92672">=&lt;/span>4M &lt;span style="color:#66d9ef">if&lt;/span>&lt;span style="color:#f92672">=&lt;/span>archlinux-2020.05.01-x86_64.iso of&lt;span style="color:#f92672">=&lt;/span>/dev/sdc status&lt;span style="color:#f92672">=&lt;/span>progress oflag&lt;span style="color:#f92672">=&lt;/span>sync
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="installation">Installation&lt;/h2>
&lt;p>Boot from the usb pen drive (setup the boot sequence entering the BIOS with F2).&lt;/p></description></item><item><title>Seafile Installation Notes in Arch Linux</title><link>https://paapereira.xyz/posts/2017/05/seafile-installation/</link><pubDate>Sun, 28 May 2017 18:23:43 +0100</pubDate><guid>https://paapereira.xyz/posts/2017/05/seafile-installation/</guid><description>&lt;p>These are my notes about installing &lt;a href="https://www.seafile.com/">Seafile&lt;/a> in my Arch Linux home server.&lt;/p>
&lt;p>&lt;em>Note:&lt;/em> I have reviewed and added to these notes several times.&lt;/p>
&lt;p>I&amp;rsquo;m using:&lt;/p>
&lt;ul>
&lt;li>Seafile&lt;/li>
&lt;li>A NUC with Arch Linux as my home server&lt;/li>
&lt;li>A WD My Cloud NAS&lt;/li>
&lt;/ul>
&lt;h2 id="setup-a-nas-share">Setup a NAS share&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>Create a new share &lt;code>seafile&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Create a new directory in the server&lt;/p>
&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo mkdir /home/nas/seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2&lt;/span>&lt;span>sudo chmod &lt;span style="color:#ae81ff">750&lt;/span> /home/nas/seafile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3&lt;/span>&lt;span>sudo chown seafile:seafile /home/nas/seafile
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Setup a mountpoint in the server&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>sudo vi /etc/fstab
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>nas:/nfs/seafile /home/nas/seafile nfs users,noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,soft,intr,noatime,file_mode=0640,dir_mode=0750 0 0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>Set NO_ROOT_SWASH in the WD My Cloud NFS exports configuration (when I restart my NAS I have to do this again&amp;hellip;)&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>ssh -oHostKeyAlgorithms&lt;span style="color:#f92672">=&lt;/span>+ssh-dss sshd@192.168.0.99
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>vi /etc/exports
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-text" data-lang="text">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>&amp;#34;/nfs/seafile&amp;#34; *(rw,no_root_squash,sync,no_wdelay,insecure_locks,insecure,no_subtree_check,anonuid=501,anongid=1000)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1&lt;/span>&lt;span>exportfs -r
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="server-installation">Server installation&lt;/h2>
&lt;h3 id="pre-requisites">Pre-requisites&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>sudo pacman -S python-imaging mysql-python
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>mkdir /tmp/cower
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>cd /tmp/cower
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>cower -d libsearpc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>cd /tmp/cower/libsearpc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>makepkg -sri
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>cower -d libsepol
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>cd /tmp/cower/libsepol
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>makepkg -sri
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11&lt;/span>&lt;span>cower -d libselinux
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12&lt;/span>&lt;span>cd /tmp/cower/libselinux
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13&lt;/span>&lt;span>makepkg -sri
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="download-seafile">Download Seafile&lt;/h3>
&lt;p>&lt;a href="https://www.seafile.com/en/download/">https://www.seafile.com/en/download/&lt;/a>&lt;/p></description></item></channel></rss>