meolu / walle-web

walle - 瓦力 Devops开源项目代码部署平台
https://walle-web.io
Apache License 2.0
11.86k stars 2.76k forks source link

sh admin.sh migration #1105

Open Intoseaworks opened 4 years ago

Intoseaworks commented 4 years ago

Migration walle

Usage: flask db upgrade [OPTIONS] [REVISION]

Error: While importing "waller", an ImportError was raised:

Traceback (most recent call last):

linux724 commented 4 years ago

可以了解一下另外一个开源好用的运维平台:https://github.com/openspug/spug

Intoseaworks commented 4 years ago

可以了解一下另外一个开源好用的运维平台:https://github.com/openspug/spug

你这个我也用了,数据初始化就报错,执行不 下去。 python manage.py initdb

Traceback (most recent call last): File "manage.py", line 24, in main() File "manage.py", line 20, in main execute_from_command_line(sys.argv) 。。。。。。。。。 site-packages/django/db/backends/sqlite3/base.py", line 63, in check_sqlite_version raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version) django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).

linux724 commented 4 years ago

最新版本有脚本一键安装,docker一键安装。不需要你自己初始化了。

lingcarzy commented 4 years ago

可以了解一下另外一个开源好用的运维平台:https://github.com/openspug/spug

你这个我也用了,数据初始化就报错,执行不 下去。 python manage.py initdb

Traceback (most recent call last): File "manage.py", line 24, in main() File "manage.py", line 20, in main execute_from_command_line(sys.argv) 。。。。。。。。。 site-packages/django/db/backends/sqlite3/base.py", line 63, in check_sqlite_version raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version) django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).

需要手动升级sqlite的版本,升级好了就可以了

Intoseaworks commented 4 years ago

可以了解一下另外一个开源好用的运维平台:https://github.com/openspug/spug

你这个我也用了,数据初始化就报错,执行不 下去。 python manage.py initdb Traceback (most recent call last): File "manage.py", line 24, in main() File "manage.py", line 20, in main execute_from_command_line(sys.argv) 。。。。。。。。。 site-packages/django/db/backends/sqlite3/base.py", line 63, in check_sqlite_version raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version) django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).

需要手动升级sqlite的版本,升级好了就可以了

谢谢,下次我试一下