Troubleshooting
Here are some possible causes for errors in the logs.
Log location in the container: /var/log/sharelatex/clsi.log
Full message reads roughly (after removing quite a lot of noise):
<path> is not a directory; Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Check the value of the SYNCTEX_BIN_HOST_PATH
environment variable --- please see this documentation.
Docs are logically deleted and will be in the deletedDocs
array in the project
document.
List the deleted docs in mongo:
db.projects.findOne({_id: ObjectId("<project_id>")}, { deletedDocs: 1} )
Then open a shell in the sharelatex
container. From there you can run the restore_soft_deleted_docs
script.
You will need:
- your admin user ID
- the project ID
- the list of doc names from
deletedDocs
Example restoring a deleted restoreMe.tex
document:
node /var/www/sharelatex/web/scripts/restore_soft_deleted_docs.js <admin_id> <project_id> restoreMe.tex
{ doc:
{ _id: 5f91b367e86f6d0001680ecc,
name: '2020-10-22T16-29-27.066Z-restoreMe.tex' },
folderId: null }
This will have created a bunch of docs in the root of the project that look like TIMESTAMP-original-name. They should have the content and the tracked changes and comments from before deletion.
- Quickstart Guide (Overleaf Toolkit)
- Hardware Requirements
- Database & Dependencies
- Creating and managing users
- General configuration
- Configuring Email
- SSL & Nginx reverse proxy
- Data and Backups
- Configuring Headers, Footers & Logo
- Password Restrictions
- i18n Languages
- Logging
- Common Config Options
- F.A.Q
- Troubleshooting
- Full Project History Migration