ftbastler / BoNeMEAL

The web app for the Ban-Management Bukkit plugin by confuser. Work in progress // Currently maintained by @oranges13
https://ftbastler.github.com/BoNeMEAL
Other
12 stars 8 forks source link

Install wont finish #77

Closed ghost closed 8 years ago

ghost commented 8 years ago

I've tried making everything in the Controllers folder have 777 but it still doesnt work

`[2016-03-08 06:34:11] production.ERROR: exception 'ErrorException' with message 'file_put_contents(/var/www/html/BoNeMEAL/application/installed.lock): failed to open stream: Permission denied' in /var/www/html/BoNeMEAL/application/app/Http/Controllers/InstallController.php:101 Stack trace:

0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'file_put_conten...', '/var/www/html/B...', 101, Array)

1 /var/www/html/BoNeMEAL/application/app/Http/Controllers/InstallController.php(101): file_put_contents('/var/www/html/B...', 1457436851)

2 [internal function]: App\Http\Controllers\InstallController->finish()

3 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(246): call_user_func_array(Array, Array)

4 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(162): Illuminate\Routing\Controller->callAction('finish', Array)

5 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(107): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\InstallController), Object(Illuminate\Routing\Route), 'finish')

6 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

7 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\Http\Request))

8 /var/www/html/BoNeMEAL/application/app/Http/Middleware/VerifyNotInstalled.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

9 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): App\Http\Middleware\VerifyNotInstalled->handle(Object(Illuminate\Http\Request), Object(Closure))

10 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

11 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request))

12 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(108): Illuminate\Pipeline\Pipeline->then(Object(Closure))

13 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(67): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\InstallController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'finish')

14 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/Route.php(204): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\Http\Contro...', 'finish')

15 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/Route.php(134): Illuminate\Routing\Route->runWithCustomDispatcher(Object(Illuminate\Http\Request))

16 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/Router.php(701): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))

17 [internal function]: Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))

18 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\Http\Request))

19 /var/www/html/BoNeMEAL/application/app/Http/Middleware/VerifyNotInstalled.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

20 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): App\Http\Middleware\VerifyNotInstalled->handle(Object(Illuminate\Http\Request), Object(Closure))

21 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

22 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request))

23 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\Pipeline\Pipeline->then(Object(Closure))

24 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/Router.php(670): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))

25 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))

26 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(214): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))

27 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request))

28 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\Http\Request))

29 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(43): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

30 /var/www/html/BoNeMEAL/application/app/Http/Middleware/VerifyCsrfToken.php(17): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))

31 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): App\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))

32 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(55): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

33 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))

34 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(61): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

35 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))

36 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

37 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))

38 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(40): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

39 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))

40 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(42): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

41 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))

42 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))

43 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\Http\Request))

44 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\Pipeline\Pipeline->then(Object(Closure))

45 /var/www/html/BoNeMEAL/application/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(84): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))

46 /var/www/html/BoNeMEAL/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))

47 {main}

`

ftbastler commented 8 years ago

BoNeMEAL has insufficient file permissions on your system.

ghost commented 8 years ago

How would I go about fixing this, every file and folder in BoNeMEAL have the correct permissions

ftbastler commented 8 years ago

/var/www/html/BoNeMEAL/application/installed.lock could not be created, so BoNeMEAL lacks writing permissions in this directory.

ghost commented 8 years ago

Thanks