oTree Forum >

use postgreSQL as database

#1 by shuchen

I ran an oTree session on Google Cloud Server recently and met the problem with the following error message:
(sqlite3.OperationalError) database is locked.
It looks like postgreSQL is a better option and I have installed it on the cloud engine. But I could not switch the oTree default database from sqlite to postgreSQL. Is there any instruction for setting up postgres with oTreeļ¼Ÿ
Any help is greatly appreciated!

Write a reply

Set forum username