This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| manual:faq:problems_points_tracks_database [2022/01/21 11:45] – [How to fix it] mstupka | manual:faq:problems_points_tracks_database [2025/12/12 15:33] (current) – mstupka | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Problems with points& | + | ====== Problems with the database of points& |
| ---- | ---- | ||
| - | ===== Basic information ===== | + | Locus Map uses the SQLite database system for storing data. This database is supported by all Android devices and is considered safe and convenient. However, it can happen that the database gets damaged and the app ends up with an error. |
| + | ===== How does it look? ===== | ||
| + | Usually, the app displays an error message during initialization, | ||
| - | Locus Map uses the SQLite database system for storing data. This database is supported by all Android devices so it is easy for developers | + | ===== How to prevent it ===== |
| - | At many places you may read how safe and convenient the SQLite system on Android is. The reality is somewhat different. | + | |
| - | + | * If you decide to place the Locus directory on the SD card, please | |
| - | In the following paragraph the most common errors you may encounter in Locus are described, as well as the methods of fixing them. These methods are based on the experiences of our users so if you have any other, share them with us, please. | + | |
| - | + | ||
| - | **Generally speaking, when you get any error with Locus database, it is wrong.** For this reason there is the [[manual: | + | |
| - | + | ||
| - | ===== Methods helping to prevent database corruption ===== | + | |
| - | + | ||
| - | * If you hesitate between selecting either “Place Locus directory on the SD card, or into the internal | + | |
| - | * If you have Locus directory | + | |
| ===== How to fix it ===== | ===== How to fix it ===== | ||
| - | There is no guaranteed method of repairing corrupted database. | + | Unfortunately, |
| - | + | ||
| - | Actually, there are **three methods that you can try**: | + | |
| - | **1.** | + | **1. Restart your phone** - some errors may be caused by reading or recording on your SD card. Violation of the card may result in database locking, for example. In most cases, a simple restart helps. Then it is highly recommended to check your SD card. |
| - | **2.** | + | **2. Restore backup of your database** - all backup files are stored in Locus/ |
| - | * Close Locus | + | * Close Locus Map |
| - | * Go to the Locus/ | + | * Connect your phone to a PC via USB and allow data transfer |
| - | * Move to the directory Locus/ | + | * Open a file browser on the PC and navigate |
| - | * Expand | + | * Navigate |
| + | * Unpack the *.zip file | ||
| * Copy the unzipped tracks.db and waypoints.db to the Locus/ | * Copy the unzipped tracks.db and waypoints.db to the Locus/ | ||
| - | * Start Locus | + | * Start Locus Map |
| - | **3.** If all previous | + | **3. If 1 or 2 fail** - try the following: |
| * go to your phone file browser > find / | * go to your phone file browser > find / | ||
| - | * uninstall Locus | + | * uninstall Locus Map |
| - | * delete whole /Locus/ directory | + | * delete |
| - | * install Locus from Google Play | + | * re-install Locus Map from Google Play |
| * copy your original files tracks.db and waypoints.db to / | * copy your original files tracks.db and waypoints.db to / | ||
| - | **4.** The last method | + | **4. Advanced |