Hello,
We've been trying to reproduce this issue internally here at Posit, using several versions of rsconnect
for Python, but we haven't been able to recreate the problem you report.
What version of rsconnect
are you using? You can run rsconnect version
where you would usually be running the deploy to check.
Can you confirm you're running a command like this?
rsconnect deploy shiny /path/to/source-dir --name shinyapps-account-name
or
rsconnect deploy shiny /path/to/source-dir --name shinyapps-account-name --title AppName
After a successful deployment, rsconnect
drops some state files on disk for the purpose of ensuring future deployments update the existing application, instead of creating a new one. If your application is on your machine at /path/to/source-dir, the relevant file is at /path/to/source-dir/rsconnect-python/AppName.json. Can you check if you have this file, and if so, what it says for app_id
?