Openbravo Issue Tracking System - Openbravo Deployment Options | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039638 | Openbravo Deployment Options | Openbravo Appliance 18.04 | public | 2018-11-15 16:21 | 2018-11-20 18:25 |
Reporter | shuehner | ||||
Assigned To | priyam | ||||
Priority | urgent | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | shuehner | ||||
Support ticket | |||||
OBNetwork customer | |||||
Summary | 0039638: backup system: sync-method sync-s3 fails if one of /backups/auto or /backups/manual is missing | ||||
Description | When one of the folders: /backups/auto or /backups/manual is missing and upload to S3 is configure. Then the upload fails completely. That is regression introduced in recent commit 2cff68d101e6 That situation is very common as the folders are created only when needed. | ||||
Steps To Reproduce | 2 ways: common preparation: - activate backups + synchronization to S3 http://wiki.openbravo.com/wiki/Installation/Appliance/Config#Amazon_S3_sync_plugin [^] Make sure to not run any backups (neither auto nor manual) a.) - keep automatic backups disabled run openbravo-backup # That will create manual folder but auto is still missing Notice error in running S3 upload because of missing /backups/auto - Without running manual backup ever Configure to run automatic backup # That will auto-create auto folder but manual will be still missing Notice error in /var/log/openbravo/openbravo-backup.log about missing manual folder | ||||
Proposed Solution | Check if same or similar bug happens in sync-label method changed in same commit above. Either: a.) Create both folders more eagerly to ensure their existence b.) Rewrite above commit to not manually upload /backups/auto /backup/manual But instead upload (as before) all of /backups + add --exclude option To skip uploading 'tmp' which was the goal of the commit above. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-11-15 16:21 | shuehner | New Issue | |||
2018-11-15 16:21 | shuehner | Assigned To | => staffrm | ||
2018-11-20 18:20 | shuehner | Status | new => scheduled | ||
2018-11-20 18:20 | shuehner | Assigned To | staffrm => shuehner | ||
2018-11-20 18:23 | shuehner | Note Added: 0108017 | |||
2018-11-20 18:23 | shuehner | Status | scheduled => resolved | ||
2018-11-20 18:23 | shuehner | Resolution | open => fixed | ||
2018-11-20 18:23 | shuehner | Assigned To | shuehner => priyam | ||
2018-11-20 18:25 | shuehner | Review Assigned To | => shuehner | ||
2018-11-20 18:25 | shuehner | Note Added: 0108018 | |||
2018-11-20 18:25 | shuehner | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|