diff --git a/server-ce/config/settings.js b/server-ce/config/settings.js index 1ff5d5f200..ab4c5961c7 100644 --- a/server-ce/config/settings.js +++ b/server-ce/config/settings.js @@ -205,14 +205,14 @@ const settings = { dumpFolder: Path.join(TMP_DIR, 'dumpFolder'), // Where to write uploads before they are processed uploadFolder: Path.join(TMP_DIR, 'uploads'), + // Where to write intermediate file for full project history migration + projectHistories: Path.join(TMP_DIR, 'projectHistories'), // Where to write the project to disk before running LaTeX on it compilesDir: Path.join(DATA_DIR, 'compiles'), // Where to cache downloaded URLs for the CLSI 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 2f8d49b979..848bf80d9e 100755 --- a/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh +++ b/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh @@ -22,8 +22,8 @@ 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/projectHistories +chown www-data:www-data /var/lib/sharelatex/tmp/projectHistories mkdir -p /var/lib/sharelatex/tmp/dumpFolder chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder