Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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.