self-hosted
self-hosted copied to clipboard
Fresh install of 23.11.2 or 23.12.1 does not work out of the box
Self-Hosted Version
23.11.2
CPU Architecture
aarch64
Docker Version
24.0.7
Docker Compose Version
2.23.3-desktop.2
Steps to Reproduce
> ./install.sh
Expected Result
It's a fresh install, should work out of the box?
Actual Result
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
/usr/local/lib/python3.8/site-packages/memcache.py:1303: SyntaxWarning: "is" with a literal. Did you mean "=="?
if key is '':
/usr/local/lib/python3.8/site-packages/memcache.py:1304: SyntaxWarning: "is" with a literal. Did you mean "=="?
if key_extra_len is 0:
Error: It looks like you've skipped a hard stop in our upgrade process. Please follow the upgrade process here: https://develop.sentry.dev/self-hosted/releases/#hard-stops
Error in install/set-up-and-migrate-database.sh:13.
'$dcr web upgrade' exited with status 1
-> ./install.sh:main:37
--> install/set-up-and-migrate-database.sh:source:13
Cleaning up...
Event ID
No response
That's weird. Are you using an external Postgres by any chance? Or do you use everything default on docker-compose.yml?
@aldy505 No I am not using any external Postgres. I use everything default on docker-compose.yml
I can't reproduce it. I did a clean install on a fresh VM on 23.12.1 and got nothing wrong. What I did was exactly this:
git clone https://github.com/getsentry/self-hosted.git sentry-self-hosted
cd sentry-self-hosted
git checkout 23.12.1
sudo ./install.sh
sudo docker compose up -d
Is there any configuration or extra steps/commands that you did?
Thank you for your response. I tried again but got the same error
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
00:36:47 [WARNING] sentry.utils.geo: Error opening GeoIP database: /geoip/GeoLite2-City.mmdb
00:36:47 [WARNING] sentry.utils.geo: Error opening GeoIP database in Rust: /geoip/GeoLite2-City.mmdb
Error: It looks like you've skipped a hard stop in our upgrade process. Please follow the upgrade process here: https://develop.sentry.dev/self-hosted/releases/#hard-stops
Error in install/set-up-and-migrate-database.sh:13.
'$dcr web upgrade' exited with status 1
-> ./install.sh:main:34
--> install/set-up-and-migrate-database.sh:source:13
Cleaning up...
Maybe it's because I am on Apple M1 Max (Ventura 13.4)?
@hubertdeng Can you repro this on M1?
I also encountered the same problem
I also encountered the same problem
Hello @itDjango are you also running the self hosted sentry on Apple M1?
I also encountered the same problem
Hello @itDjango are you also running the self hosted sentry on Apple M1?
Linux
I spent a few days fixing this issue The two longest processing issues: 1 . https://github.com/getsentry/self-hosted/issues/2642 Fix https://github.com/getsentry/self-hosted/issues/1794#issuecomment-1304565961 2. https://github.com/getsentry/self-hosted/issues/2641 Fix https://github.com/getsentry/self-hosted/issues/2557#issuecomment-1824711505
Of course, there are other issues, but most of them are related to my network
Same for me, AWS EC2, Ubuntu and Debian T2.medium and large and T3 medium and large.
Same for me, AWS EC2, Ubuntu and Debian T2.medium and large and T3 medium and large.
@Pixel-Minions Do you have the exact output text as per the issue author's "Actual Output" section?
May be related #2704
I believe this is related to this: https://github.com/getsentry/self-hosted/issues/1585
We do not have a timeline for when this will be completed by
I spent a few days fixing this issue The two longest processing issues: 1 . #2642 Fix #1794 (comment) 2. #2641 Fix #2557 (comment)
Of course, there are other issues, but most of them are related to my network
I have same question with you How to solve it
#2 ERROR: failed to copy: httpReadSeeker: failed open: server message: insufficient_scope: authorization failed
[internal] load metadata for docker.io/library/debian:bookworm-slim:
Dockerfile:1
1 | >>> FROM debian:bookworm-slim
2 |
3 | LABEL MAINTAINER="[email protected]"
ERROR: failed to solve: debian:bookworm-slim: failed to resolve source metadata for docker.io/library/debian:bookworm-slim: failed to copy: httpReadSeeker: failed open: server message: insufficient_scope: authorization failed
This is likely a permission error on your OS. Some permission is not configured, preventing necessary files from being read.