Difference between revisions of "NextCloud"

From Indie IT Wiki
imported>Plittlefield
 
Line 66: Line 66:
  
 
https://docs.nextcloud.com/server/9/admin_manual/configuration_user/reset_admin_password.html
 
https://docs.nextcloud.com/server/9/admin_manual/configuration_user/reset_admin_password.html
 +
 +
== Remove app and delete all its settings ==
 +
 +
https://help.nextcloud.com/t/remove-app-and-delete-all-its-settings/80808
 +
 +
https://help.nextcloud.com/t/how-to-remove-apps-from-the-terminal/63569
  
 
[[Category:Cloud]]
 
[[Category:Cloud]]
 
[[Category:Software]]
 
[[Category:Software]]
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 16:19, 30 May 2021

Documentation

https://docs.nextcloud.com/

https://github.com/nextcloud/nextcloud-snap/wiki

Installation

Yeah, you could go through the manual process of installing all the various many elements, or you could just use snap...

sudo install snapd
sudo snap install nextcloud
sudo nextcloud.enable-https lets-encrypt    (sudo nextcloud.enable-https self-signed)

That's it.

nextCloud on Ubuntu

How to install Nextcloud 15 on Ubuntu Server 18.04

Move Data Directory

For example, to AWS EFS...

Mount your EFS in the folder /mnt/efs, then...

mkdir -p /mnt/efs/nextcloud
snap enable nextcloud
snap stop nextcloud
snap connect nextcloud:removable-media
nano /var/snap/nextcloud/current/nextcloud/config/config.php    ('datadirectory' => '/mnt/efs/nextcloud/data',)
snap disable nextcloud
rsync -av --delete /var/snap/nextcloud/common/nextcloud/ /mnt/efs/nextcloud/
chown -R root:root /mnt/efs/nextcloud/
chmod -R 0770 /mnt/efs/nextcloud/
ll /mnt/efs/nextcloud/
snap enable nextcloud
snap start nextcloud

https://help.nextcloud.com/t/snap-install-external-storage-local-configuration/1519/9

Key part of page above is the snap connect :-)

https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition

Copy Large Data

After you have transferred large files, you need to get NextCloud to scan the folder...

cd /var/www/nextcloud
sudo -u www-data php console.php files:scan --all

Full instructions here...

https://help.nextcloud.com/t/tutorial-how-to-migrate-mass-data-to-a-new-nextcloud-server/9418

CLI Commands

nextcloud.occ

Log Files

https://github.com/nextcloud/nextcloud-snap/wiki/Where-to-find-logs-of-components

Reset Lost Admin Password

https://docs.nextcloud.com/server/9/admin_manual/configuration_user/reset_admin_password.html

Remove app and delete all its settings

https://help.nextcloud.com/t/remove-app-and-delete-all-its-settings/80808

https://help.nextcloud.com/t/how-to-remove-apps-from-the-terminal/63569