borg init generates "Undefined symbol fdatasync" error

Status
Not open for further replies.

chrisl1977

Cadet
Joined
Apr 17, 2018
Messages
3
Hello - somewhat experienced FreeNAS user, but brand new to borg backup. I've created a jail for borg and installed via the commend 'pkg install py36-borgbackup' but I'm running into trouble getting the repos to create. Every time I create a repo (local or remote), I'm consistently getting these errors.

When I try to init the repo, I get this error which appears to be python related:

root@borgbackup:/ # borg init --encryption=repokey /mnt/backup/borg

/usr/local/lib/libpython3.6m.so.1.0: Undefined symbol "fdatasync"


When I try to create my initial backup snapshot:

root@borgbackup:/ # borg create /mnt/backup/borg::initial /mnt/main

/mnt/backup/borg is not a valid repository. Check repo config.


I get the same error when I run check or delete commands.

I've tried the make deinstall/make install clean process described here but it hasn't helped.

Any advice? I've been looking forward to taking advantage of my rsync.net account...but have been stuck on this for a few days.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Undefined symbol "fdatasync"
A warden jail? It's on a FreeBSD 11.0 template, which is EOL'd. There are hacks to use up-to-date packages there, or you could build the jail under iocage with the 11.1 template--the latter would be my suggestion.
 

chrisl1977

Cadet
Joined
Apr 17, 2018
Messages
3
And like magic...it works now. Time to go heal that spot on my forehead that I've been beating against the wall...

Thanks for the pointer!
 
Status
Not open for further replies.
Top