Ubuntu 20.04 Client file backup will not start

Greetings,

I am running urbackup server on a windows 2019 server. All my windows servers are backing up successfully, however I have a ubuntu 20.04 server that will not start a backup at all. I have enabled debug on the the management server and the client but don’t see anything useful.

here is the client log

2024-04-10 02:25:56: SQLite: recovered 39 frames from WAL file /usr/local/var/urbackup/backup_client.db-wal code: 283
2024-04-10 02:25:56: urbackupserver: Server started up successfully!
2024-04-10 02:25:56: Started UrBackupClient Backend…
2024-04-10 02:25:56: FileSrv: Binding UDP socket at port 35622…
2024-04-10 02:25:56: FileSrv: done.
2024-04-10 02:25:56: FileSrv: Binding ipv6 UDP socket at port 35622…
2024-04-10 02:25:56: FileSrv: done.
2024-04-10 02:25:56: FileSrv: Servername: -fcssql-
2024-04-10 02:25:56: FileSrv: Server started up successfully
2024-04-10 02:25:56: FileSrv: UDP Thread started
2024-04-10 02:25:57: urbackupserver: No available slots… starting new Worker
2024-04-10 02:25:57: Internet only mode not enabled. Waiting for local server for 3:00…
2024-04-10 02:25:57: Looking for old Sessions… 0 sessions
2024-04-10 02:25:57: Final path: /etc
2024-04-10 02:25:57: Final path: /home
2024-04-10 02:25:57: ClientService cmd: #Iov3igdJhLbp60UvZuOio#1CHANNEL capa=190731&token=QDxsboCwHpzPuWuNJ8Sn&restore_version=1&startup=1&virtual_client=
2024-04-10 02:25:57: New channel: Number of Channels: 1
2024-04-10 02:25:57: ClientService cmd: #Iov3igdJhLbp60UvZuOio#FILESRV
2024-04-10 02:25:57: Start FILESRV thread
2024-04-10 02:25:57: FileSrv: Received data…
2024-04-10 02:25:57: FileSrv: Received a Packet.
2024-04-10 02:25:57: FileSrv: Sending file (normal) urbackup/settings.cfg metadata_id=0
2024-04-10 02:25:57: FileSrv: Mapped name: /usr/local/var/urbackup/data/settings.cfg
2024-04-10 02:25:57: FileSrv: Received a Packet.
2024-04-10 02:25:57: Received flush.
2024-04-10 02:25:57: FileSrv: Recv Error in RecvMessage
2024-04-10 02:25:57: ClientService cmd: #Iov3igdJhLbp60UvZuOio#SETTINGS update_freq_incr.group=18000
update_freq_incr=18000
update_freq_incr.use=1
update_freq_full.group=604800
update_freq_full=604800
update_freq_full.use=1
update_freq_image_full.group=-1296000
update_freq_image_full=-1296000
update_freq_image_full.use=1
update_freq_image_incr.group=-86400
update_freq_image_incr=-86400
update_freq_image_incr.use=1
max_file_incr.group=50
max_file_incr=50
max_file_incr.use=1
min_file_incr.group=10
min_file_incr=10
min_file_incr.use=1
max_file_full.group=4
max_file_full=4
max_file_full.use=1
min_file_full.group=2
min_file_full=2
min_file_full.use=1
min_image_incr.group=4
min_image_incr=4
min_image_incr.use=1
max_image_incr.group=15
max_image_incr=15
max_image_incr.use=1
min_image_full.group=1
min_image_full=1
min_image_full.use=1
max_image_full.group=2
max_image_full=2
max_image_full.use=1
startup_backup_delay.group=60
startup_backup_delay=60
startup_backup_delay.use=1
backup_window_incr_file.group=1-7/0-24
backup_window_incr_file=1-7/0-24
backup_window_incr_file.use=1
backup_window_full_file.group=1-7/0-24
backup_window_full_file=1-7/0-24
backup_window_full_file.use=1
backup_window_incr_image.group=1-7/0-24
backup_window_incr_image=1-7/0-24
backup_window_incr_image.use=1
backup_window_full_image.group=1-7/0-24
backup_window_full_image=1-7/0-24
backup_window_full_image.use=1
exclude_files.group=
exclude_files=
exclude_files.use=1
include_files.group=
include_files=
include_files.use=1
computername.group=
computername=
computername.use=1
virtual_clients.group=
virtual_clients=
virtual_clients.use=1
default_dirs.group=/etc/;/home/
default_dirs=/etc/;/home/
default_dirs.use=1
allow_overwrite.group=false
allow_overwrite=false
allow_overwrite.use=1
backup_dirs_optional.group=false
backup_dirs_optional=false
backup_dirs_optional.use=1
allow_config_paths.group=true
allow_config_paths=true
allow_config_paths.use=1
allow_starting_full_file_backups.group=true
allow_starting_full_file_backups=true
allow_starting_full_file_backups.use=1
allow_starting_incr_file_backups.group=true
allow_starting_incr_file_backups=true
allow_starting_incr_file_backups.use=1
allow_starting_full_image_backups.group=false
allow_starting_full_image_backups=false
allow_starting_full_image_backups.use=1
allow_starting_incr_image_backups.group=false
allow_starting_incr_image_backups=false
allow_starting_incr_image_backups.use=1
allow_pause.group=false
allow_pause=false
allow_pause.use=1
allow_log_view.group=true
allow_log_view=true
allow_log_view.use=1
allow_overwrite.group=false
allow_overwrite=false
allow_overwrite.use=1
allow_tray_exit.group=false
allow_tray_exit=false
allow_tray_exit.use=1
image_letters.group=ALL_NONUSB
image_letters=ALL_NONUSB
image_letters.use=1
internet_server=backups.mydomain.org
internet_server_def=backups.mydomain.org
internet_server_port=55415
internet_server_port_def=55415
internet_server_proxy=
internet_server_proxy_def=
internet_authkey.group=** redacted **
internet_authkey=** redacted **
internet_speed.group=-1
internet_speed=-1
internet_speed.use=1
local_speed.group=-1
local_speed=-1
local_speed.use=1
internet_image_backups.group=false
internet_image_backups=false
internet_image_backups.use=1
internet_full_file_backups.group=true
internet_full_file_backups=true
internet_full_file_backups.use=1
internet_encrypt.group=true
internet_encrypt=true
internet_encrypt.use=1
internet_compress.group=true
internet_compress=true
internet_compress.use=1
internet_mode_enabled.group=true
internet_mode_enabled=true
internet_mode_enabled.use=1
silent_update.group=true
silent_update=true
silent_update.use=1
client_quota.group=
client_quota=
client_quota.use=1
local_full_file_transfer_mode.group=hashed
local_full_file_transfer_mode=hashed
local_full_file_transfer_mode.use=1
internet_full_file_transfer_mode.group=raw
internet_full_file_transfer_mode=raw
internet_full_file_transfer_mode.use=1
local_incr_file_transfer_mode.group=hashed
local_incr_file_transfer_mode=hashed
local_incr_file_transfer_mode.use=1
internet_incr_file_transfer_mode.group=blockhash
internet_incr_file_transfer_mode=blockhash
internet_incr_file_transfer_mode.use=1
local_image_transfer_mode.group=hashed
local_image_transfer_mode=hashed
local_image_transfer_mode.use=1
internet_image_transfer_mode.group=raw
internet_image_transfer_mode=raw
internet_image_transfer_mode.use=1
end_to_end_file_backup_verification.group=false
end_to_end_file_backup_verification=false
end_to_end_file_backup_verification.use=1
internet_calculate_filehashes_on_client.group=true
internet_calculate_filehashes_on_client=true
internet_calculate_filehashes_on_client.use=1
internet_parallel_file_hashing.group=false
internet_parallel_file_hashing=false
internet_parallel_file_hashing.use=1
image_file_format.group=default
image_file_format=default
image_file_format.use=1
internet_connect_always.group=false
internet_connect_always=false
internet_connect_always.use=1
server_url=
server_url_def=
verify_using_client_hashes.group=false
verify_using_client_hashes=false
verify_using_client_hashes.use=1
internet_readd_file_entries.group=true
internet_readd_file_entries=true
internet_readd_file_entries.use=1
background_backups.group=true
background_backups=true
background_backups.use=1
local_incr_image_style.group=to-full
local_incr_image_style=to-full
local_incr_image_style.use=1
local_full_image_style.group=full
local_full_image_style=full
local_full_image_style.use=1
internet_incr_image_style.group=to-last
internet_incr_image_style=to-last
internet_incr_image_style.use=1
internet_full_image_style.group=synthetic
internet_full_image_style=synthetic
internet_full_image_style.use=1
create_linked_user_views.group=false
create_linked_user_views=false
create_linked_user_views.use=1
max_running_jobs_per_client.group=1
max_running_jobs_per_client=1
max_running_jobs_per_client.use=1
cbt_volumes.group=ALL
cbt_volumes=ALL
cbt_volumes.use=1
cbt_crash_persistent_volumes.group=-
cbt_crash_persistent_volumes=-
cbt_crash_persistent_volumes.use=1
ignore_disk_errors.group=false
ignore_disk_errors=false
ignore_disk_errors.use=1
vss_select_components.group=default=1
vss_select_components=default=1
vss_select_components.use=1
allow_file_restore.group=false
allow_file_restore=false
allow_file_restore.use=1
allow_component_restore.group=false
allow_component_restore=false
allow_component_restore.use=1
allow_component_config.group=false
allow_component_config=false
allow_component_config.use=1
file_snapshot_groups.group=
file_snapshot_groups=
file_snapshot_groups.use=1
image_snapshot_groups.group=
image_snapshot_groups=
image_snapshot_groups.use=1
internet_file_dataplan_limit.group=524288000000
internet_file_dataplan_limit=524288000000
internet_file_dataplan_limit.use=1
internet_image_dataplan_limit.group=2097152000000
internet_image_dataplan_limit=2097152000000
internet_image_dataplan_limit.use=1
alert_script.group=1
alert_script=1
alert_script.use=1
alert_params.group=
alert_params=
alert_params.use=1
archive.group=
archive=
archive.use=1
client_settings_tray_access_pw.group=
client_settings_tray_access_pw=
client_settings_tray_access_pw.use=1
local_encrypt.group=true
local_encrypt=true
local_encrypt.use=1
local_compress.group=true
local_compress=true
local_compress.use=1
download_threads.group=1
download_threads=1
download_threads.use=1
hash_threads.group=1
hash_threads=1
hash_threads.use=1
client_hash_threads.group=1
client_hash_threads=1
client_hash_threads.use=1
image_compress_threads.group=0
image_compress_threads=0
image_compress_threads.use=1

2024-04-10 02:25:57: rc=0 hasError=true state=0
2024-04-10 02:25:57: ClientService cmd: #Iov3igdJhLbp60UvZuOio#CAPA
2024-04-10 02:25:57: rc=0 hasError=true state=0
2024-04-10 02:25:57: ClientService cmd: #IuTJAanwcwi2DbKTpeAmC#GET CHALLENGE with_enc=1
2024-04-10 02:25:57: rc=0 hasError=true state=0
2024-04-10 02:25:57: ClientService cmd: ** redacted **
2024-04-10 02:25:57: rc=0 hasError=true state=0
2024-04-10 02:26:27: ClientService cmd: GET BACKUP DIRS#pw=** redacted **
2024-04-10 02:26:27: rc=0 hasError=true state=0
2024-04-10 02:26:40: ClientService cmd: GET BACKUP DIRS#pw=** redacted **
2024-04-10 02:26:40: rc=0 hasError=true state=0
2024-04-10 02:26:57: ClientService cmd: PONG
2024-04-10 02:26:57: rc=0 hasError=true state=3
2024-04-10 02:26:57: ClientService cmd: #IXdn4szPOJA0Q5W2I8rKa#1CHANNEL capa=190731&token=QDxsboCwHpzPuWuNJ8Sn&restore_version=1&startup=1&virtual_client=
2024-04-10 02:26:57: New channel: Number of Channels: 1
2024-04-10 02:27:57: ClientService cmd: PONG
2024-04-10 02:28:57: ClientService cmd: PONG

here is the server side.

2024-04-09 22:30:05: Getting client settings…
2024-04-09 22:30:05: Flushing FileClient…
2024-04-09 22:34:53: msg=START BACKUP FULL

here is the status of the backend

● urbackupclientbackend.service - UrBackup Client backend
Loaded: loaded (/lib/systemd/system/urbackupclientbackend.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-04-10 02:25:56 UTC; 10min ago
Main PID: 24350 (urbackupclientb)
Tasks: 12 (limit: 19088)
Memory: 2.7M
CGroup: /system.slice/urbackupclientbackend.service
└─24350 /usr/local/sbin/urbackupclientbackend --config /etc/default/urbackupclient --no-consoletime

Apr 10 02:26:57 ** Redacted Hostname ** urbackupclientbackend[24350]: New channel: Number of Channels: 1
Apr 10 02:27:57 ** Redacted Hostname ** urbackupclientbackend[24350]: ClientService cmd: PONG

urbackupclientctl status
{
“capability_bits”: 256267,
“finished_processes”: ,
“internet_connected”: false,
“internet_status”: “connected_local”,
“last_backup_time”: 0,
“running_processes”: ,
“servers”: [{
“internet_connection”: false,
“name”: “192.168.1.4”
}
],
“time_since_last_lan_connection”: 16724
}

Where can i look for more information about what is happening here. I’ve wasted days on this and am about to throw in the towel. Windows firewall is disabled, UFW is disabled btw.

Just a thought … in the Client log is

2024-04-10 02:25:57: FileSrv: Recv Error in RecvMessage

and it appears to refer to the client settings cfg contents.
If one assumes you have NOT used the client CLI to specify what to backup - then that config should be a nice readable text file with no corruption. MAYBE an edit and write to new name, delete old, rename new to old - might help.
If one assumed that you HAVE used the the client CLI to specify what to backup - then.
I would go to the web admin interface and for this client I would click the House Icon’s once for every item I can find a House Icon for.
Then save.
Then check my backup paths chosen.

Last, I am wondering what of the (I think 4) available methods for snapshots did you choose when you installed the linux client. AND - did you download the linux client from the web admin interface - that is already/specifically configured for the client who’s checkbox you ticked OR just a vanilla download?

David

David,

I have tried configuring the client both ways, through the cli and through the web interface. You should know this is a fresh install of the OS. I have installed the required dependencies per the manual build method. I have tried installing the client from my management server, and i have also used the uninstall option and reinstalled via the vanilla install. The server see’s the client and adds it to the console no problem, but i can’t do file or image backups. I tried to rename the settings.cfg as you suggested but it has not made a difference.

I have tried all the options for image backup but am currently using option 4 as per the blog post i found here (https://blog.urbackup.org/). I would be happy with a file backup at this point but would prefer full image backup if possible.

When you use the web interface and the settings tab…you have the client pull-down.
I assume you pulldown and select your client…let’s call it BARF.
now we have various headings for this client… interesting are the file and image headings.

As testing will be much quicker…I suggest that you (temporarily)exclude image backups via the 2 tick boxes at the top of the image backups page.

Now to the file backups page. Towards the bottom there is a box for what to backup. I suggest you type /etc
and nothing else.
Save
Goto leftmost page (status) locate your client and use the pulldown arrow and choose full file backup.
Quickly go to activities and see if your client is up there doing something and click the red look at log button on the right.

Read what it says.

If there was nothing …go to backups and see if you client is listed there…even failures should be listed.
Pick the most recent and read the log.

Let me know the results and I will try to help some more if you wish.
David