Comments (6)
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.
@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.
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.
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.
Is this module now called buildbot-www-react
?
from buildbot.
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)
- Backports for 3.11.3 HOT 9
- *.pollinterval needs to be deprecated
- Modernize Database layer HOT 3
- GerritEventLogPoller.getFiles has no error handling HOT 1
- Backports for 4.0.0 HOT 10
- Backports for 3.12.0 HOT 1
- Add documentation for GerritStatusPush migration to generators that accept callback arguments
- react ui: NestedParameter not displayed
- Support for Python 3.13 HOT 2
- Removal of scandir package from requirements
- GitPoller in 3.11.3 is not able to detect changes HOT 2
- buildbot-badges doesn't work with the new react frontend
- tests: Add bare git repository to test GitPoller HOT 1
- Backports for 3.11.4 HOT 2
- InfluxDB statistics backend uses an unmantained library
- Buildbot version built from master or 4.0.x branches is wrong
- Reconfig fails (but restart works?) HOT 2
- After upgrading to version 3.11.3, Gitpoller no longer fetches new changes HOT 1
- Improve backport tracking and process
- GitPoller is broken in 3.11.3, 3.11.2 works HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildbot.