[Bug 297163] New: Missing check for active server before restoring from backup
Alan Christenson
synergistic.folksonomy at gmail.com
Sat Mar 31 06:43:15 BST 2012
https://bugs.kde.org/show_bug.cgi?id=297163
Bug ID: 297163
Severity: normal
Version: 4.8
Priority: NOR
Assignee: kdepim-bugs at kde.org
Summary: Missing check for active server before restoring from
backup
Classification: Unclassified
OS: Linux
Reporter: synergistic.folksonomy at gmail.com
Hardware: Archlinux Packages
Status: UNCONFIRMED
Component: general
Product: Akonadi
If the Akonadi server is not running when the AkonadiTray restoration tool
attempts to restore from a backup, it will fail with the wholly uninformative
error of "The restore process ended unexpectedly. Please report a bug, so we
can find out what the cause is."
Terminal output:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/home/user/.local/share/akonadi/socket-host/mysql.socket' (2)
akonaditray(14806) Restore::restore: Executed: "/usr/bin/mysql"
("--socket=/home/user/.local/share/akonadi/socket-host/mysql.socket",
"--database=akonadi", "</tmp/kde-user/akonadiVZMB7p/db/database.sql") Result:
1
What should happen:
AkonadiTray should check if the server is running, if not, it should
automatically start it in the background, and not run the actual restoration
process until the server is started.
Additionally, (yes, this is out of scope) the vague error messages should be
replaced with something which allows a user to easily see & copy the output,
which should make for better bug reports. (no terminal digging, hooray!)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list