Client doesn t upodate settings

client is : 2.1.16 Microsoft Windows 7 Professionnel Service Pack 1 (build 7601), 32 bits
server is UrBackup 2.1.19

At the office i use groups, and all server are in a group.
To avoid starting new, huge backups, of unecessary data, the default setting are set to backup ‘/make_an_error’
Then we have to place the detected client into a group that has valid setttings for this client.

Here , there s a client, for which, on the agent, i deleted the settings, deleted the sqlite files, restarted the agent.
But it keeps wanting to use the old settings for backups

08/06/17 11:16 INFO Starting unscheduled full file backup…
08/06/17 11:16 DEBUG rone06ddo: Connecting for filelist…
08/06/17 11:16 DEBUG rone06ddo: Waiting for filelist
08/06/17 11:16 DEBUG rone06ddo: Connecting for filelist (async)…
08/06/17 11:16 ERROR Cannot access path to backup: “\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy52\ke_an_error” Errorcode: 2 - Le fichier spécifié est introuvable.
08/06/17 11:16 WARNING Hint: Directory to backup ("/make_an_error") does not exist. It may have been deleted or renamed. Set the “optional” directory flag if you do not want backups to fail if directories are missing.
08/06/17 11:16 ERROR Constructing of filelist of “rone06ddo” failed: error - index error
08/06/17 11:16 ERROR Backup had an early error. Deleting partial backup.

Sorry you are having issues. To solve the problem the client (debug) log would be useful.
If possible, could you post it or send it?

This post describes how to change the client to debug logging, where it is stored and where to send it to if posting is not possible: Having problems with UrBackup? Please read before posting

Thanks!

Enabled debug , restarted one more time , now it works :confused:

Just had a similar problem on another client.
I may have found what causes this kind of issue.

All my client are plugged to two servers and this one happened to try to make backup using the setting of the other server

Client X, server A, server B

Server A: client X is already configured with proper path on this server
Server B client X is not yet configured here (but registred via autodiscovery)
Client X connect to serverA and server B

I guess the client use one sever for setting (looking at the conf it can not keep two sets of settings, kind of the same issue we have with internet server, where only one internet server is allowed)

What was troubling is that when i started backup from the configured server A, client X would was actually using settings from server B which was not yet configured.

This client didnt had the necessay backup requested by the user

All it was backuping was path manually set to backup via add-backupdir (at the beggining agents where cinfigured like this)
But now i do set path only via groups properties and disallow client to change conf.

So i removed the path manually set (no idea why it wasn’t pickign changes from server
After that was not backuping anything, even if it properly syncing settings from the server
And the server appears to have the proper settings
I tried to change a few settings to make sure , and they were properly synced (they show in the log and in the settings file)

(here it show no directories, even if the file has them setup)
urbackupclientctl list-backupdirs
No directories are being backed up

urbackupclientctl --version
UrBackup Client Controller v2.1.15.0

cat /var/docker/data/urbackup-client/data/settings.cfg
update_freq_incr=18000
update_freq_incr_def=18000
update_freq_full=5184000
update_freq_full_def=5184000
update_freq_image_full=-5184000
update_freq_image_full_def=-5184000
update_freq_image_incr=-604800
update_freq_image_incr_def=-604800
max_file_incr=4
max_file_incr_def=4
min_file_incr=2
min_file_incr_def=2
max_file_full=2
max_file_full_def=2
min_file_full=1
min_file_full_def=1
min_image_incr=4
min_image_incr_def=4
max_image_incr=30
max_image_incr_def=30
min_image_full=2
min_image_full_def=2
max_image_full=5
max_image_full_def=5
startup_backup_delay=120
startup_backup_delay_def=120
backup_window_incr_file=1-7/7-21
backup_window_incr_file_def=1-7/7-21
backup_window_full_file=1-7/7-21
backup_window_full_file_def=1-7/7-21
backup_window_incr_image=1-7/7-21
backup_window_incr_image_def=1-7/7-21
backup_window_full_image=1-7/7-21
backup_window_full_image_def=1-7/7-21
exclude_files=
exclude_files_def=
include_files=/urbackup/docker/:/conf/;/urbackup/host/;/urbackup/docker/:/data/model/;/root/;/etc/*
include_files_def=/urbackup/docker/:/conf/;/urbackup/host/;/urbackup/docker/:/data/model/;/root/;/etc/*
default_dirs=/root|root;/etc|etc;/urbackup/docker/|docker_conf;/urbackup/host/|docker_host
default_dirs_def=/root|root;/etc|etc;/urbackup/docker/|docker_conf;/urbackup/host/|docker_host
allow_config_paths=false
allow_config_paths_def=false
allow_starting_full_file_backups=true
allow_starting_full_file_backups_def=true
allow_starting_incr_file_backups=true
allow_starting_incr_file_backups_def=true
allow_starting_full_image_backups=false
allow_starting_full_image_backups_def=false
allow_starting_incr_image_backups=false
allow_starting_incr_image_backups_def=false
allow_pause=false
allow_pause_def=false
allow_log_view=true
allow_log_view_def=true
allow_overwrite=false
allow_overwrite_def=false
allow_tray_exit=false
allow_tray_exit_def=false
image_letters=C
image_letters_def=C
internet_server=backup01
internet_server_def=backup01
internet_server_port=55415
internet_server_port_def=55415
internet_authkey=xxx
internet_authkey_def=xxx
internet_speed=0
internet_speed_def=0
local_speed=0
local_speed_def=0
internet_image_backups=true
internet_image_backups_def=true
internet_full_file_backups=true
internet_full_file_backups_def=true
internet_encrypt=true
internet_encrypt_def=true
internet_compress=false
internet_compress_def=false
internet_mode_enabled=true
internet_mode_enabled_def=true
silent_update=false
silent_update_def=false
client_quota=
client_quota_def=
local_full_file_transfer_mode=hashed
local_full_file_transfer_mode_def=hashed
internet_full_file_transfer_mode=raw
internet_full_file_transfer_mode_def=raw
local_incr_file_transfer_mode=hashed
local_incr_file_transfer_mode_def=hashed
internet_incr_file_transfer_mode=blockhash
internet_incr_file_transfer_mode_def=blockhash
local_image_transfer_mode=hashed
local_image_transfer_mode_def=hashed
internet_image_transfer_mode=raw
internet_image_transfer_mode_def=raw
end_to_end_file_backup_verification=false
end_to_end_file_backup_verification_def=false
internet_calculate_filehashes_on_client=true
internet_calculate_filehashes_on_client_def=true
image_file_format=vhdz
image_file_format_def=vhdz
internet_connect_always=false
internet_connect_always_def=false
server_url=http://backup01:55414/
server_url_def=http://backup01:55414/
verify_using_client_hashes=false
verify_using_client_hashes_def=false
internet_readd_file_entries=true
internet_readd_file_entries_def=true
background_backups=true
background_backups_def=true
local_incr_image_style=to-full
local_incr_image_style_def=to-full
local_full_image_style=full
local_full_image_style_def=full
internet_incr_image_style=to-last
internet_incr_image_style_def=to-last
internet_full_image_style=synthetic
internet_full_image_style_def=synthetic
create_linked_user_views=false
create_linked_user_views_def=false
max_running_jobs_per_client=2
max_running_jobs_per_client_def=2
cbt_volumes=ALL
cbt_volumes_def=ALL
cbt_crash_persistent_volumes=-
cbt_crash_persistent_volumes_def=-
ignore_disk_errors=false
ignore_disk_errors_def=false
vss_select_components=default=1
vss_select_components_def=default=1
allow_file_restore=true
allow_file_restore_def=true
allow_component_restore=true
allow_component_restore_def=true
allow_component_config=false
allow_component_config_def=false
file_snapshot_groups=
file_snapshot_groups_def=
image_snapshot_groups=
image_snapshot_groups_def=
internet_file_dataplan_limit=5242880000
internet_file_dataplan_limit_def=5242880000
internet_image_dataplan_limit=20971520000
internet_image_dataplan_limit_def=20971520000

i tried moving out all theses files, to reset whatever was storing the local conf for paths:
mv ./filelist.ub ./settings* ./tokens_* /bak/
mv ./backup_client.db backup_client.db-shm backup_client.db-wal bak/
then had a “no backup dirs” error

i tried restarting the agent a few time and start a few inc backups, same “no backup dirs” error

so i did put back the settings file , i still get that error,
tried restarting the agent a few time and start a few inc backups, same “no backup dirs” error

oct. 31 17:37:16 ct03. urbackupclientbackend[890]: Internet only mode not enabled. Waiting for local server for 3:00…
oct. 31 17:37:21 ct03 urbackupclientbackend[890]: ClientService cmd: #xxx#ADD IDENTITY
oct. 31 17:37:21 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:32 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#ADD IDENTITY
oct. 31 17:37:32 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#2PING RUNNING pc_done=&status_id=15&speed_bpms=0&total_bytes=-1&done_bytes=0#token=xxx
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#3START BACKUP group=0&running_jobs=1&sha=528&with_permissions=1&with_scripts=1&with_orig_path=1&with_sequence=1&with_proper_symlinks=1&status_id=15&async=1#token=xxx
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Removing VSS log data…
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#WAIT FOR INDEX async_id=xxx#token=yyy
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Wait for async index xxx
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Script list at “/etc/urbackup/scripts/list” does not exist. Skipping.
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Async index xxx finished with “no backup dirs”
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:46 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0

Ended up also changing a setting a setting on the server to have the client pick up the changes (actually i tried that at the very begginging, so apparently i need to delete all the agent data, then change a sertting server side for the agent to pick up the new setttings)

ok, i tried that on a second client with that problem

Editing settings before does nothing

systemctl stop urbackupclientbackend
mkdir bak
mv ./backup_client.db* bak
systemctl start urbackupclientbackend
at that point if i try a backup it also errors with no folder set, even if they arein the cfg file

then i edit any settings via the web ui

and then the conf sync and the good folders are backuped

I got a 3rd client with the exact same problem, so if you need, i can grab some info from it before fixing it.
Logs are a pita to anonymise , so please if you need more logs tell me which part you need in the logs, or some specific action to do and i ll give you the logs for that action.

i did the same thing for the 3rd client
this one had subclient as well, had to also change some settings on the web ui, so that the subclient would get their new config, else i would also get a “no backup dir error”.