After clone and ./install.sh, docker-compose up -d
I arrived at the page:
But I don’t have a user to login, how can I create a superuser? And where is the admin page?
After clone and ./install.sh, docker-compose up -d
I arrived at the page:
I can’t install sentry
[root@dev onpremise]# pip install sentry
Looking in indexes: Simple Index
Collecting sentry
Downloading http://mirrors.aliyun.com/pypi/packages/8d/d8/542f590c702a80377419c670c57631bb432ffb85b8b03e4d29a7c06d6853/sentry-9.1.2.tar.gz (25.2 MB)
|████████████████████████████████| 25.2 MB 8.9 MB/s
Collecting BeautifulSoup>=3.2.1
Downloading http://mirrors.aliyun.com/pypi/packages/40/f2/6c9f2f3e696ee6a1fb0e4d7850617e224ed2b0b1e872110abffeca2a09d4/BeautifulSoup-3.2.2.tar.gz (32 kB)
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.7 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-t8937gcd/BeautifulSoup/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-t8937gcd
/BeautifulSoup/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’
egg_info --egg-base /tmp/pip-install-t8937gcd/BeautifulSoup/pip-egg-info
cwd: /tmp/pip-install-t8937gcd/BeautifulSoup/
Complete output (6 lines):
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-install-t8937gcd/BeautifulSoup/setup.py”, line 3
“You’re trying to run a very old release of Beautiful Soup under Python 3. This will not work.”<>“Please use Beautiful Soup 4, available through the pip package ‘beautifulsoup4’.”
^
SyntaxError: invalid syntaxERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
[root@dev onpremise]# pip install sentry==10.0.0
Looking in indexes: Simple Index
ERROR: Could not find a version that satisfies the requirement sentry==10.0.0 (from versions: 2.0.0a1, 2.0.0rc5, 2.0.0rc6, 2.0.0rc7, 2.0.0, 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5.1, 8.6.0, 8.7.0, 8.8.0, 8.9.0, 8.10.0, 8.11.0, 8.12.0, 8.13.0, 8.14.0, 8
.14.1, 8.15.0, 8.16.0, 8.16.1, 8.17.0, 8.18.0, 8.19.0, 8.20.0, 8.21.0, 8.22.0, 9.0.0rc1, 9.0.0, 9.1.0, 9.1.1, 9.1.2)
ERROR: No matching distribution found for sentry==10.0.0
You’re doing everything wrong. First, you’re trying to install with python3 which we don’t support. That’s the fundamental issue here.
Second, we don’t really support installing from pip anymore since the infrastructure is too complex.
Just use this: https://github.com/getsentry/onpremise
That screenshot is onpremise up and running.
I don’t know how to login, what is the default user /password? Or how can I create one with onpremise setup since all the docs I can find right now is sentry createuser
…
OK, I made several mistakes.
Apparently I have created a user the first time when I invoked ./install.sh.
But then I encountered a problem with network (us.ncr.io is blocked), I cannot pull sentry-relay image so sentry service is incomplete.
After I resolved the network issue by setting a proxy for docker, I ran install.sh again. But this time the script will skip user creation.
I then totally forgot the fact that I have already created a user yesterday when I tried the first time.
with docker-compose run --rm web createuser
I created a new user and I can now login into sentry.