Support Questions

Find answers, ask questions, and share your expertise

OperationalError: (1054, "Unknown column 'useradmin_userprofile.first_login' in 'field list'")

avatar
New Contributor

we updated cdh version from v5.3.3 to v5.7.1.

 

when we did the login on HUE, we get this error.

 

OperationalError: (1054, "Unknown column 'useradmin_userprofile.first_login' in 'field list'")

 

we tried this issue.

https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/GO_7O3Bp-Go

./build/env/bin/hue migrate

but we get same error.

 

we need the solution.

1 ACCEPTED SOLUTION

avatar
New Contributor

we tried to re-install Hue.

after that, we didn't see error messages.

and we can login Hue.

 

thank you.

View solution in original post

2 REPLIES 2

avatar
Super Guru
Did you do the sync DB from CM if you have CM?

You might need to export the proper HUE_CONF_DIR before executing the
command:
http://gethue.com/hue-api-execute-some-builtin-commands/

avatar
New Contributor

we tried to re-install Hue.

after that, we didn't see error messages.

and we can login Hue.

 

thank you.