urbackup-server-docker
urbackup-server-docker copied to clipboard
Update Dockerfile
libguestfs-tools - added for image mounting /etc/default - added for save data in urbackupsrv
Usually libguest-fs mounting doesn't work in Docker containers.
And it would make the image a lot larger.
But maybe another variant like the -zfs and -btrfs one?
Usually libguest-fs mounting doesn't work in Docker containers.
Hmm, I used binhex-urbackup for Unraid based on arch, then tryed this official container but then founded he added libguestfs but don't remember if it was working.... I will check his container... Do you mean libguestfs-tools must be installed on host system not docker?
Maybe /etc/default can be exposed for config saves after updates and etc....
@uroni
i mounted /etc/default to /mnt/user/appdata/urbackup/config/ for saving changes in urbackupsrv
changed to “br0” BROADCAST_INTERFACES to avoid 'ERROR: Sending broadcast failed! (ipv6)'
but seems there is no effect like its not reading by default from config ?
@Commifreak Are you using official uroni/urbackup container in unraid ? i made xml template for it. but somehow /mnt/user/appdata/urbackup/config/urbackupsrv config NOT working like in binhex-urbackup container .... it seems docker container is not reading from config ....
I use the official one. But without the mapping you are mentioning.
I use the official one. But without the mapping you are mentioning.
Do you have errors in log maybe ?
I had this before I set own ip. But currently it looks like:
2023-05-26 20:56:41: Started UrBackup...
2023-05-26 20:56:41: Removing temporary files...
2023-05-26 20:56:41: Recreating temporary folder...
TEST FAILED: guestmount is missing (libguestfs-tools)
2023-05-26 20:56:41: Image mounting disabled: TEST FAILED: guestmount is missing (libguestfs-tools)
Testing for btrfs...
ERROR: not a btrfs filesystem: /backups/testA54hj5luZtlorr494
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
TEST FAILED: Dataset is not set via /etc/urbackup/dataset
2023-05-26 20:56:41: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
2023-05-26 20:56:41: Reflink ioctl failed. errno=95
2023-05-26 20:56:41: Broadcasting on ipv4 interface eth0 addr 192.168.178.8
2023-05-26 20:56:41: Broadcasting on ipv6 interface eth0 addr myv6
2023-05-26 20:56:41: Broadcasting on ipv6 interface eth0 addr myv6
2023-05-26 20:56:41: Broadcasting on ipv6 interface eth0 addr myv6
2023-05-26 20:56:42: InternetService: Server started up successfully!
2023-05-26 20:56:42: UrBackup Server start up complete.
2023-05-26 20:56:42: Server started up successfully!
2023-05-26 20:56:42: Looking for old Sessions... 0 sessions
2023-05-26 20:56:42: Authentication failed in InternetServiceConnector::ReceivePackets: Token not found (token authentication)
2023-05-26 20:56:42: Authentication failed in InternetServiceConnector::ReceivePackets: Token not found (token authentication)
2023-05-26 20:56:43: Downloading version file...
2023-05-26 20:56:43: Downloading version file...
2023-05-26 20:56:43: Downloading server version info..
Do you mean this error gone when you changed from host to br0 fixed Ip? I will try it...
It's very strange but I found how to fix this error on urbackup forum, just need to change BROADCAST_INTERFACES to "br0" from "" all. In config file urbackupsrv, and this was working on binhex-urbackup, but here somehow not working at all.
Yes, switching if to br0 from host fixed it. Together with —mac-address it also gets fixed v6.
Yes, switching if to br0 from host fixed it. Together with —mac-address it also gets fixed v6.
Thanks for hint ,its working fine for local clients but internet client (oracle server) cant be found in my case ...
Yes, switching if to br0 from host fixed it. Together with —mac-address it also gets fixed v6.
Do you have then internet clients been founded ? it seems like no internet access after switching to br1 ...
Yep. Local and internet clients are able to connect.
Yep. Local and internet clients are able to connect.
in my case only local client can be found :(
internet not founded
becose of this im staing on host , so im getting error ipv6 in log and also macvlan trace i think ....
@Commifreak how do you set : SQLITE_TMPDIR="/var/urbackup/sqlite/tmp" , it seems as urbackupsrv file cant be readed in Unraid
@Commifreak how do you set : SQLITE_TMPDIR="/var/urbackup/sqlite/tmp" , it seems as urbackupsrv file cant be readed in Unraid
Not at all.
oh OK just asked becose have on server start , so ithink its becose db not closed correctly or dont have tmp folder ? :
Sorry,Fixed