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. https://itectec.com/superuser/using-rsync-with-link-dest-from-hfs-to-ntfs/

AsusWRT – generate OpenVPN keys using Easy RSA

Script under: /tmp/mnt/sda/openvpn/easy-rsa/prepare_export_vars.sh Add client without rebuilding CA: https://askubuntu.com/questions/945592/how-to-add-a-user-key-pair-to-openvpn-without-remaking-ca-crt Info from: https://github.com/RMerl/asuswrt-merlin.ng/wiki/Generating-OpenVPN-keys-using-Easy-RSA 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 https://github.com/strukturag/libde265.gitsudo git clone https://github.com/strukturag/libheif.gitcd libde265/./autogen.sh./configure –disable-sherlock265makemake install

Nextcloud does not create PDF previews

Source: https://stackoverflow.com/questions/37599727/php-imagickexception-not-authorized 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])));