Kolibri database is locked error
See original GitHub issueObserved behavior
This happened when I import more than 20GB of KA channel contents and using multiple browsers for Kolibri testing.
I’m using Windows 7 VM with 512MB of memory 1 CPU 27MB Video memory
Expected behavior
…
User-facing consequences
…
Errors and logs
[33mWARNING Got an exception running <bound method Scheduler.check_schedule of <kolibri.core.tasks.scheduler.Scheduler object at 0x0488AE30>>: (sqlite3.OperationalError) database is locked [SQL: 'SELECT scheduledjobs.id AS scheduledjobs_id, scheduledjobs.interval AS scheduledjobs_interval, scheduledjobs.repeat AS scheduledjobs_repeat, scheduledjobs.queue AS scheduledjobs_queue, scheduledjobs.obj AS scheduledjobs_obj, scheduledjobs.scheduled_time AS scheduledjobs_scheduled_time \nFROM scheduledjobs \nWHERE scheduledjobs.queue = ? AND scheduledjobs.scheduled_time <= ?'] [parameters: ('kolibri', '2020-03-26 11:55:45.701044')] (Background on this error at: http://sqlalche.me/e/e3q8)[0m
Steps to reproduce
- Import more than 20GB of KA channel contents
- While importing KA contents Install IE11, Firefox and Chrome browsers
- While importing KA contents do some integration testing with this Spreadsheet using those three browsers
Context
Tell us about your environment, including:
- Kolibri version: 0.13.2-beta1
- Operating system: Windows 7
- Browser
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Database locked error preventing startup [time sensitive] - Kolibri
When Kolibri fails to start, there is a python exception in daemon.log that indicates that an operation failed because the database was ...
Read more >Troubleshooting — Kolibri User Guide - Read the Docs
In case you receive the database disk image is malformed error in Terminal, it does not mean that the database cannot be fixed....
Read more >OperationalError: database is locked - python - Stack Overflow
This error means that one thread or process has an exclusive lock on the database connection and another thread timed out waiting for...
Read more >Kolibri - Read the Docs
Kolibri, Release 0.5. Import Content Channel from the Internet. 1. Choose option for Internet. 2. Enter Content Database ID for the desired channel...
Read more >How to Fix SQLite “Database Locked” Error - KaplanSoft
A locked SQLite database stops the user from writing more transactions, and the tables are not updated or altered anymore. This error code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing because it sounds like the issue can be attributed to running Kolibri in a VM with less resources than the hardware requirements
Please re-open if I’ve mis-understood
@mrpau-richard Are you using a VM for this? If so, please edit and put the VM details in your first post (ram, disk size, # of processors, graphics ram) - they’ll be helpful. If not, please ignore this. 😺