Closed chris31415926535 closed 2 years ago
Hey @chris31415926535,
Glad you're enjoying polished
so far! Thanks for bringing this issue to our attention; that error message definitely needs to be fixed. I'll let you know once we've addressed this issue. I'm not as familiar with building shiny
apps using the golem
package (although this data-raw
issue isn't specific to golem
), so if you have any other suggestions or run into any other issues while deploying your golem
app(s), feel free to let us know.
Thanks for the detailed issue & for using polished
& Polished Hosting
!
FWIW: We plan to add an additional option for deploy_app
s ram_gb
argument, which will allow app sizes up to 16 GB fairly soon
Hi,
I'm using Polished hosting (which is great!) and today, after adding a new large raw dataset to the folder
data-raw
my call topolished::deploy_app()
failed with an error code that didn't give much direction: "API did not return json." I figured this out with some digging around (details below), but my suggestions would be either 1. excludedata-raw
folders from app deployment, or 2. make the error response a bit more informative so people can move their big raw data out of the package directory completely before deploying.I'm using golem so I make the following call:
And received the following message at the console:
Digging through
polished::deploy_app()
led me to discover that it was zipping the entire folder, including not only my processed data indata
but also some very large raw files indata-raw
. This led to a huge .tar.gz file that was rejected by the server with the following:But that information isn't passed on to anyone who calls
polished::deploy_app()
, so what you get is a mystery failure.Thanks for all your work on Polished, which as I said is really great so far.