Exception 在GCP实例VM ubuntu 18.04中安装Gitlab CE

Exception 在GCP实例VM ubuntu 18.04中安装Gitlab CE,exception,google-cloud-platform,timezone,ubuntu-18.04,gitlab-ce,Exception,Google Cloud Platform,Timezone,Ubuntu 18.04,Gitlab Ce,这是我第一次尝试在Google云平台instanceVM中安装Gitlab CE。我采用了两种不同的方法,官方的方法: 以及本教程中的一个: 但是,在这两种情况下,我都有相同的错误: bash Running handlers: There was an error running gitlab-ctl reconfigure: bash[migrate gitlab-rails database] (gitlab::database_migrations line 55) had an e

这是我第一次尝试在Google云平台instanceVM中安装Gitlab CE。我采用了两种不同的方法,官方的方法:

以及本教程中的一个:

但是,在这两种情况下,我都有相同的错误:

bash
Running handlers:
There was an error running gitlab-ctl reconfigure:

bash[migrate gitlab-rails database] (gitlab::database_migrations line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash"  "/tmp/chef-script20200523-23121-djcfhu" ----
STDOUT: rake aborted!
TZInfo::DataSourceNotFound: No source of timezone data could be found.
Please refer to https://tzinfo.github.io/datasourcenotfound for help resolving this error.
/opt/gitlab/embedded/service/gitlab-rails/config/application.rb:14:in `<top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `require'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'

Caused by:
TZInfo::ZoneinfoDirectoryNotFound: None of the paths included in TZInfo::ZoneinfoDataSource.search_path are valid zoneinfo directories.
/opt/gitlab/embedded/service/gitlab-rails/config/application.rb:14:in `<top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `require'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
STDERR: 
---- End output of "bash"  "/tmp/chef-script20200523-23121-djcfhu" ----
Ran "bash"  "/tmp/chef-script20200523-23121-djcfhu" returned 1

实际上,我遵循了输出提供的链接,但确实谈到了RubyonRails,我没有使用它。那么,有人知道如何修复GCP实例中的ZoneInfo错误吗?或者如何让GitLab忽略它

任何类型的帮助都是有用的:

谢谢大家


顺便说一句,我正在使用bionic的gitlab-ce_13.0.0-ce.0_amd64.deb版本,所以我刚刚注意到我使用的是Ubuntu bionic的最低版本。与经典的一个得到固定