View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004390 | SOGo | sogo-tool | public | 2018-02-07 16:21 | 2018-04-27 16:36 |
| Reporter | ASolana | Assigned To | francis | ||
| Priority | immediate | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| OS | Ubuntu | OS Version | 16.04 | ||
| Product Version | 3.2.10 | ||||
| Summary | 0004390: Sogo-tool deletes sogo_acl table when it restores folders from a user backup | ||||
| Description | I have a Sogo 3.2.10 running on Ubuntu 16.04 server using a MYSQL sogo database sogo-tool deletes sogo_acl table when it's restoring folders from a user backup file generated with sogo-tool. Executed command: "sogo-tool -f ALL folder user" I followed steps explained in page https://sogo.nu/support/faq/how-can-i-backuprestore-my-user-data.html | ||||
| Steps To Reproduce |
then restart sogo service: service sogo restart
sogo-tool -f ALL folder user
At this point all sogo_acl table contents are deleted. user.folder.restore.log file contents shows how sogo-tool executes an "UPDATE" and a "DELETE FROM sogo_acl;" commands for every object folder in "user" backup file. "DELETE FROM sogo_acl" command it has no sense, it deletes everything.
You can see 2.sogo.sogo_acl.sql file is empty. | ||||
| Additional Information | Execute this command: cat sogo-tool.user.folder.restore.log | egrep "UPDATE|DELETE" in order to see how "DELETE FROM sogo_acl;" is executed for each of 6 folders in the "usuari.elena2" backup file: $ cat sogo-tool.user.folder.restore.log | egrep "UPDATE|DELETE" | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-02-07 16:21 | ASolana | New Issue | |
| 2018-02-07 16:21 | ASolana | File Added: sogo-tool.user.folder.restore.log | |
| 2018-02-07 16:25 | francis | Relationship added | duplicate of 0004385 |
| 2018-02-07 16:25 | francis | Note Added: 0012581 | |
| 2018-03-15 18:37 | ludovic | Status | new => closed |
| 2018-03-15 18:37 | ludovic | Assigned To | => ludovic |
| 2018-03-15 18:37 | ludovic | Resolution | open => duplicate |
| 2018-04-27 16:36 | francis | Changeset attached | => sogo master f3189204 |
| 2018-04-27 16:36 | francis | Assigned To | ludovic => francis |
| 2018-04-27 16:36 | francis | Resolution | duplicate => fixed |