首次安装hue首次启动报错KeyError: "Couldn't get user id for user hue"

截图

首次安装hue首次启动报错KeyError: "Couldn't get user id for user hue"

解决方案:

首先要创建个普通用户,并给添加密码。如果密码给的过于简单,会给出提示,忽略就行,如下图:

首次安装hue首次启动报错KeyError: "Couldn't get user id for user hue"

然后,我们要给刚才解压的hue文件改变拥有者属性,通过 chown -R 用户名 文件地址。如下图:

首次安装hue首次启动报错KeyError: "Couldn't get user id for user hue"

最后,我们使用 su 命令切换用户,到hue文件夹下执行运行hue的命令就可以了。

首次安装hue首次启动报错KeyError: "Couldn't get user id for user hue"
首次安装hue首次启动报错KeyError: "Couldn't get user id for user hue"