WARNING: Rolling back the database may result in data loss. Rolling back the database schema may remove tables or columns that were not present in previous versions of Sourcegraph.
If a customer downgrades their instance to a previous version, they need to downgrade their database schema in two circumstances:
NOTE: This process applies only to versions
3.37
and later.
NOTE: A customer rollback is considered an emergency operation. Please contact support at
mailto:[email protected]
for guidance on this operation.
A database schema downgrade will not always be enough. If a newer version was running even for a small time, it could have migrated data in the background into a format that's no longer readable by the previous version of Sourcegraph.
The migrator
can be used to run both schema and data migrations (in the appropriate order) so that the old version of Sourcegraph can start and run without broken features. See the command documentation for additional details.
The log output of the migrator
should include INFO
-level logs and successfully terminate with migrator exited with code 0
. If you see an error message or any of the databases have been flagged as "dirty", please follow "How to troubleshoot a dirty database". A dirty database at this stage requires manual intervention. Please contact support at mailto:[email protected]
or via your enterprise support channel for further assistance.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4