Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overleaf CE 3.5.0 - Full Project History migration #1087

Open
mserranom opened this issue Feb 3, 2023 · 4 comments
Open

Overleaf CE 3.5.0 - Full Project History migration #1087

mserranom opened this issue Feb 3, 2023 · 4 comments

Comments

@mserranom
Copy link
Contributor

The 3.5.0 release of Overleaf Community Edition includes the Full Project History feature that is already available in our SaaS offering, overleaf.com

The new Full Project History brings several improvements for users:

  • It tracks changes in binary files, which is unsupported in the legacy system.
  • There is support for labelled versions.
  • The system is in general more robust, there is less chance of data loss.

Check the instructions to migrate your existing projects to Full Project History

@mserranom mserranom pinned this issue Feb 3, 2023
@wixaw
Copy link

wixaw commented Feb 14, 2023

Hi,
I have 76 errors on 6000 project, I sent you a report =)

@holyfive
Copy link

After upgrading to the latest version I keep getting these errors:

Migrate "20230512100122_ensure_history_migration"
Error: Error during migrate "20230512100122_ensure_history_migration": Found 923 projects not migrated to Full Project History
at exports.migrate (/overleaf/services/web/migrations/20230512100122_ensure_history_migration.js:9:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /overleaf/node_modules/p-map/index.js:57:22
npm ERR! Lifecycle script migrations failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @overleaf/web
npm ERR! at location: /overleaf/services/web
*** /etc/my_init.d/99_run_web_migrations.sh failed with status 1
*** Killing all processes...

The container keeps restarting, so it is not even possible to try any migration command or something else. I had to downgrade the image.

Is that a known issue and how can it be solved?

@mserranom
Copy link
Contributor Author

The container keeps restarting, so it is not even possible to try any migration command or something else. I had to downgrade the image.
Is that a known issue and how can it be solved?

You need to perform the migration using version 3.5.x (latest is 3.5.13). Only after all the projects are migrated you can update to 4.x.

Check instructions in https://github.com/overleaf/overleaf/wiki/Full-Project-History-Migration

@holyfive
Copy link

Thanks a lot. Perhaps you should add a hint to the documentation that 3.5.x is needed as an intermediate step when using the "latest" tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants