Forums

Upgrading SQLite for Django 2.2

I've installed Django 2.2, on to a virtualenv using Python 3.6 The minimum supported version of SQLite is now 3.8.3 https://docs.djangoproject.com/en/2.2/releases/2.2/

When I run tests I get the following error:

django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2).

Checking the version of SQLite shows that it no longer satisfies the minimum requirement for Django 2.2

>>> import sqlite3
>>> sqlite3.sqlite_version
'3.8.2'

Is there an easy way to upgrade the version of SQLite on PythonAnywhere?

There's a reasonably easy way :-) The version of SQLite you have installed depends on the system image associated with your account; you're on our older "dangermouse" system image, and the new "earlgrey" image has SQLite version 3.11.0. We can easily switch your account over to "earlgrey" -- it's just a simple database change on our side.

But there is one catch; the versions of many other things will be upgraded at the same time. For example, Python 2.7.6 will be upgraded to 2.7.12, Python 3.6.0 will be upgraded to 3.6.6, and so on -- and also many of the pre-installed Python modules will be upgraded. The latter means that any code you have that depends on the older versions of the pre-installed modules may break if it's not compatible with any API changes. The former is a little more subtle -- virtualenvs can have issues with point release upgrades, so ones that were built for (eg) Python 2.7.6 are not always compatible with 2.7.12 -- so you might need to re-create any virtualenvs.

Anyway, we can certainly switch you over to the "earlgrey" image if you like -- just let us know.

Yes that would be great if I could get upgraded!

I am facing similar problem. But I hold a free account with pythonanywhere.com. Any chances of SQlite upgrades from your end for free users to support DJango 2.2? If not, what do you suggest as an alternative solution?

Switching images is not limited to paying accounts. Just send feedback requesting the change.

Thanks Glenn, I have sent feedback from my 2 accounts (anykate.pythonanywhere.com & aniket31.pythonanywhere.com) requesting the upgrade of SQLite3 version to 3.8.3 OR above. However, I cannot see the feedback that I posted anywhere in my account(s). Hope Pythonanywhere team has received the same. Thank you so much for your help.

@anykate -- we've received the messages, and that's done now for both of those accounts. Any new consoles you start will have the new system image; any scheduled/always-on tasks and websites will pick it up the next time they're (re)started. Do note the warning above about virtualenvs -- you may need to rebuild them due to the point release changes in the versions of Python.

(Also, for completeness -- it looks like one of my colleagues switched @justinhui over yesterday. I suspect that they sent an email about that, but just in case...)

Can you please switch mine too?

Ok. That's done.

Mine also? Please and thank you!

hi there- can you send us a feedback message from your account confirming that you understand that this may break your code and you will have to recreate your virtualenvs? We will switch you over after that.

Can you please switch mine too?

hi there- can you send us a feedback message from your account confirming that you understand that this may break your code and you will have to recreate your virtualenvs? We will switch you over after that.

Its ok. I understand. Upgrade for ko0n.pythonanywhere.com please.

Thank you

ok, done that.

I've been able to get a workaround for the error by including the previous WSGI config default in my dspeights_pythonanywhere_com_wsgi:

from django.core.wsgi import get_wsgi_application

application = get_wsgi_application()

# or, for older django <=1.4

import django.core.handlers.wsgi

application = django.core.handlers.wsgi.WSGIHandler()

Is there a downside to using this work-around? I am only using Python3 ENVs, so I would be comfortable either way.

Thanks!

I'm a bit confused what work around you used. And was the error for this sqlite version problem?

Sorry, I could have been clearer! Here is the link for the tutorial doc that I used a while back: - https://help.pythonanywhere.com/pages/DeployExistingDjangoProject/

The Edit your WSGI file step has a code snippet, which includes a #commented# code block which says:

##### or,  for older Django <=1.4    
##### or,  for older Django <=1.4
#import django.core.handlers.wsgi
#application = django.core.handlers.wsgi.WSGIHandler()

Removing the comments from those lines resolved the SQLite 3.8.3 or later is required error I also received (on a django 2.2 project). I am not sure if this is a good work-around, for not having to upgrade, or if it would be better to switch?

Thank you for your assistance!

Honestly, I'm a little surprised that that even worked. Are you sure that you're actually running Django 2.2 and not accidentally running an older version?

I believe so?:

(ff_env) 17:48 ~/ff_core (master)$ pip freeze
-f /usr/share/pip-wheels
configparser==3.7.4
Django==2.2
mysqlclient==1.4.2.post1
pytz==2019.1
sqlparse==0.3.0
(ff_env) 17:48 ~/ff_core (master)$

...

(ff_env) 17:51 ~/ff_core/ff_web (master)$ ./manage.py shell
Python 3.6.0 (default, Jan 13 2017, 00:00:00) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import django
>>> django.VERSION
(2, 2, 0, 'final', 0)

EDIT - also, here's my django-generated settings note:

(ff_env) 17:56 ~/ff_core/ff_web (master)$ cat ff_web/settings.py 
"""
Django settings for ff_web project.
Generated by 'django-admin startproject' using Django 2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""

wait- I see that you have mysqlclient installed. Are you using sqlite or mysql? If you are now using mysql, then you shouldn't have to deal with any sqlite version issues.

That seems to be it! The settings file configuration is specifying mysql on the server (because of the error, I would assume), and sqlite for local development, from what I can see?

if '/home/dspeights/' in BASE_DIR:
...
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        ...
elif '/.../.../' in BASE_DIR:
...
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
...

I appreciate the help discovering the issue! Is there a date set for when SQLite 3.8.3 will be made? It seems like it will require changes, but would allow my dev and prod environments to be consistent... I have a few projects pending in the pipeline which may require sqlite, but nothing immediate.

Side note: Thanks for providing such a great service! You guys are a critical part of my business model!

The new version is already available, we just need to switch your account to a new system image.

Switching to the new version may break some of your existing code that worked on older versions. You may need to recreate any virtualenvs that you're using and you will need to start new consoles and reload your web apps.

Let us know if you'd like to switch your system image for you.

Pinged feedback for the same reason - thanks to this thread, made it really easy to diagnose. :)

Hy. Can you switch mine too? I don't mind the risks. Thanks

No problem. I have updated your account.

Hi glenn, It's possible to upgrade mine too?

No problem, rafarosante. That's done.

Hi glenn, could you please upgrade mine too? I'm aware of the risk that might be produced due to the upgrade of python and its modules.

By the way, is there any button from my or your side to reset my account? I have some old files and I would like to clean up and start over, so I don't drag any old file or config to this upgrade... just in case :).

I don't mind losing files, everything that is important is already downloaded in my pc.

Thanks.

P.S: Is this enough or I should send feedback for this?

Hi enderlook -- I've switched you over to the new system image. We don't have an easy way to reset your account, but if you like we can completely delete it -- then you can sign up again using the same username, so the net effect will be the same as resetting the account. If you'd like us to do that, use the send feedback link to send us a message to that effect.

Ok, but, if they delete my account and then I make a new one, would I have to ask again about the switch or new accounts are already using the new system image by default?

New accounts get the most recent system image by default.

Hi glenn, could you upgrade mine too? i don't care about the risk

No problem. That's done.

Hi,

Just found this thread since I also stumbled on the same issue :) Would be very nice if my account also was upgraded. Thanks!

Hi, Could I have my account upgraded as well. Been working on my test server on my computer which was django 2 and want to just git pull it over.

Thanks!

@Joeriksson, @johnreilly -- before we switch you over, could you confirm that you've read the warning above?

Hi, can I please get switched to the new server as well??

@fdelacruz -- before we switch you over, could you confirm that you've read the warning above?

@giles I confirm I've read the warning :D I'm 100% a-okay with all the pre-installed python modules being upgraded. Thank you very much in advance! :D

I confirm I read the warning. I have nothing in my account right now that is important.

@giles any chance this can get done today? Thank you :)

@Joeriksson, @johnreilly -- no problem, that's done now. Any new consoles you start will have the new system image. Websites, scheduled tasks, and always-on tasks will pick it up the next time they're restarted.

Thank you very much @giles!

Please can you switch my account to the new system image, i have read all the warnings above and I need the new database version to migrate my code in from git. Thank you.

okay, we've switched that for you!

Hi, can you switch my account too? I have read all the warnings from you. @giles @conrad

@BeAsY -- no problem, that's done now. Any new consoles you start will have the new system image. Websites, scheduled tasks, and always-on tasks will pick it up the next time they're restarted.

Hello @giles, Could you upgrade mine account also? Thanks

Hi glenn and giles, It's possible to upgrade mine too? Thank you in advance

@jrcki, @blackat87 -- before we switch you over, could you confirm that you've read the warning above?

@giles Hi giles, yes I've read all the warnings

@blackat87 no problem. That's done. Happy coding!

@giles Hi Giles, could you change image to "earlgrey" for my account please?

@giles Hi Giles, could you change image to "earlgrey" for my account please?

@codepriest -- before we switch you over, could you confirm that you've read the warning above?

@giles yes sure, I'm aware about possible consequences.

No problem. That's done.

@giles @ glenn Thank you guys!

Could you change image to "earlgrey" for my account please? I have read all the warnings above. I'm having SQLite version problem as mentioned.

No problem. That's done.

Could you change image to "earlgrey" for my account please? I have read all the warnings above. I'm having SQLite version problem as mentioned.

Sure. I have switched your account.

Can you please update my account, too?

@gloriahigley -- before we switch you over, could you confirm that you've read the warning above?

I have. And I'm nervous but let's please proceed. :)

@gloriahigley no problem :-) That's done now. Any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started. If you need it switched back, just let us know.

Could you please update my account? Have this nasty sqlite 3.8.3 requiring error

@isaakbormental -- before we switch you over, could you confirm that you've read the warning above?

Hello @giles Could you update my account to? I have the same error with sqlite.

No problem. I have updated your account.

Thank you @glenn

Hi. Could you upgrade my account too? I have the same error with sqlite.

@stayathomegeek -- before we switch you over, could you confirm that you've read the warning above?

Yes I agree to the warnings. In addition to the sqlite update, I also need python 3.7. I have read the warning here and on other pages and understand about code changes and virtualenv changes. Please proceed. Thanks so much!

No problem. I have update your account.

@glenn Thanks for doing the updates. I have now re-created my virtualenv, but ended up with a message on my web tab page: "This virtualenv seems to have the wrong Python version (3.7 instead of 3.6)." Can you tell me how to correct this? I expect to be running Python 3.7. I don't know how to figure this out. Thank you.

Delete the virtualenv and re-create it with the version of Python that your web app is configured for.

I did exactly that. That's why I'm confused about this. I already removed it and then re-created it with 3.7. I will do it all over again, but in the meantime, could there be another reason for the message? Thanks!

So I deleted the virtualenv for the second time, and then re-created it with Python 3.7. I see that it is correct in the bash console:

(venv) 18:20 ~/SiteEvents (master)$ python -V
Python 3.7.0
(venv) 18:21 ~/SiteEvents (master)$

But when I do a reload, I still see the error message in my web tab, under Virtualenv:

This virtualenv seems to have the wrong Python version (3.7 instead of 3.6).

I just now also went to the code section of the web app, and updated Python 3.6 to 3.7 there. But when I reload, it still throws the same error as always. (Here's what I followed to find out I had to update the Python version in the code section: https://www.pythonanywhere.com/forums/topic/3002/)

Okay it looks like I had initially created a virtualenv in a different location than where I created the new one. That seems to be the reason for the error message. I have now deleted the unwanted virtualenv, and all is well. I hope my afternoon of debugging as a newb will help some other newb LOL: If you're trying to update sql, and you have to re-create your virtualenv, be sure you end up with only ONE virtualenv.

:) thanks for detailing your journey, hope it will be useful to others reading the thread!

Any way I can get my SQLite updated too? I have run in the same issue with my Django app. django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2).

before we switch you over, could you confirm that you've read the warning above?

I have read the warning and agree. Thank you for the help.

Okay, we have switched you over to the new image. You will have to restart your consoles, webapps and always on tasks for the chg to take effect.

can i be switched over too please? Having the same problem. Thanks

I have read the warnings

@perks3 okay, we have switched you over the the new image. You will have to restart your consoles, webapps and always on tasks for the chg to take effect.

Could you update my account? I have read the warning and accept the risks.

Thank you for reading

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started. If you need it switched back, just let us know.

Hello! can i be switched over too please? Having the same problem. I have read the warnings. Thanks

Sure! That's done now. As we said before, any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started. If you need it switched back, just let us know.

Hi! Please switch me over too! Things are already broken, so it's okay if they break some more. Thanks!

Okay, I have changed that for you. You will need to re-create any virtualenvs. Any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started.

@conrad Hi, Could you please also switch me to the new image.

Will I have to create a new virtualenv after the new image?

EDIT: nevermind, just read the above comment.

@bluegrounds -- no problem, we've switched you over.

Hi, could you please switch my account to the new image. Thanks

Could you please switch my account to the new image too? I have read the warning and accept the risks. Thanks a lot.

No problem, alej0 and ksandro. I have switched your accounts to the new image.

Hi Glenn, would you mind switching the image for me as well? (warnings and risks understood, thanks!)

sure, we've switched you over! you will have to restart any consoles and reload your webapp etc.

Thank you conrad!

Can you switch me too? i read the warning.

No problem. That's done.

Can you switch mine too? I have error related to sqlite3 versions

No problem. That's done.

Hi, please could you also update my account. Thank you

please confirm that you understand that this may break your code and you will have to recreate your virtualenvs. We will switch you over after that.

I understand, please proceed to update my account. Thank you

ok, we've switched you over! you will have to restart any consoles and reload your webapp etc.

Can you switch mine as well? I keep getting errors regarding sqlite3 versions. I have read that it could break my code. Thanks in advance!

No problem. I have switched your account.

Can you switch me too?

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started. If you need it switched back, just let us know.

Can you switch my account please to the new sqlite?

No problem, that's done.

Can you please switch my account to the new image too? I am aware of the risks and have also already used the feeback function.

Ok. That's done.

Please can you switch my account to the new system image, i have read all the warnings above and I need the new database version to migrate my code in from git. Thank you.

No problem. I have switched your account to the new system image.

Thanks

Hi, please can you switch my account too, i understand the risk, i don't mind please

Switched you over. Thanks

Hello, I have sent a feedback from my account to request upgrade SQLITE in my account. But I have no idea if the staff has received my message. Stéphane

just switched it over for you. Thanks!

Hi, could you update my account. Thanks

please confirm that you understand that this may break your code and you will have to recreate your virtualenvs. We will switch you over after that.

I have read the warning and agree. Thank you for the help.

Thanks, I have switched you over. Any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started. If you need it switched back, just let us know.

Hello hello, I've read the warning, can you switch me over as well? Please and thank you!

Sure! That's done now.

Please switch my acount too same SQLite error

This post was an April Fools joke

@carreragerardo -- no problem, that's done. Any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started. If you need it switched back, just let us know.

can you switch mine too?

No problem, @TortelliniBroseghini, I have switched your image.

Good afternoon !

Could you update my sqlite please to the error below: "django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2)."

Appreciate !

Leo

@leodiasp It's done.

Hello!

I have the same issue.

Could you switch mine too?

Thank you in advance.

Sure! That's done now. Any new consoles you start will have the new system image; websites and scheduled/always-on tasks will pick it up the next time they're started. If you need it switched back, just let us know.

Thank you very much!

No problem :-)

Hello! Can you please switch my acc to fix this error? I understand that it may break my code. Thanks a lot!

No problem, andre1hh, that's done.

Hi. Can you also please switch mine to fix this error, I understand that it may break my code. Thank you.

Sure! That's done now.

Thanks, upgraded the VirtualEnv and all working

Thanks, upgraded the VirtualEnv and all working

Excellent, thanks for confirming!

I understand that it can break my code, can you switch mine over as well?

Thanks.

Sure, no problem -- that's done now.

Thanks, You da best!

You're welcome :-D

i thought I was da best...

:(

Could you please switch my account to the new image too? I have read the warning and accept the risks. Thanks a lot.

I have read the warning and accept the risks.

Vsauce: or so we've been told...

@ritomar No problem, that's done.

Hi! Can you switch my account to the new image too? I understand that it might break the code.

Sure! That's done now.

Hy. Can you switch mine too? I don't mind the risks. Thanks

No problem. I have updated your system image.

Would you be able to switch mine as well?

Hi, I would like for my account to be switched as well, had the same error and I was pointed here. Thanks! :D

edit: whoops, somehow my comment was posted twice haha

@woVen you have a new account, already on the latest system image.

Hi!! Can you please switch me to "earlgrey" image too. I'm having the issue about SQLit3 2.8.2 need the new version. Best regards!

@aquaerius That's done.

Upgrade for minhnhat.pythonanywhere.com please.

Thank you!

please confirm that you understand that this may break your code and you will have to recreate your virtualenvs. We will switch you over after that.

Hello, please upgrade elaternik.pythonanywhere.com. I understand that this may break code. Thanks!

@elaternik thanks, we have switched your system image to the newest one. Any new consoles you start will have the new system image. Websites, scheduled tasks, and always-on tasks will pick it up the next time they're restarted.

Hi @conrad, can you please upgrade my account eqalmeida.pythonanywhere.com ? I understand that may break my code. Thanks.

Hi, Is it possible to upgrade my account too? I'm having the issue about SQLit3 3.8.2 need the new version of Sqlite. Actually I'm running django 2.5.5 with python 3.5. my account : free1804.pythonanywhere.com

I understand that it might break the code.

Thank you

No problem. I have switched the system image for both eqalmeida and free1804

I have two accounts I would like to have upgraded to allow me to run Django 2.2. Please assist:

  • thirdjal
  • pack144

I accept any responsibility for code breakage.

Best, John

No problem. I have updated the system images for those accounts.

Hi, Glenn, Could you please upgrade my account flyingdutchdoctor.pythonanywhere.com. Accept all risks. Get the error below: "django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2)." Thanks in advance. Yours, Tanja

OK, done, flyingDutchDoctor

Thank yo very much.

Hi Glenn,

Please upgrade my account to have SQLite 3.8.3 or later available on my site aladino.pythonanywhere.com?

I accept the risks of possible code breaks.

Thanks!

Switched you over! You will have to restart consoles/webapps etc for it to take effect.

Can I get a switch too? Thanks

Can I get a switch too? Thanks

nintendo switch

boost switch

Okay, we have switched you over to the new image. You will have to restart your consoles, webapps and always on tasks for the chg to take effect.

Hi,

Thanks for your work first of all.

I'm having the same trouble with Django2.2, Python3.6. Please upgrade my SQLite version (at the moment 3.8.2)

Regards

We're already talking on email. We'll carry on the discussion there.

Could you please switch my account to the new image too? I have read the warning and accept the risks.

Many Thanks

No problem. I have switched your system image, @SonnyS

Hi, Could you please switch my account over to the image too? Thanks.

django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2)

Hi, Could you please switch my account over to the image too? Thanks.

django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2)

hi- I believe we are also in correspondence over email. We have switched that over for you.

Hi, can you please switch my account to the image as I am also receiving this error.

@rhysmaiden just to confirm, you understand that this may break your existing code right?

Hello @giles, Could you upgrade mine account also? Thanks

Please confirm that you understand that this may break your existing code, and that you will have to rebuild your virtualenvs etc.

I have read the warning and accept the risks. @conrad

Okay, I've switched you over to the newest image (fishnchips). You will need to kill your old consoles and start new consoles, and reload your webapp to see the changes.

Could you switch my account too? Thank you!

@radarstats It's done

Could you switch my account too? Thank you! I understand that this may break my code and I will have to recreate my virtualenvs.

Thanks, I've switched you over to the newest image (fishnchips). You will need to kill your old consoles and start new consoles, and reload your webapp to see the changes.

Can you switch me over too please? I know I may need to redo my virtualenv.

No problem. I have updated your account.

Hello, please could you switch my account? Thanks.

No problem. I have updated your account.

Hi Glen, not able to run manage.py migrate due to the below error:

jango.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2)

Can you please upgrade us also?

@pakumar2 just to confirm, you understand that this may break your existing code right?

Hi Glenn I am having this issue. Can you switch me over?

@BobGranzow just to confirm, you understand that this may break your existing code right?

Hey, Can you please switch it for me also? I will fix if it breaks my code.

@khizirsiddiqui done. Any new consoles you start will have the new system image; any scheduled/always-on tasks and websites will pick it up the next time they're (re)started.

The same issue here, kindly, do the switch with my account.

@sarebtech switched!

Hello, could you also switch my account as well, please? I will fix any issues that come with this.

No problem, @chanceherriage. I have switched your account.

Hi, staff from PythonAnywhere! Can you please upgrade my account: dsfb4ws.pythonanywhere.com ? I understand that may break my code. Thanks. Best Regards,

Changed. Thanks!

Hi there! Could you please upgrade mutterberg.pythonanywhere.com to the new earlgrey, as well? I will address any resulting dependency issues. Thank you so much!

@mutterberg It's done.

Thank you!

Hi could you upgrade my account? Thanks!

@jasonblum just to confirm, you understand that this may break your existing code right?

@conrad yes sorry I know you need folks to say that explicitly. Understood. Thanks!

@conrad yes sorry I know you need folks to say that explicitly. Understood. Thanks!

thanks! we have switched you over

Please upgrade my account

No problem. I have updated your system image.

Could you please update my account image. I understand that this may break any existing code. Thank you.

No problem -- that's done now. Any new consoles you start will have the new system image; any scheduled/always-on tasks and websites will pick it up the next time they're (re)started.

Hi, Please upgrade my account too

Sure! That's done now. Any new consoles you start will have the new system image; any scheduled/always-on tasks and websites will pick it up the next time they're (re)started.

Hello. I have just run into this issue on my account, and would like to be upgraded to the new SQLite database. I am aware of the issues for existing code. Thank you.

No problem -- that's done now. Any new consoles you start will have the new system image; any scheduled/always-on tasks and websites will pick it up the next time they're (re)started.

Please, Updgrade my account. I need Sqlite3 3.8.3

Thank you!.

@fgclaramonte just to confirm, you understand that this may break your existing code right?

Yes. Thanks for your advise. No problem, it is OK for me. Thank you.

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled tasks will pick it up the next time they're started. Your default save and run python version and default python3 version remain unchanged. We can change it for you if you want.

Thank you. It's Ok by now.
Regards.

Excellent, thanks for confirming!

Please, Upgrade my account to SQLite 3.8.3. I understand that this may break my existing code.

Sure, no problem -- that's done now.

Dear pythonanywhere-Team,

i would like to change to the new sqlite-version, too. Could you please help me out with this?

Best regards Martin (username: mwiesner)

No problem. I have updated your account.

thank you very much, the site is available again! one more thing: When i try to makemigrations i get :

File "/home/mwiesner/.virtualenvs/hcdr_env3/lib/python3.5/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.8.2). <<

how coul i upgrade to SQLite 3.8.3?

best regards and thanks in advance! Martin

You need to start a new console. Existing consoles will not switch to using the new system image.

Hello dear friend, could you please switch mine too? I understand the risk. Thank you very much! Best regards.

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled tasks will pick it up the next time they're started.

Hello, Please upgrade my account too, i don't have problem with this upgrade. Thank you!

okay, we've switched you over!

Hello please upgrade my account, i will really appreciate it

Sure, I've moved you over to the newest system image.

Hi, I have the same problem. Could you help me an upgrade my account? Thank you.

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled tasks will pick it up the next time they're started.

I have the same problem and am comfortable with the risks stated in the warning. Please upgrade me. Thanks!

No problem. That's done.

Hello, could you please update my system image to the latest? I'm looking to update sqlite to >= 3.25 to support window functions, and understand that the upgrade may break my existing code. Thanks in advance!

You're already on our most recent system image -- unfortunately the most recent version of SQLite that we support is 3.11.

Hi! Please, updgrade my account. I need Sqlite3 3.8.3 or later. Thank you!

No problem. I have updated your system image.

Hi, could you please upgrade my account. I understand the warning. Thank you!

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled tasks will pick it up the next time they're started.

Hi i am also facing same issue can anyone help me

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled tasks will pick it up the next time they're started.

Hi, please, upgrade my account! Thank you very much!

You're already on our most recent system image.

django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2).

hello, please upgrade my account, i will really appreciate it

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled tasks will pick it up the next time they're started.

Getting error:

ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2).

Please advise how to fix. Thanks.

To fix it, we need to switch your account to a new system image.

Switching to the new system image may break some of your existing code that worked on older versions. You may need to recreate any virtualenvs that you're using and you will need to start new consoles and reload your web apps.

Let us know if you'd like to switch your system image for you.

Hi, I want to update my site to Django > 2.1 but I get the error about the sqlite version. Can you switch my account to the last system image ? I've read the risk ! Thank

No problem -- that's done now. Any new consoles you start will have the new system image; websites and scheduled tasks will pick it up the next time they're started.

Just a note to say that you no longer need to ask to have your system image changed -- you can change it yourself from the "Account" page. There's more information on this help page.

Here is what I'm dealing with: 'SQLite 3.9.0 or later is required (found %s).' % Database.sqlite_version django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.8.2).

Could you help me with this. I've upgraded python and django for previuous problems I had, but now I don't know what to do. Thanks

Unfortunately the version of SQLite that we have installed does not work with Django 3.2 or higher; we'll be releasing a new system image in the coming months that will upgrade it. However, in the meantime you'll have to use an earlier version of Django if you want to use SQLite. Alternatively, you can use MySQL, which is fully supported.

@aherrera we just realized that your account is on a very old system image dangermouse.

In the newer system image fishnchips, you will get SQLite 3.11.0 that works with Django 3.2.

You can change it yourself from the "Account" page. There's more information on this help page: https://help.pythonanywhere.com/pages/ChangingSystemImage.

can you guys please switch my account too to the latest SQLite version? I am getting this error. django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.8.2).

You can update your system image to get a more recent version of SQLite by following the instructions on this help page: https://help.pythonanywhere.com/pages/ChangingSystemImage.