{"action":"created","issue":{"url":"https://api.github.com/repos/rtCamp/easyengine/issues/575","labels_url":"https://api.github.com/repos/rtCamp/easyengine/issues/575/labels{/name}","comments_url":"https://api.github.com/repos/rtCamp/easyengine/issues/575/comments","events_url":"https://api.github.com/repos/rtCamp/easyengine/issues/575/events","html_url":"https://github.com/rtCamp/easyengine/issues/575","id":92902873,"number":575,"title":"Database appears deleted","user":{"login":"allgameplaya","id":231682,"avatar_url":"https://avatars.githubusercontent.com/u/231682?v=3","gravatar_id":"","url":"https://api.github.com/users/allgameplaya","html_url":"https://github.com/allgameplaya","followers_url":"https://api.github.com/users/allgameplaya/followers","following_url":"https://api.github.com/users/allgameplaya/following{/other_user}","gists_url":"https://api.github.com/users/allgameplaya/gists{/gist_id}","starred_url":"https://api.github.com/users/allgameplaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allgameplaya/subscriptions","organizations_url":"https://api.github.com/users/allgameplaya/orgs","repos_url":"https://api.github.com/users/allgameplaya/repos","events_url":"https://api.github.com/users/allgameplaya/events{/privacy}","received_events_url":"https://api.github.com/users/allgameplaya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-03T16:09:33Z","updated_at":"2015-07-03T16:50:19Z","closed_at":null,"body":"I have a working site with EasyEngine. However, when I try to update the cache to W3TC and run:\r\n\r\n`eesite  update xxxa.com --w3tc `\r\n\r\n    Running pre-update checks, please wait...\r\n    Backup location : /var/www/xxxa.com/backup/03Jul2015120644\r\n    Backing up database             [Fail]\r\n    Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!\r\n\r\nThis is what the log says:\r\n`Command Error: mysqldump: Got error: 1049: \"Unknown database 'deleted'\" when selecting the database`\r\n\r\nIt turns out that the database appears as deleted when it's actually not. When i run ee site info, this is what I see:\r\n\r\n`ee site info xxxa.com`\r\n\r\n    Nginx configuration      wp wpsc (enabled)\r\n    Pagespeed                disabled\r\n    HHVM                     disabled\r\n    access_log               /var/www/xxxa.com/logs/access.log\r\n    error_log                /var/www/xxxa.com/logs/error.log\r\n    Webroot                  /var/www/xxxa.com\r\n    DB_NAME                  deleted\r\n    DB_USER                  deleted\r\n    DB_PASS                  deleted\r\n\r\nHow can I update the database information? It's certainly not deleted.\r\n\r\nThank you in advance for your help!"},"comment":{"url":"https://api.github.com/repos/rtCamp/easyengine/issues/comments/118391601","html_url":"https://github.com/rtCamp/easyengine/issues/575#issuecomment-118391601","issue_url":"https://api.github.com/repos/rtCamp/easyengine/issues/575","id":118391601,"user":{"login":"allgameplaya","id":231682,"avatar_url":"https://avatars.githubusercontent.com/u/231682?v=3","gravatar_id":"","url":"https://api.github.com/users/allgameplaya","html_url":"https://github.com/allgameplaya","followers_url":"https://api.github.com/users/allgameplaya/followers","following_url":"https://api.github.com/users/allgameplaya/following{/other_user}","gists_url":"https://api.github.com/users/allgameplaya/gists{/gist_id}","starred_url":"https://api.github.com/users/allgameplaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allgameplaya/subscriptions","organizations_url":"https://api.github.com/users/allgameplaya/orgs","repos_url":"https://api.github.com/users/allgameplaya/repos","events_url":"https://api.github.com/users/allgameplaya/events{/privacy}","received_events_url":"https://api.github.com/users/allgameplaya/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T16:50:19Z","updated_at":"2015-07-03T16:50:19Z","body":"SOLVED!!\r\n\r\nIt seems like easyengine deletes the database and there is no way to recreate without manually editing the database found at:\r\n\r\n`/var/lib/ee/ee.db`\r\n\r\n(You will need a program such as SQLBrowser). After updating the file with database details, I was able to upgrade without a problem."}}