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

修改完参数,submit之后,报错服务器开小差了,如何排查问题呢? #5

Open
hiyoit opened this issue Feb 8, 2024 · 4 comments

Comments

@hiyoit
Copy link

hiyoit commented Feb 8, 2024

日志输出是否可行增加报错的详细信息?

@limitcool
Copy link
Owner

limitcool commented Feb 8, 2024

设置环境变量DEBUG_MODE=true,同时你还需要设置GIN_MODE=release,就会默认进入debug模式,默认控制台会输出错误,你可以将控制台的输出放在这个issue.

@hiyoit
Copy link
Author

hiyoit commented Feb 9, 2024

我还有个问题 我nohup进入后天运行时,好像没法调用config.yaml
正在上传 Screenshot_2024-02-09-11-49-12-677_com.server.auditor.ssh.client.jpg…
实际上我的config.yaml
是8081端口

@limitcool
Copy link
Owner

limitcool commented Feb 9, 2024

我看不到你的图片,你的图片没有上传成功,config.yaml~/.palworld-admin/ 下,使用nohup后台运行不会导致这个问题,请检查你是否修改之后并保存了文件。推荐是使用systemd来管理,具体示例可以参考https://github.com/limitcool/palworld-admin/tree/main/scripts/systemd

@hiyoit
Copy link
Author

hiyoit commented Feb 18, 2024

找到原因了。sudo nohup执行的命令,默认根目录在/root

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

2 participants