Clone your Nextcloud

Assuming you have two Nextcloud instances (in my example Nextcloud 13.0.5 from here) called (1) https://source (2) https://destination and one folder to change your data (in my example a NFS share called “/share”) (3) /share First we will mount the NFS-share on both server:...

Become an early adopter (Nextcloud 14 beta4)

Support Nextcloud and become an early adopter. You are only 4 steps away… (1) Build your testserver and participate of all new features Build your Nextcloud Server using one shell script (2) Download and extract Nextcloud v14.0.0 beta4: sudo -s cd /usr/local/src && wget...

Nextcloud 13 installation guide (Ubuntu 18.04.1 LTS)

Following this guide you will be able to install and configure Nextcloud 13 latest based on Ubuntu 18.04 LTS, NGINX 1.15.2, openssl 1.1.0h, TLSv1.3, PHP 7.2.8, MariaDB 10.3.8, Redis, fail2ban, firewall (ufw) and will achieve an A+ rating from as well Nextcloud as Qualys...

Nextcloud 13 installation guide (Debian 9.5 stretch)

Following this guide you will be able to install and configure Nextcloud 13 latest based on Debian 9.5 stretch new, NGINX 1.15.2 new, openssl 1.1.0h, TLSv1.3, PHP 7.2, MariaDB 10.3.7 new, Redis, fail2ban, firewall (ufw) and will achieve an A+ rating from as well...

Nextcloud in a Oracle VM VirtualBox

(1) Download, extract, add and start First download (MyNextcloud.7z – 1GB) the VirtualBox image, second extract it, third add this container to your VirtualBox environment and finally start it: It was built with one shell script only and runs on Ubuntu 18.04.1 LTS 64...

Build your Nextcloud Server using one shell script

The initial script (install-nextcloud.sh) will install your self hosted Nextcloud on an AMD64 infrastructure within few minutes fully automated. Your server will be built of: Fail2Ban (Nextcloud and SSH jails) MariaDB 10.3.8 new Nextcloud 13.0.5 new NGINX 1.15.2 OpenSSL 1.1.0h PHP 7.2.8 new Redis-Server...

Nextcloud 13 and ONLYOFFICE (NGINX)

Please verify your config.php – in previous versions of this guide i had a typo! Last Updates: July, 13thth 2018: – added a shell script to install your own on-prem Onlyoffice server without docker Guides for Onlyoffice… on a separate server (not the Nextcloud...

LAB: Loadbalancing for Nextcloud

I built a new lab environment that consists of 6 virtual Ubuntu server (Ubuntu 18.04 LTS x64) using the same virtual network, based on Virtual Box 5.2. Virtuall Lab Description: Server1: 192.168.2.3/255.255.255.0 Frontend (Loadbalancer and Reverse Proxy) Server2: 192.168.2.4/255.255.255.0 Backend (Nextcloud) Server3: 192.168.2.5/255.255.255.0 Backend...

Nextcloud 13 installation guide advanced

End of regular support – will be maintained sporadically only Following this advanced guide you will be able to install and configure Nextcloud 13 based on Ubuntu 16.04.4 LTS or 18.04 LTS, NGINX 1.15.2 with ngx_cache_purge enabled, PHP 7.2, MariaDB, Redis, fail2ban, firewall (ufw)....

Nextcloud ready for Talk (Ubuntu/NGINX)

“Meetings with colleagues, customers and partners – have a personal conversation with one click. Keep conversations private with Nextcloud Talk” on your own Nextcloud server, based on Ubuntu 18.04, NGINX 1.15 and your own TURN server … based on the Nextcloud installation guide with...

ODROID-C2 from scratch (Ubuntu 18.04)

OdroidC2 image from scratch (1) Install the Image to your eMMC (2) Server tweaks (2.1) Bash (auto-) completion (2.2) Create a new user and disable root (2.3) Adjust your time and timezone (2.4) ssh modifications (2.5) optional: rename your server (3) Update your server...

Nextcloud meets Pico CMS (NGINX)

With Pico CMS you can build your own website in Nextcloud! Start a blog – share your resume with the world – create a plan for world domination and only share with the right friends – built a knowledge sharing site – and let...

Nextcloud 13 backup and restore

Backup Nextcloud Ensure to have regulary backups from _0 (Sunday) to _6 (Saturday)  of your Nextcloud, including at least: – the webfolder: /var/www/nextcloud – the datafolder: /var/nc_data – and the database: nextcloud. Please substitute ubuntuusername and the database password nextcloud with yours. Switch into...

Let’s Encrypt and desec.io (dyndns) w/o external access

If you want to build your own and “local only” server environment you may request valid ssl certificates following this scenario yet. It is not neccessary to forward or open ports from WAN (external) to LAN (internal). DynDNS by deSEC supports the DNS challenge...

Using Nextcloud’s command line

(1) Use Cron or Ajax to run Nextcloud background jobs (2) Re-Scan your Nextcloud data (3) Cleanup Nextclouds filecache (4) Remove deleted files (5) Disable or enable apps (e.g. two-factor authentication or gallery) (6) List all config parameters and removes sensitive values (7) All...

Nextcloud and Collabora (NGINX)

Following this guide, you will gain your Collabora Online Office within your Nextcloud, based on your existing NGINX Webserver (reverse proxy or default configuration). You don’t have to configure a second domain, just use your existing one e.g. your.dedyn.io and ammend your current configuration....

Nextcloud 13.0.2 for Odroid C2 (Nextcloud1302.img)

OdroidC2 image with Nextcloud 13.0.2 First download my Nextcloud 13.0.2 image for OdroidC2 from here: Nextcloud 13.0.2 image for Odroid C2 version 2.1new (487 MB) The image consists of: Ubuntu 16.04.4 LTS 64 Bit NGINX 1.14 Nextcloud 13.0.2 (stable) Nextcloud cronjobs enabled cronjob for...

Nextcloud 13 (Apache2) installation guide

End of Service – no longer maintained! Following this guide you will be able to install and configure Nextcloud 13 based on Ubuntu 16.04.4 LTS, Apache 2.4.29 (mpm_event, http2), PHP 7.2 (php7.2-fpm), MariaDB, Redis, fail2ban, firewall (ufw) and achieve an A+ rating from both:...

Pi-hole behind your nginx reverse proxy

Pi-hole®: A black hole for Internet advertisements March 26th, 2018: – added some troubleshooting hints Install Pi-hole by running sudo -s curl -sSL https://install.pi-hole.net | bash and follow the instructions: Then change the Pi-hole port from 80 to e.g. 86: vi /etc/lighttpd/lighttpd.conf server.port =...

Nextcloud more secure using geoip (NGINX)

Many users asked for the NGINX geoip configuration i made earlier. Although e.g. VPN or TOR could bypass geoip blocking i decided to post a new guide. So following this guide you will be able to secure your Nextcloud server by using geoip in...

Roundcube alongside Nextcloud

We will run Roundcube 1.3.6 in a subfolder alongside and within Nextcloud on your NGINX, enhance security using TOTP (2FA) + fail2ban and finally add functionality using a carddav plugin for Nextcloud contacts. To run Roundcube (https://your.dedyn.io/emails) alongside and within Nextcloud (as an “external...

Nextcloud more secure using clamav

Make your Nextcloud more secure using clamav and Nextcloud’s file-antivirus app. Just install clamav on your server and make just few configuration steps. Install clamav using the Ubuntu repositories Start working as sudo to install and configure clamav: sudo -s apt update && apt...

deSEC – dyndns for Nextcloud

First register (german: registrierung) an account and wait for the credentials sent by email. Then start to install and configure the dyndns client. To install ddclient, use

Previews jumping up as popcorn

Increase the gallery performance significantly by enabling the Preview Generator app. Start the Preview Generation and wait for its end – then edit the crontab to perform periodic thumbnail generations for newly created data and finally enjoy your previews as “jumping popcorn”! So let’s...