Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Upgrade path and tags database #32
Coming from 1.0.2-2 and upgrading to 1.1.2-1, I see several errors related to tags:
These are the tables I see in graphite.db. Since I did no configuring on my end I'm assuming this includes the local tags db.
Is there a migration guide / am I missing something?
in the container for that.
Interestingly that command returns:
Since I only use graphite-web as a mean as interfacing with carbon with functions for grafana, a quick scan of graphite.db didn't reveal anything I'd care too much about if I dropped sqlite and made a fresh start with postgres.
I did have a couple questions. I noticed that in order to get the initial migrations to run for postgres (and I'm assuming any non-sqlite db) I had to force
FROM graphiteapp/graphite-statsd:1.1.3 COPY carbon.conf storage-schemas.conf /opt/graphite/conf/ # Copy over settings for SECRET_KEY and DATABASES COPY local_settings.py /opt/graphite/webapp/graphite/ # Graphite does not come bundled with a python postgres driver so we manually # pip install psycopg2. We pin to 2.7.4 for reproducibility. RUN pip install psycopg2-binary==2.7.4 CMD /usr/local/bin/manage.sh && /sbin/my_init
And my compose file if necessary:
version: '3' services: graphite: container_name: 'graphite' build: . restart: 'unless-stopped' ports: - '8181:80' - '2003:2003' links: - db # Snipped volumes db: container_name: 'graphite-db' image: 'postgres:10.3-alpine' restart: 'unless-stopped' # Snipped volumes environment: - POSTGRES_PASSWORD=graphitedbpassword
Do you see anything amiss?