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

请问不支持直接在debian下面部署吗,必须Docker? #63

Open
bzdlx opened this issue May 24, 2024 · 3 comments
Open

请问不支持直接在debian下面部署吗,必须Docker? #63

bzdlx opened this issue May 24, 2024 · 3 comments

Comments

@bzdlx
Copy link

bzdlx commented May 24, 2024

�[31m[ERRO]�[0m 2024/05/24 17:45 http: Server closed
�[41m[FTAL]�[0m 2024/05/24 17:45 start doctron failed. %vhttp: Server closed
Failed access to font dir: neither $XDG_CONFIG_HOME nor $HOME are defined
Failed access to font dir: neither $XDG_CONFIG_HOME nor $HOME are defined
Failed access to font dir: neither $XDG_CONFIG_HOME nor $HOME are defined

直接部署在debian服务器启动是时候,报以上错误。

求解~

@lampnick
Copy link
Owner

�[31m[ERRO]�[0m 2024/05/24 17:45 http: Server closed �[41m[FTAL]�[0m 2024/05/24 17:45 start doctron failed. %vhttp: Server closed Failed access to font dir: neither $XDG_CONFIG_HOME nor $HOME are defined Failed access to font dir: neither $XDG_CONFIG_HOME nor $HOME are defined Failed access to font dir: neither $XDG_CONFIG_HOME nor $HOME are defined

直接部署在debian服务器启动是时候,报以上错误。

求解~

  • 对于 $HOME,你可以将其设置为你的用户主目录的路径(例如,/home/username)。
  • 对于 $XDG_CONFIG_HOME,它通常默认为 $HOME/.config,但你也可以根据需要设置它。
  • 你可以使用 export 命令在bash shell中设置这些环境变量,例如:export HOME=/home/username 和 export XDG_CONFIG_HOME=$HOME/.config。

@zaite
Copy link

zaite commented Sep 19, 2024

同样的问题,按上面的说明在debian系统的/etc/profile文件里设置了环境变量(服务以www、root用户运行都试过),还是报这个错误
image

@lampnick
Copy link
Owner

同样的问题,按上面的说明在debian系统的/etc/profile文件里设置了环境变量(服务以www、root用户运行都试过),还是报这个错误 image

最好看下环境变量生效没有

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

No branches or pull requests

3 participants