2016-11-29 43 views
0

當我運行我平常的流浪者時,它現在返回一個錯誤「您請求的網站未安裝」。事實上,當我嘗試訪問我通常的本地WordPress安裝時,不是加載我的半完成網站,而是提示我開始新的WordPress安裝。我如何讓Vagrant指向我現有的WordPress網站?流浪者錯誤:「您請求的網站未安裝」

我的網站上的所有以前的WordPress文件(特別是wp-content文件夾中的文件)仍然存在於本地計算機的相同目錄中。

Pastebin全部爲vagrant up輸出。

無業遊民了錯誤:

==> default: Updating WordPress Stable... 
==> default: Error: The site you have requested is not installed. 
==> default: Run `wp core install`. 

==> default: From https://github.com/creationix/nvm 
==> default: * branch   master  -> FETCH_HEAD 
==> default: error: Your local changes to the following files would be overwritten by merge: 

==> default: error: The following untracked working tree files would be overwritten by checkout: 

==> default: Installing/updating wp-cli and debugging tools 
==> default: Updating wp-cli... 
==> default: error: Cannot pull with rebase: You have unstaged changes. 

編輯:也許我應該注意我正在使用VVV。

回答

0

OK我解決我的問題,通過執行以下操作:

  • 瀏覽到我的本地安裝WordPress的URL,並通過新的WordPress安裝行走,每屏幕上的提示進行操作。
  • 這樣做後,我看到我的所有主題/插件(即wp-content文件)仍然存在於WordPress中。
  • 然後,我用我平常的數據庫遷移插件(Migrate DB)將我的在線數據庫遷移到我的本地數據庫(因爲我的在線WordPress網站與我的本地WordPress網站完全相同)。我嘗試導出我的在線數據庫,然後使用phpmyadmin將其導入到本地站點,但這導致了奇怪的登錄問題。

我還不確定發生這種情況的原因。我知道這一切都是在我忘記運行流浪漢暫停後關閉Windows後開始的。然後,我對自己的問題進行了幾個記錄不完善的故障排除步驟,這加劇了這種情況。

相關問題