Open gaborcsardi opened 3 weeks ago
@gaborcsardi - Do you know if those deployment records were created recently? Double entries are unexpected. Could you see what is in the corresponding *.dcf
file (under the rsconnect directory)?
We resolved https://github.com/rstudio/rsconnect/issues/1017 in rsconnect-1.2.0. Prior to that version, rsconnect might create duplicate records for Quarto content. I don't know of any automatic fix-up. You'll need to remove the duplication from the dcf file.
Yep, they both look recent:
❯ find . -name "*.dcf" | xargs ls -l
-rw-r--r--@ 1 gaborcsardi staff 283 Oct 4 08:45 ./rsconnect/colorado.posit.co/gabor/quarto-stock-report-r.dcf
-rw-r--r--@ 1 gaborcsardi staff 362 Oct 8 11:13 ./rsconnect/documents/index.qmd/colorado.posit.co/gabor/quarto-stock-report-r.dcf
appId
is the same for both. Is this normal?
Nevertheless deployment works now, even though I didn't do anything, so it was probably something with colorado.
I realize this is hard to reproduce. :( I tried to deploy the example stock app from RStudio a couple of times, stopped the deployment after ~15 minutes, it was stuck at determining session server location, then tried to call
rsconnect::deployApp()
from the console, that's stuck as well.Now I have a state where seemingly I have multiple deployments:
Is this expected? Maybe rsconnect could detect that these are the same and offer some advice?