If you are running your Nextcloud Memories on a small server, make sure to adapt some settings for creating smaller preview images, best already before you watch them.
Make sure also that the cron job for creating the preview images is running.
If you are running multiple PHP versions on your server, make sure that you are installing the package for the PHP version you are running Nextcloud, and also that you are enabling the PHP module for the correct version via
To complete my home network, I installed Nextcloud with an RPi.
The bigger vision is to get independent of the big companies, specifically from the US companies.
Let’s see which services I will provide with my own cloud, options are:
Files
Contacts
Calendar
Photos
It’s quite easy to use a package specifically built for the RPi called Nextcloudpi.
However, it does not run in a docker container, as the providers stopped creating an image. On the other hand, you can adjust much more on the LAMP system itself.
At nextcloudpi configure the following parameters:
nc-trusted-domains
nc-trusted-proxies
Very important is also to switch off the Force SSL at the Nextcloudpi configuration!
This means we are now terminating the SSL at the Reverse Proxy (NPM), as usual. The communication between the Reverse Proxy and the Nextcloud server runs via http.
To add RPis to the Home Assistant, we are installing on each RPi a Python script as a daemon that sends data via MQTT messages to the MQTT Broker installed on the Home Assistant.
Unfortunately, if your Home Assistant is also running on an RPi but based on HAOSS, you can not use that approach. Later more to that.
First, install the MQTT Integration on the Home Assistant.
Just make sure that the automatic detection of MQTT devices is still enabled.
Then go to System / Add-Ons / Mosquitto Broker. Make sure it’s started while booting.
Under Configuration, add a username and a password. The YAML Code looks like this:
Now, let’s go to the RPi that we want to control. We need to install the script there. This includes the daemon that sends the MQTT messages to the Home Assistant.
You should also accompany this with backing up the files on at least two different physical devices, either via rsync or FTP or rclone, best running via a cron job.
Restore
There is no automated restore process to prevent accidental data loss. So if you need to restore a backup, you need to do this manually by following the steps below (assuming your backups are located at ./backup/ and your vaultwarden data is located at /var/lib/docker/volumes/vaultwarden/_data/)
# Delete any existing sqlite3 files
rm /var/lib/docker/volumes/vaultwarden/_data/db.sqlite3*
# Extract the archive
# You may need to install xz first
tar -xJvf ./backup/data.tar.xz -C /var/lib/docker/volumes/vaultwarden/_data/
Wow, how easy is it to set up a WireGuard VPN with the Raspberry Pi!
I can now cover the following use cases:
Access all the devices of my local network (router, RPis, drives, etc.) from abroad
Access German streaming services like ARD, ZDF, … from abroad
Getting there was not so easy. First, I had the idea of using the FritzBox’s VPN. But it turned out that the FritzBox only supports IPSec, and Android bigger than V11 does not support that. So, I decided to go for another solution.
I also had an RPi4 lying around after I had upgraded my website to the RPi5.
So I installed the Raspberry PI OS (64-BIT) on the RPi4.
State-of-the-art installations are based on docker.
Ich, Gerhard Vogt (Wohnort: Deutschland), verarbeite zum Betrieb dieser Website personenbezogene Daten nur im technisch unbedingt notwendigen Umfang. Alle Details dazu in meiner Datenschutzerklärung.
Ich, Gerhard Vogt (Wohnort: Deutschland), verarbeite zum Betrieb dieser Website personenbezogene Daten nur im technisch unbedingt notwendigen Umfang. Alle Details dazu in meiner Datenschutzerklärung.