Fresh Toolkit Install Cannot Recompile on error without clearing cache
Steps to Reproduce
- Follow QuickStart with only change being SHARELATEX_LISTEN_IP to local IP and version to 4.0.1 as 4.0.2 doesn't seem to exist.
- Setup admin user
- Login to admin user
- New project: Example project
- Compile (Generally works)
- Make a change that will result in error (e.g. \s anywhere )
- compile (expected behavior a))
- compile again (expected behavior b))
Expected Behaviour (as occurs on overleaf.com)
a) Compile finishes with error identified b) Upon recompile with no changes, compile finishes with error identified
Observed Behaviour
a) Compile finishes with error identified
b) Upon recompile with no changes, compile FAILS with error identified. This is usually "No PDF This compile didn’t produce a PDF. This can happen if:..."
Clearing Cache and temp files works permits the compile to start from scratch with error identified
Context
This is occurring on a fresh install. I have a large project that often needs one or two extra compiles, or need to refresh cross references.
Compile only finishes (and identifies error) if a change is made to the document.
Long compiles are also stopping in the web browser, but continues in the background. Sometimes the compiles loop? If I run a compile in the shell, it finishes correctly.
This does not seem to be overleaf/sharelatex version dependent. trying 3.5.7 results in the same behavior which makes me think it is toolkit/mongo/redis/docker related.
Technical Info
- URL: https:// <<local IP or hostname>>
- Browser Name and version: Chrome 113
- Operating System and version (desktop or mobile): Windows 11, (install is on ubuntu 22)
- Signed in as: N/A
- Project and/or file: N/A
Analysis
This is occurring on two different installs on two different machines. I'm not sure if this is a overleaf issue or docker issue.
I have this issue when going from one project into another - even if the project doesn't have any errors. It is also a fresh install with toolkit. Clearing the cache helps and the PDF is generated without any errors.
How to clean the cache?
When opening any project in this version 5.1.1 of the Toolkit, the behavior is the same. It shows this 'error' stating that it cannot produce the PDF. I was wondering if this is the expected behavior, since nothing has changed since the last compilation, forcing us to clear the cache to trigger a new compilation.
I'm seeing the same on 5.1.1, have to use "Recompile from scratch" after opening each document, after which it compiles and runs normally
Problem went away after installing collection-fontsrecommended and collection-latexrecommended
Problem went away after installing
collection-fontsrecommendedandcollection-latexrecommended
Hello @SteffeyDev,
I have installed the schema-full as shown in the documentation: https://github.com/overleaf/toolkit/blob/master/doc/ce-upgrading-texlive.md
Could the issue be related to this version of Tex Live?
package: scheme-full
category: Scheme
shortdesc: full scheme (everything)
longdesc: This is the full TeX Live scheme: it installs everything available.
installed: Yes
revision: 54074
sizes: 3943937k
relocatable: No
root@371f7847eca3:/overleaf# tlmgr info collection-fontsrecommended
package: collection-fontsrecommended
category: Collection
shortdesc: Recommended fonts
longdesc: Recommended fonts, including the base 35 PostScript fonts, Latin Modern, TeX Gyre, and T1 and other encoding support for Computer Modern, in outline form.
installed: Yes
revision: 54074
sizes: 163705k
relocatable: No
root@371f7847eca3:/overleaf# tlmgr info collection-latexrecommended
package: collection-latexrecommended
category: Collection
shortdesc: LaTeX recommended packages
longdesc: A collection of recommended add-on packages for LaTeX which have widespread use.
installed: Yes
revision: 71527
sizes: 30025k
relocatable: No
Any clue on how I can debug it?
Thanks!
I'm not sure, I don't know much about this. For now its fixed for me. The only change I made from base 5.1.1 image was installing those two recommended and a handful of single packages.