CentoOSにDjangoとApacheとWSGIをいれてサーバーを立ち上げ外部から接続を試みたところです。
サーバーを起動し接続しようとしたらInternal Server Errorで接続できませんでした。
ログを確認したところ以下のログがでていたのですが意味が分かりません。
このログから考えられる原因をおしえていただきたいです。
sqlite3について調査した結果は下記です。
which sqlite3
/usr/local/bin/sqlite3
sqlite3 --version
3.31.1 2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6
sudo tail /var/log/httpd/error_log
[Mon Jan 03 21:57:44.236953 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] backend = load_backend(db['ENGINE']) [Mon Jan 03 21:57:44.236956 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] File "/home/yasue/.pyenv/versions/3.6.2/lib/python3.6/site-packages/django/db/utils.py", line 111, in load_backend [Mon Jan 03 21:57:44.236957 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] return import_module('%s.base' % backend_name) [Mon Jan 03 21:57:44.236960 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] File "/home/yasue/.pyenv/versions/3.6.2/lib/python3.6/importlib/__init__.py", line 126, in import_module [Mon Jan 03 21:57:44.236962 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] return _bootstrap._gcd_import(name[level:], package, level) [Mon Jan 03 21:57:44.236965 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] File "/home/yasue/.pyenv/versions/3.6.2/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 73, in <module> [Mon Jan 03 21:57:44.236966 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] check_sqlite_version() [Mon Jan 03 21:57:44.236969 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] File "/home/yasue/.pyenv/versions/3.6.2/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 69, in check_sqlite_version [Mon Jan 03 21:57:44.236974 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] 'SQLite 3.9.0 or later is required (found %s).' % Database.sqlite_version [Mon Jan 03 21:57:44.236985 2022] [wsgi:error] [pid 1876] [client 192.168.81.1:56693] django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).
回答4件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2022/01/05 15:19