Unable to locate manifest.json. Please update your code and republish.

My RShiny app works perfectly, but I'm having an issue while trying to publish it on Connect.

The problem: "Unable to locate manifest.json. Please update your code and republish."

How to fix it?

Thanks!
Rhiny_app.pdf (2.4 MB)

Hello, when using R for your content, it is necessary to provide Connect Cloud with a manifest.json file so it knows which packages to install. You can find instructions for how to generate this file here: Create a manifest.json file for Connect Cloud – Posit Connect Cloud Documentation

Let us know if this doesn't resolve things.

thanks!
sam

Thanks. I solve the initial problem 'manifest.json'. Now i'm having a new problem "Failed to publish content: Stopping because installation of Rsymphony failed. Check your manifest.json".
I will try to take a look. In case i can't solve it myself i will open a new topic.

Thanks again.

Frederic

Hi Frederic

Unfortunately, it looks like Rsymphony is currently unsupported in Connect Cloud. I've created an issue on the product backlog to investigate. Sorry about that, I can update this issue if/when support is added.

thanks
sam

Hi Sam
Thanks, well noted..
Is it the same problem with 'fPortfolio' ? I mean fPortfolio is currently unsupported in Connect Cloud too?

Hi, Yes, unfortunately, that is the same issue. Sorry you keep bumping into these, we will investigate what it will take to add support.

thanks
sam

Hello, just wanted to let you know that Rsymphony and fPortfolio should be working now. Please let us know if thats not the case.

thanks!

1 Like

Hello,

Thank you for the update.

Unfortunately, the problem persists:

2025-02-11T22:11:24+01:00 Failed to install R packages.
2025-02-11T22:11:24+01:00 Failed to publish content: Stopping because installation of Rglpk failed. Check your manifest.json. error_id=c0cc1118-6f9e-4c15-a394-86343d95a5d4

It seems that Rglpk might be experiencing the same issue as Rsymphony.

I will continue investigating whether the problem is coming from my manifest.json or Posit.

Best regards,

Frederic

Hi Frederic

It turns out the fix we made was not deployed correctly. If its not too much trouble, can you try again and let me know? I'm optimistic :slight_smile:

Sorry for the back and forth on this one!

thanks
sam

Hi Sam,

Not working.

2025-02-12T01:40:25+01:00 Failed to install R packages.
2025-02-12T01:40:25+01:00 Failed to publish content: Stopping because installation of Rmpfr failed. Check your manifest.json. error_id=2a2b67a4-a52d-4776-bfb0-de6791d873b3

If possible you can find the source code on my Github. I'll continue the investigation. :slightly_smiling_face: We will get rid of it surely

Ah... Rmpfr has its own set of system dependencies that we aren't installling right now. I'll create an issue.

We have a roadmap item to provide a more comprehensive solution to managing system dependencies, but until we get to that, its on a case by case basis like this.

Sorry for the back and forth on this.

sam