I ran a
docker compose pull
to get the latest updates, and now the grampsweb container keeps restarting.
The container log has this info:
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
ERROR [alembic.util.messaging] Requested revision c1d2e3f4a5b6 overlaps with other requested revisions b2c3d4e5f6a7
FAILED: Requested revision c1d2e3f4a5b6 overlaps with other requested revisions b2c3d4e5f6a7
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/src/gramps_webapi/__main__.py", line 481, in <module>
cli(
~~~^
prog_name="python3 -m gramps_webapi"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
) # pylint:disable=no-value-for-parameter,unexpected-keyword-arg
^
File "/venv/lib/python3.13/site-packages/click/core.py", line 1524, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.13/site-packages/click/core.py", line 1445, in main
rv = self.invoke(ctx)
File "/venv/lib/python3.13/site-packages/click/core.py", line 1912, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/venv/lib/python3.13/site-packages/click/core.py", line 1912, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/venv/lib/python3.13/site-packages/click/core.py", line 1308, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.13/site-packages/click/core.py", line 877, in invoke
return callback(*args, **kwargs)
File "/venv/lib/python3.13/site-packages/click/decorators.py", line 34, in new_func
return f(get_current_context(), *args, **kwargs)
File "/app/src/gramps_webapi/__main__.py", line 231, in migrate_db
subprocess.run(cmd, env=env, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/venv/bin/python3', '-m', 'alembic', 'upgrade', 'head']' returned non-zero exit status 255.
I haven’t made any changes to the docker-compose.yaml file for a long time, so wondering if something in the yaml file needs some other values.
These are the images that I have:
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nginxproxy/acme-companion latest 6366ab301b3e 5 hours ago 48.2MB
nginxproxy/nginx-proxy latest 02a36e5de796 6 hours ago 181MB
ghcr.io/gramps-project/grampsweb latest c1180fbb4428 8 days ago 4.5GB
redis 7.2.4-alpine a1811fcf7480 2 years ago 46.1MB