First, explain the reason for this problem because the root user you use installed hue, and then use build/env/bin/supervisor under the root user, as shown in the following figure:
knowing the reason, it is easy to solve the problem. First, create an ordinary user and add a password. If the password is too simple, a prompt will be given, just ignore it, as shown in the following figure:
Then, we need to change the owner attribute of the hue file just unzipped, through chown -R username file address. As shown in the figure below:
Finally, we use the su command to switch users, and execute the command to run hue in the hue folder.
About the solution of KeyError: "Couldn't get user id for user hue" after the installation of hue
Guess you like
Origin blog.csdn.net/Dreamy_zsy/article/details/103419268
Recommended
Ranking