I just tried to run the DigitalOcean 1-Click App and after following all of the instructions, when I go to my domain (https://hawaiian.family) I get a 502 Bad Gateway error.
Hi! The 502 usually means that the domain settings are not correct. Can you please double-check what you put there? What is the content of /opt/grampsweb/letsencrypt.env
?
Hi @DavidMStraub. There is no file at /opt/grampsweb/letsencrypt.env
. Instead I found it at ~/letsencrypt.env
Here are the contents:
VIRTUAL_HOST=hawaiian.family
LETSENCRYPT_HOST=hawaiian.family
LETSENCRYPT_EMAIL=domains@clearcenter.com
Thanks, looks good.
Can you please cd to /opt/grampsweb
and try
docker-compose logs proxy
and
docker-compose logs acme-companion
?
Here are the proxy logs:
[36mnginx-proxy-acme |e[0m 2023/10/04 13:46:41 Received event start for container a963831e1748
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:46:46 Received event start for container 636fafed1d83
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:46:46 Received event die for container a963831e1748
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:46:50 Received event die for container 636fafed1d83
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:46:55 Debounce minTimer fired
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:46:55 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:47:46 Received event start for container a963831e1748
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:47:50 Received event start for container 636fafed1d83
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:47:51 Received event die for container a963831e1748
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:47:55 Received event die for container 636fafed1d83
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:48:00 Debounce minTimer fired
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:48:00 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:48:51 Received event start for container a963831e1748
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:48:55 Received event die for container a963831e1748
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:48:55 Received event start for container 636fafed1d83
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:49:00 Received event die for container 636fafed1d83
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:49:05 Debounce minTimer fired
e[36mnginx-proxy-acme |e[0m 2023/10/04 13:49:05 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
Here are the acme-companion logs:
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:47:55 Received event die for container 636fafed1d83
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:47:55 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0m24.144.68.58 186.249.183.148 - - [04/Oct/2023:13:47:56 +0000] "GET / HTTP/1.1" 503 190 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7" "-"
e[36mnginx-proxy |e[0m e[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:51 Received event start for container a963831e1748
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:51 Generated '/etc/nginx/conf.d/default.conf' from 5 containers
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:51 Running 'nginx -s reload'
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: signal 1 (SIGHUP) received from 6612, reconfiguring
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: reconfiguring
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: using the "epoll" event method
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: start worker processes
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: start worker process 6613
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: start worker process 6614
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 6609#6609: gracefully shutting down
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 6610#6610: gracefully shutting down
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 6609#6609: exiting
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 6610#6610: exiting
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 6609#6609: exit
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 6610#6610: exit
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: signal 17 (SIGCHLD) received from 6609
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: worker process 6609 exited with code 0
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: signal 29 (SIGIO) received
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: signal 17 (SIGCHLD) received from 6610
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: worker process 6610 exited with code 0
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:51 [notice] 16#16: signal 29 (SIGIO) received
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:55 Received event die for container a963831e1748
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:55 Received event start for container 636fafed1d83
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:55 Generated '/etc/nginx/conf.d/default.conf' from 5 containers
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:55 Running 'nginx -s reload'
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: signal 1 (SIGHUP) received from 6616, reconfiguring
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: reconfiguring
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: using the "epoll" event method
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: start worker processes
e[36mnginx-proxy |e[0m e[0me[0;36;1mdockergen.1 | e[0;31;1m2023/10/04 13:48:55 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: start worker process 6617
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: start worker process 6618
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 6613#6613: gracefully shutting down
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 6613#6613: exiting
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 6613#6613: exit
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 6614#6614: gracefully shutting down
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 6614#6614: exiting
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 6614#6614: exit
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: signal 17 (SIGCHLD) received from 6614
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: worker process 6614 exited with code 0
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: signal 29 (SIGIO) received
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: signal 17 (SIGCHLD) received from 6613
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: worker process 6613 exited with code 0
e[36mnginx-proxy |e[0m e[0me[0;33;1mnginx.1 | e[0;31;1m2023/10/04 13:48:55 [notice] 16#16: signal 29 (SIGIO) received
Could it be you are using a too small droplet which constantly kills containers because it runs out of memory? How much RAM does it have?
It has 4GB of RAM. The instructions said it just needed to be at least 1GB.
Ok so that can’t be the problem.
Can you please also check the logs for the grampsweb
service?
Here are the logs for the grampsweb service:
e[36mgrampsweb |e[0m FAILED: Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m Traceback (most recent call last):
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
e[36mgrampsweb |e[0m return _run_code(code, main_globals, None,
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
e[36mgrampsweb |e[0m exec(code, run_globals)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 199, in <module>
e[36mgrampsweb |e[0m cli(
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1157, in __call__
e[36mgrampsweb |e[0m return self.main(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1078, in main
e[36mgrampsweb |e[0m rv = self.invoke(ctx)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1434, in invoke
e[36mgrampsweb |e[0m return ctx.invoke(self.callback, **ctx.params)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 783, in invoke
e[36mgrampsweb |e[0m return __callback(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 33, in new_func
e[36mgrampsweb |e[0m return f(get_current_context(), *args, **kwargs)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 119, in migrate_db
e[36mgrampsweb |e[0m subprocess.run(cmd, env=env, check=True)
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/subprocess.py", line 528, in run
e[36mgrampsweb |e[0m raise CalledProcessError(retcode, process.args,
e[36mgrampsweb |e[0m subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'alembic', 'upgrade', 'head']' returned non-zero exit status 255.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Context impl SQLiteImpl.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Will assume non-transactional DDL.
e[36mgrampsweb |e[0m ERROR [alembic.util.messaging] Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m FAILED: Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m Traceback (most recent call last):
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
e[36mgrampsweb |e[0m return _run_code(code, main_globals, None,
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
e[36mgrampsweb |e[0m exec(code, run_globals)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 199, in <module>
e[36mgrampsweb |e[0m cli(
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1157, in __call__
e[36mgrampsweb |e[0m return self.main(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1078, in main
e[36mgrampsweb |e[0m rv = self.invoke(ctx)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1434, in invoke
e[36mgrampsweb |e[0m return ctx.invoke(self.callback, **ctx.params)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 783, in invoke
e[36mgrampsweb |e[0m return __callback(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 33, in new_func
e[36mgrampsweb |e[0m return f(get_current_context(), *args, **kwargs)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 119, in migrate_db
e[36mgrampsweb |e[0m subprocess.run(cmd, env=env, check=True)
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/subprocess.py", line 528, in run
e[36mgrampsweb |e[0m raise CalledProcessError(retcode, process.args,
e[36mgrampsweb |e[0m subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'alembic', 'upgrade', 'head']' returned non-zero exit status 255.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Context impl SQLiteImpl.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Will assume non-transactional DDL.
e[36mgrampsweb |e[0m ERROR [alembic.util.messaging] Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m FAILED: Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m Traceback (most recent call last):
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
e[36mgrampsweb |e[0m return _run_code(code, main_globals, None,
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
e[36mgrampsweb |e[0m exec(code, run_globals)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 199, in <module>
e[36mgrampsweb |e[0m cli(
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1157, in __call__
e[36mgrampsweb |e[0m return self.main(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1078, in main
e[36mgrampsweb |e[0m rv = self.invoke(ctx)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1434, in invoke
e[36mgrampsweb |e[0m return ctx.invoke(self.callback, **ctx.params)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 783, in invoke
e[36mgrampsweb |e[0m return __callback(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 33, in new_func
e[36mgrampsweb |e[0m return f(get_current_context(), *args, **kwargs)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 119, in migrate_db
e[36mgrampsweb |e[0m subprocess.run(cmd, env=env, check=True)
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/subprocess.py", line 528, in run
e[36mgrampsweb |e[0m raise CalledProcessError(retcode, process.args,
e[36mgrampsweb |e[0m subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'alembic', 'upgrade', 'head']' returned non-zero exit status 255.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Context impl SQLiteImpl.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Will assume non-transactional DDL.
e[36mgrampsweb |e[0m ERROR [alembic.util.messaging] Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m FAILED: Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m Traceback (most recent call last):
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
e[36mgrampsweb |e[0m return _run_code(code, main_globals, None,
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
e[36mgrampsweb |e[0m exec(code, run_globals)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 199, in <module>
e[36mgrampsweb |e[0m cli(
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1157, in __call__
e[36mgrampsweb |e[0m return self.main(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1078, in main
e[36mgrampsweb |e[0m rv = self.invoke(ctx)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1434, in invoke
e[36mgrampsweb |e[0m return ctx.invoke(self.callback, **ctx.params)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 783, in invoke
e[36mgrampsweb |e[0m return __callback(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 33, in new_func
e[36mgrampsweb |e[0m return f(get_current_context(), *args, **kwargs)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 119, in migrate_db
e[36mgrampsweb |e[0m subprocess.run(cmd, env=env, check=True)
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/subprocess.py", line 528, in run
e[36mgrampsweb |e[0m raise CalledProcessError(retcode, process.args,
e[36mgrampsweb |e[0m subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'alembic', 'upgrade', 'head']' returned non-zero exit status 255.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Context impl SQLiteImpl.
e[36mgrampsweb |e[0m INFO [alembic.runtime.migration] Will assume non-transactional DDL.
e[36mgrampsweb |e[0m FAILED: Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m ERROR [alembic.util.messaging] Requested revision 84960b7d968c overlaps with other requested revisions e5e738d09fa7
e[36mgrampsweb |e[0m Traceback (most recent call last):
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
e[36mgrampsweb |e[0m return _run_code(code, main_globals, None,
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
e[36mgrampsweb |e[0m exec(code, run_globals)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 199, in <module>
e[36mgrampsweb |e[0m cli(
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1157, in __call__
e[36mgrampsweb |e[0m return self.main(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1078, in main
e[36mgrampsweb |e[0m rv = self.invoke(ctx)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
e[36mgrampsweb |e[0m return _process_result(sub_ctx.command.invoke(sub_ctx))
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1434, in invoke
e[36mgrampsweb |e[0m return ctx.invoke(self.callback, **ctx.params)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 783, in invoke
e[36mgrampsweb |e[0m return __callback(*args, **kwargs)
e[36mgrampsweb |e[0m File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 33, in new_func
e[36mgrampsweb |e[0m return f(get_current_context(), *args, **kwargs)
e[36mgrampsweb |e[0m File "/app/src/gramps_webapi/__main__.py", line 119, in migrate_db
e[36mgrampsweb |e[0m subprocess.run(cmd, env=env, check=True)
e[36mgrampsweb |e[0m File "/usr/lib/python3.9/subprocess.py", line 528, in run
e[36mgrampsweb |e[0m raise CalledProcessError(retcode, process.args,
e[36mgrampsweb |e[0m subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'alembic', 'upgrade', 'head']' returned non-zero exit status 255.
Wow, how did that happen? Are you sure you didn’t run any upgrade, you only installed from scratch on a new droplet?
Found this: How do I fix alembic's "Requested revision overlaps with other requested revisions"? - Stack Overflow
Yes, I only installed from scratch on a new droplet. No upgrades or anything additional. I’ll take a look at that link.
I ended up just destroying that droplet and creating a new one and now it is working. Very strange. But, thank you for your help!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.