f933c68374
When restoring a backup, discourse decompresses the backup archive in the /share/discourse/tmp dir. Before this change, it is linked to /run which is typically backed by memory, so the backup will fail to restore if you do not have enough memory on your system to contain the backup. This has already happened to me on two small forums. This moves tmp to the StateDirectory /var/lib/discourse/tmp which is typically backed by disk. |
||
---|---|---|
.. | ||
mail_receiver | ||
plugins | ||
rubyEnv | ||
action_mailer_ca_cert.patch | ||
admin_create.patch | ||
auto_generated_path.patch | ||
default.nix | ||
disable_jhead.patch | ||
nixos_defaults.patch | ||
plugin_gem_api_version.patch | ||
unicorn_logging_and_timeout.patch | ||
update.py | ||
use_mv_instead_of_rename.patch |