{"action":"created","issue":{"url":"https://api.github.com/repos/anvc/scalar/issues/39","repository_url":"https://api.github.com/repos/anvc/scalar","labels_url":"https://api.github.com/repos/anvc/scalar/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/anvc/scalar/issues/39/comments","events_url":"https://api.github.com/repos/anvc/scalar/issues/39/events","html_url":"https://github.com/anvc/scalar/issues/39","id":150457853,"number":39,"title":"Question about site import","user":{"login":"jekaanne","id":7306646,"avatar_url":"https://avatars.githubusercontent.com/u/7306646?v=3","gravatar_id":"","url":"https://api.github.com/users/jekaanne","html_url":"https://github.com/jekaanne","followers_url":"https://api.github.com/users/jekaanne/followers","following_url":"https://api.github.com/users/jekaanne/following{/other_user}","gists_url":"https://api.github.com/users/jekaanne/gists{/gist_id}","starred_url":"https://api.github.com/users/jekaanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekaanne/subscriptions","organizations_url":"https://api.github.com/users/jekaanne/orgs","repos_url":"https://api.github.com/users/jekaanne/repos","events_url":"https://api.github.com/users/jekaanne/events{/privacy}","received_events_url":"https://api.github.com/users/jekaanne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-22T19:58:11Z","updated_at":"2016-04-22T20:02:01Z","closed_at":null,"body":"We recently migrated our site to Reclaim Hosting because of performance issues, but now the site media links appear to be missing. According to the import/export instructions:\r\n\r\nUploaded media: Media uploaded directly to a source book will not be physically transfered to a destination book. Rather, the destination media pages will point to the URL of the media housed in the source book. This means that in the event that the source book is deleted, the media link will go dead. However, this problem can be corrected using the **\"Replace existing\" feature at Import > Local media files.** \r\n\r\nWhen I choose replace existing on the new site, I get an empty dropdown menu. Is this because the site was imported incorrectly, or is this just a limitation of the beta import/export tool? Is there a way to use local files without having to re-upload all of the ~90 images for our site and relink them? "},"comment":{"url":"https://api.github.com/repos/anvc/scalar/issues/comments/213570503","html_url":"https://github.com/anvc/scalar/issues/39#issuecomment-213570503","issue_url":"https://api.github.com/repos/anvc/scalar/issues/39","id":213570503,"user":{"login":"craigdietrich","id":393546,"avatar_url":"https://avatars.githubusercontent.com/u/393546?v=3","gravatar_id":"","url":"https://api.github.com/users/craigdietrich","html_url":"https://github.com/craigdietrich","followers_url":"https://api.github.com/users/craigdietrich/followers","following_url":"https://api.github.com/users/craigdietrich/following{/other_user}","gists_url":"https://api.github.com/users/craigdietrich/gists{/gist_id}","starred_url":"https://api.github.com/users/craigdietrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigdietrich/subscriptions","organizations_url":"https://api.github.com/users/craigdietrich/orgs","repos_url":"https://api.github.com/users/craigdietrich/repos","events_url":"https://api.github.com/users/craigdietrich/events{/privacy}","received_events_url":"https://api.github.com/users/craigdietrich/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T20:02:01Z","updated_at":"2016-04-22T20:02:01Z","body":"Hi @jekaanne,\r\n\r\nThanks for your question!   I'm not sure why the 'replace existing' pulldown wouldn't have values.  You're able to see the media pages in Dashboard > Media tab?  (Scalar is supposed to propagate the Replace Existing pulldown based on that list.)\r\n\r\nNevertheless, the easier way would be to FTP the files (90+) to your Reclaim setup ... there should be a folder for your Scalar book inside the Scalar root folder?  Then inside that, there should be a 'media' folder.\r\n\r\nThen, once uploaded via FTP, a simple MySQL query in phpMyAdmin can rewrite the URLs the presently point to the old server with URLs to your new domain.   \r\n\r\nI can walk you through this, send a message to http://scalar.usc.edu/contact/ attention: Craig.  I'd be happy to assist."}}