541:ERROR:flask_appbuilder.security.sqla.manager:Error adding new user to database. (sqlite3.OperationalError)
I am working on Ubuntu after, pip install superset, I am trying to create fabmanager create-admin --app superset, but when I am doing that I am getting an error saying Recognized Database Authentications. 2018-03-02 20:25:45,657:ERROR:flask_appbuilder.security.sqla.manager:Error adding new user to database. (sqlite3.OperationalError) attempt to write a readonly database [SQL: u'INSERT INTO ab_user (first_name, last_name, username, password, active, email, last_login, login_count, fail_login_count, created_on, changed_on, created_by_fk, changed_by_fk) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: (u'admin', u'user', u'admin', 'pbkdf2:sha256:50000$8IvazYQn$7905b215a4d2c5b5093d09a39c5399494a8dbcedfff50e733f7bed07b1343970', 1, u'[email protected]', None, None, None, '2018-03-02 20:25:45.656318', '2018-03-02 20:25:45.656334', None, None)] No user created an error occured.
Please help me on this.
That means that some other process has the sqlite database locked
@arshadzohran same here, you solved it?
sqlite is not suitable beyond small local environments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.