question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A server error occured while processing your request

See original GitHub issue

I got this error mesage today when I tried to open Grocy website on my Laptop (homeserver):

Error source /var/www/html/vendor/morris/lessql/src/LessQL/Database.php:723

Error message SQLSTATE[HY000]: General error: 8 attempt to write a readonly database

Stack trace #0 /var/www/html/vendor/morris/lessql/src/LessQL/Database.php(723): PDOStatement->execute() #1 /var/www/html/vendor/morris/lessql/src/LessQL/Result.php(381): LessQL\Database->update() #2 /var/www/html/vendor/morris/lessql/src/LessQL/Row.php(256): LessQL\Result->update() #3 /var/www/html/vendor/morris/lessql/src/LessQL/Row.php(296): LessQL\Row->save() #4 /var/www/html/vendor/morris/lessql/src/LessQL/Row.php(415): LessQL\Row->save() #5 /var/www/html/services/SessionService.php(67): LessQL\Row->update() #6 /var/www/html/middleware/SessionAuthMiddleware.php(20): Grocy\Services\SessionService->IsValidSession() #7 /var/www/html/middleware/DefaultAuthMiddleware.php(24): Grocy\Middleware\SessionAuthMiddleware->authenticate() #8 /var/www/html/middleware/AuthMiddleware.php(52): Grocy\Middleware\DefaultAuthMiddleware->authenticate() #9 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(313): Grocy\Middleware\AuthMiddleware->__invoke() #10 /var/www/html/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(59): class@anonymous->handle() #11 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process() #12 /var/www/html/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): class@anonymous->handle() #13 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process() #14 /var/www/html/middleware/CorsMiddleware.php(30): class@anonymous->handle() #15 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(313): Grocy\Middleware\CorsMiddleware->__invoke() #16 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): class@anonymous->handle() #17 /var/www/html/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle() #18 /var/www/html/vendor/slim/slim/Slim/App.php(199): Slim\App->handle() #19 /var/www/html/app.php(106): Slim\App->run() #20 /var/www/html/public/index.php(45): require_once(‘/var/www/html/a…’) #21 {main} <

Error source:

/var/www/html/vendor/morris/lessql/src/LessQL/Database.php:723

Error message:

SQLSTATE[HY000]: General error: 8 attempt to write a readonly database

Stack trace:

#0 /var/www/html/vendor/morris/lessql/src/LessQL/Database.php(723): PDOStatement->execute()
#1 /var/www/html/vendor/morris/lessql/src/LessQL/Result.php(381): LessQL\Database->update()
#2 /var/www/html/vendor/morris/lessql/src/LessQL/Row.php(256): LessQL\Result->update()
#3 /var/www/html/vendor/morris/lessql/src/LessQL/Row.php(296): LessQL\Row->save()
#4 /var/www/html/vendor/morris/lessql/src/LessQL/Row.php(415): LessQL\Row->save()
#5 /var/www/html/services/SessionService.php(67): LessQL\Row->update()
#6 /var/www/html/middleware/SessionAuthMiddleware.php(20): Grocy\Services\SessionService->IsValidSession()
#7 /var/www/html/middleware/DefaultAuthMiddleware.php(24): Grocy\Middleware\SessionAuthMiddleware->authenticate()
#8 /var/www/html/middleware/AuthMiddleware.php(52): Grocy\Middleware\DefaultAuthMiddleware->authenticate()
#9 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(313): Grocy\Middleware\AuthMiddleware->__invoke()
#10 /var/www/html/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(59): class@anonymous->handle()
#11 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process()
#12 /var/www/html/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): class@anonymous->handle()
#13 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process()
#14 /var/www/html/middleware/CorsMiddleware.php(30): class@anonymous->handle()
#15 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(313): Grocy\Middleware\CorsMiddleware->__invoke()
#16 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): class@anonymous->handle()
#17 /var/www/html/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle()
#18 /var/www/html/vendor/slim/slim/Slim/App.php(199): Slim\App->handle()
#19 /var/www/html/app.php(106): Slim\App->run()
#20 /var/www/html/public/index.php(45): require_once('/var/www/html/a...')
#21 {main}

System info:

{
    "grocy_version": {
        "Version": "3.2.0",
        "ReleaseDate": "2022-02-11"
    },
    "php_version": "7.4.28",
    "sqlite_version": "3.34.1",
    "os": "Linux 5.13.19-3-pve #1 SMP PVE 5.13.19-7 (Thu, 20 Jan 2022 16:37:56 +0100) x86_64",
    "client": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/99.0.4844.51 Safari\/537.36"
}
``` <

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Matt77CHEcommented, Mar 16, 2022

…Which I noticed and closed the “issue”…

0reactions
berrndcommented, Mar 16, 2022

5 cm mehr überlegen, obs überhaupt ein Bug sein kann oder nicht wär halt geil, ich werd die Leute nie verstehen, die einfach alles und jeden eigenen Konfigurationsscheiß erstmal als hochoffiziellen Bug aufschreiben müssen. 🙄

Noch mehr liebe ich nur die, die wegen sowas hier anrufen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

12 Ways to Fix An Error Occurred While Processing Your ...
A simple fix would be to clear the browsing data or use another device. Also, it could be a browser-related issue, and switching...
Read more >
Error occurred while processing your request - Microsoft Q&A
I published my application which contains Identity Framework for logins to Azure. The login works perfectly fine in my local environment.
Read more >
How do i fix tis ( Sorry, an error occurred while processing ...
This can be caused by corrupted cookies or cookies that are blocked (check the permissions on the about:permissions page). Clear the cache and ......
Read more >
An error occured while processing your request. please try ...
An error occured while processing your request. please try after some time. If the problem persists, please contact Helpdesk Error Solve in ...
Read more >
ASP.NET Core 5 error “An error occurred while processing ...
ASP.NET Core 5 error “An error occurred while processing your request” · 2. The error page gives a really helpful suggestion - activate ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found