Open ChrisTG742 opened 2 hours ago
After that crash I'm no longer able the start the GUI again. It closes instantly again with following output in barcontrol.log:
Even worse: After restarting barserver, all backups in the database are marked as incomplete and purged. Luckily I was fast enough to stop BAR again before it actually could physically delete my backups on the strorage:
2024-10-26 20:51:14> Started BAR 25 server on 'xxxxx' with 4 worker threads 2024-10-26 20:51:14> INDEX: Opened index database 'sqlite3:/var/lib/bar/index.db' (version 8) 2024-10-26 20:51:14> INDEX: Started initial clean-up index database 2024-10-26 20:51:14> INDEX: Start clean-up duplicate meta data 2024-10-26 20:51:14> INDEX: Done clean-up duplicate meta data 2024-10-26 20:51:14> INDEX: Start clean-up incomplete updates 2024-10-26 20:51:14> INDEX: Done clean-up incomplete updates 2024-10-26 20:51:14> INDEX: Start clean-up incomplete created archives 2024-10-26 20:51:14> INDEX: Purged incomplete storage #19: '/mnt/backup/2020-09-03/userdata-F-000.bar' 2024-10-26 20:51:14> INDEX: Purged incomplete storage #35: '/mnt/backup/2020-09-03/userdata-F-001.bar' 2024-10-26 20:51:14> INDEX: Purged incomplete storage #51: '/mnt/backup/2020-09-03/userdata-F-002.bar' 2024-10-26 20:51:14> INDEX: Purged incomplete storage #67: '/mnt/backup/2020-09-03/userdata-F-003.bar' 2024-10-26 20:51:14> INDEX: Purged incomplete storage #83: '/mnt/backup/2020-09-03/userdata-F-004.bar' 2024-10-26 20:51:15> INDEX: Purged incomplete storage #99: '/mnt/backup/2020-09-03/userdata-F-005.bar' ... This looks like some serious problems. I think I will not start v25 again until it is clear what's happing here.
Okay, I was brave enough to re-run barserver (with chmod -w and chattr +i on all backup files) and after these kind of entries in bar.log the GUI now runs again, but all listed backups are gone now.
2024-10-26 21:23:18> INDEX: Removed storage #19 from index: /mnt/backup/2020-09-03/userdata-F-000.bar, created at Thu 03 Sep 2020 08:23:41 PM CEST 2024-10-26 21:23:20> INDEX: Removed storage #35 from index: /mnt/backup/2020-09-03/userdata-F-001.bar, created at Thu 03 Sep 2020 08:30:22 PM CEST 2024-10-26 21:23:22> INDEX: Removed storage #51 from index: /mnt/backup/2020-09-03/userdata-F-002.bar, created at Thu 03 Sep 2020 08:34:55 PM CEST 2024-10-26 21:23:23> INDEX: Removed storage #67 from index: /mnt/backup/2020-09-03/userdata-F-003.bar, created at Thu 03 Sep 2020 08:39:29 PM CEST 2024-10-26 21:23:25> INDEX: Removed storage #83 from index: /mnt/backup/2020-09-03/userdata-F-004.bar, created at Thu 03 Sep 2020 08:44:19 PM CEST 2024-10-26 21:23:26> INDEX: Removed storage #99 from index: /mnt/backup/2020-09-03/userdata-F-005.bar, created at Thu 03 Sep 2020 08:48:58 PM CEST ...
Also, the automatic re-indexing is not triggered for some reason.
Just got the following error when closing the GUI:
Here's the complete stacktrace as text:
org.eclipse.swt.widgets.Widget.sendSelectionEvent(Unknown Source) org.eclipse.swt.widgets.TabFolder.wmNotifyChild(Unknown Source) org.eclipse.swt.widgets.Control.wmNotify(Unknown Source) org.eclipse.swt.widgets.Composite.wmNotify(Unknown Source) org.eclipse.swt.widgets.Control.WM_NOTIFY(Unknown Source) org.eclipse.swt.widgets.Control.windowProc(Unknown Source) org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source) org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source) org.eclipse.swt.widgets.Shell.windowProc(Unknown Source) org.eclipse.swt.widgets.Display.windowProc(Unknown Source) org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) org.eclipse.swt.internal.win32.OS.CallWindowProc(Unknown Source) org.eclipse.swt.widgets.TabFolder.callWindowProc(Unknown Source) org.eclipse.swt.widgets.Widget.wmLButtonDown(Unknown Source) org.eclipse.swt.widgets.Control.WM_LBUTTONDOWN(Unknown Source) org.eclipse.swt.widgets.Composite.WM_LBUTTONDOWN(Unknown Source) org.eclipse.swt.widgets.Control.windowProc(Unknown Source) org.eclipse.swt.widgets.Display.windowProc(Unknown Source) org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source) org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) BARControl.run(BARControl.java:5051) BARControl.<init>(BARControl.java:7694) BARControl.main(BARControl.java:7753)
Note: Some INDEX work was running at the moment. BAR seemed to be busy upgrading an imported index-db from an earlier version:
2024-10-26 20:38:06> INDEX: 58.8%, estimated rest time 0h:00min:00s
BTW, the "estimated rest time" is always displayed as 0h:00min:00s. Another bug?