{"action":"created","issue":{"url":"https://api.github.com/repos/datto/dattobd/issues/47","repository_url":"https://api.github.com/repos/datto/dattobd","labels_url":"https://api.github.com/repos/datto/dattobd/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/datto/dattobd/issues/47/comments","events_url":"https://api.github.com/repos/datto/dattobd/issues/47/events","html_url":"https://github.com/datto/dattobd/issues/47","id":172899002,"number":47,"title":"Dattobd not working on Ubuntu Server 16.04.1","user":{"login":"Codyksp","id":21215596,"avatar_url":"https://avatars.githubusercontent.com/u/21215596?v=3","gravatar_id":"","url":"https://api.github.com/users/Codyksp","html_url":"https://github.com/Codyksp","followers_url":"https://api.github.com/users/Codyksp/followers","following_url":"https://api.github.com/users/Codyksp/following{/other_user}","gists_url":"https://api.github.com/users/Codyksp/gists{/gist_id}","starred_url":"https://api.github.com/users/Codyksp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codyksp/subscriptions","organizations_url":"https://api.github.com/users/Codyksp/orgs","repos_url":"https://api.github.com/users/Codyksp/repos","events_url":"https://api.github.com/users/Codyksp/events{/privacy}","received_events_url":"https://api.github.com/users/Codyksp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T08:55:52Z","updated_at":"2016-08-24T12:17:44Z","closed_at":null,"body":"I have recently installed dattobd to be used together with UrBackup to make full file backups with a snapshot. We have 2 Ubuntu servers, both the same version. One server works fine and the other one won't even start a backup. \r\n\r\nI have only performed a fresh install of UrBackup (choosing dattobd) and a fresh installation of dattobd according to the install file.\r\n```\r\nsudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 29FF164C\r\necho \"deb https://cpkg.datto.com/repositories $(lsb_release -sc) main\" | sudo tee /etc/apt/sources.list.d/datto-linux-agent.list\r\nsudo apt-get update\r\nsudo apt-get install dattobd-dkms dattobd-utils\r\n```\r\n\r\nThe following is output from dmesg on both servers:\r\n\r\nServer A (working):\r\n```\r\nroot@VVICT23:~# dmesg | grep datto\r\n[    3.400489] dattobd: module verification failed: signature and/or required key missing - tainting kernel\r\n[ 1478.065268] datto: illegal to perform setup while unmounted: -22\r\n[ 1478.065389] datto: error during setup ioctl handler: -22\r\n[95846.519870] datto: illegal to perform setup while unmounted: -22\r\n[95846.519954] datto: error during setup ioctl handler: -22\r\n```\r\nI don't know what the last 4 errors mean (or if they even matter) but the backups are working fine.\r\n\r\nServer B (not working):\r\n```\r\nroot@VVICT14:~# dmesg | grep datto\r\n[    3.144832] dattobd: module verification failed: signature and/or required key missing - tainting kernel\r\n[    3.193966] IP: [<ffffffffc016811d>] agent_init+0x11d/0x1000 [dattobd]\r\n[    3.193984] Modules linked in: dattobd(OE+) autofs4 dm_mirror dm_region_hash dm_log hid_generic usbhid hid psmouse ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm pata_acpi ahci libahci floppy\r\n[    3.193992] RIP: 0010:[<ffffffffc016811d>]  [<ffffffffc016811d>] agent_init+0x11d/0x1000 [dattobd]\r\n[    3.194111] RIP  [<ffffffffc016811d>] agent_init+0x11d/0x1000 [dattobd]\r\n```\r\nI have absolutely no idea what these messages mean but they don't look good to me.\r\n\r\nHere is also the log output from UrBackup on the working server:\r\n\r\n> Level Time\t                Message\r\n> Info\t24/08/16 10:10\tStarting full file backup...\r\n> Info\t24/08/16 10:10\tSnapshotting device /dev/mapper/TetraSSH--vg-root via dattobd...\r\n> Info\t24/08/16 10:10\tUsing /dev/datto0...\r\n> Info\t24/08/16 10:10\tMounting /dev/mapper/wsnap-66a48c9364f7486614c74c9493f6bf4c0557d4788d32b663...\r\n> Info\t24/08/16 10:10\tIndexing of \"root\" done. 16245 filesystem lookups 0 db lookups and 0 db updates\r\n> Info\t24/08/16 10:10\tVVICT23: Loading file list...\r\n> Info\t24/08/16 10:10\tVVICT23: Started loading files...\r\n> Info\t24/08/16 10:15\tWaiting for file transfers...\r\n> Info\t24/08/16 10:18\tWaiting for file hashing and copying threads...\r\n> Info\t24/08/16 10:18\tSaving file metadata...\r\n> Info\t24/08/16 10:18\tWriting new file list...\r\n> Info\t24/08/16 10:18\tAll metadata was present\r\n> Info\t24/08/16 10:18\tTransferred 1.49572 GB - Average speed: 26.3852 MBit/s\r\n> Info\t24/08/16 10:18\tTime taken for backing up client VVICT23: 8m 40s\r\n> Info\t24/08/16 10:18\tBackup succeeded"},"comment":{"url":"https://api.github.com/repos/datto/dattobd/issues/comments/242042182","html_url":"https://github.com/datto/dattobd/issues/47#issuecomment-242042182","issue_url":"https://api.github.com/repos/datto/dattobd/issues/47","id":242042182,"user":{"login":"tcaputi","id":1920053,"avatar_url":"https://avatars.githubusercontent.com/u/1920053?v=3","gravatar_id":"","url":"https://api.github.com/users/tcaputi","html_url":"https://github.com/tcaputi","followers_url":"https://api.github.com/users/tcaputi/followers","following_url":"https://api.github.com/users/tcaputi/following{/other_user}","gists_url":"https://api.github.com/users/tcaputi/gists{/gist_id}","starred_url":"https://api.github.com/users/tcaputi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcaputi/subscriptions","organizations_url":"https://api.github.com/users/tcaputi/orgs","repos_url":"https://api.github.com/users/tcaputi/repos","events_url":"https://api.github.com/users/tcaputi/events{/privacy}","received_events_url":"https://api.github.com/users/tcaputi/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T12:17:44Z","updated_at":"2016-08-24T12:17:44Z","body":"The messages from server A are normal. They are simply messages indicating usage errors.\r\n\r\nServer B is a kernel panic which is a much more serious problem. In your case, this is almost definitely the result of having updated your kernel without rebooting your machine. DKMS tries to build kernel modules for every installed and running kernel, but in an effort to save space / work it has a feature called \"weak modules\" that tries to detect whether 2 installed kernels are similar enough that they can use the same kernel module. Unfortunately, dattobd has to do some unusual things (namely hooking into the syscall table) which DKMS fails to account for. In the end, it tries to use the kernel module for the running kernel for the installed kernel, which promptly causes a crash.\r\n\r\nThe solution is simply to uninstall dattobd, reboot your machine (which will cause the system to use latest installed kernel) and then reinstall dattobd.\r\n\r\nWe should have a paragraph about this in the troubleshooting section, so I will leave this issue open until we get around to it."}}
{"actor":{"display_login":"tcaputi"}}