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 0d7c643733..b4c1adfcba 100755 --- a/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh +++ b/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh @@ -27,9 +27,3 @@ chown www-data:www-data /var/lib/sharelatex/tmp/uploads mkdir -p /var/lib/sharelatex/tmp/dumpFolder chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder - -if [ ! -e "/var/lib/sharelatex/data/db.sqlite" ]; then - touch /var/lib/sharelatex/data/db.sqlite -fi - -chown www-data:www-data /var/lib/sharelatex/data/db.sqlite diff --git a/server-ce/settings.js b/server-ce/settings.js index eb5a5f015e..617b2777bc 100644 --- a/server-ce/settings.js +++ b/server-ce/settings.js @@ -153,25 +153,6 @@ const settings = { project_history: redisConfig, }, - // The compile server (the clsi) uses a SQL database to cache files and - // meta-data. sqlite is the default, and the load is low enough that this will - // be fine in production (we use sqlite at sharelatex.com). - // - // If you want to configure a different database, see the Sequelize documentation - // for available options: - // - // https://github.com/sequelize/sequelize/wiki/API-Reference-Sequelize#example-usage - // - mysql: { - clsi: { - database: 'clsi', - username: 'clsi', - password: '', - dialect: 'sqlite', - storage: Path.join(DATA_DIR, 'db.sqlite'), - }, - }, - // File storage // ------------ diff --git a/services/clsi/README.md b/services/clsi/README.md index 1b0b490b74..664569fb92 100644 --- a/services/clsi/README.md +++ b/services/clsi/README.md @@ -104,11 +104,6 @@ sudo chmod g+s compiles This is a facet of the way docker works on Linux. See this [upstream issue](https://github.com/moby/moby/issues/7198) -Config ------- - -The CLSI will use a SQLite database by default, but you can optionally set up a MySQL database and then fill in the database name, username and password in the config file at `config/settings.development.js`. - API ---