Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing field for Grafana mav user creation #1039

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PYBrulin
Copy link

Hi, this PR simply updates the command used to insert the mav user into the grafana database.

A field required for the creation of the mav user is missing when inserting it into the grafana.db database (probably the "is_service_account" field). This PR simply adds the missing field required to complete the Grafana configuration.

Below is the error that led to this modification:

Error: '/usr/bin/sqlite3 /srv/maverick/data/analysis/grafana/grafana.db "insert into main.user values(100,0,'mav','mav','Maverick User','e35f84e5859dfe5dfe2a9f6ed2086884c3a5e41d206c6e704b48cf45a0dda574ad85b4e9362e8d89eee3eb82e7ef34528ea4','ry48G1ZHyi','yICOZzT82L','',10,0,0,'','2017-06-21 12:54:43','2017-06-21 12:54:43',1,'2017-06-21 12:54:43', 0)"' returned 1 instead of one of [0]

Error: table main.user has 19 columns but 18 values were supplied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant