superset icon indicating copy to clipboard operation
superset copied to clipboard

keep user infomation

Open birdspring opened this issue 10 years ago • 2 comments

I have encounted such a problem like that I cannot reserve my user infomation while I restart my machine.The caravel use sqlite as database, so how could I change the source code to save my user infomation permanently?

Thanks,

birdspring avatar Jun 07 '16 02:06 birdspring

Caravel uses a sqlite database in a temporary folder of the instance it's running on. You can see the path to it in your caravel_config.py. Check that this file is persisting when you restart the machine. If you're using an environment like docker (which rebuilds the instance every time you start) then the configuration won't persist. Try changing the directory to a mounted folder, or using an external database (like a MySql server).

On Tue, 7 Jun 2016 at 03:33 guoyangyangyang [email protected] wrote:

I have encounted such a problem like that I cannot reserve my user infomation while I restart my machine.The caravel use sqlite as database, so how could I change the source code to save my user infomation permanently?

Thanks,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/airbnb/caravel/issues/569, or mute the thread https://github.com/notifications/unsubscribe/AEdFuHfYxdX6ysi-DWO4nZLz3tzYWTMLks5qJNiGgaJpZM4Ivf3G .


Alan Cruickshank E: [email protected] T: +44 770 6851825

alanmcruickshank avatar Jun 07 '16 07:06 alanmcruickshank

@alanmcruickshank's answer is right, should be trivial to figure out. Closing.

mistercrunch avatar Jun 09 '16 03:06 mistercrunch