mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #78] TokenMismatch Errors #56
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @psagat on GitHub (Dec 16, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/78
I can hit the main page just fine, but after login I get these errors.
TokenMismatchException in compiled.php line 2928:
in compiled.php line 2928
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 9577
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12949
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 9577
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 11536
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 9577
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12686
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 9577
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12623
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 9577
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2983
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 9577
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9567
at Pipeline->then(object(Closure)) in compiled.php line 2249
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2232
at Kernel->handle(object(Request)) in index.php line 53
Whoops, looks like something went wrong.
1/1
ErrorException in compiled.php line 6639:
file_put_contents(/var/www/koel/storage/framework/sessions/23223b4583290f980f15773c32b0d8f91d442639): failed to open stream: Permission denied
in compiled.php line 6639
at HandleExceptions->handleError('2', 'file_put_contents(/var/www/koel/storage/framework/sessions/23223b4583290f980f15773c32b0d8f91d442639): failed to open stream: Permission denied', '/var/www/koel/bootstrap/cache/compiled.php', '6639', array('path' => '/var/www/koel/storage/framework/sessions/23223b4583290f980f15773c32b0d8f91d442639', 'contents' => 'eyJpdiI6IjE0TWFRVkdraHlcL3pqbGFuNjlyd0FnPT0iLCJ2YWx1ZSI6IllJWWZKb2R1NGNIbVRZYlRwdjdGa0NaZEhOcXV5Q2dGNHpxTEwxelNmQmRadFluXC80RVwvN3hzVFwvdkRieVBnNERzaTQ5VGtlUWlOQURwWnNYcFwvcUNmNmVjZ1ZnemxRRERTb2k4REVoNTZFN2dZZHF2dVZGVGhWTlVLZzllUWRrSTdvcUpnUzFyOHp1cFdYbGh5aXNHXC9yUUlweGFHR1ZqamEzcVwvS3p1WDhPNGJlXC82SFwvM1hEU2FXUFhxNk5LREZXaGlnOFk3cGNrVzNcLzhKRU1uZmNFTTlQSnBJU2xhdGxIQXRLY3RvY0VnOHdOV1RTNEJrcFRiVmFTMXJFOUs4RUR3aUNQR3F3WWlhZldIMUsyZFBRMzdENTkrVU5BZVNKXC95dllIcitaOUd3UVwvc2tcLzNnSUdmYkRcLzRXYjVkNmo3VWVXellpTFc0endGbzRoTE90TFRBczlUelBUTzQwOEd3WUpnQ1ZrUTUrTGxJcmJZam14amtYZ0FtZTI4VnpCOEw2T2hCRGRUajE1eFBiWDJuUG90VzlzRXl4bm1KTHgzd2p6R2JGSDJiekFQZjlFaU1EenU5Wkg5QzhaTlFMVE9veG9EK1R6N3VyQkZqVmdcL2hON05RS0E9PSIsIm1hYyI6ImNlN2E3NjUwNmU2NDk0YmM3ZTFjYjZjN2I3YzViODQ5NTFlZjU1MjcxYjU1NzRjY2I0MmY3NjBjYzIwOTUxZDAifQ==', 'lock' => true))
at file_put_contents('/var/www/koel/storage/framework/sessions/23223b4583290f980f15773c32b0d8f91d442639', 'eyJpdiI6IjE0TWFRVkdraHlcL3pqbGFuNjlyd0FnPT0iLCJ2YWx1ZSI6IllJWWZKb2R1NGNIbVRZYlRwdjdGa0NaZEhOcXV5Q2dGNHpxTEwxelNmQmRadFluXC80RVwvN3hzVFwvdkRieVBnNERzaTQ5VGtlUWlOQURwWnNYcFwvcUNmNmVjZ1ZnemxRRERTb2k4REVoNTZFN2dZZHF2dVZGVGhWTlVLZzllUWRrSTdvcUpnUzFyOHp1cFdYbGh5aXNHXC9yUUlweGFHR1ZqamEzcVwvS3p1WDhPNGJlXC82SFwvM1hEU2FXUFhxNk5LREZXaGlnOFk3cGNrVzNcLzhKRU1uZmNFTTlQSnBJU2xhdGxIQXRLY3RvY0VnOHdOV1RTNEJrcFRiVmFTMXJFOUs4RUR3aUNQR3F3WWlhZldIMUsyZFBRMzdENTkrVU5BZVNKXC95dllIcitaOUd3UVwvc2tcLzNnSUdmYkRcLzRXYjVkNmo3VWVXellpTFc0endGbzRoTE90TFRBczlUelBUTzQwOEd3WUpnQ1ZrUTUrTGxJcmJZam14amtYZ0FtZTI4VnpCOEw2T2hCRGRUajE1eFBiWDJuUG90VzlzRXl4bm1KTHgzd2p6R2JGSDJiekFQZjlFaU1EenU5Wkg5QzhaTlFMVE9veG9EK1R6N3VyQkZqVmdcL2hON05RS0E9PSIsIm1hYyI6ImNlN2E3NjUwNmU2NDk0YmM3ZTFjYjZjN2I3YzViODQ5NTFlZjU1MjcxYjU1NzRjY2I0MmY3NjBjYzIwOTUxZDAifQ==', '2') in compiled.php line 6639
at Filesystem->put('/var/www/koel/storage/framework/sessions/23223b4583290f980f15773c32b0d8f91d442639', 'eyJpdiI6IjE0TWFRVkdraHlcL3pqbGFuNjlyd0FnPT0iLCJ2YWx1ZSI6IllJWWZKb2R1NGNIbVRZYlRwdjdGa0NaZEhOcXV5Q2dGNHpxTEwxelNmQmRadFluXC80RVwvN3hzVFwvdkRieVBnNERzaTQ5VGtlUWlOQURwWnNYcFwvcUNmNmVjZ1ZnemxRRERTb2k4REVoNTZFN2dZZHF2dVZGVGhWTlVLZzllUWRrSTdvcUpnUzFyOHp1cFdYbGh5aXNHXC9yUUlweGFHR1ZqamEzcVwvS3p1WDhPNGJlXC82SFwvM1hEU2FXUFhxNk5LREZXaGlnOFk3cGNrVzNcLzhKRU1uZmNFTTlQSnBJU2xhdGxIQXRLY3RvY0VnOHdOV1RTNEJrcFRiVmFTMXJFOUs4RUR3aUNQR3F3WWlhZldIMUsyZFBRMzdENTkrVU5BZVNKXC95dllIcitaOUd3UVwvc2tcLzNnSUdmYkRcLzRXYjVkNmo3VWVXellpTFc0endGbzRoTE90TFRBczlUelBUTzQwOEd3WUpnQ1ZrUTUrTGxJcmJZam14amtYZ0FtZTI4VnpCOEw2T2hCRGRUajE1eFBiWDJuUG90VzlzRXl4bm1KTHgzd2p6R2JGSDJiekFQZjlFaU1EenU5Wkg5QzhaTlFMVE9veG9EK1R6N3VyQkZqVmdcL2hON05RS0E9PSIsIm1hYyI6ImNlN2E3NjUwNmU2NDk0YmM3ZTFjYjZjN2I3YzViODQ5NTFlZjU1MjcxYjU1NzRjY2I0MmY3NjBjYzIwOTUxZDAifQ==', true) in FileSessionHandler.php line 71
at FileSessionHandler->write('23223b4583290f980f15773c32b0d8f91d442639', 'eyJpdiI6IjE0TWFRVkdraHlcL3pqbGFuNjlyd0FnPT0iLCJ2YWx1ZSI6IllJWWZKb2R1NGNIbVRZYlRwdjdGa0NaZEhOcXV5Q2dGNHpxTEwxelNmQmRadFluXC80RVwvN3hzVFwvdkRieVBnNERzaTQ5VGtlUWlOQURwWnNYcFwvcUNmNmVjZ1ZnemxRRERTb2k4REVoNTZFN2dZZHF2dVZGVGhWTlVLZzllUWRrSTdvcUpnUzFyOHp1cFdYbGh5aXNHXC9yUUlweGFHR1ZqamEzcVwvS3p1WDhPNGJlXC82SFwvM1hEU2FXUFhxNk5LREZXaGlnOFk3cGNrVzNcLzhKRU1uZmNFTTlQSnBJU2xhdGxIQXRLY3RvY0VnOHdOV1RTNEJrcFRiVmFTMXJFOUs4RUR3aUNQR3F3WWlhZldIMUsyZFBRMzdENTkrVU5BZVNKXC95dllIcitaOUd3UVwvc2tcLzNnSUdmYkRcLzRXYjVkNmo3VWVXellpTFc0endGbzRoTE90TFRBczlUelBUTzQwOEd3WUpnQ1ZrUTUrTGxJcmJZam14amtYZ0FtZTI4VnpCOEw2T2hCRGRUajE1eFBiWDJuUG90VzlzRXl4bm1KTHgzd2p6R2JGSDJiekFQZjlFaU1EenU5Wkg5QzhaTlFMVE9veG9EK1R6N3VyQkZqVmdcL2hON05RS0E9PSIsIm1hYyI6ImNlN2E3NjUwNmU2NDk0YmM3ZTFjYjZjN2I3YzViODQ5NTFlZjU1MjcxYjU1NzRjY2I0MmY3NjBjYzIwOTUxZDAifQ==') in compiled.php line 11727
at Store->save() in compiled.php line 11547
at StartSession->terminate(object(Request), object(Response)) in compiled.php line 2258
at Kernel->terminate(object(Request), object(Response)) in index.php line 57
@Fredba commented on GitHub (Dec 16, 2015):
I had this error too but I've resolved this by refreshing the page.
However I have this error now : file_get_contents(/home/fred/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /home/fred/koel/resources/views/index.blade.php)
@etopian commented on GitHub (Dec 16, 2015):
@Fredba your gulp did not install properly, probably because you're are doing npm install as root.
@phanan commented on GitHub (Dec 16, 2015):
Try doing a
bower install && gulp --production. If you see any error, fix from there.@psagat commented on GitHub (Dec 16, 2015):
root@Koel:/var/www/koel/node_modules# bower/bin/bower install --allow-root && gulp --production
bower ENOENT No bower.json present
Now getting this error:
in VerifyCsrfToken.php line 53
at VerifyCsrfToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in StartSession.php line 62
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Kernel.php line 122
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
at Kernel->handle(object(Request)) in index.php line 53
@Fredba commented on GitHub (Dec 16, 2015):
You were right it was a problem with my installation of gulp.
Thank you for the answers, it works now :)