Closed mokedeng closed 4 years ago
Your install log is riddled with errors. What system are you running this on?
The above logs are based on Ubuntu 16.04.1, Details are as follows:
$ uname -a
Linux szdev-PC 4.15.0-88-generic #88~16.04.1-Ubuntu SMP Wed Feb 12 04:19:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ docker -v
Docker version 18.09.7, build 2d0083d
$ docker-compose -v
docker-compose version 1.24.0, build 0aa59064
I'm trying to install it on another CentOS server, The error log is almost the same
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
[root@localhost ~]# docker -v
Docker version 19.03.9, build 9d988398e7
[root@localhost ~]# docker-compose -v
docker-compose version 1.26.0-rc4, build d279b7a8
./install.sh: 第 177 行: [: docker-compose version 1.24.0, build 0aa59064: 需要整数表达式
This error indicates (based on the translation I got) an issue with getting the results of docker-compose run
commands. Your output is also riddled with docker-compose version 1.24.0, build 0aa59064
messages, indicating something is weird with your docker-compose
. These messages should not appear and they are likely interfering with some of the checks we do on the docker-compose run
outputs.
FAIL: Cannot read credentials back from relay/credentials.json.
This indicates your relay/credentials.json
file is not readable by the current user, pointing to permission or ownership issues. I'd check these.
The output of $ docker logs sentry_onpremise_web_1
also indicates some permission/ownership issues. If you fix those, you should be good to go.
According to the guidance of the Forum https://forum.sentry.io/t/sentry-10-error-after-updating-docker-images/8880/5, After I run docker-compose run --rm snuba-api migrate
, All the previous problems seem to have been solved,But I don't know why it works?
I think it is mostly a coincidence as the installation script failed at various points, including this step (a crucial step for things to work). But I'd guess some other change you have made fixed the main permission issues and other checks.
Closing as this is resolved and there's no action we can take on our side.
The above logs are based on Ubuntu 16.04.1, Details are as follows:
The installation process is as follows:
when I open 'http://10.7.226.102:9000/auth/login/' it report errors '502 Bad Gateway nginx' So I did the following
when I open 'http://10.7.226.102:9000/organizations/sentry/projects/',it report errors
Unable to fetch all project stats
when I open 'http://10.7.226.102:9000/organizations/sentry/discover/queries/',it report errorsInternal Error
So I did the following
I guess it's caused by
DB::Exception: Table default.sentry_local doesn't exist..
But I don't know how to deal with it Can you give me some advice? Thx.