OK here is the before:
ncadmin@cloud:~$ sudo du -ah --max-depth=1 /mnt/ncdata | sort -hr
[sudo] password for ncadmin:
2.8G /mnt/ncdata
2.7G /mnt/ncdata/dtorres
129M /mnt/ncdata/appdata_ocm2710gjvgh
11M /mnt/ncdata/ncadmin
11M /mnt/ncdata/jtorres
11M /mnt/ncdata/datorres
213K /mnt/ncdata/files_external
65K /mnt/ncdata/nextcloud.log
4.5K /mnt/ncdata/updater.log
4.5K /mnt/ncdata/.htaccess
512 /mnt/ncdata/updater-ocm2710gjvgh
512 /mnt/ncdata/.ocdata
512 /mnt/ncdata/index.html
I am very new to NextCloud and Linux in general. I edited the config.php file, added:
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'preview_max_x' => 1080,
'preview_max_y' => 1920,
),
);
Then ran :
sudo -u www-data /var/www/nextcloud/occ config:app:set --value=“32 64 1024” previewgenerator squareSizes
Responce was:
Config value squareSizes for app previewgenerator set to 32 64 1024
sudo -u www-data /var/www/nextcloud/occ config:app:set --value=“64 128 1024” previewgenerator widthSizes
Responce was
Config value widthSizes for app previewgenerator set to 64 128 1024
sudo -u www-data /var/www/nextcloud/occ config:app:set --value=“64 256 1024” previewgenerator heightSizes
Responce was
Config value heightSizes for app previewgenerator set to 64 256 1024
Here is after deleting all my data and emptying the trash bin:
ncadmin@cloud:~$ sudo du -ah --max-depth=1 /mnt/ncdata | sort -hr
160M /mnt/ncdata
129M /mnt/ncdata/appdata_ocm2710gjvgh
11M /mnt/ncdata/ncadmin
11M /mnt/ncdata/jtorres
11M /mnt/ncdata/datorres
213K /mnt/ncdata/files_external
76K /mnt/ncdata/dtorres
65K /mnt/ncdata/nextcloud.log
4.5K /mnt/ncdata/updater.log
4.5K /mnt/ncdata/.htaccess
512 /mnt/ncdata/updater-ocm2710gjvgh
512 /mnt/ncdata/.ocdata
512 /mnt/ncdata/index.html
Another view is:
ncadmin@cloud:~$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 393M 1.2M 391M 1% /run
/dev/mapper/nextcloud--vg-root ext4 39G 8.7G 28G 25% /
tmpfs tmpfs 2.0G 8.0K 2.0G 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
ncdata zfs 641M 161M 481M 25% /mnt/ncdata
tmpfs tmpfs 393M 0 393M 0% /run/user/1000
Space seems to no longer be an issue. I still problems with my Cert but i’ll open a new thread on that.
Thanks for all the help!!