Sorry, not too familiar with the posting's editing methods, tried to post the whole text, but somehow got truncated a bit.
Don't see the line you refer to though, this is what I have: (But the NC is working ok though)
$CONFIG = array ( 'instanceid' => 'ocw8cinc7vg1', 'passwordsalt' => 'OOXA+lmyoIbm6gbd...
Oh, got it. Just rerun it with dbname, but it still just return nothing.
sudo -u www-data php /var/www/html/nextcloud/occ config:system:get nextcloud
this is the command issued.
Just did, but no output, just return to $
Just edited the "pre defined variables"'s path; this is the last page:
Backup directory: /mnt/2t-bkp-ext4/nextcloud_backup Nextcloud file directory: /var/www/html/nextcloud Webserver user:...
Thanks. mv'ed the setup.sh to setup.sh.ori. And created a new one with your code. $ sudo mv setup.sh setup.sh.ori $ sudo chmod +x setup.sh
$ sudo ./setup.sh
Error calling OCC: Please...
Just did that - added to this location:
if [ "$useCompression" = true ] ; then
fileNameBackupExternalDataDir='nextcloud-external-datadir.tar.gz'
fi
fi **echo...
Again, thank you for helping out. Here are the results of your comments:
- This is the setup.sh's last screen and the output/text, didn't see the "IMPORTANT..." part:
Backup directory:...
sorry, fat finger...
Version 3.2.1 is the script's version.
Thanks. This is the result from the
first part: delyang@vortex:~ $ sudo -u www-data php /var/www/html/nextcloud/occ config:system:get datadirectory echo $? /var/www/html/nextcloud/data 0 ...
Thanks for the prompt response. Also I just notice that during the setup.sh run, the NextcloudBackupRestore.conf does not update the "maxNrOfBackups=" part, no matter what I specified, it still...
the one NextcloudBackupRestore.conf has the right location for the occ - /../html/nextcloud
my installation for nextcloud is under: /var/www/html/nextcloud.
as I mentioned, my nextcloud location is /var/www/html/nextcloud. And also during the setup.sh and steps, the first script...
my installation for nextcloud is under: /var/www/html/nextcloud.
"Binary occ", sorry not too sure it is a binary file. There is a text-editable file named occ in the folder of nextcloud. Is it the right one?
Its content is:
#!/usr/bin/env php