Sorry for the inconvenience. There was a recent change to shinyapps.io which affected building of applications using rJava. We have an open issue over here which we are presently working on,
I looked up a couple of the tasks and images above and they look to be affected by this particular issue because they are using that package. If anyone is encountering this error - but not using rJava- could you please provide the tasks ids to any build error messages returned from rsconnect during the deployment for debugging purposes on my end.
If the details of the error are private feel free to either open a support case about the issue or send me a DM through community with the error message.
I'm having the same issue, the application runs fine on my local Rstudio but cannot deploy to shiny.io, the console shows the following error message during deployment:
โโ Deploying to server โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Waiting for task: 1373712877
building: Parsing manifest
building: Building image: 9781688
building: Installing system dependencies
/usr/bin/R CMD javareconf
packages/build/rJava.sh: line 8: /usr/bin/R: No such file or directory## End Task Log ################################################################
Error: Unhandled Exception: Child Task 1373712878 failed: Error building image: Build exited with non-zero status: 127
Execution halted
I'm using R 4.3.2, Rstudio 2022.07.1
It seems rJava cannot be found on shiny.io. any solutions to solve this issue? Thank you.
I found this thread by Google and am running into the same issue. I see the issue linked above was merged into main - do I need to do anything on my side to receive the updates? Or did the solution only affect some but not all packages using rJava? Thank you!
Sorry for the inconvenience this has caused. This issue ended up being larger than expected, and we have rolled back the change that was introduced to shinyapps.io last week. Please try to redeploy your applications and let us know if the error persists.
Thank you for your help. Problem persists for me. Any help would be greatly appreciated. Thanks in advance.
Mostly rmarkdown and quarto specific functions. Deployed just fine last week:
Begin Task Log
GET /v1/tasks/d2ab5d78-7f0d-431c-8cb9-24cb2ab6a3a1/logs/ 179ms
[2024-01-17T15:52:55.549773Z] Loading your source code into a rendering environment...
[2024-01-17T15:52:56.549736Z] Collecting your code's dependencies...
[2024-01-17T15:52:57.549832Z] Reusing as many dependencies as possible from a previous run.
[2024-01-17T15:52:57.554639Z] 0 new R package(s) to install.
[2024-01-17T15:53:10.309000Z] Error (exit code 1)
[2024-01-17T15:53:10.550067Z] Posit Cloud will meter usage starting now.
[2024-01-17T15:53:10.554496Z] Failed rendering output.GET /v1/tasks/?filter=account_id:26208&filter=parent_id:d2ab5d78-7f0d-431c-8cb9-24cb2ab6a3a1&count=100&offset=0 92ms
โโ Preparing for deployment โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Re-deploying "Pronosticador" using "server: shinyapps.io / username: cg9jaw-pavel-medina"
Looking up application with id "11339448"...
Found application https://cg9jaw-pavel-medina.shinyapps.io/Pronosticador/
Bundling 1 file: 'app.R'
Capturing R dependencies with renv
Found 91 dependencies
Created 52,766b bundle
Uploading bundle...
Uploaded bundle with id 8328225
โโ Deploying to server โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Waiting for task: 1390861467
building: Parsing manifest
building: Building image: 10079453
error: Building package: MASS
Begin Task Log
End Task Log
Error: Unhandled Exception: child_task=1390861468 child_task_status=failed: Error building image: Error building MASS (7.3-60.0.1). Build exited with non-zero status: 127
Ejecuciรณn interrumpida
What is the problem? I have update my R and Rsutdio version to the latest.
I have a similar problem. From the discussion, it seems that the problem is at the posit/shinyapps.io end rather than at my end. Is there anything I can do?
Hi everyone,
same thing here... I have been fighting for hours, having various issues " Error building image: Error building ..." with several packages, from mass (7.3-60) (resolved by hiding the code lines using MASS-dependant packages) to the most recent R6 (2.5.1).
Could this be related to the recently updated R version 4.3.3 (2024-02-29) -- "Angel Food Cake" and the shiny updating delay?
Btw, the app was already deployed, I just tried to deploy an updated version (with a few layout changes, which worked locally).