Fix export of large user archives on 4.4 by enabling Zip64 (#35850)
This commit is contained in:
parent
5478ef9b32
commit
4ef0ce033e
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class BackupService < BaseService
|
|||
def build_archive!
|
||||
tmp_file = Tempfile.new(%w(archive .zip))
|
||||
|
||||
Zip.write_zip64_support = true
|
||||
Zip::File.open(tmp_file, create: true) do |zipfile|
|
||||
dump_outbox!(zipfile)
|
||||
dump_media_attachments!(zipfile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue