[GH-ISSUE #174] Koel does not work on ARM-based computer(RPi) #123

Closed
opened 2026-02-26 02:32:12 +03:00 by kerem · 2 comments
Owner

Originally created by @uszasty on GitHub (Jan 3, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/174

I tried getting koel on my RPi, it get through npm and composer without problems, got it configured and it runs, but when I'm connecting, after logging in, Im getting this:


Whoops, looks like something went wrong.
2/2 ErrorException in Application.php line 46: file_get_contents(/home/koel/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /home/koel/koel/resources/views/index.blade.php)

    in Application.php line 46
    at CompilerEngine->handleViewException(object(ErrorException), '1') in compiled.php line 14626
    at PhpEngine->evaluatePath('/home/koel/koel/storage/framework/views/b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14661
    at CompilerEngine->get('/home/koel/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14493
    at View->getContents() in compiled.php line 14481
    at View->renderContents() in compiled.php line 14472
    at View->render() in compiled.php line 15637
    at Response->setContent(object(View)) in compiled.php line 15137
    at Response->__construct(object(View)) in compiled.php line 7989
    at Router->prepareResponse(object(Request), object(View)) in compiled.php line 7855
    at Router->Illuminate\Routing\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9536
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Authenticate.php line 45
    at Authenticate->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in Pipeline.php line 30
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9518
    at Pipeline->then(object(Closure)) in compiled.php line 7856
    at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7847
    at Router->dispatchToRoute(object(Request)) in compiled.php line 7837
    at Router->dispatch(object(Request)) in compiled.php line 2349
    at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9536
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3025
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12943
    at ShareErrorsFromSession->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11530
    at StartSession->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12682
    at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12619
    at EncryptCookies->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3086
    at CheckForMaintenanceMode->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9518
    at Pipeline->then(object(Closure)) in compiled.php line 2296
    at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2280
    at Kernel->handle(object(Request)) in index.php line 53
    at require_once('/home/koel/koel/index.php') in server.php line 19

1/2 ErrorException in Application.php line 46: file_get_contents(/home/koel/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory

    in Application.php line 46
    at HandleExceptions->handleError('2', 'file_get_contents(/home/koel/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory', '/home/koel/koel/app/Application.php', '46', array('file' => 'css/vendors.css', 'manifest' => null))
    at file_get_contents('/home/koel/koel/public/build/rev-manifest.json') in Application.php line 46
    at Application->rev('css/vendors.css') in compiled.php line 6050
    at Facade::__callStatic('rev', array('css/vendors.css')) in b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php line 14
    at App::rev('css/vendors.css') in b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php line 14
    at include('/home/koel/koel/storage/framework/views/b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php') in compiled.php line 14624
    at PhpEngine->evaluatePath('/home/koel/koel/storage/framework/views/b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14661
    at CompilerEngine->get('/home/koel/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14493
    at View->getContents() in compiled.php line 14481
    at View->renderContents() in compiled.php line 14472
    at View->render() in compiled.php line 15637
    at Response->setContent(object(View)) in compiled.php line 15137
    at Response->__construct(object(View)) in compiled.php line 7989
    at Router->prepareResponse(object(Request), object(View)) in compiled.php line 7855
    at Router->Illuminate\Routing\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9536
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Authenticate.php line 45
    at Authenticate->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in Pipeline.php line 30
    at Pipeline->Illuminate\Routing\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9518
    at Pipeline->then(object(Closure)) in compiled.php line 7856
    at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7847
    at Router->dispatchToRoute(object(Request)) in compiled.php line 7837
    at Router->dispatch(object(Request)) in compiled.php line 2349
    at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9536
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3025
    at VerifyCsrfToken->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12943
    at ShareErrorsFromSession->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11530
    at StartSession->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12682
    at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12619
    at EncryptCookies->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3086
    at CheckForMaintenanceMode->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528
    at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in compiled.php line 9518
    at Pipeline->then(object(Closure)) in compiled.php line 2296
    at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2280
    at Kernel->handle(object(Request)) in index.php line 53
    at require_once('/home/koel/koel/index.php') in server.php line 19

Operating System: Raspbian GNU/Linux 8 (jessie)
Kernel: Linux 4.1.13+
Architecture: arm
npm 2.14.7

Originally created by @uszasty on GitHub (Jan 3, 2016). Original GitHub issue: https://github.com/koel/koel/issues/174 I tried getting koel on my RPi, it get through npm and composer without problems, got it configured and it runs, but when I'm connecting, after logging in, Im getting this: ``` Whoops, looks like something went wrong. 2/2 ErrorException in Application.php line 46: file_get_contents(/home/koel/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /home/koel/koel/resources/views/index.blade.php) in Application.php line 46 at CompilerEngine->handleViewException(object(ErrorException), '1') in compiled.php line 14626 at PhpEngine->evaluatePath('/home/koel/koel/storage/framework/views/b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14661 at CompilerEngine->get('/home/koel/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14493 at View->getContents() in compiled.php line 14481 at View->renderContents() in compiled.php line 14472 at View->render() in compiled.php line 15637 at Response->setContent(object(View)) in compiled.php line 15137 at Response->__construct(object(View)) in compiled.php line 7989 at Router->prepareResponse(object(Request), object(View)) in compiled.php line 7855 at Router->Illuminate\Routing\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9536 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Authenticate.php line 45 at Authenticate->handle(object(Request), object(Closure)) at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 30 at Pipeline->Illuminate\Routing\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9518 at Pipeline->then(object(Closure)) in compiled.php line 7856 at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7847 at Router->dispatchToRoute(object(Request)) in compiled.php line 7837 at Router->dispatch(object(Request)) in compiled.php line 2349 at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9536 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3025 at VerifyCsrfToken->handle(object(Request), object(Closure)) at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12943 at ShareErrorsFromSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11530 at StartSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12682 at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12619 at EncryptCookies->handle(object(Request), object(Closure)) at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3086 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9518 at Pipeline->then(object(Closure)) in compiled.php line 2296 at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2280 at Kernel->handle(object(Request)) in index.php line 53 at require_once('/home/koel/koel/index.php') in server.php line 19 1/2 ErrorException in Application.php line 46: file_get_contents(/home/koel/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory in Application.php line 46 at HandleExceptions->handleError('2', 'file_get_contents(/home/koel/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory', '/home/koel/koel/app/Application.php', '46', array('file' => 'css/vendors.css', 'manifest' => null)) at file_get_contents('/home/koel/koel/public/build/rev-manifest.json') in Application.php line 46 at Application->rev('css/vendors.css') in compiled.php line 6050 at Facade::__callStatic('rev', array('css/vendors.css')) in b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php line 14 at App::rev('css/vendors.css') in b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php line 14 at include('/home/koel/koel/storage/framework/views/b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php') in compiled.php line 14624 at PhpEngine->evaluatePath('/home/koel/koel/storage/framework/views/b48151d1ba8f15662ca0b2bb6ece31bd2cb7a259.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14661 at CompilerEngine->get('/home/koel/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in compiled.php line 14493 at View->getContents() in compiled.php line 14481 at View->renderContents() in compiled.php line 14472 at View->render() in compiled.php line 15637 at Response->setContent(object(View)) in compiled.php line 15137 at Response->__construct(object(View)) in compiled.php line 7989 at Router->prepareResponse(object(Request), object(View)) in compiled.php line 7855 at Router->Illuminate\Routing\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9536 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Authenticate.php line 45 at Authenticate->handle(object(Request), object(Closure)) at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 30 at Pipeline->Illuminate\Routing\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9518 at Pipeline->then(object(Closure)) in compiled.php line 7856 at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7847 at Router->dispatchToRoute(object(Request)) in compiled.php line 7837 at Router->dispatch(object(Request)) in compiled.php line 2349 at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9536 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3025 at VerifyCsrfToken->handle(object(Request), object(Closure)) at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12943 at ShareErrorsFromSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11530 at StartSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12682 at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12619 at EncryptCookies->handle(object(Request), object(Closure)) at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 3086 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9528 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9518 at Pipeline->then(object(Closure)) in compiled.php line 2296 at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2280 at Kernel->handle(object(Request)) in index.php line 53 at require_once('/home/koel/koel/index.php') in server.php line 19 ``` Operating System: Raspbian GNU/Linux 8 (jessie) Kernel: Linux 4.1.13+ Architecture: arm npm 2.14.7
kerem closed this issue 2026-02-26 02:32:12 +03:00
Author
Owner

@phanan commented on GitHub (Jan 3, 2016):

The error looks obvious to me. Please make sure you followed the Installation/Troubleshooting guide correctly.

<!-- gh-comment-id:168490262 --> @phanan commented on GitHub (Jan 3, 2016): The error looks obvious to me. Please make sure you followed the Installation/Troubleshooting guide correctly.
Author
Owner

@kevincaradant commented on GitHub (Jan 3, 2016):

Hi @uszasty

I don't know if my build can help you but you can see my begin of work here :

https://github.com/kevincaradant/armhf_docker_koel

it's about a docker for arm. In the dockerfile you will see my process inspired by others dockers.

I think it works , i haven't a lot of time to try , but on my odroid C1 , it's good :)

<!-- gh-comment-id:168550175 --> @kevincaradant commented on GitHub (Jan 3, 2016): Hi @uszasty I don't know if my build can help you but you can see my begin of work here : https://github.com/kevincaradant/armhf_docker_koel it's about a docker for arm. In the dockerfile you will see my process inspired by others dockers. I think it works , i haven't a lot of time to try , but on my odroid C1 , it's good :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#123
No description provided.