diff --git a/server-ce/config/settings.js b/server-ce/config/settings.js index 6b78333b18..1ff5d5f200 100644 --- a/server-ce/config/settings.js +++ b/server-ce/config/settings.js @@ -211,6 +211,8 @@ const settings = { clsiCacheDir: Path.join(DATA_DIR, 'cache'), // Where to write the output files to disk after running LaTeX outputDir: Path.join(DATA_DIR, 'output'), + // Where to write intermediate file for full project history migration + projectHistories: Path.join(DATA_DIR, 'projectHistories'), }, // Server Config diff --git a/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh b/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh index f606eff32c..2f8d49b979 100755 --- a/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh +++ b/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh @@ -19,6 +19,12 @@ chown www-data:www-data /var/lib/sharelatex/data/cache mkdir -p /var/lib/sharelatex/data/template_files chown www-data:www-data /var/lib/sharelatex/data/template_files +mkdir -p /var/lib/sharelatex/data/history +chown www-data:www-data /var/lib/sharelatex/data/history + +mkdir -p /var/lib/sharelatex/data/projectHistories +chown www-data:www-data /var/lib/sharelatex/data/projectHistories + mkdir -p /var/lib/sharelatex/tmp/dumpFolder chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder