iipeace / guider

A Practically Applicable Performance Analyzer for Real Product Development
https://iipeace.github.io/docs/guider.html
GNU General Public License v2.0
629 stars 92 forks source link

SQLite 3.8.3 or later is required #219

Closed yoonje closed 4 years ago

yoonje commented 4 years ago

It happens when the default sqlite version is low on your operating system. You need to reinstall sqlite and remigrate.

  1. install sqlite
    $ cd ~
    $ wget https://www.sqlite.org/2019/sqlite-autoconf-3290000.tar.gz
    $ tar zxvf sqlite-autoconf-3290000.tar.gz
    $ cd sqlite-autoconf-3290000
    $ ./configure --prefix=$HOME/opt/sqlite
    $ make && make install
  2. shell setting
    $ export PATH=$HOME/opt/sqlite/bin:$PATH
    $ export LD_LIBRARY_PATH=$HOME/opt/sqlite/lib
    $ export LD_RUN_PATH=$HOME/opt/sqlite/lib
    $ source ~/.bash_profile
  3. check sqlite version
    $ sqlite3 --version 

Reference: https://stackoverflow.com/questions/55674176/django-cant-find-new-sqlite-version-sqlite-3-8-3-or-later-is-required-found