Oracle Cloud 使用 ARM 架构进行托管

我读过你关于实验性 ARM 支持的文章。

但是,我不确定是否已经注意到所有需要考虑的 ARM 相关事项。

最后,安装停止了。错误消息对我来说似乎没有帮助。

你觉得呢?

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 141 exit 128>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin main", "git remote set-branches origin $version", "git fetch --depth 1 origin $version", "git checkout $version", "mkdir -p tmp", "chown discourse:www-data tmp", "mkdir -p tmp/pids", "mkdir -p tmp/sockets", "touch tmp/.gitkeep", "mkdir -p                    /shared/log/rails", "bash -c \"touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log\"", "bash -c \"ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log\"", "bash -c \"mkdir -p           /shared/{uploads,backups}\"", "bash -c \"ln    -s           /shared/{uploads,backups} $home/public\"", "bash -c \"mkdir -p           /shared/tmp/{backups,restores}\"", "bash -c \"ln    -s           /shared/tmp/{backups,restores} $home/tmp\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp\"", "find public/plugins/ -maxdepth 1 -xtype l -delete"]}bootstrap failed with exit code 128
** 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.

可能是网络错误?你再试一次了吗?错误是一致的吗?

1 个赞

是的,这种情况发生了很多次。

感谢您的提示。我猜原因是默认的防火墙限制。我在日志中找到了关键提示……

fatal: unable to access ‘GitHub - discourse/discourse: A platform for community discussion. Free, open, simple.’: Could not resolve host: github.com

是的,如果安装程序无法访问互联网,那将是一段糟糕的时光。

3 个赞

非常奇怪,尤其是因为 Discourse 似乎已成功下载。

这一定有什么特别之处。

您已成功下载 Discourse “安装程序”,但下载 Discourse 是在失败的步骤中会发生的事情。

您是否在使用 Oracle 的奇怪发行版?除非我记错了,它在容器内的 DNS 存在一些问题,需要额外配置 Docker 服务。

也许可以尝试运行一个更常见的 ARM 兼容发行版,如 Debian?

  • Ampere Altra 80C,6 GB 内存
  • Canonical Ubuntu 22.04,Image-Build:2022.08.10-0

实际上,它本应该可以工作的。我甚至完全禁用了 Oracle Cloud 和 Ubuntu 防火墙进行测试。但没有成功。

该项目已在此期间夭折。

也许下次会尝试使用树莓派。

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.