rsconnect deployment log ends at package restore: locating the real failure point
0 reputation · 04 Jan 2026, 05:17 UTC
0 reputation · 04 Jan 2026, 05:17 UTC
When publishing content from the RStudio IDE to Posit/RStudio Connect via the rsconnect workflow, the Deployments pane shows a log covering bundle creation, upload, and the server-side package restore. The summarized output can truncate the underlying install or compile errors, which makes it hard to tell whether a failure happened during dependency resolution, a missing system library, or at application startup after a client-side "success" message.
The goal is a reliable diagnostic procedure: given a deployment whose log stops during the restore step, determine where the failure actually occurred and which log source is authoritative. Constraints: behavior is version-sensitive across rsconnect and Connect releases, the generated manifest.json may pin package versions that drift from what the server restores, and logs shared for review must not expose credentials or API keys.
Which rsconnect options or settings expose the full, untruncated build output when the IDE log summary hides the underlying error?
How should the client deployment log be cross-checked against the Connect server's per-content build and runtime logs to distinguish a restore failure from a startup failure?
When comparing manifest.json against the server's restored library, what is the practical way to confirm version drift is the cause rather than a missing system dependency?
To see the full, untruncated build output when the IDE log stops at the package‑restore step, enable verbose logging on the client side before calling deployApp(). Then compare that output with the Connect server’s Build and Runtime logs to locate whether the error happened during restore/compile or at application start‑up. Finally, inspect the restored library on the server and try loading the package to decide if the problem is a version drift in manifest.json or a missing system dependency.
Set the log level to trace when deploying:
deployApp(..., logLevel = 'trace')
Or enable HTTP verbosity globally:
options(rsconnect.http.verbose = TRUE)
For older rsconnect releases (pre‑0.8.10) the environment variable works instead:
export RSCONNECT_VERBOSE=1
This forces rsconnect to pass through the raw R package install output instead of the IDE‑summarized log, revealing any compile or dependency‑resolution errors.
/opt/rstudio-connect/packages/<content‑guid>/lib
installed.packages()[, c('Package', 'Version')]
manifest.json (downloadable from the Deployments pane). A mismatch indicates version drift.library(<pkgName>)
cannot open shared object file: No such file or directory, the problem is a missing system library.package … is not available for …, the cause is manifest drift.The exact client‑side verbose flag (logLevel = 'trace' vs options(rsconnect.http.verbose) vs RSCONNECT_VERBOSE) depends on your rsconnect version. If you are using rsconnect < 0.8.10, the environment variable is required; otherwise the logLevel argument works. Please confirm your rsconnect version so the recommendation can be finalized.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.