{"action":"created","issue":{"url":"https://api.github.com/repos/Hifone/Hifone/issues/154","repository_url":"https://api.github.com/repos/Hifone/Hifone","labels_url":"https://api.github.com/repos/Hifone/Hifone/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/Hifone/Hifone/issues/154/comments","events_url":"https://api.github.com/repos/Hifone/Hifone/issues/154/events","html_url":"https://github.com/Hifone/Hifone/issues/154","id":168471683,"number":154,"title":"Install error","user":{"login":"zqhong","id":8402647,"avatar_url":"https://avatars.githubusercontent.com/u/8402647?v=3","gravatar_id":"","url":"https://api.github.com/users/zqhong","html_url":"https://github.com/zqhong","followers_url":"https://api.github.com/users/zqhong/followers","following_url":"https://api.github.com/users/zqhong/following{/other_user}","gists_url":"https://api.github.com/users/zqhong/gists{/gist_id}","starred_url":"https://api.github.com/users/zqhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zqhong/subscriptions","organizations_url":"https://api.github.com/users/zqhong/orgs","repos_url":"https://api.github.com/users/zqhong/repos","events_url":"https://api.github.com/users/zqhong/events{/privacy}","received_events_url":"https://api.github.com/users/zqhong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-30T15:08:18Z","updated_at":"2016-08-05T20:45:15Z","closed_at":"2016-08-05T17:04:21Z","body":"# My Environment\r\nUbuntu 14.04.4 LTS \r\nnginx/1.9.11\r\nPHP 7.0.3-13+deb.sury.org~trusty+1\r\n\r\n.env file setting\r\nAPP_ENV=production\r\nAPP_DEBUG=false\r\nAPP_URL=http://hifone.app\r\nAPP_KEY=SOME_RANDOM_STRING\r\nAPP_TIMEZONE=Asia/Shanghai\r\n\r\n\r\n# The error I meet\r\nI try to install Hifone, but have two error:\r\n\r\n\r\n## One of error is:\r\n```\r\n[2016-07-30 22:53:19] production.ERROR: ErrorException: file_put_contents(/home/vagrant/Code/Hifone/storage/app/stringblade/d41d8cd98f00b204e9800998ecf8427e): failed to open stream: No such file or directory in /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php:7364\r\nStack trace:\r\n#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', '/home/vagrant/C...', 7364, Array)\r\n#1 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(7364): file_put_contents('/home/vagrant/C...', '', 0)\r\n#2 /home/vagrant/Code/Hifone/vendor/hifone/stringblade/src/Hifone/StringBlade/StringBladeCompiler.php(48): Illuminate\\Filesystem\\Filesystem->put('/home/vagrant/C...', '')\r\n#3 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(15326): Hifone\\StringBlade\\StringBladeCompiler->compile(NULL)\r\n#4 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(15161): Illuminate\\View\\Engines\\CompilerEngine->get(NULL, Array)\r\n#5 /home/vagrant/Code/Hifone/vendor/hifone/stringblade/src/Hifone/StringBlade/StringBlade.php(87): Illuminate\\View\\View->getContents()\r\n#6 /home/vagrant/Code/Hifone/vendor/hifone/stringblade/src/Hifone/StringBlade/StringBlade.php(63): Hifone\\StringBlade\\StringBlade->renderContents()\r\n#7 /home/vagrant/Code/Hifone/app/Composers/AppComposer.php(42): Hifone\\StringBlade\\StringBlade->render()\r\n#8 [internal function]: Hifone\\Composers\\AppComposer->compose(Object(Illuminate\\View\\View))\r\n#9 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(14680): call_user_func_array(Array, Array)\r\n#10 [internal function]: Illuminate\\View\\Factory->Illuminate\\View\\{closure}(Object(Illuminate\\View\\View))\r\n#11 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(10136): call_user_func_array(Object(Closure), Array)\r\n#12 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(14693): Illuminate\\Events\\Dispatcher->fire('composing: inst...', Array)\r\n#13 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(15148): Illuminate\\View\\Factory->callComposer(Object(Illuminate\\View\\View))\r\n#14 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(15133): Illuminate\\View\\View->renderContents()\r\n#15 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(16375): Illuminate\\View\\View->render()\r\n#16 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(15876): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View))\r\n#17 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(8374): Symfony\\Component\\HttpFoundation\\Response->__construct(Object(Illuminate\\View\\View))\r\n#18 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9467): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View))\r\n#19 [internal function]: Illuminate\\Routing\\ControllerDispatcher->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#20 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#21 [internal function]: Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#22 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9950): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#23 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9468): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\r\n#24 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9455): Illuminate\\Routing\\ControllerDispatcher->callWithinStack(Object(Hifone\\Http\\Controllers\\InstallController), Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request), 'index')\r\n#25 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(8525): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request), 'Hifone\\\\Http\\\\Con...', 'index')\r\n#26 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(8512): Illuminate\\Routing\\Route->runController(Object(Illuminate\\Http\\Request))\r\n#27 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(8226): Illuminate\\Routing\\Route->run(Object(Illuminate\\Http\\Request))\r\n#28 [internal function]: Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#29 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#30 /home/vagrant/Code/Hifone/app/Http/Middleware/RedirectIfInstallCompleted.php(35): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#31 [internal function]: Hifone\\Http\\Middleware\\RedirectIfInstallCompleted->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#32 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#33 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#34 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#35 /home/vagrant/Code/Hifone/app/Http/Middleware/Pjax.php(32): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#36 [internal function]: Hifone\\Http\\Middleware\\Pjax->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#37 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#38 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#39 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#40 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(3225): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#41 [internal function]: Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#42 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#43 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#44 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#45 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(13463): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#46 [internal function]: Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#47 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#48 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#49 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#50 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(11956): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#51 [internal function]: Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#52 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#53 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#54 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#55 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(13202): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#56 [internal function]: Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#57 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#58 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#59 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#60 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(13139): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#61 [internal function]: Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#62 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#63 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#64 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#65 [internal function]: Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#66 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9950): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#67 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(8227): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\r\n#68 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(8218): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))\r\n#69 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(8208): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))\r\n#70 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(2419): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))\r\n#71 [internal function]: Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))\r\n#72 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#73 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(3286): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#74 [internal function]: Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#75 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9965): call_user_func_array(Array, Array)\r\n#76 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#77 /home/vagrant/Code/Hifone/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#78 [internal function]: Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#79 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(9950): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#80 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(2366): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\r\n#81 /home/vagrant/Code/Hifone/bootstrap/cache/compiled.php(2350): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))\r\n#82 /home/vagrant/Code/Hifone/public/index.php(61): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\r\n#83 {main} {\"identification\":{\"id\":\"3ba04bd1-9d4a-4f73-8fc7-e3e6c6663162\"}} \r\n\r\n```\r\n\r\nIn my case, I make a directory named `/home/vagrant/Code/Hifone/storage/app/stringblade` to fix it.\r\n\r\n\r\n## Another error is:\r\n```\r\n$ git clone https://github.com/Hifone/Hifone\r\n$ cd Hifone\r\n$ cp .env.example .env\r\n# Write database settings\r\n# But I forget to set APP_KEY. The config file will cache at Hifone/bootstrap/cache/config.php.(change .env file is not effect)\r\n$ vi .env    \r\n$ composer install --no-dev -o\r\n$ php artisan hifone:install\r\n\r\n$ chmod -R 777 storage\r\n$ chmod -R 777 bootstrap/cache\r\n$ chmod -R 777 public/uploads\r\n```"},"comment":{"url":"https://api.github.com/repos/Hifone/Hifone/issues/comments/237960869","html_url":"https://github.com/Hifone/Hifone/issues/154#issuecomment-237960869","issue_url":"https://api.github.com/repos/Hifone/Hifone/issues/154","id":237960869,"user":{"login":"rygos","id":1985803,"avatar_url":"https://avatars.githubusercontent.com/u/1985803?v=3","gravatar_id":"","url":"https://api.github.com/users/rygos","html_url":"https://github.com/rygos","followers_url":"https://api.github.com/users/rygos/followers","following_url":"https://api.github.com/users/rygos/following{/other_user}","gists_url":"https://api.github.com/users/rygos/gists{/gist_id}","starred_url":"https://api.github.com/users/rygos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rygos/subscriptions","organizations_url":"https://api.github.com/users/rygos/orgs","repos_url":"https://api.github.com/users/rygos/repos","events_url":"https://api.github.com/users/rygos/events{/privacy}","received_events_url":"https://api.github.com/users/rygos/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T20:45:15Z","updated_at":"2016-08-05T20:45:15Z","body":"Okay, i will add the vendor:publish command to the documentation =)"}}
{"actor":{"display_login":"rygos"}}