Container crashes on start with sqlite3.OperationalError: no such column: oauthProvider.oauth_userinfo_url
#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Container was created with this docker-compose.yml and run with the following:
docker stop calibre-web_dev && docker rm calibre-web_dev && docker volume rm calibre-web_calibre-web-dev_data
docker-compose up -d --force-recreate calibre-web-dev && docker logs -f calibre-web_dev
Full container logs:
changed the description
This is likely related to the definition of
OAuthProviders
incps/up.py
, where the table itself is defined. I added an entry foroauth_userinfo_url
, but for some reason it doesn't seem to properly pick up on it (potentially loosing other fields?). I was able to get it to not throw this error by live editing the file and recreating the db in the container, but making changes here seemingly didn't work.There's no error messages beign logged atm, but I almost suspect it might be an encoding issue? When edited within this repo, the Gitlab WebIDE was used, and then failed. But when edited live in the container using
nano
, things seemed to work.Will investigate further
For version:
adbc4cde
via:
followed by
Should be configured here: ub.py#L256
But it seems to be missing several columns:
https://stackoverflow.com/questions/50878513/sqlite-no-such-column-error-while-using-flask-and-sqlalchemy
Babe wake up new error message just dropped:
This is using the
nodb-156aeb28
image. Otherwise run identically to root issue,New db dump:
bruh
Currently, with the untracked changes we've made to
oauth_bb.py
we can successfully authenticate with OAuth2 if and only if the user name is all lower case...Dump of
oauth_bb.py
with untracked changes.mentioned in issue #3