The upgrade process completed but Quay never came back. The logs show the following:
Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Failed to configure SQLite optimizations for /sqlite/quay_sqlite.db: 'NoneType' object has no attribute 'cursor' Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: Traceback (most recent call last): Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/quay-registry/boot.py", line 111, in <module> Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: main() Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/quay-registry/boot.py", line 102, in main Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: sync_database_with_config(app.config) Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/quay-registry/util/config/database.py", line 11, in sync_database_with_config Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: model.storage.ensure_image_locations(*location_names) Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/quay-registry/data/model/storage.py", line 391, in ensure_image_locations Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: with db_transaction(): Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/app/lib/python3.9/site-packages/peewee.py", line 4108, in __enter__ Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: self._begin() Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/app/lib/python3.9/site-packages/peewee.py", line 4094, in _begin Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: self.db.begin(*args, **kwargs) Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/app/lib/python3.9/site-packages/peewee.py", line 3543, in begin Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: self.execute_sql(statement, commit=False) Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/quay-registry/data/database.py", line 230, in execute_sql Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: return self._execute_sql_sqlite_retry(sql, params, commit) Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/quay-registry/data/database.py", line 243, in _execute_sql_sqlite_retry Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: return super(RetryOperationalError, self).execute_sql(sql, params, commit) Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/app/lib/python3.9/site-packages/peewee.py", line 3055, in execute_sql Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: cursor = self.cursor(commit) Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: File "/app/lib/python3.9/site-packages/peewee.py", line 3042, in cursor Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: return self._state.conn.cursor() Nov 18 09:26:38 omr.cyberdyne.skynet quay-app[105492]: AttributeError: 'NoneType' object has no attribute 'cursor'
At this point Quay cannot start at all, the only recourse is to download 3.12.8 and start the container with it.