{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/4755","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/4755/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/4755/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/4755/events","html_url":"https://github.com/magento/magento2/issues/4755","id":157341607,"number":4755,"title":"Payment settings disappears on deploy routine [braintree, paypal]","user":{"login":"peec","id":131546,"avatar_url":"https://avatars.githubusercontent.com/u/131546?v=3","gravatar_id":"","url":"https://api.github.com/users/peec","html_url":"https://github.com/peec","followers_url":"https://api.github.com/users/peec/followers","following_url":"https://api.github.com/users/peec/following{/other_user}","gists_url":"https://api.github.com/users/peec/gists{/gist_id}","starred_url":"https://api.github.com/users/peec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peec/subscriptions","organizations_url":"https://api.github.com/users/peec/orgs","repos_url":"https://api.github.com/users/peec/repos","events_url":"https://api.github.com/users/peec/events{/privacy}","received_events_url":"https://api.github.com/users/peec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/CS","name":"CS","color":"fad8c7"},{"url":"https://api.github.com/repos/magento/magento2/labels/Payments","name":"Payments","color":"1d76db"}],"state":"open","locked":false,"assignee":{"login":"alena-marchenko","id":9049705,"avatar_url":"https://avatars.githubusercontent.com/u/9049705?v=3","gravatar_id":"","url":"https://api.github.com/users/alena-marchenko","html_url":"https://github.com/alena-marchenko","followers_url":"https://api.github.com/users/alena-marchenko/followers","following_url":"https://api.github.com/users/alena-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/alena-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/alena-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena-marchenko/subscriptions","organizations_url":"https://api.github.com/users/alena-marchenko/orgs","repos_url":"https://api.github.com/users/alena-marchenko/repos","events_url":"https://api.github.com/users/alena-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/alena-marchenko/received_events","type":"User","site_admin":false},"assignees":[{"login":"alena-marchenko","id":9049705,"avatar_url":"https://avatars.githubusercontent.com/u/9049705?v=3","gravatar_id":"","url":"https://api.github.com/users/alena-marchenko","html_url":"https://github.com/alena-marchenko","followers_url":"https://api.github.com/users/alena-marchenko/followers","following_url":"https://api.github.com/users/alena-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/alena-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/alena-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena-marchenko/subscriptions","organizations_url":"https://api.github.com/users/alena-marchenko/orgs","repos_url":"https://api.github.com/users/alena-marchenko/repos","events_url":"https://api.github.com/users/alena-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/alena-marchenko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2016-05-28T14:38:07Z","updated_at":"2016-07-26T22:16:27Z","closed_at":null,"body":"**Magento version:** 2.0.7\r\n**PHP version:** 7.0.3\r\n\r\n\r\nEvery time i deploy payment configuration from sales tabs is flushed. \r\n**And customers can NOT use payment methods.**\r\n\r\n![payment-methods](https://cloud.githubusercontent.com/assets/131546/15627897/351b4ff6-24f3-11e6-9339-a2ad5d0822ff.png)\r\n\r\n\r\nThe deployment routine is basically this:\r\n\r\n1. Run setup:install so all instances ( i have multiple support ) get the same db details etc. Is this the problem ? .. Should be possible to run setup:install multiple times according to docs .\r\n1. Reindex, clear cache, setup upgrade etc.\r\n\r\n\r\nHere is the exact script i run on every deploy to keep my install consistent. \r\n\r\n```\r\necho \"Running magento setup:install\"\r\n/src/bin/magento setup:install \\\r\n      --db-host=\"${RDS_HOSTNAME}\" \\\r\n      --db-name=\"${RDS_DB_NAME}\" \\\r\n      --db-user=\"${RDS_USERNAME}\" \\\r\n      --db-password=\"${RDS_PASSWORD}\" \\\r\n      --backend-frontname=\"${MAGENTO_BACKEND_FRONTNAME}\" \\\r\n      --language=\"${MAGENTO_LANGUAGE}\" \\\r\n      --timezone=\"${MAGENTO_TIMEZONE}\" \\\r\n      --currency=\"${MAGENTO_CURRENCY}\" \\\r\n      --admin-lastname=\"${MAGENTO_ADMIN_LASTNAME}\"\\\r\n      --admin-firstname=\"${MAGENTO_ADMIN_FIRSTNAME}\" \\\r\n      --admin-email=\"${MAGENTO_ADMIN_EMAIL}\" \\\r\n      --admin-user=\"${MAGENTO_ADMIN_USERNAME}\" \\\r\n      --admin-password=\"${MAGENTO_ADMIN_PASSWORD}\" \\\r\n      --use-rewrites=\"${MAGENTO_USE_REWRITES}\"\r\n\r\n\r\n\r\necho \"Setting asset minification defaults\"\r\nmysql -u \"${RDS_USERNAME}\" -p\"${RDS_PASSWORD}\" -h \"${RDS_HOSTNAME}\" -P \"${RDS_PORT}\" \"${RDS_DB_NAME}\" -e \"REPLACE INTO core_config_data (value, path) VALUES \\\r\n                    ('${WEBSITE_SECURE_URL}', 'web/secure/base_url'), ('${WEBSITE_UNSECURE_URL}', 'web/unsecure/base_url'), \\\r\n                    ('', 'web/secure/base_static_url'), ('', 'web/unsecure/base_static_url'), \\\r\n                    ('0',  'dev/js/merge_files'), ('0', 'dev/js/minify_files'), ('0', 'dev/js/enable_js_bundling'), \\\r\n                    ('1',  'dev/css/merge_files'), ('0', 'dev/css/minify_files'), \\\r\n                    ('0', 'dev/template/minify_html');\"\r\n\r\n\r\necho \"Running full reindex\"\r\n/src/bin/magento indexer:reindex\r\n\r\necho \"Clearing cache\"\r\n/src/bin/magento cache:clean\r\n/src/bin/magento cache:flush\r\n\r\necho \"Setup upgrade\"\r\n/src/bin/magento setup:upgrade\r\n\r\necho \"DI Compliation\"\r\n/src/bin/magento setup:di:compile \r\n\r\necho \"Deploying static files\"\r\nchown -R www-data:www-data /src\r\nchmod -R 0777 /src\r\n/src/bin/magento setup:static-content:deploy \"${MAGENTO_LANGUAGE} en_US\"\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/235423137","html_url":"https://github.com/magento/magento2/issues/4755#issuecomment-235423137","issue_url":"https://api.github.com/repos/magento/magento2/issues/4755","id":235423137,"user":{"login":"m0zziter","id":1295715,"avatar_url":"https://avatars.githubusercontent.com/u/1295715?v=3","gravatar_id":"","url":"https://api.github.com/users/m0zziter","html_url":"https://github.com/m0zziter","followers_url":"https://api.github.com/users/m0zziter/followers","following_url":"https://api.github.com/users/m0zziter/following{/other_user}","gists_url":"https://api.github.com/users/m0zziter/gists{/gist_id}","starred_url":"https://api.github.com/users/m0zziter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0zziter/subscriptions","organizations_url":"https://api.github.com/users/m0zziter/orgs","repos_url":"https://api.github.com/users/m0zziter/repos","events_url":"https://api.github.com/users/m0zziter/events{/privacy}","received_events_url":"https://api.github.com/users/m0zziter/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T22:16:27Z","updated_at":"2016-07-26T22:16:27Z","body":"@joni-jones I was playing around with 2.1 today (we're still using 2.0.7 in production) and experienced the same issue. Were you able to replicate? Do you need additional information?\r\n\r\nHonestly this issue is a huge drag and is preventing us from using multiple webnodes so we'd like to get it resolved. Let me know if there's anything I can do to help that process along I'd be happy to oblige."}}
{"actor":{"display_login":"m0zziter"}}