Running Nextcloud as Flatpak on Fedora

Published on Author admin

Download Flathub repository file: https://flathub.org/repo/flathub.flatpakrepo Open downloaded file with Software Install option Install Nextcloud app from Flathub repo: flatpak install flathub org.nextcloud.Nextcloud List installed Flatpack apps: flatpak list Run Nextcloud app: flatpak run org.nextcloud.Nextcloud You can also copy nextcloud.cfg config file from your previous standalone nextcloud client: cp ./.config/Nextcloud/nextcloud.cfg ./.var/app/org.nextcloud.Nextcloud/config/Nextcloud/nextcloud.cfg

AWS S3 backup script

Published on Author admin

Start with updating AWS CLI tool: pip3 install awscli --upgrade --user Script for backing up data into your AWS S3 bucket: #!/bin/bash pathtobackup='/home/USERNAME/data/' pathtoarchivefile='/home/USERNAME' filenameprefix='backup-nextcloud' secret='secretpassword' awsbucket='awsbucket-name' date=`date --iso-8601` archivefilename=$filenameprefix-$date.7z echo echo "Performing backup of $pathtobackup to s3://$awsbucket/$archivefilename" echo echo `date -Is` echo "Compressing $pathtobackup to $pathtoarchivefile/$archivefilename" echo 7za a $pathtoarchivefile/$archivefilename $pathtobackup -p$secret echo echo… Continue reading AWS S3 backup script

Nextcloud - upgrade to 13.0beta1

Published on Author admin

Upgrading Nextcloud from CLI on Linux system with systemd. /var/www/html/owncloud/ - Nextcloud installation directory apache - HTTP server service user cd /var/www/html/ wget https://download.nextcloud.com/server/prereleases/nextcloud-13.0.0beta1.zip systemctl stop httpd rm owncloud-old/ -rf mv owncloud/ owncloud-old/ unzip nextcloud-13.0.0beta1.zip mv nextcloud/ owncloud/ mv owncloud-old/data/ owncloud/data/ cp owncloud-old/config/config.php owncloud/config/config.php chown apache: owncloud/ -R chcon -R -t httpd_sys_rw_content_t /data/var/www/html/owncloud/config chcon -R… Continue reading Nextcloud - upgrade to 13.0beta1

Nextcloud - upgrade from CLI

Published on Author admin

Upgrading Nextcloud from CLI. /var/www/html/owncloud/ - Nextcloud installation directory apache - HTTP server service user cd /var/www/html/ wget https://download.nextcloud.com/server/prereleases/nextcloud-12.0.1RC4.zip service httpd stop rm owncloud-old/ -rf mv owncloud/ owncloud-old/ unzip nextcloud-12.0.1RC4.zip mv nextcloud/ owncloud/ mv owncloud-old/data/ owncloud/data/ cp owncloud-old/config/config.php owncloud/config/config.php chown apache: owncloud/ -R cd owncloud sudo -u apache php occ upgrade service httpd start