overleaf / toolkit

GNU Affero General Public License v3.0
510 stars 122 forks source link

Retract Server Pro version 5.0.1 #240

Closed das7pad closed 2 months ago

das7pad commented 2 months ago

Description

For https://digital-science.slack.com/archives/C06DRRYU1U4/p1713386915858539

doctor warns

toolkit$ bin/doctor 
====== Overleaf Doctor ======
-------------------------------------------------------
  You are currently using a retracted version, 5.0.1.
  Please check the release notes for further details.
-------------------------------------------------------
Ignore warning? (y/n): n
Exiting.

docker-compose (and bin/up etc) warn

toolkit$ bin/docker-compose ps
-------------------------------------------------------
  You are currently using a retracted version, 5.0.1.
  Please check the release notes for further details.
-------------------------------------------------------
Ignore warning? (y/n): n
Exiting.

can skip

toolkit$ bin/doctor 
====== Overleaf Doctor ======
-------------------------------------------------------
  You are currently using a retracted version, 5.0.1.
  Please check the release notes for further details.
-------------------------------------------------------
Ignore warning? (y/n): y
- Host Information
    - Linux
...

bin/up warns, also seed version lower than current version is properly handled

toolkit$ bin/upgrade 
Warning: current branch is not master, 'jpa-retract-5-0-1' instead
Checking for code update...
No code update available for download
-------------------------------------------------------
  You are currently using a retracted version, 5.0.1.
  Please check the release notes for further details.
-------------------------------------------------------
Ignore warning? (y/n): y
No change to docker image version
Done

Related issues / Pull Requests

For https://digital-science.slack.com/archives/C06DRRYU1U4/p1713386915858539

Contributor Agreement

das7pad commented 2 months ago

I wanted to keep things like bin/doctor/bin/stop working, but fine to make it a hard exit.

Updated message:

-------------------------------------------------------
---------------------  WARNING  -----------------------
-------------------------------------------------------
  You are currently using a retracted version, 5.0.1.

  We have identified a critical bug in a database migration that causes data loss.
  Please defer upgrading to release 5.0.1 until further notice on the mailing list.
  Please keep any backups that were taken prior to upgrading to version 5.0.1.
  Updates will be posted in the release notes:
  https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#server-pro-501-retracted
-------------------------------------------------------
---------------------  WARNING  -----------------------
-------------------------------------------------------