User account disappears after reboot

13 views
Skip to first unread message

Yukun Guo

unread,
Aug 9, 2016, 11:42:55 PM8/9/16
to airbnb_caravel
Sorry for my ignorance, but why do I lose the account created by "fabmanager create-admin --app caravel" every time after rebooting my computer?
I think I have strictly followed the instructions and Caravel seems to work perfectly.
However after restarting the system, executing "fabmanager list-users --app caravel" returns no users at all, and all the slices and dashboards disappear too.
Am i missing something (besides the user account)?

Maxime Beauchemin

unread,
Aug 10, 2016, 12:42:45 AM8/10/16
to airbnb_caravel
Hi,

By default the sqlite database is located here: `/tmp/caravel.db`, `c:\tmp\caravel.db` on Windows. Do you have a script that cleans up your temp space on boot?

Max

Yukun Guo

unread,
Aug 10, 2016, 1:36:59 AM8/10/16
to airbnb_caravel
Hi, I use Ubuntu 15.10 and according to http://serverfault.com/a/377353 it does clean up /tmp on every boot.
So this can be easily fixed by creating caravel_config.py and overriding SQLALCHEMY_DATABASE_URI ?

Maxime Beauchemin

unread,
Aug 10, 2016, 1:05:56 PM8/10/16
to airbnb_caravel
Yes, that should take care of it. I just created a GH issue to move the default location from /tmp to somewhere in user space.

Max

Yukun Guo

unread,
Aug 13, 2016, 3:42:30 AM8/13/16
to airbnb_caravel
Thanks, or you can mention it in the document as new users might overlook the Configuration section underneath.
Reply all
Reply to author
Forward
0 new messages