rsync wont function on NTFS as intended

NTFS does not have permissions and owner of files and folders like ext has. So backup script has to be changed to use -rltD instead of -rlptgoD to not take care of permissions and ownerships of files to backup.

AsusWRT – generate OpenVPN keys using Easy RSA

Script under: /tmp/mnt/sda/openvpn/easy-rsa/ Add client without rebuilding CA: Info from: It is possible to generate your certificates on the router itself if you don’t have access to a Linux machine, or if you don’t have a Windows client installed with Easy-RSA. Easy-RSA is a simple to use environment Weiterlesen…

Imagemagick for Nextcloud

sudo apt-get updatesudo apt-get install build-essential autoconf libtool git-corecd /usr/src/sudo git clone git clone libde265/./ –disable-sherlock265makemake install

Not able to upgrade Ubuntu release

With the release of Ubuntu 20.02 LTS (Focal Fossa) my current Ubuntu server running 19.04 Disco Dingo did not receive updates anymore – Time to upgrade.So I connected to my server using SSH and entered the command which failed with the error: Failed to connect to Check your Internet connection Weiterlesen…

Nextcloud does not create PDF previews

Source: nano /etc/ImageMagick-6/policy.xml Change line: <policy domain=“coder“ rights=“none“ pattern=“MVG“ /> to <!– <policy domain=“coder“ rights=“none“ pattern=“MVG“ /> –> Change line: <policy domain=“coder“ rights=“none“ pattern=“PDF“ /> to: <policy domain=“coder“ rights=“read|write“ pattern=“PDF“ /> Restart php fpm: service php7.3-fpm restart (maybe restart nginx?)

Nextcloud Gmail

Cannot send email using Gmail account in Nextcloud 20: Change in file: /var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line number 272 from $this->stream = @stream_socket_client($host.‘:‘.$this->params[‚port‘], $errno, $errstr, $timeout, STREAM_CLIENT_CONNECT, $streamContext);              to $this->stream = @stream_socket_client($host.‘:‘.$this->params[‚port‘], $errno, $errstr, $timeout, STREAM_CLIENT_CONNECT, stream_context_create(array(’ssl’=>[‚verify_peer’=>false, ‚verify_peer_name’=>false, ‚allow_self_signed’=>true])));

PHP 7.2 (APCU) add to /etc/php/7.2/mods-available/apcu.ini Extensions are loaded when the appropriate symlink is placed in /etc/php/7.2/fpm/conf.d/ with eg. ln -s /etc/php/7.2/mods-available/apcu.ini /etc/php/7.2/fpm/conf.d/20-apcu.ini So it is not necessary to add the line to any php.ini file. Tune PHP FPM: