在安裝過程結束時請按照本文檔http://docs.sulu.io/en/latest/book/getting-started.html我得到這個錯誤:與Laravel宅基地蘇魯CMS安裝錯誤
Target: cache
cache:clear ({"--no-optional-warmers":true,"--no-debug":true,"--no-interaction":true})
// Clearing the admin cache for the dev environment with debug true
[Symfony\Component\Filesystem\Exception\IOException]
Failed to remove directory "/home/vagrant/Code/sulu/var/cache/admin/de~/doctrine": .
sulu:build [-D|--nodeps] [--destroy] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--] <command> [<target>]
在此之前,我試圖建立與此文件權限:
HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/logs var/uploads var/uploads/* web/uploads web/uploads/* var/indexes var/sessions
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/logs var/uploads var/uploads/* web/uploads web/uploads/* var/indexes var/sessions
也有這些錯誤:
setfacl: web/uploads: Operation not supported
setfacl: web/uploads/media: Operation not supported
setfacl: web/uploads/media: Operation not supported
我的主機操作系統:Ubuntu的16.04 流浪:v.1.9.3 VirtualBox的:第5版 家園:v.5.2.1
沒有人有安裝成功蘇魯CMS與家園? 有什麼解決這些問題的選擇? 蘇魯CMS看起來很有希望,但不幸的是,我仍然無法在本地安裝它,但仍有許多嘗試。
UPDATE 丹尼爾的評論之後,我已經嘗試過其他方法來安裝蘇魯但在安裝的結尾處再次得到了錯誤: 執行建設者 ============== ====
Target: cache
cache:clear ({"--no-optional-warmers":true,"--no-debug":true,"--no-interaction":true})
// Clearing the admin cache for the dev environment with debug true
[Symfony\Component\Filesystem\Exception\IOException]
Failed to remove directory "/home/vagrant/Code/sulu/app/cache/admin/de~/annotations": .
在瀏覽器
開業test.app我看到此錯誤: 致命錯誤:未捕獲 的Symfony \元器件\調試\異常\ FatalThrowableError:調用在零點的成員函數的getLocale()/家用/流浪者/代碼/速錄/供應商/速錄/速錄/ src目錄/蘇祿/包/ WebsiteBundle /嫩枝/內容/ ContentPathTwigExtension.php在線70 Symfony \ Component \ Debug \ Exception \ FatalThrowableError:在/ home/vagrant/Code/sulu/vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Twig /中調用成員函數getLocale第70行的Content/ContentPathTwigExtension.php
試圖手動刪除緩存文件夾 - 同樣的錯誤。 所有控制檯命令都正常工作。 任何想法?
P.S.我有一個在Homestead下安裝其他基於Symfony的應用程序的良好體驗,並且基本上都很順利(Sylius,eZ等)。所以我很驚訝......
你已經找到了sitepoint文章? https://www.sitepoint.com/?p=118527&preview=1&_ppp=5c599b0d88 –
丹尼爾,謝謝你的建議。但我也有錯誤,這次他們是不同的。請參閱我上面的更新。 –