Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple accounts created for one account #1103

Open
gaborcsardi opened this issue Oct 4, 2024 · 2 comments
Open

Multiple accounts created for one account #1103

gaborcsardi opened this issue Oct 4, 2024 · 2 comments

Comments

@gaborcsardi
Copy link

gaborcsardi commented Oct 4, 2024

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:

> rsconnect::deployApp()
── Preparing for deployment ──────────────────────────────────────────────────────────────────────────
This directory has been previously deployed in multiple places.
Which deployment do you want to use?
1: quarto-stock-report-r (server: <server>.posit.co / username: gabor):
<https://<server>.posit.co/rsc/content/<uuid>/>
2: quarto-stock-report-r (server: <server>.posit.co / username: gabor):
<https://<server>.posit.co/rsc/content/<uuid>/>

Is this expected? Maybe rsconnect could detect that these are the same and offer some advice?

@aronatkins
Copy link
Contributor

@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 #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.

@gaborcsardi
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants