assets
' failed with return #<Process::Status: pid 1222 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132
`spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"precompile", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes
assets
'"]}
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.
我尝试了此更新并遇到了此错误。
我立即查看了日志,发现 Nginx 未能正常启动,Unicorn 频繁重启。因此,我完全重启了 Ubuntu 服务器并再次尝试重建 Discourse。
我收到了以下消息:“您想通过清理系统中的 Docker 镜像和容器来尝试回收空间吗?(y/N)”
我按了 Y。
命令执行完毕后,我再次重建了 Discourse。
现在可以正常工作了。
我有几个问题。
- 如果 Nginx 未能正常工作或 Unicorn 频繁重启,通常是什么问题?
- 我注意到命令“您想通过清理系统中的 Docker 镜像和容器来尝试回收空间吗?(y/N)”的操作与命令“docker system prune -a”的操作类似。运行此命令是否会对 Discourse 相关的软件包或文件造成破坏?
自从运行此命令以来,我已经释放了相当多的磁盘空间。
说到释放相当多的空间,这像强迫症一样一直困扰着我……
我在网站上查了一下,似乎没有什么问题,但这让我夜不能寐。