.jfindclass error on R Shiny Server - r

I have my shinyapp deployed on Shiny Server. I use RJDBC::JDBC() method to connect to Redshift DB.
RedshiftJDBC42-1.2.1.1001.jar file is in the folder called "driver" which is in the same folder as app.R file, the argument 'driverClass' is "com.amazon.redshift.jdbc42.Driver" and 'classPath' argument I provide is ".../driver/RedshiftJDBC42-1.2.1.1001.jar" but when I want to run the app in my browser, I get the following message (in browser):
An error has occurred
The application failed to start.
The application exited during initialization.
In the log I find the following:
Error in .jfindClass(as.character(driverClass)[1]) : class not found
Calls: runApp ... ..stacktraceon.. -> JDBC -> is.jnull -> .jfindClass
I tried to set the CLASSPATH ('...' classified folders ):
export CLASSPATH="/home/.../driver/RedshiftJDBC42-1.2.1.1001.jar"
but this does not work.
Please help.

put the diriver under /opt
make like /opt/driver/driver/RedshiftJDBC42-1.2.1.1001.jar
double check the path ... it is case sensitive

Related

How to fix "vagrant up" errors when trying to set up Trellis?

I've been trying to set up a Trellis local WordPress dev environment from the Roots stack. I did all the steps from the docs, have the recommended folder structure, downloaded all the dependencies, but I still get a few errors.
First I get some errors and warnings when I use "yarn" in my theme folder, as suggested here. They say to use the CLI from my host instead of Vagrant box, that's just the MacBook's terminal right? Or do I need a CLI from VirtualBox?
The second error happens when trying to call "vagrant up", and this is one that I can paste here as it's a bit more concise.
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
After Googling this I got a lot of outdated suggestions to check my PATH and restart the VirtualBox, but these I tried and didn't help. I hope someone can help me set this up, thanks. :)

Shiny user permissions for non-R executable (g++)

Question
I am running Ubuntu 18.04, and I'm wondering what is the safest way to give an individual user access to g++. The user, in my case, is called shiny, because I am trying to host an app on my server.
I've seen answers like this, but I'm not sure if there are other implications in this situation here.
Questions about the shiny user seem to be popular (e.g. here, and here), but I don't believe these apply to my specific question.
Information about my situation
I'm not sure I understand the run_as portion of the shiny server config file /etc/shiny-server/shiny-server.conf. I have a shiny app that works on my local machine, but I'm having some difficulty hosting it on my server using https://github.com/rstudio/shiny-server/blob/master/README.md
I am using the default configuration, so the top of the file reads
# Instruct Shiny Server to run applications as the user "shiny"
run_as shiny;
When I visit the url to test out my app, the web browser reads
An error has occurred
The application failed to start.
The application exited during initialization.
So I check the log file /var/log/shiny-server/myapp-shiny-20200611-180231-34359.log, and I see a linker error:
/usr/bin/ld: cannot find -lhmc-lib
collect2: error: ld returned 1 exit status
make: *** [sourceCpp_2.so] Error 1
Error in Rcpp::sourceCpp("do_comps.cpp", verbose = T, rebuild = T) :
Error 1 occurred building shared library.
Calls: runApp ... sourceUTF8 -> eval -> eval -> ..stacktraceon.. -> <Anonymous>
WARNING: The tools required to build C++ code for R were not found.
Please install GNU development tools including a C++ compiler.
Execution halted
Weird, because all of this already built successfully and ran fine when I test it in a more friendly setting, running everything as root.

Setup Intershop 7.10 Development environment

Folks,
Can you please help me with below error coming when executing
gradlew clean eHCR publish
FAILURE: Build failed with an exception.
Where:
Build file 'D:\Projects\xxx\xxx_project\xxx_assembly\build.gradle' line: 15
What went wrong:
A problem occurred evaluating project ':xxx_assembly'.
Could not resolve all dependencies for configuration ':xxx_assembly:com.intershop.assembly:commerce_management_b2x'.
Could not find com.intershop.assembly:commerce_management_b2x:7.10.3.1.
Required by:
com.xxx:xxx_assembly:1.0.0-LOCAL
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Build.gradle:
inheritFrom('com.intershop.assembly:commerce_management_b2x')
{
includeArtifacts type:['deploy-settings-gradle']
}
Please help.
Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':xxx_assembly'.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:150)
at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:72)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:155)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:521)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:92)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:125)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:122)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':xxx_assembly:com.intershop.assembly:commerce_management_b2x'.
at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.rethrowFailure(DefaultLenientConfiguration.java:62)
at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.rethrowFailure(DefaultResolvedConfiguration.java:36)
at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.getFirstLevelModuleDependencies(DefaultResolvedConfiguration.java:49)
at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver$FilesAggregatingResolvedConfiguration.getFirstLevelModuleDependencies(SelfResolvingDependencyConfigurationResolver.java:96)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver$ErrorHandlingResolvedConfiguration.getFirstLevelModuleDependencies(ErrorHandlingConfigurationResolver.java:205)
at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:252)
at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:243)
at com.intershop.build.assembly.inheritance.AssemblyInheritanceUtil.getAssemblyId(AssemblyInheritanceUtil.groovy:25)
at com.intershop.build.assembly.inheritance.AssemblyInheritanceUtil.getInheritedAssemblyIvyFile(AssemblyInheritanceUtil.groovy:37)
at com.intershop.build.assembly.hosttype.InheritedHostTypeProvider.provideSubsets(InheritedHostTypeProvider.groovy:36)
at com.intershop.build.gradle.plugins.AssemblyExtension$_inheritFrom_closure12.doCall(AssemblyExtension.groovy:286)
at com.intershop.build.gradle.plugins.AssemblyExtension.inheritFrom(AssemblyExtension.groovy:285)
at build_2cfc7pnzhx1qg72j39nnpeszf$_run_closure1.doCall(D:\Projects\b2x710\xxx_project\xxx_assembly\build.gradle:15)
at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
at org.gradle.api.internal.plugins.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:145)
at org.gradle.api.internal.plugins.ExtensionsStorage.configureExtension(ExtensionsStorage.java:69)
at org.gradle.api.internal.plugins.DefaultConvention$ExtensionsDynamicObject.invokeMethod(DefaultConvention.java:207)
at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:150)
at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
at build_2cfc7pnzhx1qg72j39nnpeszf.run(D:\Projects\b2x710\xxx_project\xxx_assembly\build.gradle:14)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
... 50 more
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.intershop.assembly:commerce_management_b2x:7.10.3.1.
Required by:
com.xxx:xxx_assembly:1.0.0-LOCAL
at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound(DefaultBuildableComponentResolveResult.java:38)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule(RepositoryChainComponentMetaDataResolver.java:88)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve(RepositoryChainComponentMetaDataResolver.java:59)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ComponentMetaDataResolverChain.resolve(ComponentResolversChain.java:80)
at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:44)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java:560)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.java:570)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:256)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:230)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:137)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:75)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:88)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:78)
at org.gradle.internal.Transformers$4.transform(Transformers.java:137)
at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:78)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:367)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:342)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:335)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
at com.intershop.common.artifacts.DependencyUtils$_resolveSingleModule_closure13.doCall(DependencyUtils.groovy:249)
at com.intershop.common.artifacts.DependencyUtils$_resolveSingleModule_closure13.call(DependencyUtils.groovy)
at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:320)
at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:294)
at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:288)
at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:248)
... 65 more
Also, I am getting below warning messages while I do gradlew clean eHCR publish
This project is not included in a SCM!
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration1'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration2'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration3'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration4'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration5'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration6'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration7'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration8'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration9'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration10'.).
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.pom
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.pom
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.jar
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.jar
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration11'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration12'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration13'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration14'.).
I'm afraid your question is to general to get a simple answer. It could be anything from access permissions to Intershop's bin repository itself, or insufficient license rights for B2X, or...
I suggest you ask Intershop Support for help.
Highly likely that the artifact repository server isn't setup correctly. If you followed the CI setup kb with nexus then u can test it by opening this link in your browser with your nexus hostname:
https://<host>/nexus/content/repositories/ishrepo/com.intershop.assembly/commerce_management_b2x/7.10.3.1/
You should see the folders: gradle,ivy,zips,dmps

Preloaded Shiny Server Apps work fine however own apps failing to start?

Working on deploying a Shiny App on my own domain through a Digital Ocean.
After completing all the installation procedures I can access the :3838 port fine and that is displaying the welcome to shiny server page just fine, as well as the :3838/sample-apps/hello page also working as planned however when i try and bring up my own app that has been loaded onto the server I get an error warning saying that the "The application failed to start." and that "The application exited during initialization."
When I look a little deeper into the logs it brings up the following however I have yet to be able to find a solution.
Warning in readLines(file, warn = FALSE) : cannot open file
'/srv/shiny-server/ESapp/global.R': Permission denied Error in
readLines(file, warn = FALSE) : cannot open the connection Calls:
runApp -> -> sourceUTF8 -> readUTF8 -> readLines Execution
halted
UPDATE: When I pull up the stats for each directory/file this is what I'm getting under the access heading:
Sample apps
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Own apps
Access: (0755/drwxr-xr-x) Uid: ( 1000/ alyssa) Gid: ( 1001/shiny-apps)
UPDATE 2 :
Recent trials have indicated that this is a shiny problem not a ubuntu permissions problem as previously thought
Any advice would be much appreciated.

Deploy R app in shinyapps.io - "Error:parsing manifest: Manifest file manifest.json checksum mismatch"

everyone!
I am having problems deploying my Shiny App. When deploying the app, I get the following console output:
Preparing to deploy application...DONE
Uploading bundle for application: 177552...DONE
Deploying bundle: 813581 for application: 177552 ...
Waiting for task: 383835116
building: Parsing manifest
################################ Begin Task Log ################################
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 383835121 failed: Error parsing manifest: Manifest file manifest.json checksum mismatch
Execution halted
Please take into account the following facts:
I've already checked this solution, and it didn't work:
Deploy R app in shinyapps.io- Error:parsing manifest [SOLVED]
Also, I've had saved a previous working version of the app, downloaded it back via the "download bundle" option of ShainyApps, and I get the same message.
What can I do in order to solve this? Thanks a lot! Don't hesitate to ask me for further details if necessary.
Adding to Elias's answer. When you download a Shiny bundle, there is a file included called "manifest.json". Checksum error here.
Delete "manifest.json" and deploy app again.
Maybe it's not a solution, but it's a way of preventing the error. The "trigger" of the error is the fact that I was working on the Shiny bundle obtained using "download bundle" option of ShinyApps. It's possible it has to do with the encoding or the MD5 checksum, but NEVER work on files from the bundle. I can state the aforementioned as I had a copy on GitHub, cloned it, worked on it, deployed the new version, and it worked! Thanks!

Resources