Publish private confluence cloud

I’ve developed a simple plugin and works perfectly during development.

I’ve been trying to publish a private version of my plugin to see if it might be ready for public consumption and to see if I can’t load it on my own confluence cloud site.

When I go to my site and attempt to upload an app from my URL I get the error when I use https:///package/atlassian-connect.json or or https:///my-app.zip I get:

1 - Am I going the right route here? (should I use find app instead?)
2 - Should I just try making it public instead?

Thanks for your help in advance.

Have you set the LOCAL_BASE_URL environment variable in your production env?

1 Like

I have not, but I now see a lot of documentation about that. I’ll take a look. Thanks.

When I go to my site and attempt to upload an app from my URL I get the error when I use https:///package/atlassian-connect.json or or https:///my-app.zip I get:

Are you building a server app or a cloud app? You shouldn’t be uploading a package file or a zip file. Your cloud app should be hosted on a server you control and to “upload” an app is simply providing the url of your descriptor file (typically named atlassian-connect.json).

The quoted line above makes me feel like you’re building a server app and trying to upload it to Cloud?

Let us know a little more and we can help you out.

Thanks @rwhitbeck . This is helpful.

Are you building a server app or a cloud app?

Cloud

You shouldn’t be uploading a package file or a zip file. Your cloud app should be hosted on a server you control and to “upload” an app is simply providing the url of your descriptor file (typically named atlassian-connect.json).

This is what I’m doing. I’m assuming that the atlassian-connect.json is the one from my project I’m using to run my dev environment.

It is encompassed by what I produce with npm pack expanded onto a remote server I control and it is being run over https / apache with a valid certbot certificate.