Giter VIP home page Giter VIP logo

Comments (6)

hollie avatar hollie commented on June 11, 2024 2

Hey @p12tic

thanks for your response. I updated the relevant line in the docker-compose.yml file of the buildbot-docker-example-config/simple to:

image: buildbot/buildbot-master:v3.10.1

And now I get when running docker compose up:

db-1        | ERROR:  relation "version" does not exist at character 15
db-1        | STATEMENT:  select * from version limit 1
db-1        | ERROR:  relation "migrate_version" does not exist at character 15
db-1        | STATEMENT:  select * from migrate_version limit 1
buildbot-1  | Got fatal Exception on DB
buildbot-1  | Traceback (most recent call last):
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/twisted/python/threadpool.py", line 285, in <lambda>
buildbot-1  |     inContext.theWork = lambda: context.call(  # type: ignore[attr-defined]
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/twisted/python/context.py", line 117, in callWithContext
buildbot-1  |     return self.currentContext().callWithContext(ctx, func, *args, **kw)
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/twisted/python/context.py", line 82, in callWithContext
buildbot-1  |     return func(*args, **kw)
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/buildbot/db/pool.py", line 234, in __thd
buildbot-1  |     log.err(e, 'Got fatal Exception on DB')
buildbot-1  | --- <exception caught here> ---
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/buildbot/db/pool.py", line 207, in __thd
buildbot-1  |     rv = callable(arg, *args, **kwargs)
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/buildbot/db/model.py", line 1136, in thd
buildbot-1  |     context.run_migrations()
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/alembic/runtime/migration.py", line 615, in run_migrations
buildbot-1  |     for step in self._migrations_fn(heads, self):
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/buildbot/db/model.py", line 1122, in upgrade
buildbot-1  |     return alembic_scripts._upgrade_revs(current_script_rev_head, rev)
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/alembic/script/base.py", line 455, in _upgrade_revs
buildbot-1  |     return [
buildbot-1  |   File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
buildbot-1  |     self.gen.throw(type, value, traceback)
buildbot-1  |   File "/buildbot_venv/lib/python3.9/site-packages/alembic/script/base.py", line 283, in _catch_revision_errors
buildbot-1  |     raise util.CommandError(resolution) from re
buildbot-1  | alembic.util.exc.CommandError: Can't locate revision identified by '066'

I have in the mean time followed the regular 'install in pyenv' version of the getting started and that is working as expected. So I will continue with that to run further experiments.

Kind regards,
Lieven.

from buildbot.

senyai avatar senyai commented on June 11, 2024 2

@hollie I had this issue too. I think it's because the db schema has changed. I "fixed" it by mounting PGDATA path in volumes section:

volumes:
  - /home/YOURPATH/pgdata:/var/lib/postgresql/data

I'm sure this line must be inside the provided docker-compose.yml, because otherwise it's impossible to update postgres container.

from buildbot.

p12tic avatar p12tic commented on June 11, 2024 1

Please use v3.10.1 tag for now.

The docker release process should be fixed to have at least one tag track the latest published tag not just go after the latest commit in master branch.

from buildbot.

senyai avatar senyai commented on June 11, 2024

Wait a minute. I see, it's ls -1 | grep -v 'buildbot-worker'. And there must be no buildbot-www. I believe ls -1 | grep -v 'buildbot-worker' should be replaced with exact list of packages, so that when something fails an error is seen early.

from buildbot.

senyai avatar senyai commented on June 11, 2024

Is this module now called buildbot-www-react?

from buildbot.

hollie avatar hollie commented on June 11, 2024

Hi,

confirming I am running into the same issue. I'm attempting to follow the buildbot tutorial with docker that is documented here and it fails with the same error.

from buildbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.