testdrivenio / flask-vue-kubernetes

Flask + Vue + Postgres + Docker + Kubernetes
MIT License
349 stars 144 forks source link

unable to add new book #24

Open AndyTesla opened 2 years ago

AndyTesla commented 2 years ago

I suppose that server doesn't run properly, which make it unable to add new book. Here is the error log for server image: image

Here's my docker version:

Client: Docker Engine - Community Cloud integration: v1.0.22 Version: 20.10.12 API version: 1.41 Go version: go1.16.12 Git commit: e91ed57 Built: Mon Dec 13 11:45:48 2021 OS/Arch: linux/amd64 Context: default Experimental: true

Server: Docker Desktop Engine: Version: 20.10.12 API version: 1.41 (minimum version 1.12) Go version: go1.16.12 Git commit: 459d0df Built: Mon Dec 13 11:43:56 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.12 GitCommit: 7b11cfaabd73bb80907dd23182b9347b4245eb5d runc: Version: 1.0.2 GitCommit: v1.0.2-0-g52b36a2 docker-init: Version: 0.19.0 GitCommit:

de40ad0

and here's my docker-compose version:

docker-compose version 1.29.2, build 5becea4c docker-py version: 5.0.0 CPython version: 3.7.10 OpenSSL version: OpenSSL 1.1.0l 10 Sep 2019

the project runs, but somehow unable to add new book: image after I click "Submit", there is no book showing in the webpage, press F5, still nothing

hugh-nguyen commented 1 year ago

Hmm im also geting this error

hugh-nguyen commented 1 year ago

I fixed it by upgrading flask in requirements.txt from 1.1.2 to 2.2.2