The default realm value changed. The UI proposes AD.<domain> as default realm name.
I will try another thing. The easiest way. I will power up another VM.
Maybe something was wrong at installation, updates, …
I will keep you informed. It takes about one hour.
Ok but why?
Thank you!
This is from NS 7.4 beta 1 or from Samba 4.7.0?
Was not on NS 7.3.
It has been implemented during the Accounts provider page rework, in spring '17.
Unfortunately, same major errors, I think:
[ERROR] missing backup-config .md5 file
Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2history FAILED: 1 [0.013439]
cp: cannot stat ‘/var/lib/nethserver/backup/backup-config.tar.xz’: No such file or directory
Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2mount FAILED: 1 [0.578468]
In the evening, I will power-up another VM but I will try to make first backup before make the Samba upgrade.
May be from the rights of the shared folder?
Please see the attached photos for the adbkp folder.
EDIT:
Stupid! The errors are from PDC-AD Server not from BKP Server!
Let’s see what @mrmarkuz will discover.
Fom /var/log/messages :
Oct 10 15:19:38 pdc-ad /sbin/e-smith/db[3595]: /var/lib/nethserver/db/configuration: OLD backup-data=configuration|BackupTime|15:15|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost|192.168.1.4|NFSShare|/var/lib/nethserver/ibay/adbkp|Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType|nfs|VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 15:19:38 pdc-ad /sbin/e-smith/db[3595]: /var/lib/nethserver/db/configuration: NEW backup-data=configuration|BackupTime|15:21|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost|192.168.1.4|NFSShare|/var/lib/nethserver/ibay/adbkp|Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType|nfs|VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 15:19:38 pdc-ad dbus[636]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 15:19:38 pdc-ad dbus-daemon: dbus[636]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 15:19:38 pdc-ad systemd: Starting Time & Date Service...
Oct 10 15:19:38 pdc-ad dbus[636]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 15:19:38 pdc-ad dbus-daemon: dbus[636]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 15:19:38 pdc-ad systemd: Started Time & Date Service.
Oct 10 15:19:39 pdc-ad esmith::event[3599]: Event: nethserver-backup-data-save
Oct 10 15:19:39 pdc-ad esmith::event[3599]: expanding /etc/cron.d/backup-data
Oct 10 15:19:39 pdc-ad esmith::event[3599]: expanding /etc/davfs2/davfs2.conf
Oct 10 15:19:39 pdc-ad esmith::event[3599]: expanding /etc/davfs2/secrets
Oct 10 15:19:39 pdc-ad esmith::event[3599]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.440529]
Oct 10 15:19:39 pdc-ad esmith::event[3599]: Event: nethserver-backup-data-save SUCCESS -data-save SUCCESS
Oct 10 15:21:01 pdc-ad systemd: Started Session 4 of user root.
Oct 10 15:21:01 pdc-ad systemd: Starting Session 4 of user root.
Oct 10 15:21:02 pdc-ad esmith::event[3766]: Event: pre-backup-data
Oct 10 15:21:02 pdc-ad esmith::event[3775]: Event: pre-backup-config
Oct 10 15:21:02 pdc-ad esmith::event[3775]: expanding /etc/backup-config.d/nethserver-sssd.include
Oct 10 15:21:03 pdc-ad dbus[636]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 15:21:03 pdc-ad dbus-daemon: dbus[636]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 15:21:03 pdc-ad systemd: Starting Time & Date Service...
Oct 10 15:21:03 pdc-ad dbus[636]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 15:21:03 pdc-ad dbus-daemon: dbus[636]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 15:21:03 pdc-ad systemd: Starting Cleanup of Temporary Directories...
Oct 10 15:21:03 pdc-ad systemd: Started Time & Date Service.
Oct 10 15:21:03 pdc-ad systemd: Started Cleanup of Temporary Directories.
Oct 10 15:21:03 pdc-ad esmith::event[3775]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.471665]
Oct 10 15:21:04 pdc-ad esmith::event[3775]: Error while backing up /var/lib/machines/nsdc/var/lib/samba/private/netlogon_creds_cli.tdb!
Oct 10 15:21:04 pdc-ad esmith::event[3775]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup FAILED: 1 [1.208322]
Oct 10 15:21:04 pdc-ad esmith::event[3775]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.024962]
Oct 10 15:21:05 pdc-ad esmith::event[3775]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [1.357296]
Oct 10 15:21:05 pdc-ad esmith::event[3775]: Event: pre-backup-config FAILED
Oct 10 15:21:05 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [3.675016]
Oct 10 15:21:07 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-restore-data-duc-index SUCCESS [1.130889]
Oct 10 15:21:07 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables SUCCESS [0.498864]
Oct 10 15:21:07 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S50nethserver-ibays-dump-acls SUCCESS [0.02201]
Oct 10 15:21:07 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S70mount-cifs SUCCESS [0.376535]
Oct 10 15:21:09 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S70mount-nfs SUCCESS [1.289737]
Oct 10 15:21:09 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S70mount-usb SUCCESS [0.299483]
Oct 10 15:21:09 pdc-ad esmith::event[3766]: Action: /etc/e-smith/events/pre-backup-data/S70mount-webdav SUCCESS [0.313626]
Oct 10 15:21:09 pdc-ad esmith::event[3766]: Event: pre-backup-data SUCCESS
Oct 10 15:21:11 pdc-ad esmith::event[4087]: Event: post-backup-data
Oct 10 15:21:11 pdc-ad esmith::event[4087]: [ERROR] missing backup-config .md5 file
Oct 10 15:21:11 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2history FAILED: 1 [0.013439]
Oct 10 15:21:12 pdc-ad esmith::event[4087]: cp: cannot stat ‘/var/lib/nethserver/backup/backup-config.tar.xz’: No such file or directory
Oct 10 15:21:12 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2mount FAILED: 1 [0.578468]
Oct 10 15:21:12 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S50mysql-delete-dumped-tables SUCCESS [0.015292]
Oct 10 15:21:12 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-data-duplicity SUCCESS [0.344174] 74]
Oct 10 15:21:12 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-restore-index SUCCESS [0.342257]
Oct 10 15:21:13 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S70disk-usage SUCCESS [0.349498]
Oct 10 15:21:13 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S80umount-cifs SUCCESS [0.289376]
Oct 10 15:21:13 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S80umount-nfs SUCCESS [0.444966]
Oct 10 15:21:14 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S80umount-usb SUCCESS [0.288034]
Oct 10 15:21:14 pdc-ad esmith::event[4087]: Action: /etc/e-smith/events/post-backup-data/S80umount-webdav SUCCESS [0.287977]
Oct 10 15:21:14 pdc-ad esmith::event[4087]: Event: post-backup-data FAILED
It works! No errors!
I did not made the update of Samba so, if you need more informations at this stage, please tell me what to do.
Oct 10 19:35:20 pdc-ad systemd: Started Time & Date Service.
Oct 10 19:35:21 pdc-ad /sbin/e-smith/db[1794]: /var/lib/nethserver/db/configuration: OLD backup-data=configuration|BackupTime|1:00|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare||Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|incremental|USBLabel||VFSType||VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:21 pdc-ad /sbin/e-smith/db[1794]: /var/lib/nethserver/db/configuration: NEW backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare||Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|incremental|USBLabel||VFSType||VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:21 pdc-ad /sbin/e-smith/db[1796]: /var/lib/nethserver/db/configuration: OLD backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare||Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|incremental|USBLabel||VFSType||VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:21 pdc-ad /sbin/e-smith/db[1796]: /var/lib/nethserver/db/configuration: NEW backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare||Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType||VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:22 pdc-ad /sbin/e-smith/db[1798]: /var/lib/nethserver/db/configuration: OLD backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare||Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType||VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:22 pdc-ad /sbin/e-smith/db[1798]: /var/lib/nethserver/db/configuration: NEW backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare||Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType|nfs|VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:22 pdc-ad /sbin/e-smith/db[1800]: /var/lib/nethserver/db/configuration: OLD backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare||Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType|nfs|VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:22 pdc-ad /sbin/e-smith/db[1800]: /var/lib/nethserver/db/configuration: NEW backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare|/var/lib/nethserver/ibay/bkp|Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType|nfs|VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:22 pdc-ad /sbin/e-smith/db[1802]: /var/lib/nethserver/db/configuration: OLD backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost||NFSShare|/var/lib/nethserver/ibay/bkp|Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType|nfs|VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:22 pdc-ad /sbin/e-smith/db[1802]: /var/lib/nethserver/db/configuration: NEW backup-data=configuration|BackupTime|19:36|CleanupOlderThan|never|FullDay|0|LogFile|/var/log/last-backup.log|Mount|/mnt/backup|NFSHost|192.168.1.4|NFSShare|/var/lib/nethserver/ibay/bkp|Program|duplicity|SMBHost||SMBLogin||SMBPassword||SMBShare||Type|full|USBLabel||VFSType|nfs|VolSize|250|WebDAVLogin||WebDAVPassword||WebDAVUrl||notify|always|notifyFrom|gabriel.gheorghiu@abt.ro|notifyTo|gabriel.gheorghiu@abt.ro|status|enabled
Oct 10 19:35:23 pdc-ad esmith::event[1805]: Event: nethserver-backup-data-save
Oct 10 19:35:23 pdc-ad esmith::event[1805]: expanding /etc/cron.d/backup-data
Oct 10 19:35:23 pdc-ad esmith::event[1805]: expanding /etc/davfs2/davfs2.conf
Oct 10 19:35:23 pdc-ad esmith::event[1805]: expanding /etc/davfs2/secrets
Oct 10 19:35:23 pdc-ad esmith::event[1805]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.456913]
Oct 10 19:35:23 pdc-ad esmith::event[1805]: Event: nethserver-backup-data-save SUCCESS a-save SUCCESS
Oct 10 19:36:01 pdc-ad systemd: Created slice User Slice of root.
Oct 10 19:36:01 pdc-ad systemd: Starting User Slice of root.
Oct 10 19:36:01 pdc-ad systemd: Started Session 1 of user root.
Oct 10 19:36:01 pdc-ad systemd: Starting Session 1 of user root.
Oct 10 19:36:01 pdc-ad esmith::event[1851]: Event: pre-backup-data
Oct 10 19:36:02 pdc-ad esmith::event[1854]: Event: pre-backup-config
Oct 10 19:36:02 pdc-ad esmith::event[1854]: expanding /etc/backup-config.d/nethserver-sssd.include
Oct 10 19:36:02 pdc-ad dbus[647]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 19:36:02 pdc-ad dbus-daemon: dbus[647]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 19:36:02 pdc-ad systemd: Starting Time & Date Service...
Oct 10 19:36:02 pdc-ad dbus[647]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 19:36:02 pdc-ad dbus-daemon: dbus[647]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 19:36:02 pdc-ad systemd: Started Time & Date Service.
Oct 10 19:36:02 pdc-ad esmith::event[1854]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.500779]
Oct 10 19:36:05 pdc-ad esmith::event[1854]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup SUCCESS [2.532603]
Oct 10 19:36:05 pdc-ad esmith::event[1854]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.036163]
Oct 10 19:36:07 pdc-ad esmith::event[1854]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [1.822434]
Oct 10 19:36:07 pdc-ad esmith::event[1854]: Event: pre-backup-config SUCCESS
Oct 10 19:36:17 pdc-ad esmith::event[2166]: Event: post-backup-config
Oct 10 19:36:17 pdc-ad esmith::event[2166]: Action: /etc/e-smith/events/post-backup-config/S40nethserver-dc-post-backup SUCCESS [0.131129]
Oct 10 19:36:17 pdc-ad esmith::event[2166]: Event: post-backup-config SUCCESS
Oct 10 19:36:17 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [15.733976]
Oct 10 19:36:17 pdc-ad systemd: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 2191 (duc)
Oct 10 19:36:17 pdc-ad systemd: Mounting Arbitrary Executable File Formats File System...
Oct 10 19:36:17 pdc-ad systemd: Mounted Arbitrary Executable File Formats File System.
Oct 10 19:36:19 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-restore-data-duc-index SUCCESS [2.575594]
Oct 10 19:36:20 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables SUCCESS [0.637937]
Oct 10 19:36:20 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S50nethserver-ibays-dump-acls SUCCESS [0.019789]
Oct 10 19:36:21 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S70mount-cifs SUCCESS [0.355007]
Oct 10 19:36:21 pdc-ad kernel: FS-Cache: Loaded
Oct 10 19:36:21 pdc-ad kernel: FS-Cache: Netfs 'nfs' registered for caching
Oct 10 19:36:21 pdc-ad kernel: Key type dns_resolver registered
Oct 10 19:36:21 pdc-ad kernel: NFS: Registering the id_resolver key type
Oct 10 19:36:21 pdc-ad kernel: Key type id_resolver registered
Oct 10 19:36:21 pdc-ad kernel: Key type id_legacy registered
Oct 10 19:36:22 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S70mount-nfs SUCCESS [1.708095]
Oct 10 19:36:23 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S70mount-usb SUCCESS [0.301444]
Oct 10 19:36:23 pdc-ad esmith::event[1851]: Action: /etc/e-smith/events/pre-backup-data/S70mount-webdav SUCCESS [0.314734]
Oct 10 19:36:23 pdc-ad esmith::event[1851]: Event: pre-backup-data SUCCESS
Oct 10 19:36:25 pdc-ad esmith::event[2289]: Event: post-backup-data
Oct 10 19:36:27 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2history SUCCESS [1.629365]
Oct 10 19:36:27 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2mount SUCCESS [0.733854]
Oct 10 19:36:27 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S50mysql-delete-dumped-tables SUCCESS [0.016942]
Oct 10 19:36:28 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-data-duplicity SUCCESS [0.316865]
Oct 10 19:36:28 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-restore-index SUCCESS [0.297119]
Oct 10 19:36:28 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S70disk-usage SUCCESS [0.572201]
Oct 10 19:36:29 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S80umount-cifs SUCCESS [0.324081]
Oct 10 19:36:29 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S80umount-nfs SUCCESS [0.466021]
Oct 10 19:36:30 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S80umount-usb SUCCESS [0.292362]
Oct 10 19:36:30 pdc-ad esmith::event[2289]: Action: /etc/e-smith/events/post-backup-data/S80umount-webdav SUCCESS [0.296024]
Oct 10 19:36:30 pdc-ad esmith::event[2289]: Event: post-backup-data SUCCESS
Oct 10 19:36:30 pdc-ad systemd: Removed slice User Slice of root.
Oct 10 19:36:30 pdc-ad systemd: Stopping User Slice of root.
There’s a new package in testing repo
See this post
I saw!
I will update this server and after that, one of the servers that have error.
I will report back.
EDIT:
Tested the new package: Samba DC 4.7.0 and automatic updates - #11 by GG_jr
Hi,
I get the error too on my VMware player testmachine. I installed nethserver-dc from testing but same error:
Oct 10 20:41:43 testserver esmith::event[25058]: Event: pre-backup-config
Oct 10 20:41:43 testserver esmith::event[25058]: expanding /etc/backup-config.d/nethserver-sssd.include
Oct 10 20:41:44 testserver esmith::event[25058]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.193879]
Oct 10 20:41:44 testserver esmith::event[25058]: Error while backing up /var/lib/machines/nsdc/var/lib/samba/private/netlogon_creds_cli.tdb!
Oct 10 20:41:44 testserver esmith::event[25058]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup FAILED: 1 [0.30965]
Oct 10 20:41:44 testserver esmith::event[25058]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.006544]
Oct 10 20:41:45 testserver esmith::event[25058]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [1.040589]
Oct 10 20:41:45 testserver esmith::event[25058]: Action: /etc/e-smith/events/pre-backup-config/S80nethserver-freepbx-backup SUCCESS [0.072229]
Oct 10 20:41:45 testserver esmith::event[25058]: Event: pre-backup-config FAILED
After update, it works but these errors appear:
Error while backing up /var/lib/machines/nsdc/var/lib/samba/private/netlogon_creds_cli.tdb!
Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup FAILED: 1 [3.188115]
Also the email message is SUCCESS.
Oct 10 21:47:01 pdc-ad systemd: Started Session 6 of user root.
Oct 10 21:47:01 pdc-ad systemd: Starting Session 6 of user root.
Oct 10 21:47:02 pdc-ad esmith::event[29572]: Event: pre-backup-data
Oct 10 21:47:02 pdc-ad esmith::event[29575]: Event: pre-backup-config
Oct 10 21:47:02 pdc-ad esmith::event[29575]: expanding /etc/backup-config.d/nethserver-sssd.include
Oct 10 21:47:03 pdc-ad dbus[647]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 21:47:03 pdc-ad dbus-daemon: dbus[647]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 21:47:03 pdc-ad systemd: Starting Time & Date Service...
Oct 10 21:47:03 pdc-ad dbus[647]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 21:47:03 pdc-ad systemd: Started Time & Date Service.
Oct 10 21:47:03 pdc-ad dbus-daemon: dbus[647]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 21:47:03 pdc-ad esmith::event[29575]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.452615]
Oct 10 21:47:05 pdc-ad esmith::event[29575]: Error while backing up /var/lib/machines/nsdc/var/lib/samba/private/netlogon_creds_cli.tdb!
Oct 10 21:47:06 pdc-ad esmith::event[29575]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup FAILED: 1 [3.188115]
Oct 10 21:47:06 pdc-ad esmith::event[29575]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.026547]
Oct 10 21:47:07 pdc-ad esmith::event[29575]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [1.381274]
Oct 10 21:47:07 pdc-ad esmith::event[29575]: Event: pre-backup-config FAILED
Oct 10 21:47:07 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [5.58331]
Oct 10 21:47:10 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-restore-data-duc-index SUCCESS [2.219989]
Oct 10 21:47:10 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables SUCCESS [0.65034]
Oct 10 21:47:10 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S50nethserver-ibays-dump-acls SUCCESS [0.020839]
Oct 10 21:47:11 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S70mount-cifs SUCCESS [0.444162]
Oct 10 21:47:12 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S70mount-nfs SUCCESS [0.82255]
Oct 10 21:47:12 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S70mount-usb SUCCESS [0.305569]
Oct 10 21:47:12 pdc-ad esmith::event[29572]: Action: /etc/e-smith/events/pre-backup-data/S70mount-webdav SUCCESS [0.31524]
Oct 10 21:47:12 pdc-ad esmith::event[29572]: Event: pre-backup-data SUCCESS
Oct 10 21:47:14 pdc-ad esmith::event[29882]: Event: post-backup-data
Oct 10 21:47:14 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2history SUCCESS [0.042355]
Oct 10 21:47:14 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2mount SUCCESS [0.846543]
Oct 10 21:47:15 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S50mysql-delete-dumped-tables SUCCESS [0.016379]
Oct 10 21:47:15 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-data-duplicity SUCCESS [0.328907]
Oct 10 21:47:15 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-restore-index SUCCESS [0.301255]
Oct 10 21:47:16 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S70disk-usage SUCCESS [0.442732]
Oct 10 21:47:16 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S80umount-cifs SUCCESS [0.337286]
Oct 10 21:47:16 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S80umount-nfs SUCCESS [0.484841]
Oct 10 21:47:17 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S80umount-usb SUCCESS [0.297476]
Oct 10 21:47:17 pdc-ad esmith::event[29882]: Action: /etc/e-smith/events/post-backup-data/S80umount-webdav SUCCESS [0.294454]
Oct 10 21:47:17 pdc-ad esmith::event[29882]: Event: post-backup-data SUCCESS
[root@pdc-ad ~]# yum --enablerepo=nethserver-testing update
Loaded plugins: changelog, fastestmirror, nethserver_events
base | 3.6 kB 00:00:00
centos-sclo-rh | 2.9 kB 00:00:00
centos-sclo-sclo | 2.9 kB 00:00:00
epel/x86_64/metalink | 28 kB 00:00:00
extras | 3.4 kB 00:00:00
nethforge | 4.1 kB 00:00:00
nethserver-base | 2.9 kB 00:00:00
nethserver-testing | 2.9 kB 00:00:00
nethserver-updates | 4.0 kB 00:00:00
stephdl | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/2): nethserver-updates/7/x86_64/primary_db | 12 kB 00:00:00
(2/2): nethserver-testing/7/x86_64/primary_db | 38 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: ftp.upcnet.ro
* epel: ftp.astral.ro
* extras: ftp.upcnet.ro
* nethforge: mirror.framassa.org
* nethserver-base: mirror.framassa.org
* nethserver-updates: mirror.framassa.org
* updates: ftp.upcnet.ro
Resolving Dependencies
--> Running transaction check
---> Package nethserver-base.noarch 0:3.0.35-1.2.g03bcddb.ns7 will be updated
---> Package nethserver-base.noarch 0:3.1.0-1.ns7 will be an update
---> Package nethserver-dc.x86_64 0:1.2.6-1.1.g2aac841.ns7 will be updated
---> Package nethserver-dc.x86_64 0:1.2.6-1.6.g5d1cacc.ns7 will be an update
---> Package nethserver-sssd.noarch 0:1.3.0-1.ns7 will be updated
---> Package nethserver-sssd.noarch 0:1.3.0-1.3.ga7c698a.ns7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Updating:
nethserver-base noarch 3.1.0-1.ns7 nethserver-updates 228 k
nethserver-dc x86_64 1.2.6-1.6.g5d1cacc.ns7 nethserver-testing 14 M
nethserver-sssd noarch 1.3.0-1.3.ga7c698a.ns7 nethserver-testing 94 k
Transaction Summary
=======================================================================================================================================
Upgrade 3 Packages
Total download size: 14 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for nethserver-testing
nethserver-updates/7/x86_64/prestodelta | 2.4 kB 00:00:00
(1/3): nethserver-sssd-1.3.0-1.3.ga7c698a.ns7.noarch.rpm | 94 kB 00:00:00
(2/3): nethserver-base-3.1.0-1.ns7.noarch.rpm | 228 kB 00:00:00
(3/3): nethserver-dc-1.2.6-1.6.g5d1cacc.ns7.x86_64.rpm | 14 MB 00:00:27
---------------------------------------------------------------------------------------------------------------------------------------
Total 514 kB/s | 14 MB 00:00:27
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : nethserver-base-3.1.0-1.ns7.noarch 1/6
Updating : nethserver-sssd-1.3.0-1.3.ga7c698a.ns7.noarch 2/6
Updating : nethserver-dc-1.2.6-1.6.g5d1cacc.ns7.x86_64 3/6
Cleanup : nethserver-dc-1.2.6-1.1.g2aac841.ns7.x86_64 4/6
Cleanup : nethserver-sssd-1.3.0-1.ns7.noarch 5/6
Cleanup : nethserver-base-3.0.35-1.2.g03bcddb.ns7.noarch 6/6
Verifying : nethserver-sssd-1.3.0-1.3.ga7c698a.ns7.noarch 1/6
Verifying : nethserver-dc-1.2.6-1.6.g5d1cacc.ns7.x86_64 2/6
Verifying : nethserver-base-3.1.0-1.ns7.noarch 3/6
Verifying : nethserver-dc-1.2.6-1.1.g2aac841.ns7.x86_64 4/6
Verifying : nethserver-base-3.0.35-1.2.g03bcddb.ns7.noarch 5/6
Verifying : nethserver-sssd-1.3.0-1.ns7.noarch 6/6
Updated:
nethserver-base.noarch 0:3.1.0-1.ns7 nethserver-dc.x86_64 0:1.2.6-1.6.g5d1cacc.ns7 nethserver-sssd.noarch 0:1.3.0-1.3.ga7c698a.ns7
Complete!
[root@pdc-ad ~]#
[root@pdc-ad ~]#
[root@pdc-ad ~]# signal-event nethserver-dc-update
[root@pdc-ad ~]#
[root@pdc-ad ~]#
[root@pdc-ad ~]#
Unfortunately, after update, not work.
The same errors even if the archives are made on the NFS Shared Folder on BKP Server.
Oct 10 22:30:01 pdc-ad systemd: Started Session 4 of user root.
Oct 10 22:30:01 pdc-ad systemd: Starting Session 4 of user root.
Oct 10 22:30:01 pdc-ad esmith::event[4428]: Event: pre-backup-data
Oct 10 22:30:02 pdc-ad esmith::event[4437]: Event: pre-backup-config
Oct 10 22:30:02 pdc-ad esmith::event[4437]: expanding /etc/backup-config.d/nethserver-sssd.include
Oct 10 22:30:02 pdc-ad dbus[665]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 22:30:02 pdc-ad dbus-daemon: dbus[665]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 22:30:02 pdc-ad systemd: Starting Time & Date Service...
Oct 10 22:30:02 pdc-ad dbus[665]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 22:30:02 pdc-ad dbus-daemon: dbus[665]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 22:30:02 pdc-ad systemd: Started Time & Date Service.
Oct 10 22:30:02 pdc-ad esmith::event[4437]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.458506]
Oct 10 22:30:03 pdc-ad esmith::event[4437]: Error while backing up /var/lib/machines/nsdc/var/lib/samba/private/netlogon_creds_cli.tdb!
Oct 10 22:30:04 pdc-ad esmith::event[4437]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup FAILED: 1 [1.375339]
Oct 10 22:30:04 pdc-ad esmith::event[4437]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.024475]
Oct 10 22:30:05 pdc-ad esmith::event[4437]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [1.375825]
Oct 10 22:30:05 pdc-ad esmith::event[4437]: Event: pre-backup-config FAILED
Oct 10 22:30:05 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [3.841928]
Oct 10 22:30:06 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-restore-data-duc-index SUCCESS [1.211894]
Oct 10 22:30:07 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables SUCCESS [0.519275]
Oct 10 22:30:07 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S50nethserver-ibays-dump-acls SUCCESS [0.017637]
Oct 10 22:30:07 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S70mount-cifs SUCCESS [0.314282]
Oct 10 22:30:08 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S70mount-nfs SUCCESS [0.786663]
Oct 10 22:30:08 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S70mount-usb SUCCESS [0.299756]
Oct 10 22:30:09 pdc-ad esmith::event[4428]: Action: /etc/e-smith/events/pre-backup-data/S70mount-webdav SUCCESS [0.320026]
Oct 10 22:30:09 pdc-ad esmith::event[4428]: Event: pre-backup-data SUCCESS
Oct 10 22:30:10 pdc-ad esmith::event[4746]: Event: post-backup-data
Oct 10 22:30:10 pdc-ad esmith::event[4746]: [ERROR] missing backup-config .md5 file
Oct 10 22:30:10 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2history FAILED: 1 [0.012984]
Oct 10 22:30:11 pdc-ad esmith::event[4746]: cp: cannot stat ‘/var/lib/nethserver/backup/backup-config.tar.xz’: No such file or directory
Oct 10 22:30:11 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2mount FAILED: 1 [0.622522]
Oct 10 22:30:11 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S50mysql-delete-dumped-tables SUCCESS [0.015162]
Oct 10 22:30:11 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-data-duplicity SUCCESS [0.319146]
Oct 10 22:30:11 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-restore-index SUCCESS [0.311188] 88]
Oct 10 22:30:12 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S70disk-usage SUCCESS [0.424002]
Oct 10 22:30:12 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S80umount-cifs SUCCESS [0.288389]
Oct 10 22:30:12 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S80umount-nfs SUCCESS [0.460686]
Oct 10 22:30:13 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S80umount-usb SUCCESS [0.288759]
Oct 10 22:30:13 pdc-ad esmith::event[4746]: Action: /etc/e-smith/events/post-backup-data/S80umount-webdav SUCCESS [0.304754]
Oct 10 22:30:13 pdc-ad esmith::event[4746]: Event: post-backup-data FAILED
When I backup from my NS fully updated incl. testing 7.4b1 VM to a samba share on my raspi, it’s working except of this:
Oct 10 22:44:47 testserver esmith::event[44745]: Error while backing up /var/lib/machines/nsdc/var/lib/samba/private/netlogon_creds_cli.tdb!
Oct 10 22:44:47 testserver esmith::event[44745]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup FAILED: 1 [0.320091]
Logs:
Oct 10 22:44:46 testserver esmith::event[44742]: Event: pre-backup-data
Oct 10 22:44:47 testserver esmith::event[44745]: Event: pre-backup-config
Oct 10 22:44:47 testserver esmith::event[44745]: expanding /etc/backup-config.d/nethserver-sssd.include
Oct 10 22:44:47 testserver dbus[660]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 22:44:47 testserver dbus-daemon: dbus[660]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Oct 10 22:44:47 testserver systemd: Starting Time & Date Service...
Oct 10 22:44:47 testserver dbus[660]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 22:44:47 testserver dbus-daemon: dbus[660]: [system] Successfully activated service 'org.freedesktop.timedate1'
Oct 10 22:44:47 testserver systemd: Started Time & Date Service.
Oct 10 22:44:47 testserver esmith::event[44745]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.274598]
Oct 10 22:44:47 testserver esmith::event[44745]: Error while backing up /var/lib/machines/nsdc/var/lib/samba/private/netlogon_creds_cli.tdb!
Oct 10 22:44:47 testserver esmith::event[44745]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-dc-pre-backup FAILED: 1 [0.320091]
Oct 10 22:44:47 testserver esmith::event[44745]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.007075]
Oct 10 22:44:48 testserver esmith::event[44745]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [1.052734]
Oct 10 22:44:48 testserver esmith::event[44745]: Event: pre-backup-config FAILED
Oct 10 22:44:48 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [1.878055]
Oct 10 22:44:49 testserver esmith::event[44742]: Requested path not found
Oct 10 22:44:49 testserver esmith::event[44742]: Requested path not found
Oct 10 22:44:49 testserver esmith::event[44742]: Requested path not found
Oct 10 22:44:49 testserver esmith::event[44742]: Requested path not found
Oct 10 22:44:49 testserver esmith::event[44742]: Requested path not found
Oct 10 22:44:49 testserver esmith::event[44742]: Requested path not found
Oct 10 22:44:50 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-restore-data-duc-index SUCCESS [1.25604]
Oct 10 22:44:50 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables SUCCESS [0.41267]
Oct 10 22:44:50 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S50nethserver-ibays-dump-acls SUCCESS [0.014991]
Oct 10 22:44:50 testserver su: (to postgres) root on none
Oct 10 22:44:50 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S50nethserver-webtop5-backup SUCCESS [0.194781]
Oct 10 22:44:50 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S50rh-mariadb101-dump-tables SUCCESS [0.210701]
Oct 10 22:44:51 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S70mount-cifs SUCCESS [0.210781]
Oct 10 22:44:51 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S70mount-nfs SUCCESS [0.159023]
Oct 10 22:44:51 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S70mount-usb SUCCESS [0.131788]
Oct 10 22:44:51 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S70mount-webdav SUCCESS [0.137688]
Oct 10 22:44:51 testserver esmith::event[44742]: Action: /etc/e-smith/events/pre-backup-data/S80nethserver-sogo-backup-users SUCCESS [0.14306]
Oct 10 22:44:51 testserver esmith::event[44742]: Event: pre-backup-data SUCCESS
...
Oct 10 22:45:45 testserver esmith::event[45268]: Event: post-backup-data
Oct 10 22:45:45 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2history SUCCESS [0.015521]
Oct 10 22:45:45 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2mount SUCCESS [0.358711]
Oct 10 22:45:45 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S50mysql-delete-dumped-tables SUCCESS [0.004223]
Oct 10 22:45:45 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S50rh-mariadb101-delete-dumped-tables SUCCESS [0.003727]
Oct 10 22:45:46 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-data-duplicity SUCCESS [0.158009]
Oct 10 22:45:46 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-restore-index SUCCESS [0.127746]
Oct 10 22:45:46 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S70disk-usage SUCCESS [0.166846]
Oct 10 22:45:48 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S80umount-cifs SUCCESS [2.690879]
Oct 10 22:45:49 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S80umount-nfs SUCCESS [0.131298]
Oct 10 22:45:49 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S80umount-usb SUCCESS [0.129431]
Oct 10 22:45:49 testserver esmith::event[45268]: Action: /etc/e-smith/events/post-backup-data/S80umount-webdav SUCCESS [0.128236]
Oct 10 22:45:49 testserver esmith::event[45268]: Event: post-backup-data SUCCESS
2017-10-10 22:44:46 - START - Backup data started
2017-10-10 22:44:51 - STEP - pre-backup-done done
2017-10-10 22:45:45 - STEP - backup-data-duplicity done
2017-10-10 22:45:49 - SUCCESS - Backup done
I have noticed that the order of installing / updating NS as DC / AD, counts.
In my tests, when the order of installing/updating was:
Install NS 7.4 -> updates -> set as DC-AD -> first bacckup -> update to Samba 4.7.0
(Install NS 7.3 -> updates -> set as DC-AD -> first bacckup -> update to NS 7.4 -> update to Samba 4.7.0)
the backup worked even if there are the two errors.
When the order of installing/updating was:
Install NS 7.4 -> updates -> set as DC-AD -> update to Samba 4.7.0 -> first backup
the backup didn’t works.
Tried on another Proxmox NS 7.4b1 VM:
With old samba container everything works.
First backup, updating samba container, backup-data works.
Now setting up fresh VM and trying with backup-data only at the end of the process…
Can confirm this.
Install NS 7.4, install AD, updates, update container, first backup leads to following errors:
Oct 11 01:28:19 nethvm esmith::event[27803]: [ERROR] missing backup-config .md5 file
Oct 11 01:28:19 nethvm esmith::event[27803]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2history FAILED: 1 [0.003952]
Oct 11 01:28:19 nethvm esmith::event[27803]: cp: cannot stat ‘/var/lib/nethserver/backup/backup-config.tar.xz’: No such file or directory
Oct 11 01:28:19 nethvm esmith::event[27803]: Action: /etc/e-smith/events/post-backup-data/S20nethserver-backup-config-push2mount FAILED: 1 [0.394088]
Oct 11 01:28:21 nethvm esmith::event[27803]: Event: post-backup-data FAILED
Thank you very much @GG_jr @mrmarkuz, it seems we hit some bug. I change the category to #bug, now let’s find some information about the error and a possible solution.
In 4.7 Samba changed locks handling (“Whole DB read locks” - see release notes)…
I can easily reproduce the problem on a new install, so I wrote to samba ML hoping we’ll get some advice there:
https://lists.samba.org/archive/samba/2017-October/211499.html
As workaround, we can leave 4.7 behind until this issue is solved. I want to compile ns-samba-4.6.8 and push it to 7.4 repositories. Other enhancements (automatic updates, showing samba version in Accounts provider page) can live with 4.6.8.