Kodi Migration in Progress: How to Fix and Add-ons
In this article
To resolve a "migration in progress" message in Kodi and successfully add your add-ons, you must allow the database update to complete or manually clear the locked state if the process has frozen. This message typically appears after a version update when Kodi is restructuring its internal database to accommodate new features or data formats.
When Kodi is migrating, it locks certain functions—including the ability to install or configure add-ons—to prevent data corruption. Depending on the size of your library, this can take from a few seconds to several hours. Labels and menu paths may vary slightly depending on your device, operating system, or the specific version of Kodi you are running.
What You'll Need
- A device running Kodi (Android box, PC, Raspberry Pi, etc.).
- A stable internet connection for installing add-ons.
- Administrative access to the device's file system (if a manual reset is required).
Step-by-Step
- Wait for the Process to Finish: The safest way to handle a migration is to leave Kodi open. Do not close the application or power off the device while the migration message is visible. If you have a large media library, the process may appear stuck, but it is often still working in the background.
- Check System Resources: If the migration is taking an unusually long time, ensure your device is not overheating and that there is sufficient free storage space on the internal drive. A full disk can cause the migration to hang indefinitely.
- Restart the Application: If the message persists for several hours without progress, close Kodi completely. Use the system's task manager or app settings to "Force Stop" the application, then relaunch it. This often triggers the migration to resume or finalize.
- Enable Unknown Sources: Once the migration is complete and you can access the main menu, you must enable the ability to add third-party add-ons. Navigate to the settings menu (gear icon) and look for the System section. Within the System settings, find the Add-ons tab and toggle the switch for "Unknown sources" to On. Confirm the choice in the dialogue box that appears.
- Add the File Source: Go back to the main settings menu and select the File Manager. Select "Add source," click on the "
" box, and type the exact URL of the repository you wish to add. Give the source a simple name and click OK. - Install the Repository: Return to the main screen, select Add-ons, and choose "Install from zip file." If prompted, allow the installation of zip files from unknown sources. Navigate to the source you just named, select the repository zip file, and wait for the "Add-on installed" notification.
- Install the Specific Add-on: Select "Install from repository," choose the repository you just installed, navigate to the appropriate category (e.g., Video add-ons), select the desired add-on, and click Install.
Common Mistakes
- Force-closing during migration: Shutting down the device while the database is being rewritten can lead to a corrupted library, forcing you to rescan all your media.
- Typing URLs incorrectly: The "Add source" field is case-sensitive. A single misplaced capital letter or a missing slash will prevent the repository from loading.
- Skipping the "Unknown Sources" toggle: Attempting to install a zip file before enabling unknown sources will result in an error message stating that the action is not allowed.
Tips
- Backup your data: Before performing a major version update that triggers migration, copy your "addons" and "userdata" folders to an external drive.
- Use a keyboard: If you are on a TV box, plugging in a USB keyboard makes entering repository URLs significantly faster and more accurate than using an on-screen remote.
- Update repositories first: Always ensure the repository itself is updated to the latest version before trying to install a specific add-on from within it.
Troubleshooting
If the "migration in progress" message never disappears and you cannot reach the main menu, try these steps in order:
- Clear Cache: Go to your device's system settings, find the Kodi app, and select "Clear Cache." Do not select "Clear Data" unless you are prepared to lose all your settings and library information.
- Check for Database Locks: If you are on a PC, ensure no other program is accessing the Kodi data folder. Antivirus software can sometimes lock the database file during a migration.
- Reinstall the App: As a last resort, uninstall Kodi and reinstall it from the official store. Warning: This will delete all your add-ons, skins, and library data. Only do this if you have a backup or are starting from scratch.
Frequently Asked Questions
Why is my Kodi stuck on migration?
This usually happens because of a very large media library or insufficient storage space on the device, which prevents the database from completing its update.
Will I lose my add-ons after a migration?
No, the migration process is designed to move your existing data to a new format. Your add-ons should remain intact once the process finishes.
Can I skip the migration process?
No, the migration is a mandatory system requirement for the software to function correctly with the new version's database structure.
How long should a migration typically take?
For most users, it takes a few minutes. However, if you have thousands of movies and TV shows with metadata, it can take an hour or more.
What is the difference between a zip file and a repository?
A zip file is the installer for the repository. The repository is the actual "store" where the individual add-ons are hosted and updated.