I’m probing a restore on a migrated forum. The restore package is around 25g and when trying the restore it fails with this message in the log:
[2019-11-24 08:33:00] The uncompressed file is too big. Consider increasing the decompressed_theme_max_file_size_mb hidden setting.
I only found some code references on github with this setting and found some traces of hidden settings needing to be set via console but didn’t find a way how to do so. Also what are resonable values for this setting means what should I try to increase it to?
Looks like I got it done. In case someone finds the thread, this is how i got it working:
# ./launcher enter app
# rails c
# SiteSettings.decompressed_backup_max_file_size_mb=999
Instead of 999 you should use a value that fits your backup size (decompressed). I set it to 1TB (1000000) as I wasn’t sure how big my 22GB (compressed) backup is when it’s not compressed anymore.