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

DrawIO crashes small server setup because DrawIO creates hundreds of file-versions. #162

Open
nguyenhung opened this issue Oct 4, 2021 · 0 comments

Comments

@nguyenhung
Copy link

nguyenhung commented Oct 4, 2021

How to reproduce a crash:

  • Install the latest Nextcloud (22.2.1) in a small VM instance with 1GB of RAM and 1vcore. Install DrawIO with NextCloud.
  • Create a drawio file and edit it for 30 minutes. Drawio will aggressively auto-saves 200-300 versions of the file.
  • Save the file and close Drawio.
  • Right click on the file and open share menu. Nextcloud will automatically load the previews of all 200-300 versions in Versions tab, which will consequently crash the server. Disabling preview generation in NextCloud configs.php does not help.

Workaround: set autosave setting to off by default - nextcloudhost/settings/admin/additional

Related issues:
#126
#160

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

1 participant