Merge pull request #11628 from overleaf/msm-history-migration-tmp-path

[CE] move history migration paths to `tmp`

GitOrigin-RevId: e24e1d3d7f3a26fa2f4db9c9abd262745f9e7778
This commit is contained in:
Miguel Serrano 2023-02-02 16:12:52 +01:00 committed by Copybot
parent df3aff9c66
commit b67c3fabaa
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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