<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic ""problem closing archive""]]></title>
		<link>https://forums.qrecall.com/posts/list/3.page</link>
		<description><![CDATA[Latest messages posted in the topic ""problem closing archive""]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>&quot;problem closing archive&quot;</title>
				<description><![CDATA[ My scheduled backup last night looks from the log like it completed the backup then quit with a "problem closing archive." When I tried to rerun it, the archive needed repair. After the repair the archive includes last night's layer, showing the same number of files and size the log for last night showed, so apparently the backup had completed and then something screwed up as it was closing. The repair log showed two locations of invalid data. <br> <br>When I woke the computer up this morning it showed an alert that "logout had failed because some app refused to quit. I don't remember if it was qrecall or not. I've been having these logout failures at night sometimes since updating to El Cap, and discovered to that was because the update apparently turned on an option to log out after an hour of inactivity, which had not been previously set. I don't know if that caused any problem with qrecall, or not. <br> <br>I'm sending a report.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2618.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2618.page</link>
				<pubDate><![CDATA[Mon, 16 Nov 2015 17:57:44]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>&quot;problem closing archive&quot;</title>
				<description><![CDATA[ [quote=Ralph Strauch]My scheduled backup last night looks from the log like it completed the backup then quit with a "problem closing archive." When I tried to rerun it, the archive needed repair. After the repair the archive includes last night's layer, showing the same number of files and size the log for last night showed, so apparently the backup had completed and then something screwed up as it was closing. The repair log showed two locations of invalid data.[/quote] <br>You're problems started a little before that. <br> <br>Earlier in this capture, and in previous captures, QRecall has been warning of failed I/O. Most of these it successfully recovered from. Here's an example: <br> <br>[code]2015-11-16 04:05:55.842 Recovered from archive data read failures <br>2015-11-16 04:05:55.843 cannot read envelope content length <br>2015-11-16 04:05:55.843 POSIXErr: 6 <br>2015-11-16 04:05:55.843 ErrDescription: Device not configured <br>2015-11-16 04:05:55.843 Path: /Volumes/BUD2/2nd backup.quanta/repository.data <br>2015-11-16 04:05:55.843 Position: 1230587166720 <br>2015-11-16 04:05:55.843 Length: 131072[/code] <br>This indicates that QRecall encounter a fatal error (Device not configured) reading from your primary data file. It tried again, and was successful, so it logged this as a transient error. <br> <br>If you start to see a lot of transient errors, it's an indication that something is failing. It could be a degraded cable or network connection. More likely, it's a hard drive on its last legs. <br> <br>At the end of the capture, QRecall tried to update the index files and failed with another I/O error. This one it couldn't recover from: <br> <br>[code]2015-11-16 07:42:48.430 Problem closing archive <br>2015-11-16 07:42:48.430 POSIXErr: 60 <br>2015-11-16 07:42:48.430 ErrDescription: Operation timed out <br>2015-11-16 07:42:48.430 Path: /Volumes/BUD2/2nd backup.quanta/repository_p8w8k16m2.1_8k.checksum32[/code] <br>This failure corrupted the structure of your archive, requiring you to repair it. The data errors you encountered during the repair indicate permanent media failures. This is another indication that your drive may be knocking on death's door. <br> <br>I would highly recommend that you investigate the health of your backup drive and its connection with your system. You might need a new drive.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2619.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2619.page</link>
				<pubDate><![CDATA[Tue, 17 Nov 2015 11:41:12]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I ran the drive through Disk Utility, Diskwarrior, and TechTool Pro (full surface scan) and everything looked fine. I realize this doesn't totally clear the disk, but looking more carefully at when it happens suggests that the problem a byproduct of a scheduled backup trying to run when both computers involved are normally asleep. <br> <br>I normally leave my backup drive connected to an iMac (USB2) and backup my MBP over wifi, though I do sometimes move the backup drive to the MBP for time-intensive operations like verify and repair, to take advantage of the greater speed provided by USB3. I have a scheduled backup on the MBP for 3am, and the MBP is usually asleep with the lid closed at that time. Until I upgraded to El Cap that backup usually didn't run and I would just start a manual backup when I turned the computer on in the morning. More recently, though, that scheduled backup is trying to run, and that's when my "problem closing archive" occurs. See the backup failures at 2015-11-16 03:04:33 and 2015-11-19 03:37:19. <br> <br>In both cases, the backup seem to run for a while, but not actually complete, and then fail about 4 hours later. Backups run manually during the day seem to complete properly. After running the above utilities to check the drive I was able to successfully back up the MBP at both 2015-11-17 10:48:14 and 2015-11-18 12:10:41 and to backup the iMac at 11/17 19:04 (not shown on the report because that backup was run from the iMac). <br> <br>Since yesterday?s failure I don?t seem to be able to repair the archive. Two consecutive Repair cycles both show ?Invalid data? at the same locations, and the archive will not open because the index is incorrect. Is this archive totally lost, or is there a way of getting rid of the invalid data and repairing the rest of the archive? When I get it up and running again I?ll delete the 3am backup for the MBP and just run daily backups manually, and with luck that will take care of the problem. <br> <br>BTW, the missing filter references that show up in each backup log are due to excluded files on the other machine.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2624.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2624.page</link>
				<pubDate><![CDATA[Fri, 20 Nov 2015 16:20:38]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ [quote=Ralph Strauch]I ran the drive through Disk Utility, Diskwarrior, and TechTool Pro (full surface scan) and everything looked fine.[/quote] <br>Since you did a full surface scan, and given your other observations, let's assume the hard drive is not the source of the I/O errors. <br> <br>[quote]looking more carefully at when it happens suggests that the problem a byproduct of a scheduled backup trying to run when both computers involved are normally asleep. <br>... <br>I have a scheduled backup on the MBP for 3am, and the MBP is usually asleep with the lid closed at that time. Until I upgraded to El Cap that backup usually didn't run and I would just start a manual backup when I turned the computer on in the morning. More recently, though, that scheduled backup is trying to run, and that's when my "problem closing archive" occurs. See the backup failures at 2015-11-16 03:04:33 and 2015-11-19 03:37:19.[/quote] <br>I think you've nailed it. It appears that QRecall is running while one or both systems are asleep. Of course, they're not completely asleep. This is undoubtedly a byproduct of OS X's "Power Nap" mode. During a power nap, certain (Apple) processes, like Mail and Time Machine, are allowed to perform limited maintenance tasks. Other processes (like QRecall) aren't supposed to run at a all, but apparently they are. <br> <br>Since both of your systems are asleep, it's difficult to ascertain which one is responsible for the I/O errors (although I suspect the MBP, for reasons I'll detail in a moment). <br> <br>[quote]In both cases, the backup seem to run for a while, but not actually complete, and then fail about 4 hours later.[/quote] <br>Looking carefully at your capture log from 11-19 I see that the capture started at 03:37:58 and ran for about a half minute before being suspended again at 03:38:37. (I know it was suspended, because the beta version of QRecall dumps status messages to the log almost continusously, so if there are any big gaps in the log it's because absolutely nothing was happening.) <br> <br>An hour later (04:39:06) QRecall starts logging again and immediately encounters an I/O error. This is undoubtedly because hardware and/or network connections are not fully functional during a power nap. I suspect that either the last I/O before it was put back to sleep, or the first I/O when it started the next power nap, was interrupted and caused the error. <br> <br>QRecall retries the I/O, recovers from the error, and runs a few more minutes (last log entry was 04:40:16). At this point it's suspended again until 05:43:04, and the cycle repeats: I/O error, retry, recover, run a minute or two, get suspended, wash, rinse, repeat. <br> <br>This pattern continues until 07:51.12, when the system was legitimately woken up again, which I can tell because the scheduler logged receipt of a "system woke up" event. QRecall continues with the capture, and almost finishes when ... <br> <br>The system apparently goes back to sleep around 07:54:42 while closing the archive. The system wakes back up again at 08:47:22 (another "woke up" event was logged), and at that point is when the timeout failure that caused the "Problem closing archive" occurred. I can't tell if this was because the laptop's network interface hadn't fully woken up again, the forced sleep interrupted the request, or if the server was now asleep and not responding. Regardless, that was the sequence of events. <br> <br>There are several things that can be done to address this. If you're willing to change your habits, you could add power management requests to the 3 AM capture action so it wakes the system up when it starts and puts it back to sleep again when it's finished. This would require you to leave the laptop lid open (the system won't wake up if the screen is closed). This would ensure the system is completely awake, allowing the capture to complete. <br> <br>Approach number two would be to stop the laptop from power napping by turning off the Power Nap feature in the Energy Saver preference pane (under Schedule). That would probably restore the behavior you saw under Yosemite. <br> <br>Additionally, I'm going to explore the possibility of modifying QRecall so it can suspend itself during a "power nap" and also talk to Apple as to why it's running in the first place. <br> <br>[quote]Since yesterday?s failure I don?t seem to be able to repair the archive. Two consecutive Repair cycles both show ?Invalid data? at the same locations, and the archive will not open because the index is incorrect. Is this archive totally lost, or is there a way of getting rid of the invalid data and repairing the rest of the archive?[/quote] <br>The archive isn't totally lost, but you are stuck. The logs reveal a problem/situation/bug in the code that regenerates the error correction codes which is preventing the repair from completing. I'm looking into that today. <br> <br>You can wait until I have a fix, or I can tell you how to manually strip the error correction codes from the archive so you can repair it and resume using it.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2625.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2625.page</link>
				<pubDate><![CDATA[Sat, 21 Nov 2015 11:59:39]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Thanks for the quick response and explanation. It all makes sense. I think I had power nap turned off in Yosemite and previously, but I guess El Cap turned it on as a default. I've traced a couple of other problems to El Cap's changing default settings, I think. <br> <br>If the fix is coming along quickly, I'll wait, but if stripping the error codes is relatively simple and it would be fit your schedule better not to be diverted to that fix right now, please send me the instructions for stripping them,]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2626.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2626.page</link>
				<pubDate><![CDATA[Sat, 21 Nov 2015 13:00:51]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Ralph, <br> <br>Here's a link to the [url=http://www.qrecall.com/release/QRecall_2.0.0a22.dmg]2.0.0a22 alpha release of QRecall[/url]. If you have the time, please download, install, and use it to repair your "2nd backup" archive again. It [i]should[/i] die exactly the same way the earlier repairs did, but when it does it will log some information about the failure that I'm missing. After it fails, please send another diagnostic report so I can pick through the wreckage. <br> <br>Either way, to quickly get your archive back up and running, do this. In the Finder, Right/Control+click on the archive and choose Show Package Contents. Inside the archive you'll see a [b]repository.data[/b] file and a slew of "companion" files with names like these: <br>[code]repository_8k.checksum32 <br>repository_p8w8k16m2.0.anvin_reed_sol <br>repository_p8w8k16m2.0_8k.checksum32 <br>repository_p8w8k16m2.1.anvin_reed_sol <br>repository_p8w8k16m2.1_8k.checksum32[/code] <br>Trash all of these "companion" files, just don't delete the [b]repository.data[/b] file (that's where all of the good stuff is). Repair the archive and go about your business. If you want to back to using correction codes again, use the archive settings to generate new codes.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2627.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2627.page</link>
				<pubDate><![CDATA[Sat, 21 Nov 2015 16:15:49]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I've now repaired my archive with Qrecall v2.0.0a22 alpha and sent you that report, removed the repository companion files, and started the archive repair again to get the archive back. I'll let you know in the morning how it works out. <br> <br>The repair that I just did had one probably insignificant glitch you should know about. I shut the lid about 1/3 of the way through, then opened it again about an hour later and it seemed to pick up OK. I'm in the habit of shutting the lid when I'm done working, and it's hard to remember not to do that when a long process I haven't been paying any attention to is running in the background. <br> <br>I use power management on the iMac for a scheduled 1am backup and it works fine. I somehow never thought of that on the MBP. One question that occurs to me there, though, is that backing up the MBP involves 2 computers, not one. I'm running the backup from the MBP, but the drive is mounted to the iMac. Does that cause any problems? Also, if I command the MBP backup to wake the computer before the backup but not to sleep it after the backup will it then go to sleep according to the Energy Saver inactivity settings? I ask that because I'm hesitant to tell Qrecall to sleep the computer when I might sometimes run that backup command during the day when I'm working on other things. I'll probably keep running the MBP backups as I've been doing, but it will be nice to have a clearer understanding of my options. <br> <br>Thanks again for the stellar support you provide.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2628.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2628.page</link>
				<pubDate><![CDATA[Sat, 21 Nov 2015 23:20:58]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I've now repaired my archive and it completed successfully, though the log still shows Data Problems -- Invalid data at the same two locations that have been showing up. Is this now a permanent feature of this archive? <br> <br>After the repair completed I ran a Merge Layers action followed by a backup, which seems to have run fine with one minor glitch. I clicked on the backup while the Merge was in process, figuring it would run after the Merge completed, which it did. But the Monitor window only showed the running Merge and did not show the waiting backup, as it has done in the past. When I came back to the computer after the backup had started, the Monitor window showed "Idle" and the only indication I could find that the the backup was actually running was the "Archive busy" window that came up when I tried to open the archive.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2629.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2629.page</link>
				<pubDate><![CDATA[Sun, 22 Nov 2015 10:21:54]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ [quote=Ralph Strauch]The repair that I just did had one probably insignificant glitch you should know about. I shut the lid about 1/3 of the way through, then opened it again about an hour later and it seemed to pick up OK. I'm in the habit of shutting the lid when I'm done working, and it's hard to remember not to do that when a long process I haven't been paying any attention to is running in the background.[/quote] <br>Ideally, this shouldn't ever be a problem. OS X is pretty good about recovering everything when it wakes up and picking up right where it left off. Problems can occur if something happens while the laptop is asleep that it can't recover from, such as shutting down the file server it was using, unplugging an external drive, losing a network connection, or having another system modify the archive. But if any of those things do occur, QRecall should fail with an appropriate message. <br> <br>[quote]I use power management on the iMac for a scheduled 1am backup and it works fine. I somehow never thought of that on the MBP. One question that occurs to me there, though, is that backing up the MBP involves 2 computers, not one. I'm running the backup from the MBP, but the drive is mounted to the iMac. Does that cause any problems?[/quote] <br>It could, but QRecall should deal with it. There are basically two scenarios: the iMac's file server is responding or it isn't. If it is, the laptop will connect and perform the capture. If it isn't, the laptop will either fail to mount the volume or fail to open the archive. Either way, there's no harm done. <br> <br>[quote]Also, if I command the MBP backup to wake the computer before the backup but not to sleep it after the backup will it then go to sleep according to the Energy Saver inactivity settings?[/quote] <br>Yes. When QRecall starts a time consuming activity (like a capture), it registers with the power management service to tell it not to put the filesystem to sleep until it's finished. Once finished, it releases the power manager. If there are no other services that want to prevent sleep, your system will go to sleep on its normal schedule. <br> <br>[quote]I ask that because I'm hesitant to tell Qrecall to sleep the computer when I might sometimes run that backup command during the day when I'm working on other things. I'll probably keep running the MBP backups as I've been doing, but it will be nice to have a clearer understanding of my options.[/quote] <br>Also not a problem. The sleep request following an action is just that—a request. When the action is finished, it will post a request for your system to go to sleep in about 10 minutes. A dialog will appear notifying you that a request to put your system to sleep has been made. If you ignore that dialog, your system will go to sleep (or shutdown, or restart, or whatever the request was). Dismiss the dialog to cancel the request and continue using your computer. <br> <br>[quote=Ralph Strauch]I've now repaired my archive and it completed successfully, though the log still shows Data Problems -- Invalid data at the same two locations that have been showing up. Is this now a permanent feature of this archive?[/quote] <br>Not any more :) . One of the last things the repair action does is erase any invalid data it found. This wasn't happening before, because the repair actions weren't finishing. But now that one has, your archive should be free of invalid data. <br> <br>[quote]After the repair completed I ran a Merge Layers action followed by a backup, which seems to have run fine with one minor glitch. I clicked on the backup while the Merge was in process, figuring it would run after the Merge completed, which it did. But the Monitor window only showed the running Merge and did not show the waiting backup, as it has done in the past. When I came back to the computer after the backup had started, the Monitor window showed "Idle" and the only indication I could find that the the backup was actually running was the "Archive busy" window that came up when I tried to open the archive. [/quote] <br>That's a mystery. Send a diagnostic report and I'll look into it. It might be another scheduler issue (*sigh*).]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2630.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2630.page</link>
				<pubDate><![CDATA[Sun, 22 Nov 2015 15:02:56]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I ran another backup using v2.0.0a22 alpha to see what would happen with the Monitor. When I started the backup the window flashed briefly showing the backup starting, then shifted immediately to "Idle" and stayed there. The only indication of the running backup was the "Archive busy" window when I tried to open the archive. I came back later and and a crash window was showing, indicating that Qrecall had quit, but the app was still running and the log indicates that the backup completed normally. I filled in that crash report window and also sent another report from the app, so you should have both. <br> <br>Both of these last two backups were run with the drive mounted on the MBP. Next I'm going to more the drive to the iMac and run backups of both machines that way. The iMac is running the previous beta version.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2631.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2631.page</link>
				<pubDate><![CDATA[Sun, 22 Nov 2015 19:14:53]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Ralph, <br> <br>Thanks, as always, for the diagnostic reports. When you have a chance update to the 2.0.0b23 beta that was just released and see if that resolves any of these issues. <br>]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2632.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2632.page</link>
				<pubDate><![CDATA[Mon, 23 Nov 2015 22:31:25]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Yes, the b23 version seems to take care of the Monitor problem, so all is fine again. I do notice that closing the archive seems to be taking longer, whichh I assume is related the error correction?]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2633.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2633.page</link>
				<pubDate><![CDATA[Tue, 24 Nov 2015 11:37:33]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ [quote=Ralph Strauch]I do notice that closing the archive seems to be taking longer, whichh I assume is related the error correction?[/quote] <br>Closing the app at the end of an action, or closing an archive browser window in the QRecall app? <br> <br>If you're talking about at the end of an action, the answer is "probably". Error correction (and encryption) generally make every modification a little slower. <br> <br>If you're talking about closing a browser window, it's likely due to the resource leak I fixed in b23. In b21, closing a browser window failed to properly release all of the memory and resources for the archive. This would result in a memory leak of thousands, or even hundreds of thousands, of objects. But fixing the bug has its own downside; it takes a moment to destroy and cleanup after all of those objects. <br> <br>If it's annoying, let me know. There may be a way to dispose of these objects on a background thread so it doesn't hang up the app.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2634.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2634.page</link>
				<pubDate><![CDATA[Tue, 24 Nov 2015 11:47:41]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I was referring the period of time at the end of a backup when the Monitor is reporting "archive closing -- the interval between the log entries for "Captured xxx items. . ." and "Capture finished." Going back and look at a series of log entries, it's pretty clear that it is related to error correction, as the following entries show. Error correction was installed on the 17th and 18th, then removed on the 21st and the time interval drops significantly. Then it goes back up after I inflated the archive again on the 21st (except for the backup on the 22nd, which was exceptionally short overall). <br> <br>Action 2015-11-17 11:08:33 Captured 2591 items, 2.26 GB (8% duplicate) <br>Action 2015-11-17 11:09:30 ------- Capture finished (20:42) <br> <br>Action 2015-11-18 12:27:25 Captured 7949 items, 1.5 GB (19% duplicate) <br>Action 2015-11-18 12:45:45 ------- Capture finished (34:03) <br> <br>21-Nov-15 ? removed error correction <br> <br>Action 2015-11-22 08:44:15 Captured 12494 items, 1.72 GB (29% duplicate) <br>Action 2015-11-22 08:44:24 ------- Capture finished (1:24:21) <br> <br>Action 2015-11-22 13:31:27 ------- Inflate 2nd backup.quanta <br> <br>Action 2015-11-22 17:00:44 Captured 720 items, 547.4 MB (56% duplicate) <br>Action 2015-11-22 17:00:49 ------- Capture finished (01:50) <br> <br>Action 2015-11-23 10:39:31 Captured 912 items, 480.9 MB (83% duplicate) <br>Action 2015-11-23 10:45:13 ------- Capture finished (10:16) <br> <br>Action 2015-11-24 07:55:11 Captured 1797 items, 876.2 MB (46% duplicate) <br>Action 2015-11-24 08:04:39 ------- Capture finished (19:57) <br> <br>This is not a problem you need to do anything about, just an observation -- something I might not have even noticed normally, except for the fact that I was troubleshooting during this period so paying closer attention to what was happening, and that make a ten minute interval seem long when I'm watching for it to get over. <br>]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2635.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2635.page</link>
				<pubDate><![CDATA[Tue, 24 Nov 2015 12:46:10]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ This problem is still with us, apparently. I ran a scheduled backup of my MBP over wifi to a backup drive attached to my iMac last night, and the log shows this morning that the archive failed with a "problem closing file," as it did on 11/16. The archive shows what looks like a complete layer from last night's backup, though, so apparently it was written before the problem occurred. I tried this morning to rerun the backup manually, and it failed again <br> <br>Action 2015-12-06 09:23:24 Failure Program exception <br>Action 2015-12-06 09:23:24 invalid position added to bucket <br>Action 2015-12-06 09:23:24 Failure Command failed <br>Action 2015-12-06 09:23:24 An internal program error occurred. Please report this problem to the developer. <br> <br>Since we dealt with this problem in November I've been running this backup manually during the day with no problems. This was the first time I've run it as a scheduled backup overnight. This is not the drive that had the problem earlier but the one that had been offsite, and I just swapped back in on Friday. The problem occurred on the third backup run after the swap. <br> <br>I guess I'll have to run another repair on this archive, but I'll wait to hear from you before I start it.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2667.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2667.page</link>
				<pubDate><![CDATA[Sun, 6 Dec 2015 13:48:43]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I recommend running a verify to determine if the archive is OK or needs repair. I can't tell from the information here. <br> <br>Also, send a diagnostic report form the MBP so I can look into the details.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2668.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2668.page</link>
				<pubDate><![CDATA[Sun, 6 Dec 2015 13:54:30]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I should have mentioned that I've sent a report. I'll move the archive to the MBP (USB3( and start the verify now.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2669.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2669.page</link>
				<pubDate><![CDATA[Sun, 6 Dec 2015 14:00:23]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Verify failed after 7 minutes. I've sent another report and have started a repair action. <br> <br>Edit: After just a couple of minutes the repair action quit with an error message that it had lost contact with process, no entry in the log. I've restarted the repair and it looks like it's running normally.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2670.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2670.page</link>
				<pubDate><![CDATA[Sun, 6 Dec 2015 14:21:04]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I?ve now repaired my archive and run a manual backup of my MBP and everything seems fine. The repair log shows a long string of chunks of invalid data throughout the archive, along with one instance of ?Communication problems with command listener on port QRecallApplication? and three of ?Distributed objects message send timed out? at the end of the log. I?ll send a Report. <br> <br>You?ve said elsewhere that the invalid data will be discarded and that the archive will contain only valid files, and I?m a bit confused about the result of that process. Will I lose files which were found to contain invalid data, or only the versions of those files which contained the invalid data? <br> <br>This problem has occurred only with scheduled overnight MBP backups, so I?ll move the drive back to the iMac and let the iMac scheduled overnight backups run, but just run MBP backups manually during the day for a while. <br> <br>As I said in the thread on Encryption, &lt;http://forums.qrecall.com/posts/list/567.page&gt;, I?ve been mounting my backup drives on the MBP because my Airport Extreme can?t read a FileVault encrypted drive. But if this problem is caused by backing up one computer to a drive mounted on another perhaps shifting from FileVault to Qrecall encryption and going back to mounting the drive on the AE would be a solution. What do you think?]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2673.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2673.page</link>
				<pubDate><![CDATA[Mon, 7 Dec 2015 00:00:39]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ [quote=Ralph Strauch]You?ve said elsewhere that the invalid data will be discarded and that the archive will contain only valid files, and I?m a bit confused about the result of that process. Will I lose files which were found to contain invalid data, or only the versions of those files which contained the invalid data?[/quote]<br>During a repair, QRecall scans every byte of your archive's repository.data file. Normally, every byte is accounted for. If the repair can't make sense of a string of bytes, this range of the file is erased and you get a "Data problems found" message in the log.<br><br>The question, however, is whether any of this "damaged" data means anything important. If the bad data was originally a data or file record, then it will result in the loss of one or more files. That, in turn, could leave one or more folders missing a file. You need to look beyond the "Invalid data" messages in the log and look for folder and file specific messages. For example, if a bad byte was found in the middle of a data record, that would result in the loss of a file. That lost file will record a "Discarded incomplete file" message in the log, along with the details of which file that was lost.<br><br>There are no such messages in your log, so none of the "bad" data in your archive was related to anything important. This isn't entirely surprising. After compact and merge actions finish, there are lots of regions in the file that are left empty or contain unreferenced data, the loss of which won't have any consequences for your archive.<br><br>[quote]As I said in the thread on Encryption, &lt;http://forums.qrecall.com/posts/list/567.page&gt;, I?ve been mounting my backup drives on the MBP because my Airport Extreme can?t read a FileVault encrypted drive. But if this problem is caused by backing up one computer to a drive mounted on another perhaps shifting from FileVault to Qrecall encryption and going back to mounting the drive on the AE would be a solution. What do you think?[/quote]<br>Technically, there is very little difference between these two solutions. In both situations, you have an external hard drive mounted on a server (either the iMac or the Airport Basestation), running an AppleShare server, being accessed over a network by a remote client (the MacBook Pro).<br><br>The advantage of using the Airport Basestation is that the basestation runs 24/7, so you don't have to worry about when the iMac is running.<br><br>The advantage of using the iMac is that actions will be faster on the iMac (because it's directly connected to the volume) and will be more reliable (local busses almost always have lower error rates than LANs).]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2676.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2676.page</link>
				<pubDate><![CDATA[Tue, 8 Dec 2015 18:23:09]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I've had another "problem closing archive" failure, where it looks from the log like the entire backup was written to the archive before the failure occurred. I tried to repair the archive and that failed as well, leaving me with long lists of invalid data and error corrections. <br> <br>This was a backup of my MBP run over the network with the archive drive mounted on my iMac. I moved the disk to the MBP for the repair, to take advantage of USB3 speeds. I was running b25. This is a different backup drive from the one that exhibited this problem in November. <br> <br>As soon as I send the report I'll update to b26 and run another repair.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2678.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2678.page</link>
				<pubDate><![CDATA[Fri, 11 Dec 2015 10:09:47]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Ralph, <br> <br>Everything I see in the log would indicate I/O problems with the drive. <br> <br>The capture starts at 12-10 10:35 and runs just fine until 10:44:21 when QRecall encounters a "Device Not Configured" error trying to write to the archive. This is a fatal I/O error that's usually associated with a device that has gone off-line. There's no way to recover from that kind of error, so the capture bails. During its exit, it tries to close the archive but encounters another I/O failure, "Operation timed out". That's when it logged the "Problem closing archive" message. <br> <br>You then started a repair at 17:09. That ran swimmingly until about 21:42. That's when the error correction messages start. These are not unexpected. Since the capture was interrupted while writing to the data files, it's likely that there's a mismatch between the data that was written and the error correction codes. So what undoubtedly happened is that some of the data doesn't match some of the correction codes. This is fine, and the repair will reconstruct the codes as needed. This is confirmed, to a degree, because the invalid correction codes were for an offset very close to the offset being written when the capture failed. <br> <br>Once the repair was past that bad patch, the repair resumes running and encountered no other issues until it was almost finished at 12-11 02:49. At this point, everything goes south. As it tries to finalize the archive it encounters a string of "No such volume", "No such directory", and "Device not configured" errors, as if the volume had been spontaneously unmounted or powered down. Needless to say, the repair wasn't successful. <br>]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2679.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2679.page</link>
				<pubDate><![CDATA[Fri, 11 Dec 2015 15:05:38]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ I tried a couple of more times to repair my archive and both attempts failed, so I guess this archive is toast. I?m not convinced, though, that the problem is with the drive. In the two months I have been using Qrecall v2.0 beta, this particular problem -- where a backup that appears to be successfully completed and written to the archive experiences a fatal error as the archive is being closed -- has occurred 7 times, involving two different archives and backup drives, run both over the network and directly mounted to the computer. <br> <br>Both drives have been given a clean bill of health by Disk Utility, Tech Tool Pro, and Diskwarrior. The failure always seems to occur at the same point in the backup being performed ?- after Qrecall has recorded all the statistics for the backup and is closing the file, so it seems unlikely that it could be due to a mechanical or network problem unrelated to the backup task. <br> <br>Here?s a list of the backups that have experienced this problem. <br> <br>Action 2015-11-08 11:12:38 ------- Capture to 3rd backup.quanta <br> 2015-11-08 11:32:24 Captured 4207 items, 1.07 GB (50% duplicate) <br> 2015-11-08 11:38:12 Failure Problem closing archive <br> <br>Action 2015-11-11 06:24:16 ------- Capture to 3rd backup.quanta <br> 2015-11-11 07:26:51 Captured 787 items, 447.8 MB (83% duplicate) <br> 2015-11-11 07:39:03 Failure Problem closing archive <br> <br>Action 2015-11-16 03:04:33 ------- Capture to 2nd backup.quanta <br> 2015-11-16 07:31:53 Captured 750 items, 440.8 MB (56% duplicate) <br> 2015-11-16 07:42:48 Failure Problem closing archive <br> <br>Action 2015-11-19 03:37:19 ------- Capture to 2nd backup.quanta <br> 2015-11-19 07:53:57 Captured 1785 items, 610.6 MB (61% duplicate) <br> 2015-11-19 08:47:46 Failure Problem closing archive <br> <br>Action 2015-11-30 08:56:33 ------- Capture to 2nd backup.quanta <br> 2015-11-30 09:08:35 Captured 1732 items, 417 MB (52% duplicate) <br> 2015-11-30 09:11:35 Failure Failed <br> <br>Action 2015-12-06 03:00:01 ------- Capture to 3rd backup.quanta <br> 2015-12-06 03:17:56 Captured 1077 items, 838.9 MB (59% duplicate) <br> 2015-12-06 03:27:38 Failure Failed <br> <br>Action 2015-12-10 10:35:35 ------- Capture to 3rd backup.quanta <br> 2015-12-10 10:55:26 Captured 1643 items, 922.4 MB (58% duplicate) <br> 2015-12-10 11:07:33 Failure Problem closing archive]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2680.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2680.page</link>
				<pubDate><![CDATA[Sun, 13 Dec 2015 10:24:16]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Ralph,<br><br>I'm traveling, so I can't take a detailed look at you logs until I get back tomorrow, but just a few notes until then....<br><br>From what I've seen, it's unlikely to be the archive itself. The errors I mentioned in the previous post are things like " device not ready" and "no such directory". These are not data or I/O errors, but rather indicate a device that has disconnected.<br><br>DiskWarrior, disk utility, et. al. are wonderful tools, but only address the volume directory structure. They say nothing about the reliability of the drive, and certainly don't speak to whether the drive has, or could, disconnect at an inappropriate time.<br><br>Finally, the "Problem closing archive" can be a bit of a red herring. Whenever there's a problem with an operation, the action will stop and then try to close the archive. If the problem was something that prevents QRecall from accessing the archive files, you'll also get a "Problem closing archive", in addition to the original problem. <br><br>More tomorrow...]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2681.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2681.page</link>
				<pubDate><![CDATA[Mon, 14 Dec 2015 13:44:16]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ Ralph, <br> <br>Here's a random sampling of a few capture issues I found in the logs you sent me: <br> <br>[code]2015-11-08 11:12:38.071 -0800 ------- Capture to 3rd backup.quanta <br>2015-11-08 11:38:12.467 -0800 Failure Problem closing archive <br>2015-11-08 11:38:12.468 -0800 Details ErrDescription: Operation timed out <br> <br>2015-11-10 07:54:44.131 -0800 ------- Capture to 3rd backup.quanta <br>2015-11-10 08:46:52.575 -0800 Failure Could not capture file <br>2015-11-10 08:46:52.575 -0800 Details archive I/O error <br>2015-11-10 08:46:52.575 -0800 Details Cause: &lt;IO&gt; cannot read hash page(s) { ErrDescription='Operation timed out', POSIXErr=60, Position=5731762176, API=pread, Path='/Volumes/BUD3/3rd backup.quanta/hash.index', Length=8192 } <br> <br>2015-11-11 03:54:28.850 -0800 ------- Capture to 3rd backup.quanta <br>2015-11-11 03:56:06.984 -0800 Failure Problem closing archive <br>2015-11-11 04:55:24.154 -0800 Details ErrDescription: Operation timed out <br> <br>2015-11-11 06:24:16.879 -0800 ------- Capture to 3rd backup.quanta <br>2015-11-11 07:25:35.814 -0800 Failure Could not capture file <br>2015-11-11 07:25:35.814 -0800 Details failed to write envelope header <br>2015-11-11 07:25:35.814 -0800 Details ErrDescription: Device not configured <br> <br>2015-11-19 03:37:19.406 -0800 ------- Capture to 2nd backup.quanta <br>2015-11-19 04:39:06.269 -0800 Details cannot read envelope content length <br>2015-11-19 04:39:06.269 -0800 Details ErrDescription: Device not configured <br> <br>2015-11-30 08:56:33.900 -0800 ------- Capture to 2nd backup.quanta <br>2015-11-30 09:11:35.848 -0800 Details problem closing file <br>2015-11-30 09:11:35.848 -0800 Details ErrDescription: Operation timed out <br> <br>2015-12-06 03:00:01.518 -0800 ------- Capture to 3rd backup.quanta <br>2015-12-06 03:27:38.240 -0800 Details problem closing file <br>2015-12-06 03:27:38.240 -0800 Details ErrDescription: Operation timed out <br> <br>2015-12-10 10:35:35.671 -0800 ------- Capture to 3rd backup.quanta <br>2015-12-10 10:44:21.337 -0800 Details cannot read envelope content length <br>2015-12-10 10:44:21.337 -0800 Details ErrDescription: Device not configured <br>[/code] <br>There are a couple of things to note. First, all of the errors are either "Operation timed out" or "Device not configured." These are not file content errors, media errors, file structure errors, or volume structure errors. These error indicate that storage device has gone off line, or in the case a remote connection the connection to the server has been lost. <br> <br>The other thing that points to this [i]not[/i] being an issue with this particular archive or its volume structures are that these events are the exception. There are scores of successful captures interleaved between these failures. If the archive was corrupted, the media unreliable, or the volume directory structure was damaged, these other captures would have run into the same problems—but they didn't. <br> <br>I still suspect that the drive containing the archive is either spontaneously going off-line or unmounting, or the network connection to the device or server is timing out, disconnecting, going to sleep, shutting down, going off-line, etc.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2685.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2685.page</link>
				<pubDate><![CDATA[Thu, 17 Dec 2015 11:11:22]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ James, <br> <br>I've trashed the archive that wouldn't repair, replaced it with a new archive, and backed up both computers successfully and uneventfully. I've now swapped that drive out and brought my other offsite drive back in, and backups are running fine on it as well, so hopefully I'm back in business. <br> <br>I don't think the problem was a bad drive, since it seemed to affect both drives equally during the period it was happening. I did seem to be having network problems, which definitely contributed.Some of those involved scheduled backups run automatically at night when both machines were otherwise asleep so I'll just skip that for a while and backup the MBP manually during the day, at least until I accumulate a history of stability with v2.0. <br> <br>I am still concerned about the seven failures cited above, which all appear to occur as the archive attempted to close immediately after writing the backup to the archive and the backup statistics to the log,. The timing of these failures, occurring at a specific well-defined point in a long ongoing process, makes it hard to attribute them to a source external to that process, like a mechanical or network failure. <br> <br>I'm curious -- what app are you pasting the log entries from, to get that formatting and the line numbers?]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2692.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2692.page</link>
				<pubDate><![CDATA[Sun, 20 Dec 2015 16:33:18]]> GMT</pubDate>
				<author><![CDATA[ Ralph Strauch]]></author>
			</item>
			<item>
				<title>Re:&quot;problem closing archive&quot;</title>
				<description><![CDATA[ [quote=Ralph Strauch]I don't think the problem was a bad drive, since it seemed to affect both drives equally during the period it was happening.[/quote] <br>I hope I didn't imply that there was definitively something wrong with your drive. I meant to emphasize that the failures are all "drive related," meaning that they indicate a drive that has spontaneously gone offline, unmounted, or simply stopped responding. If the drive is being accessed via a network or file server, there are lots of moving parts between your system and the actual hard drive that can cause these symptoms. <br> <br>[quote]I did seem to be having network problems, which definitely contributed.Some of those involved scheduled backups run automatically at night when both machines were otherwise asleep ...[/quote] <br>And I think this is the most likely explanation. A dropped network, a file server that goes to sleep while it's still being used, or a computer that's running code while it's asleep (power nap issue) would all cause the kinds of errors you see in the log. <br> <br>[quote]I am still concerned about the seven failures cited above, which all appear to occur as the archive attempted to close immediately after writing the backup to the archive and the backup statistics to the log,. The timing of these failures, occurring at a specific well-defined point in a long ongoing process, makes it hard to attribute them to a source external to that process, like a mechanical or network failure.[/quote] <br>Except for the other evidence. :wink: In between the failures you highlighted are identical failures that occur before the archive beings to close, and a slew of successful captures without any problems at all. I think the fact that there are a high number of failures occuring while closing the archive is simply because that's when the greatest amount of archive activity begins. Most (incremental) captures spend most of their time reading the local hard drive looking for changes. It's when the archive is about to be closed that things get busy, and if there's a problem read/writing to the archive, that's when it's statistically most likely to happen. <br> <br>[quote]I'm curious -- what app are you pasting the log entries from, to get that formatting and the line numbers?[/quote] <br>The forum has various tags you can use to format text, like [b][b]bold[/b][/b], [i][i]italic[/i][/i], and [u][u]underline[/u][/u]. You can also surround a line or block of text with the [b][code][/b]code goes here[b][/code][/b] tags and they'll be formatted like the log listing in my earlier post. Just select the block of text and click the "Code" button above the post entry field.]]></description>
				<guid isPermaLink="true">https://forums.qrecall.com/posts/preList/562/2693.page</guid>
				<link>https://forums.qrecall.com/posts/preList/562/2693.page</link>
				<pubDate><![CDATA[Mon, 21 Dec 2015 09:49:10]]> GMT</pubDate>
				<author><![CDATA[ James Bucanek]]></author>
			</item>
	</channel>
</rss>