想问一下这个是啥
discourse-1.yml
是什么,不能直接修改 app.yml 吗?
可以直接修改app.yml,哪个带China的文件,是discourse官方给出的代理文件,就是让在国内的环境下也可以加载到一些国外的插件
discourse-1.yml就是app.yml,只不过我重命名了
刚刚才看完 原来后面有提到
我发现 我默认的配置文件
#version: tests-passed
他就是注释掉的
这个不重要,保持默认即可
I, [2024-10-22T15:23:09.643051 #1] INFO -- : Building
Environment: production
building...
undefined
ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command was killed with SIGKILL (Forced termination): ember build -prod
I, [2024-10-22T15:23:09.647381 #1] INFO -- : Terminating async processes
I, [2024-10-22T15:23:09.647438 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 39
I, [2024-10-22T15:23:09.647751 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 107
107:signal-handler (1729610589) Received SIGTERM scheduling shutdown...
2024-10-22 15:23:09.648 UTC [39] LOG: received fast shutdown request
2024-10-22 15:23:09.659 UTC [39] LOG: aborting any active transactions
2024-10-22 15:23:09.670 UTC [39] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
2024-10-22 15:23:09.671 UTC [49] LOG: shutting down
107:M 22 Oct 2024 15:23:09.734 # User requested shutdown...
107:M 22 Oct 2024 15:23:09.734 * Saving the final RDB snapshot before exiting.
107:M 22 Oct 2024 15:23:09.778 * DB saved on disk
107:M 22 Oct 2024 15:23:09.778 # Redis is now ready to exit, bye bye...
2024-10-22 15:23:09.792 UTC [39] LOG: database system is shut down
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile:build' failed with return #<Process::Status: pid 1949 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"build", "hook"=>"assets_precompile_build", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile:build'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
62dbd407b7d17e3a9031631307b3c2ee35e098dbe8d844f34086fe2926a909cf
root@hebaodan77:/var/discourse#
没开 SWAP 之前都能正常重构。
看这个有可能还是 Swap 交换区的问题。
可能是开了但空间不够也是有可能的。
扩下 Swap 看看?
怪事,我没遇到过这个问题
请问你这个是怎么自定义的?
admin是用户名,开启用户全名,并显示用户名即可,后面那个表情是状态,点击右上角的头像,点击用户,点击设置自定义状态即可。
全名看到了,但是开启用户全名和设置状态没有看到,是版本问题还是管理设置问题?我自己部署的没看见,这个号也没看到。
!!!全名找到了,谢谢!
我这里没有自定义状态,难怪我找半天😂
找到了,也是在管理员设置,enable user status
1 Like
版本为: 3.4.0.beta3-dev
我也没找到哪里开启这个,我记得我就是默认开启的,也有可能是哪个插件附带的功能。