• Joined on 2024年06月17日
delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月21日 04:55:51 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

Sorry, not too familiar with the posting's editing methods, tried to post the whole text, but somehow got truncated a bit.

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月21日 04:54:12 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

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...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月20日 21:53:37 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

Oh, got it. Just rerun it with dbname, but it still just return nothing.

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月20日 19:17:07 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

sudo -u www-data php /var/www/html/nextcloud/occ config:system:get nextcloud

this is the command issued.

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月20日 18:35:40 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

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:...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月20日 11:39:09 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

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...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月19日 21:57:16 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

Just did that - added to this location:

 if [ "$useCompression" = true ] ; then
 fileNameBackupExternalDataDir='nextcloud-external-datadir.tar.gz'
 fi

fi **echo...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月19日 11:36:49 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

Again, thank you for helping out. Here are the results of your comments:

  1. This is the setup.sh's last screen and the output/text, didn't see the "IMPORTANT..." part:

Backup directory:...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月19日 05:00:32 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

sorry, fat finger...

Version 3.2.1 is the script's version.

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月19日 04:58:43 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

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 ...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月18日 13:10:18 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

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...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月18日 09:50:17 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

the one NextcloudBackupRestore.conf has the right location for the occ - /../html/nextcloud

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月18日 09:48:48 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

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...

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月18日 06:52:57 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

my installation for nextcloud is under: /var/www/html/nextcloud.

delyang commented on issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月18日 06:52:06 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.

"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

delyang opened issue DecaTec/Nextcloud-Backup-Restore#69 2024年06月17日 16:55:43 +02:00
setup.sh ran ok, but tried to run NextcloudBackup.sh simply returned "OCC config:system:get call failed!" and nothing else.