After updating all my systems (system and 4 clients) to the latest version, I continually get errors related to a "necessary security context" that could not be created. Unrelated (I believe) I am also getting a pkg_resource deprecated warning on the minarca command line (Windows and Linux/Ubuntu).
command running:
root@waldow1:/etc/sysctl.d# minarca backup --force
PyInstaller/loader/pyimod02_importers.py:385: UserWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
keep awake not supported on this system
instance 0: backup START
instance 0: backup FAILED
The remote server could not create the necessary security context, which may indicate an issue with the server. If the problem persists, please contact your system administrator to review the server logs and diagnose the cause.
None
error log:
2025-06-14 09:41:00,335 [24995][DEBUG][MainThread ] Starting new HTTPS connection (1):
latest.ikus-soft.com:4432025-06-14 09:41:00,559 [24995][DEBUG][MainThread ]
https://latest.ikus-soft.com:443 "GET /minarca/latest_version HTTP/1.1" 200 5
2025-06-14 09:41:00,580 [24995][DEBUG][MainThread ] instance 0: starting backup with force: True
2025-06-14 09:41:00,580 [24995][WARNI][MainThread ] keep awake not supported on this system
2025-06-14 09:41:00,580 [24995][INFO ][MainThread ] instance 0: backup START
2025-06-14 09:41:00,581 [24995][DEBUG][MainThread ] instance 0: remote schema: /usr/bin/ssh -F /dev/null -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=/etc/minarca/known_hosts0 -oIdentitiesOnly=yes -i /etc/minarca/id_rsa0 %s 'minarca/6.1.0 rdiff-backup/2.2.6 (Linux 6.8.0-60-generic x86_64)'
2025-06-14 09:41:00,581 [24995][DEBUG][MainThread ] instance 0: constructing backup path for /
2025-06-14 09:41:00,581 [24995][DEBUG][MainThread ] instance 0: remote backup path: min...@10.2.0.201::r-waldow1/
2025-06-14 09:41:00,581 [24995][DEBUG][MainThread ] instance 0: executing command: rdiff-backup -v 5 --remote-schema "/usr/bin/ssh -F /dev/null -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=/etc/minarca/known_hosts0 -oIdentitiesOnly=yes -i /etc/minarca/id_rsa0 %s 'minarca/6.1.0 rdiff-backup/2.2.6 (Linux 6.8.0-60-generic x86_64)'" backup --exclude-sockets --no-compression --exclude /opt/dock/kopia/ --exclude /home/dan/.cache --include /home/dan --include /opt/dock --include "/opt/sync.*" --include /var/log --include /etc --include /root --exclude "/**" / min...@10.2.0.201::r-waldow1/
2025-06-14 09:41:04,587 [24995][ERROR][MainThread ] instance 0: backup FAILED
2025-06-14 09:41:04,589 [24995][INFO ][MainThread ] The remote server could not create the necessary security context, which may indicate an issue with the server. If the problem persists, please contact your system administrator to review the server logs and diagnose the cause.
2025-06-14 09:41:04,590 [24995][INFO ][MainThread ] None
linux/server/client version:
root@waldow1:/etc/minarca# minarca --version
PyInstaller/loader/pyimod02_importers.py:385: UserWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
minarca 6.1.0
shell.log:
[2025-06-14 09:13:35,871][INFO ][10.2.1.40][admin][PID:2008895][minarca_server.shell] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.0 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-14 09:13:36,621][INFO ][10.2.1.40][admin][PID:2008895][minarca_server.shell] rdiff-backup terminated successfully
[2025-06-14 09:23:24,295][INFO ][10.2.0.201][admin][PID:11123][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.0 rdiff-backup/2.2.6 (Linux 6.8.0-60-generic x86_64)
[2025-06-14 09:23:24,314][ERROR ][10.2.0.201][admin][PID:11123][__main__] fail to create rdiff-backup jail
Traceback (most recent call last):
File "minarca_server/shell.py", line 68, in _jail
File "snakeoil/contexts.py", line 239, in __invoke_trace_funcs
File "snakeoil/contexts.py", line 214, in __exit_context
snakeoil.contexts.SplitExec.ParentException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "minarca_server/shell.py", line 192, in main
File "minarca_server/shell.py", line 67, in _jail
File "snakeoil/contexts.py", line 165, in __exit__
PermissionError: [Errno 13] Permission denied: '/proc/self/setgroups'
[2025-06-14 09:23:36,996][INFO ][10.2.0.201][admin][PID:11444][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.0 rdiff-backup/2.2.6 (Linux 6.8.0-60-generic x86_64)
[2025-06-14 09:23:37,007][ERROR ][10.2.0.201][admin][PID:11444][__main__] fail to create rdiff-backup jail
Traceback (most recent call last):
File "minarca_server/shell.py", line 68, in _jail
File "snakeoil/contexts.py", line 239, in __invoke_trace_funcs
File "snakeoil/contexts.py", line 214, in __exit_context
snakeoil.contexts.SplitExec.ParentException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "minarca_server/shell.py", line 192, in main
File "minarca_server/shell.py", line 67, in _jail
File "snakeoil/contexts.py", line 165, in __exit__
PermissionError: [Errno 13] Permission denied: '/proc/self/setgroups'
[2025-06-14 09:24:39,221][INFO ][10.2.0.201][admin][PID:12811][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.0 rdiff-backup/2.2.6 (Linux 6.8.0-60-generic x86_64)
[2025-06-14 09:24:39,233][ERROR ][10.2.0.201][admin][PID:12811][__main__] fail to create rdiff-backup jail
Traceback (most recent call last):
File "minarca_server/shell.py", line 68, in _jail
File "snakeoil/contexts.py", line 239, in __invoke_trace_funcs
File "snakeoil/contexts.py", line 214, in __exit_context
snakeoil.contexts.SplitExec.ParentException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "minarca_server/shell.py", line 192, in main
File "minarca_server/shell.py", line 67, in _jail
File "snakeoil/contexts.py", line 165, in __exit__
PermissionError: [Errno 13] Permission denied: '/proc/self/setgroups'
[2025-06-14 09:27:56,741][INFO ][10.2.0.201][admin][PID:15279][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.0 rdiff-backup/2.2.6 (Linux 6.8.0-60-generic x86_64)
[2025-06-14 09:27:56,753][ERROR ][10.2.0.201][admin][PID:15279][__main__] fail to create rdiff-backup jail
Traceback (most recent call last):
File "minarca_server/shell.py", line 68, in _jail
File "snakeoil/contexts.py", line 239, in __invoke_trace_funcs
File "snakeoil/contexts.py", line 214, in __exit_context
snakeoil.contexts.SplitExec.ParentException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "minarca_server/shell.py", line 192, in main
File "minarca_server/shell.py", line 67, in _jail
File "snakeoil/contexts.py", line 165, in __exit__
PermissionError: [Errno 13] Permission denied: '/proc/self/setgroups'
[2025-06-14 09:41:01,609][INFO ][10.2.0.201][admin][PID:25095][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.0 rdiff-backup/2.2.6 (Linux 6.8.0-60-generic x86_64)
[2025-06-14 09:41:01,621][ERROR ][10.2.0.201][admin][PID:25095][__main__] fail to create rdiff-backup jail
Traceback (most recent call last):
File "minarca_server/shell.py", line 68, in _jail
File "snakeoil/contexts.py", line 239, in __invoke_trace_funcs
File "snakeoil/contexts.py", line 214, in __exit_context
snakeoil.contexts.SplitExec.ParentException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "minarca_server/shell.py", line 192, in main
File "minarca_server/shell.py", line 67, in _jail
File "snakeoil/contexts.py", line 165, in __exit__
PermissionError: [Errno 13] Permission denied: '/proc/self/setgroups'
access and server logs - clean.
Lastly tried to reconfigure becaues connectivity status is Not Connected. But get the same error:
root@waldow1:/etc/minarca# minarca configure -r
http://10.2.0.201:8080 -u admin -p 'xxxxxxxx' -n r-waldow1
PyInstaller/loader/pyimod02_importers.py:385: UserWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
Destination `r-waldow1` already exists. (Error: 104)
Do you want to replace the existing repository? (Yes/No): yes
The remote server could not create the necessary security context, which may indicate an issue with the server. If the problem persists, please contact your system administrator to review the server logs and diagnose the cause.
None
Please let me know if I am following the right process and if I can provide additional information. I am new to Minarca, so I am still getting a feel for the support model.
Thanks in advance!
Dan