{"action":"opened","issue":{"url":"https://api.github.com/repos/ChurchCRM/CRM/issues/4555","repository_url":"https://api.github.com/repos/ChurchCRM/CRM","labels_url":"https://api.github.com/repos/ChurchCRM/CRM/issues/4555/labels{/name}","comments_url":"https://api.github.com/repos/ChurchCRM/CRM/issues/4555/comments","events_url":"https://api.github.com/repos/ChurchCRM/CRM/issues/4555/events","html_url":"https://github.com/ChurchCRM/CRM/issues/4555","id":385966630,"node_id":"MDU6SXNzdWUzODU5NjY2MzA=","number":4555,"title":"Backup Encryption Failure","user":{"login":"ChurchCRMBugReport","id":18520934,"node_id":"MDQ6VXNlcjE4NTIwOTM0","avatar_url":"https://avatars1.githubusercontent.com/u/18520934?v=4","gravatar_id":"","url":"https://api.github.com/users/ChurchCRMBugReport","html_url":"https://github.com/ChurchCRMBugReport","followers_url":"https://api.github.com/users/ChurchCRMBugReport/followers","following_url":"https://api.github.com/users/ChurchCRMBugReport/following{/other_user}","gists_url":"https://api.github.com/users/ChurchCRMBugReport/gists{/gist_id}","starred_url":"https://api.github.com/users/ChurchCRMBugReport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChurchCRMBugReport/subscriptions","organizations_url":"https://api.github.com/users/ChurchCRMBugReport/orgs","repos_url":"https://api.github.com/users/ChurchCRMBugReport/repos","events_url":"https://api.github.com/users/ChurchCRMBugReport/events{/privacy}","received_events_url":"https://api.github.com/users/ChurchCRMBugReport/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-29T23:08:22Z","updated_at":"2018-11-29T23:08:22Z","closed_at":null,"author_association":"COLLABORATOR","body":"When generating a manual backup using the `BackupDatabase.php` page, with an optional password results in the following two behaviours:\n\n1. \"Generate and Ship Backup to External\" - backup is generated and sent to external storage, but is not protected in any way. The resulting file is a plain gzipped tar archive.\n2. \"Generate and Download Backup\" - throws an error as per below:\n\nERROR\nError making API Call to: /CRM/api/database/backup\n\nError text: An invalid configuration name has been requested: sPGPname\n\nStack Trace:\n```\n[\n  \"#0 /path/to/public_html/CRM/ChurchCRM/Service/SystemService.php(177): ChurchCRM\\\\dto\\\\SystemConfig::getValue('sPGPname')\",\n  \"#1 /path/to/public_html/CRM/api/routes/system/system-database.php(29): ChurchCRM\\\\Service\\\\SystemService->getDatabaseBackup(Object(stdClass))\",\n  \"#2 [internal function]: Closure->{closure}(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Array)\",\n  \"#3 /path/to/public_html/CRM/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Array)\",\n  \"#4 /path/to/public_html/CRM/vendor/slim/slim/Slim/Route.php(335): Slim\\\\Handlers\\\\Strategies\\\\RequestResponse->__invoke(Object(Closure), Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Array)\",\n  \"#5 /path/to/public_html/CRM/ChurchCRM/Slim/Middleware/Request/Auth/BaseAuthRoleMiddleware.php(27): Slim\\\\Route->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#6 [internal function]: ChurchCRM\\\\Slim\\\\Middleware\\\\Request\\\\Auth\\\\BaseAuthRoleMiddleware->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Slim\\\\Route))\",\n  \"#7 /path/to/public_html/CRM/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\\\\Slim\\\\Middleware\\\\Request\\\\Auth\\\\AdminRoleAuthMiddleware), Array)\",\n  \"#8 [internal function]: Slim\\\\DeferredCallable->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Slim\\\\Route))\",\n  \"#9 /path/to/public_html/CRM/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\\\DeferredCallable), Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Slim\\\\Route))\",\n  \"#10 /path/to/public_html/CRM/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\\\Route->Slim\\\\{closure}(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#11 /path/to/public_html/CRM/vendor/slim/slim/Slim/Route.php(313): Slim\\\\Route->callMiddlewareStack(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#12 /path/to/public_html/CRM/vendor/slim/slim/Slim/App.php(495): Slim\\\\Route->run(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#13 /path/to/public_html/CRM/ChurchCRM/Slim/Middleware/VersionMiddleware.php(13): Slim\\\\App->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#14 [internal function]: ChurchCRM\\\\Slim\\\\Middleware\\\\VersionMiddleware->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Slim\\\\App))\",\n  \"#15 /path/to/public_html/CRM/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\\\\Slim\\\\Middleware\\\\VersionMiddleware), Array)\",\n  \"#16 [internal function]: Slim\\\\DeferredCallable->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Slim\\\\App))\",\n  \"#17 /path/to/public_html/CRM/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\\\DeferredCallable), Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Slim\\\\App))\",\n  \"#18 /path/to/public_html/CRM/ChurchCRM/Slim/Middleware/AuthMiddleware.php(42): Slim\\\\App->Slim\\\\{closure}(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#19 [internal function]: ChurchCRM\\\\Slim\\\\Middleware\\\\AuthMiddleware->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Closure))\",\n  \"#20 /path/to/public_html/CRM/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(ChurchCRM\\\\Slim\\\\Middleware\\\\AuthMiddleware), Array)\",\n  \"#21 [internal function]: Slim\\\\DeferredCallable->__invoke(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Closure))\",\n  \"#22 /path/to/public_html/CRM/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\\\DeferredCallable), Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response), Object(Closure))\",\n  \"#23 /path/to/public_html/CRM/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\\\App->Slim\\\\{closure}(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#24 /path/to/public_html/CRM/vendor/slim/slim/Slim/App.php(388): Slim\\\\App->callMiddlewareStack(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#25 /path/to/public_html/CRM/vendor/slim/slim/Slim/App.php(296): Slim\\\\App->process(Object(Slim\\\\Http\\\\Request), Object(Slim\\\\Http\\\\Response))\",\n  \"#26 /path/to/public_html/CRM/api/index.php(75): Slim\\\\App->run()\",\n  \"#27 {main}\"\n]\n```\r\n\r\n\r\nCollected Value Title |  Data \r\n----------------------|----------------\r\nPage Name |/CRM/BackupDatabase.php\r\nScreen Size |1440x2560\r\nWindow Size |1260x1808\r\nPage Size |1260x1808\r\nPlatform Information | Linux box1329.bluehost.com 3.10.0-693.11.6.1.ELK.el6.x86_64 #1 SMP Tue Jan 23 10:30:30 MST 2018 x86_64\r\nPHP Version | 7.0.31\r\nSQL Version | 5.6.41-84.1\r\nChurchCRM Version |3.0.13\r\nReporting Browser |Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15\r\nPrerequisite Status |Missing Prerequisites: [\"Mod Rewrite\"]\r\nIntegrity check status |{\"status\":\"success\"}\r\n"}}
{"actor":{"display_login":"ChurchCRMBugReport"}}